Skip to content

quincy: qa/rgw: adapt tests to centos 9 - #58601

Merged
cbodley merged 12 commits into
ceph:quincyfrom
cbodley:wip-qa-rgw-quincy-centos9
Jul 30, 2024
Merged

cbodley merged 12 commits into
ceph:quincyfrom
cbodley:wip-qa-rgw-quincy-centos9

Conversation

@cbodley

@cbodley cbodley commented Jul 15, 2024

Copy link
Copy Markdown
Contributor

backporting one rgw-specific commit from #53517 necessary to stop quincy testing on centos 8. has no associated tracker issue

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

@github-actions github-actions Bot added this to the quincy milestone Jul 15, 2024
@cbodley
cbodley requested review from a team, adamemerson, ivancich and yuvalif July 15, 2024 16:48
@yuvalif

yuvalif commented Jul 15, 2024

Copy link
Copy Markdown
Contributor

@cbodley

cbodley commented Jul 15, 2024

Copy link
Copy Markdown
Contributor Author

centos stream 8 is eol, and we're not building packages for it any more. so most of our quincy tests in teuthology are broken. this is a followup to #58520 to switch quincy qa suites to centos 9. this has already happened for main/squid/reef branches

according to this: https://docs.ceph.com/en/quincy/start/os-recommendations/

#58391 recently changed that doc, but it doesn't seem to have updated yet

@cbodley

cbodley commented Jul 15, 2024

Copy link
Copy Markdown
Contributor Author

@cbodley

cbodley commented Jul 15, 2024

Copy link
Copy Markdown
Contributor Author

https://pulpito.ceph.com/cbodley-2024-07-15_16:37:47-rgw-quincy-distro-default-smithi/

lots of failures:

@cbodley

cbodley commented Jul 15, 2024

Copy link
Copy Markdown
Contributor Author

rgw/verify: 'cd /home/ubuntu/cephtest/s3-tests-java && /opt/gradle/gradle/bin/gradle clean test --rerun-tasks --no-build-cache --tests AWS4Test' https://tracker.ceph.com/issues/61398

the fix for this was in the java_s3tests repo at ceph/java_s3tests#15 so i cherry-picked and pushed that to the ceph-quincy branch

@cbodley

cbodley commented Jul 15, 2024

Copy link
Copy Markdown
Contributor Author

rgw/notifications: 'sudo chkconfig rabbitmq-server on' https://tracker.ceph.com/issues/63205

backport already prepared in #58313

@cbodley

cbodley commented Jul 15, 2024

Copy link
Copy Markdown
Contributor Author

rgw/sts: 'cd /home/ubuntu/cephtest/keycloak-11.0.0 && cd bin && ./jboss-cli.sh --file=adapter-elytron-install-offline.cli' https://tracker.ceph.com/issues/62536

included the backport for that here (there was a conflict from #52216)

@cbodley cbodley changed the title quincy: qa/rgw/notifications: pin to centos_latest quincy: qa/rgw: adapt tests to centos 9 Jul 15, 2024
@cbodley

cbodley commented Jul 15, 2024

Copy link
Copy Markdown
Contributor Author

scheduled another run with 3/5 fixes in https://pulpito.ceph.com/cbodley-2024-07-15_22:21:07-rgw-quincy-distro-default-smithi

still expecting tempest to fail, and for the java failures to turn into s3test bootstrap failures

@cbodley

cbodley commented Jul 16, 2024

Copy link
Copy Markdown
Contributor Author

i tested a commit ceph/s3-tests@0aa4428 that unpins python-3.6 from s3tests bootstrap, and that seemed to work in https://pulpito.ceph.com/cbodley-2024-07-16_18:02:17-rgw:verify-quincy-distro-default-smithi/. i pushed that commit to the ceph-quincy branch

@cbodley

cbodley commented Jul 18, 2024

Copy link
Copy Markdown
Contributor Author

early results from the latest https://pulpito.ceph.com/cbodley-2024-07-18_16:04:57-rgw-quincy-distro-default-smithi/

@cbodley

cbodley commented Jul 18, 2024

Copy link
Copy Markdown
Contributor Author

@cbodley

cbodley commented Jul 18, 2024

Copy link
Copy Markdown
Contributor Author

the barbican fixes were already staged for quincy in #57045. i pulled those commits in

@cbodley
cbodley force-pushed the wip-qa-rgw-quincy-centos9 branch 3 times, most recently from 3d2279e to b592c6e Compare July 18, 2024 20:55
cbodley and others added 3 commits July 26, 2024 12:00
the subsuite had a supported-all-distro$/ subdirectory, but that only
contained centos_8.yaml. qa/tasks/rabbitmq.py is hardcoded to use 'yum'
and rpm packages, so replace supported-all-distro$ with a link to
centos_latest.yaml

Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 2d9348a)
java had already been installed automatically before centos 9. add an
override to install the jdk-17 packages manually

Fixes: https://tracker.ceph.com/issues/62536

Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 06f6a3e)

Conflicts:
	qa/suites/rgw/sts/tasks/1-keycloak.yaml moved from first.yaml
