<commit_before>- job-template:
    name: 'kubernetes-e2e-{suffix}'
    node: '{jenkins_node}'
    triggers:
        - reverse:
            jobs: '{trigger-job}'
            result: success
        - timed: '{cron-string}'
    description: '{description} Test owner: {test-owner}.'
    jenkins_node: 'e2e'
    disabled: '{obj:disable_job}'
    properties:
        - build-discarder:
            days-to-keep: 7
    # Need the 8 essential kube-system pods ready before declaring cluster ready
    # etcd-server, kube-apiserver, kube-controller-manager, kube-dns
    # kube-scheduler, l7-default-backend, l7-lb-controller, kube-addon-manager
    provider-env: |
        export KUBERNETES_PROVIDER="gce"
        export E2E_MIN_STARTUP_PODS="8"
        export KUBE_GCE_ZONE="us-central1-f"
        export FAIL_ON_GCP_RESOURCE_LEAK="true"
        export CLOUDSDK_CORE_PRINT_UNHANDLED_TRACEBACKS="1"
    builders:
        - activate-gce-service-account
        - shell: |
            {provider-env}
            {job-env}
            {post-env}
            timeout -k {kill-timeout}m {timeout}m {runner} && rc=$? || rc=$?
            {report-rc}
    wrappers:
        - ansicolor:
            colormap: xterm
        - e2e-credentials-binding
        - timeout:
            timeout: '{jenkins-timeout}'
            fail: true
        - timestamps
        - workspace-cleanup:
            dirmatch: true
            external-deletion-command: 'sudo rm -rf %s'
    publishers:
        - claim-build
        - junit-publisher
        - log-parser
        - email-ext:
            recipients: '{emails}'
        - gcs-uploader

- project:
    name: kubernetes-e2e-gce-master
    trigger-job: 'kubernetes-build'
    test-owner: 'Build Cop'
    suffix:
        - 'gce':  # kubernetes-e2e-gce
            cron-string: '{sq-cron-string}'
            description: 'Runs all non-slow, non-serial, non-flaky, tests on GCE in parallel.'
            timeout: 50  # See #21138
            job-env: |
                # This is the *only* job that should publish the last green version.
                export E2E_PUBLISH_GREEN_VERSION="true"
                # This list should match the list in kubernetes-pull-build-test-e2e-gce.
                export GINKGO_TEST_ARGS="--ginkgo.skip=\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]"
                export GINKGO_PARALLEL="y"
                export KUBE_NODE_OS_DISTRIBUTION="debian"
                export PROJECT="k8s-jkns-e2e-gce"
        - 'gce-gci':  # kubernetes-e2e-gce-gci
            cron-string: '{sq-cron-string}'
            description: 'Runs all non-slow, non-serial, non-flaky, tests on GCE with GCI in parallel.'
            timeout: 50  # See #21138
            job-env: |
                # This list should match the list in kubernetes-pull-build-test-e2e-gce.
                export GINKGO_TEST_ARGS="--ginkgo.skip=\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]"
                export GINKGO_PARALLEL="y"
                export KUBE_OS_DISTRIBUTION="gci"
                export PROJECT="k8s-jkns-e2e-gce-gci"
        - 'gce-slow':  # kubernetes-e2e-gce-slow
            cron-string: '{sq-cron-string}'
            description: 'Runs slow tests on GCE, sequentially.'
            timeout: 150  #  See #24072
            job-env: |
                export GINKGO_TEST_ARGS="--ginkgo.focus=\[Slow\] \
                                         --ginkgo.skip=\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]"
                export GINKGO_PARALLEL="y"
                export KUBE_GCE_ZONE="europe-west1-c"
                export KUBE_NODE_OS_DISTRIBUTION="debian"
                export PROJECT="k8s-jkns-e2e-gce-slow"
        - 'gce-gci-slow':  # kubernetes-e2e-gce-gci-slow
            cron-string: '{sq-cron-string}'
            description: 'Runs slow tests on GCE, sequentially.'
            timeout: 150  #  See #24072
            job-env: |
                export GINKGO_TEST_ARGS="--ginkgo.focus=\[Slow\] \
                                         --ginkgo.skip=\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]"
                export GINKGO_PARALLEL="y"
                export KUBE_GCE_ZONE="europe-west1-c"
                export KUBE_OS_DISTRIBUTION="gci"
                export PROJECT="k8s-jkns-e2e-gce-gci-slow"
        - 'gce-serial':  # kubernetes-e2e-gce-serial
            description: 'Run [Serial], [Disruptive], tests on GCE.'
            timeout: 300
            job-env: |
                export ENABLE_GARBAGE_COLLECTOR="true"
                export GINKGO_TEST_ARGS="--ginkgo.focus=\[Serial\]|\[Disruptive\] \
                                         --ginkgo.skip=\[Flaky\]|\[Feature:.+\]"
                export PROJECT="kubernetes-jkns-e2e-gce-serial"
                export KUBE_OS_DISTRIBUTION="gci"
                export KUBE_ENABLE_RESCHEDULER=true
        - 'gce-gci-serial':  # kubernetes-e2e-gce-gci-serial
            description: 'Run [Serial], [Disruptive], tests on GCE.'
            timeout: 300
            job-env: |
                export ENABLE_GARBAGE_COLLECTOR="true"
                export GINKGO_TEST_ARGS="--ginkgo.focus=\[Serial\]|\[Disruptive\] \
                                         --ginkgo.skip=\[Flaky\]|\[Feature:.+\]"
                export PROJECT="k8s-jkns-e2e-gce-gci-serial"
                export KUBE_OS_DISTRIBUTION="gci"
                export KUBE_ENABLE_RESCHEDULER=true
        - 'gce-reboot':  # kubernetes-e2e-gce-reboot
            description: 'Run [Feature:Reboot] tests on GCE.'
            timeout: 180
            job-env: |
                export GINKGO_TEST_ARGS="--ginkgo.focus=\[Feature:Reboot\]"
                export KUBE_NODE_OS_DISTRIBUTION="debian"
                export PROJECT="k8s-jkns-e2e-gce-ci-reboot"
        - 'gce-autoscaling':  # kubernetes-e2e-gce-autoscaling
            description: 'Run autoscaling E2E tests on GCE.'
            timeout: 210
            job-env: |
                export GINKGO_TEST_ARGS="--ginkgo.focus=\[Feature:ClusterSizeAutoscalingScaleUp\]|\[Feature:ClusterSizeAutoscalingScaleDown\]|\[Feature:InitialResources\] \
                                         --ginkgo.skip=\[Flaky\]"
                export PROJECT="k8s-jnks-e2e-gce-autoscaling"
                # Override GCE default for cluster size autoscaling purposes.
                export ENABLE_CUSTOM_METRICS="true"
                export KUBE_ENABLE_CLUSTER_AUTOSCALER="true"
                export NUM_NODES=3<commit_msg>Fix the node image for gce container vm serial tests<commit_after>- job-template:
    name: 'kubernetes-e2e-{suffix}'
    node: '{jenkins_node}'
    triggers:
        - reverse:
            jobs: '{trigger-job}'
            result: success
        - timed: '{cron-string}'
    description: '{description} Test owner: {test-owner}.'
    jenkins_node: 'e2e'
    disabled: '{obj:disable_job}'
    properties:
        - build-discarder:
            days-to-keep: 7
    # Need the 8 essential kube-system pods ready before declaring cluster ready
    # etcd-server, kube-apiserver, kube-controller-manager, kube-dns
    # kube-scheduler, l7-default-backend, l7-lb-controller, kube-addon-manager
    provider-env: |
        export KUBERNETES_PROVIDER="gce"
        export E2E_MIN_STARTUP_PODS="8"
        export KUBE_GCE_ZONE="us-central1-f"
        export FAIL_ON_GCP_RESOURCE_LEAK="true"
        export CLOUDSDK_CORE_PRINT_UNHANDLED_TRACEBACKS="1"
    builders:
        - activate-gce-service-account
        - shell: |
            {provider-env}
            {job-env}
            {post-env}
            timeout -k {kill-timeout}m {timeout}m {runner} && rc=$? || rc=$?
            {report-rc}
    wrappers:
        - ansicolor:
            colormap: xterm
        - e2e-credentials-binding
        - timeout:
            timeout: '{jenkins-timeout}'
            fail: true
        - timestamps
        - workspace-cleanup:
            dirmatch: true
            external-deletion-command: 'sudo rm -rf %s'
    publishers:
        - claim-build
        - junit-publisher
        - log-parser
        - email-ext:
            recipients: '{emails}'
        - gcs-uploader

- project:
    name: kubernetes-e2e-gce-master
    trigger-job: 'kubernetes-build'
    test-owner: 'Build Cop'
    suffix:
        - 'gce':  # kubernetes-e2e-gce
            cron-string: '{sq-cron-string}'
            description: 'Runs all non-slow, non-serial, non-flaky, tests on GCE in parallel.'
            timeout: 50  # See #21138
            job-env: |
                # This is the *only* job that should publish the last green version.
                export E2E_PUBLISH_GREEN_VERSION="true"
                # This list should match the list in kubernetes-pull-build-test-e2e-gce.
                export GINKGO_TEST_ARGS="--ginkgo.skip=\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]"
                export GINKGO_PARALLEL="y"
                export KUBE_NODE_OS_DISTRIBUTION="debian"
                export PROJECT="k8s-jkns-e2e-gce"
        - 'gce-gci':  # kubernetes-e2e-gce-gci
            cron-string: '{sq-cron-string}'
            description: 'Runs all non-slow, non-serial, non-flaky, tests on GCE with GCI in parallel.'
            timeout: 50  # See #21138
            job-env: |
                # This list should match the list in kubernetes-pull-build-test-e2e-gce.
                export GINKGO_TEST_ARGS="--ginkgo.skip=\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]"
                export GINKGO_PARALLEL="y"
                export KUBE_OS_DISTRIBUTION="gci"
                export PROJECT="k8s-jkns-e2e-gce-gci"
        - 'gce-slow':  # kubernetes-e2e-gce-slow
            cron-string: '{sq-cron-string}'
            description: 'Runs slow tests on GCE, sequentially.'
            timeout: 150  #  See #24072
            job-env: |
                export GINKGO_TEST_ARGS="--ginkgo.focus=\[Slow\] \
                                         --ginkgo.skip=\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]"
                export GINKGO_PARALLEL="y"
                export KUBE_GCE_ZONE="europe-west1-c"
                export KUBE_NODE_OS_DISTRIBUTION="debian"
                export PROJECT="k8s-jkns-e2e-gce-slow"
        - 'gce-gci-slow':  # kubernetes-e2e-gce-gci-slow
            cron-string: '{sq-cron-string}'
            description: 'Runs slow tests on GCE, sequentially.'
            timeout: 150  #  See #24072
            job-env: |
                export GINKGO_TEST_ARGS="--ginkgo.focus=\[Slow\] \
                                         --ginkgo.skip=\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]"
                export GINKGO_PARALLEL="y"
                export KUBE_GCE_ZONE="europe-west1-c"
                export KUBE_OS_DISTRIBUTION="gci"
                export PROJECT="k8s-jkns-e2e-gce-gci-slow"
        - 'gce-serial':  # kubernetes-e2e-gce-serial
            description: 'Run [Serial], [Disruptive], tests on GCE.'
            timeout: 300
            job-env: |
                export ENABLE_GARBAGE_COLLECTOR="true"
                export GINKGO_TEST_ARGS="--ginkgo.focus=\[Serial\]|\[Disruptive\] \
                                         --ginkgo.skip=\[Flaky\]|\[Feature:.+\]"
                export PROJECT="kubernetes-jkns-e2e-gce-serial"
                export KUBE_NODE_OS_DISTRIBUTION="debian"
                export KUBE_ENABLE_RESCHEDULER=true
        - 'gce-gci-serial':  # kubernetes-e2e-gce-gci-serial
            description: 'Run [Serial], [Disruptive], tests on GCE.'
            timeout: 300
            job-env: |
                export ENABLE_GARBAGE_COLLECTOR="true"
                export GINKGO_TEST_ARGS="--ginkgo.focus=\[Serial\]|\[Disruptive\] \
                                         --ginkgo.skip=\[Flaky\]|\[Feature:.+\]"
                export PROJECT="k8s-jkns-e2e-gce-gci-serial"
                export KUBE_OS_DISTRIBUTION="gci"
                export KUBE_ENABLE_RESCHEDULER=true
        - 'gce-reboot':  # kubernetes-e2e-gce-reboot
            description: 'Run [Feature:Reboot] tests on GCE.'
            timeout: 180
            job-env: |
                export GINKGO_TEST_ARGS="--ginkgo.focus=\[Feature:Reboot\]"
                export KUBE_NODE_OS_DISTRIBUTION="debian"
                export PROJECT="k8s-jkns-e2e-gce-ci-reboot"
        - 'gce-autoscaling':  # kubernetes-e2e-gce-autoscaling
            description: 'Run autoscaling E2E tests on GCE.'
            timeout: 210
            job-env: |
                export GINKGO_TEST_ARGS="--ginkgo.focus=\[Feature:ClusterSizeAutoscalingScaleUp\]|\[Feature:ClusterSizeAutoscalingScaleDown\]|\[Feature:InitialResources\] \
                                         --ginkgo.skip=\[Flaky\]"
                export PROJECT="k8s-jnks-e2e-gce-autoscaling"
                # Override GCE default for cluster size autoscaling purposes.
                export ENABLE_CUSTOM_METRICS="true"
                export KUBE_ENABLE_CLUSTER_AUTOSCALER="true"
                export NUM_NODES=3
{'fraction_non_alphanumeric': 0.12345299408102083, 'fraction_numerical': 0.012914136367130449, 'mean_word_length': 1.7138089278264497, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '136965', 'n_tokens_mistral': 4433, 'n_tokens_neox': 4191, 'n_words': 694}