From 1feab50b419c0756931ded2f2f912a43dcc12e95 Mon Sep 17 00:00:00 2001 From: Jan Stodola Date: Wed, 19 Jun 2024 16:29:43 +0200 Subject: [PATCH] Stop testing RHEL-8 RHEL-8.10 was the last RHEL-8 release and no more updates for the RHEL-8 installer are expected. --- .github/workflows/daily-boot-iso-rhel8.yml | 122 -------------------- .github/workflows/scenarios-permian.yml | 2 +- .github/workflows/scenarios.yml | 2 +- .github/workflows/test-os-variants.yml | 2 +- .github/workflows/weekly-summary.yml | 2 +- scripts/weekly-summary | 2 +- testlib/test_plans/daily-rhel8.plan.yaml.j2 | 15 --- 7 files changed, 5 insertions(+), 142 deletions(-) delete mode 100644 .github/workflows/daily-boot-iso-rhel8.yml delete mode 100644 testlib/test_plans/daily-rhel8.plan.yaml.j2 diff --git a/.github/workflows/daily-boot-iso-rhel8.yml b/.github/workflows/daily-boot-iso-rhel8.yml deleted file mode 100644 index 96fecb26..00000000 --- a/.github/workflows/daily-boot-iso-rhel8.yml +++ /dev/null @@ -1,122 +0,0 @@ -name: Build and test daily RHEL boot.iso -on: - schedule: - - cron: 0 3 * * * - # be able to start this action manually from a actions tab when needed - workflow_dispatch: - -jobs: - build: - name: run - runs-on: [self-hosted, kstest] - env: - LORAX_BUILD_CONTAINER: registry.access.redhat.com/ubi8 - steps: - # self-hosted runners don't do this automatically; also useful to keep stuff around for debugging - # need to run sudo as the launch script and the container create root/other user owned files - - name: Clean up previous run - run: | - sudo podman ps -q --all --filter='ancestor=kstest-runner' | xargs -tr sudo podman rm -f - sudo podman volume rm --all || true - sudo rm -rf * - - - name: Update container images used here - run: | - sudo podman pull ${{ env.LORAX_BUILD_CONTAINER }} - sudo podman pull quay.io/rhinstaller/kstest-runner:latest - - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Build boot.iso with lorax - run: | - mkdir build - - # We have to pre-create loop devices because they are not namespaced in kernel so - # podman can't access newly created ones. That caused failures of tests when runners - # were rebooted. - sudo mknod -m 0660 /dev/loop0 b 7 0 2> /dev/null || true - sudo mknod -m 0660 /dev/loop1 b 7 1 2> /dev/null || true - - # /var/tmp tmpfs speeds up lorax and avoids https://bugzilla.redhat.com/show_bug.cgi?id=1906364 - sudo podman run --rm -i --privileged --tmpfs /var/tmp:rw,mode=1777 --network host -v $PWD/build:/data ${{ env.LORAX_BUILD_CONTAINER }} < /etc/yum.repos.d/rhel8.repo - [RHEL-8-BaseOS] - name=baseos - baseurl=http://download.devel.redhat.com/nightly/rhel-8/RHEL-8/latest-RHEL-8/compose/BaseOS/x86_64/os/ - enabled=1 - gpgcheck=0 - install_weak_deps=0 - module_hotfixes=1 - - [RHEL-8-AppStream] - name=appstream - baseurl=http://download.devel.redhat.com/nightly/rhel-8/RHEL-8/latest-RHEL-8/compose/AppStream/x86_64/os/ - enabled=1 - gpgcheck=0 - install_weak_deps=0 - module_hotfixes=1 - EOR - - dnf install -y lorax - - cd /data - # don't mess around with the volid too much, it causes different network interface naming: - # https://github.com/rhinstaller/kickstart-tests/issues/448 - lorax -p "Red Hat Enterprise Linux" \ - --version 8 --release 8 --variant=BaseOS --volid=RHEL-8-0-0-BaseOS-x86_64 --nomacboot \ - -s http://download.devel.redhat.com/nightly/rhel-8/RHEL-8/latest-RHEL-8/compose/BaseOS/x86_64/os/ \ - -s http://download.devel.redhat.com/nightly/rhel-8/RHEL-8/latest-RHEL-8/compose/AppStream/x86_64/os/ \ - -s http://download.devel.redhat.com/nightly/rhel-8/RHEL-8/latest-RHEL-8/compose/CRB/x86_64/os/ \ - -s http://coprbe.devel.redhat.com/results/rhinstaller-group/Anaconda/rhel-8.dev-x86_64/ \ - /data/results - - # Make generated files accessible - chmod -R a+rX . - EOF - - - name: Upload image build log artifacts - if: always() - uses: actions/upload-artifact@v4 - with: - name: image-build-logs - path: | - build/*.log - build/*.txt - - # useful for manual local debugging - - name: Store generated boot.iso in home directory - run: cp build/results/images/boot.iso /home/github/rhel8-daily-boot.iso - - - name: Set up data directory for test - run: | - mkdir -p data/images - cp /home/github/rhel8-daily-boot.iso data/images/boot.iso - - - name: Run coverage tests - run: | - source $PWD/containers/runner/skip-testtypes - sudo TEST_JOBS=16 containers/runner/launch --retry --timeout 200m --testtype coverage --skip-testtypes "$SKIP_TESTTYPES_RHEL8_DAILY" --platform rhel8 - - - name: Upload test logs - if: always() - uses: actions/upload-artifact@v4 - with: - name: 'logs-rhel8-daily' - # skip the /anaconda subdirectories, too large - path: | - data/logs/kstest.log - data/logs/kstest-*/*.log - - - name: Clean up - if: always() - run: | - # just in case it leaves some behind - sudo losetup -d /dev/loop0 2>/dev/null || true - sudo losetup -d /dev/loop1 2>/dev/null || true - sudo rm -rf build diff --git a/.github/workflows/scenarios-permian.yml b/.github/workflows/scenarios-permian.yml index 09f4e41a..8ef80da6 100644 --- a/.github/workflows/scenarios-permian.yml +++ b/.github/workflows/scenarios-permian.yml @@ -15,7 +15,7 @@ jobs: runs-on: [self-hosted, kstest] strategy: matrix: - scenario: [daily-iso, rhel8, rhel9, rhel10] + scenario: [daily-iso, rhel9, rhel10] fail-fast: false # these settings depend on the infrastructure; on upshift ocp-master-xxl they take about 4 hours diff --git a/.github/workflows/scenarios.yml b/.github/workflows/scenarios.yml index 9dfba09e..07c3797c 100644 --- a/.github/workflows/scenarios.yml +++ b/.github/workflows/scenarios.yml @@ -10,7 +10,7 @@ jobs: runs-on: [self-hosted, kstest] strategy: matrix: - scenario: [daily-iso, rhel8, rhel9] + scenario: [daily-iso, rhel9] fail-fast: false # these settings depend on the infrastructure; on upshift ocp-master-xxl they take about 4 hours diff --git a/.github/workflows/test-os-variants.yml b/.github/workflows/test-os-variants.yml index 7c5a5604..d09f899a 100644 --- a/.github/workflows/test-os-variants.yml +++ b/.github/workflows/test-os-variants.yml @@ -110,7 +110,7 @@ jobs: GITHUB_TOKEN: /home/github/github-token strategy: matrix: - os-variant: [daily-iso, rawhide, rhel8, rhel9, rhel10] + os-variant: [daily-iso, rawhide, rhel9, rhel10] fail-fast: false steps: diff --git a/.github/workflows/weekly-summary.yml b/.github/workflows/weekly-summary.yml index dd3a8eeb..8182d97b 100644 --- a/.github/workflows/weekly-summary.yml +++ b/.github/workflows/weekly-summary.yml @@ -24,7 +24,7 @@ jobs: run: | PATH=./scripts/:$PATH \ ./scripts/weekly-summary --rebuild --flake-details \ - --artifacts=logs-daily-iso,logs-rhel9,logs-rhel8,logs-rhel10 \ + --artifacts=logs-daily-iso,logs-rhel9,logs-rhel10 \ --archive-logs /var/tmp/kstest-archive/ - name: Collect logs diff --git a/scripts/weekly-summary b/scripts/weekly-summary index 4f1685fb..5df3bf0e 100755 --- a/scripts/weekly-summary +++ b/scripts/weekly-summary @@ -43,7 +43,7 @@ URL = "https://api.github.com/repos/rhinstaller/kickstart-tests/actions/artifact # Defaults list of artifacts # For now use the full log artifacts, eventually this will be the json summaries -ARTIFACT_NAMES = ["logs-daily-iso", "logs-rhel9", "logs-rhel8", "logs-rhel10"] +ARTIFACT_NAMES = ["logs-daily-iso", "logs-rhel9", "logs-rhel10"] # We should ignore SIGPIPE when using pycurl.NOSIGNAL - see # the libcurl tutorial for more info. diff --git a/testlib/test_plans/daily-rhel8.plan.yaml.j2 b/testlib/test_plans/daily-rhel8.plan.yaml.j2 deleted file mode 100644 index d0f262c9..00000000 --- a/testlib/test_plans/daily-rhel8.plan.yaml.j2 +++ /dev/null @@ -1,15 +0,0 @@ -name: daily rhel8 -description: Daily run on a RHEL 8 compose -point_person: rvykydal@redhat.com -artifact_type: github.scheduled.daily.kstest.rhel8 -verified_by: - test_cases: - query: ' -{% for tag in skiptags %} - "{{ tag }}" not in tc.tags and -{% endfor %} - True' -configurations: - - architecture: x86_64 -reporting: - - type: xunit