alimaredia and others added 3 commits July 26, 2024 12:00
Signed-off-by: Ali Maredia <[email protected]>
(cherry picked from commit 4306939)
barbican tests are only passing on ubunutu latest,
this commit allows us to have a green crypt suite.

Signed-off-by: Ali Maredia <[email protected]>
(cherry picked from commit 863f8d7)

Conflicts:
	ubuntu_latest.yaml: no qa/distros/all/ubuntu_latest.yaml, used
ubuntu_20.04.yaml
@cbodley
cbodley force-pushed the wip-qa-rgw-quincy-centos9 branch from 2baac95 to 5dc6aba Compare July 26, 2024 16:00
@cbodley

cbodley commented Jul 26, 2024

Copy link
Copy Markdown
Contributor Author

rebased over #58520

@cbodley

cbodley commented Jul 26, 2024

Copy link
Copy Markdown
Contributor Author
  • rgw/verify: ragweed bootstrap is now failing consistently, despite succeeding on Monday: 'ImportError: cannot import name 'yield_lines' from 'jaraco.text' (/usr/lib/python3.9/site-packages/jaraco/text/init.py)'

not really willing to debug this, and i don't think it's worth trying to backport the tox/pytest changes that are working on later releases. i just removed ragweed coverage from quincy entirely

@cbodley

cbodley commented Jul 29, 2024

Copy link
Copy Markdown
Contributor Author

@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test api

@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

rerun 'passed' in https://pulpito.ceph.com/cbodley-2024-07-29_18:03:29-rgw-quincy-distro-default-smithi/. there was still one 'saw valgrind issues' after cherry-picking the suppression, but i think this is good enough

@cbodley
cbodley requested a review from yuvalif July 30, 2024 12:21
@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

https://jenkins.ceph.com/job/ceph-api/78855/

monitor data filesystem reached concerning levels of available storage space (available: 1% 3.5 GiB)

@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test api

@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

https://jenkins.ceph.com/job/ceph-pull-requests/140231/

CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake

@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake

@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test api

@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake

@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

https://jenkins.ceph.com/job/ceph-pull-requests/140263/

Header issue in /home/jenkins-build/build/workspace/ceph-pull-requests/src/seastar/include/seastar/core/bitset-iter.hh

@cbodley

cbodley commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@smanjara

Copy link
Copy Markdown
Contributor

there is another failed run related to s3-test-java that occured in https://pulpito.ceph.com/?branch=wip-yuri5-testing-2024-08-22-0855-quincy

2024-08-23T23:48:16.768 INFO:teuthology.orchestra.run.smithi143.stderr:FAILURE: Build failed with an exception.
2024-08-23T23:48:16.769 INFO:teuthology.orchestra.run.smithi143.stderr:
2024-08-23T23:48:16.769 INFO:teuthology.orchestra.run.smithi143.stderr:* What went wrong:
2024-08-23T23:48:16.769 INFO:teuthology.orchestra.run.smithi143.stderr:Execution failed for task ':test'.
2024-08-23T23:48:16.769 INFO:teuthology.orchestra.run.smithi143.stderr:> There were failing tests. See the report at: file:///home/ubuntu/cephtest/s3-tests-java/build/reports/tests/test/index.html
2024-08-23T23:48:16.769 INFO:teuthology.orchestra.run.smithi143.stderr:
2024-08-23T23:48:16.769 INFO:teuthology.orchestra.run.smithi143.stderr:* Try:
2024-08-23T23:48:16.769 INFO:teuthology.orchestra.run.smithi143.stderr:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
2024-08-23T23:48:16.769 INFO:teuthology.orchestra.run.smithi143.stderr:
2024-08-23T23:48:16.769 INFO:teuthology.orchestra.run.smithi143.stdout:
2024-08-23T23:48:16.769 INFO:teuthology.orchestra.run.smithi143.stdout:Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
2024-08-23T23:48:16.769 INFO:teuthology.orchestra.run.smithi143.stdout:Use '--warning-mode all' to show the individual deprecation warnings.
2024-08-23T23:48:16.770 INFO:teuthology.orchestra.run.smithi143.stderr:* Get more help at https://help.gradle.org
2024-08-23T23:48:16.770 INFO:teuthology.orchestra.run.smithi143.stderr:
2024-08-23T23:48:16.770 INFO:teuthology.orchestra.run.smithi143.stdout:See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
2024-08-23T23:48:16.770 INFO:teuthology.orchestra.run.smithi143.stdout:5 actionable tasks: 5 executed
2024-08-23T23:48:16.770 INFO:teuthology.orchestra.run.smithi143.stderr:BUILD FAILED in 32s

@cbodley

cbodley commented Aug 27, 2024

Copy link
Copy Markdown
Contributor Author

yeah i see a test case failed above:

suite > Object tests > ObjectTest.testObjectCreateBadContentlengthNegative FAILED
java.lang.AssertionError at ObjectTest.java:472

@cbodley

cbodley commented Aug 27, 2024

Copy link
Copy Markdown
Contributor Author

we removed that test case in ceph/java_s3tests#14, i'll go ahead and cherry-pick that to the ceph-quincy branch too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants