Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pbTests: Change any occurrence of openjdk-tests to aqa-tests in the test script #2230

Merged
merged 1 commit into from
Jun 25, 2021

Conversation

Haroon-Khel
Copy link
Contributor

@Haroon-Khel Haroon-Khel commented Jun 22, 2021

  • commit message has one of the standard prefixes
  • FAQ.md updated if appropriate
  • other documentation is changed or added (if applicable)
  • playbook changes run through VPC or QPC (if you have access)
  • for inventory.yml changes, bastillion/nagios/jenkins updated accordingly

ref #2121

The latest failure on the QEMU ppc64le job produces this failure

00:17:27 TESTDIR: /home/linux/testLocation/openjdk-tests is invalid. Please use --testdir|-t to set valid TESTDIR under aqa-tests. Default value current dir (pwd) is used if not provided.
00:17:32 /home/linux/openjdk-infrastructure/ansible/pbTestScripts/testJDK.sh: line 15: cd: /home/linux/testLocation/openjdk-tests/TKG: No such file or directory
00:17:32 + grep -q 'FAILED: 0' /home/vagrant1/workspace/QEMUPlaybookCheck/ARCHITECTURE/ppc64le/OS/ubuntu18/label/vagrant/ansible/pbTestScripts/qemu_pbCheck/logFiles/UBUNTU18.PPC64LE.test_log
00:17:32 + echo TEST FAILED

The other QEMU jobs would produce the same failure if they get to the test stage, but they keep failing before that.

Making these changes fixes the issue on my local machine, will test on the QEMU disk image before merging

Copy link
Member

@sxa sxa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR seems to be missing the template - can you add it back in and ensure that the appropriate prefix is on the commit (pbTests:) and that a link is provided to VPC/QPC runs to verify this change.

@Haroon-Khel
Copy link
Contributor Author

Haroon-Khel commented Jun 22, 2021

These changes worked when I ran them on the ppc64le QEMU disk image directly. I recreated the error and then put in the change, which worked 👍🏻

Ive temporarily changed the config of the QEMU job to pick up this pr. Running the full playbook, build and test on ppc64le, as seems to be the only one that can make it to the test stage, at https://ci.adoptopenjdk.net/job/QEMUPlaybookCheck/276/

@Haroon-Khel Haroon-Khel changed the title QEMU: Change any occurrence of openjdk-tests to aqa-tests in the test script pbTests: Change any occurrence of openjdk-tests to aqa-tests in the test script Jun 22, 2021
@Haroon-Khel
Copy link
Contributor Author

Annoyingly https://ci.adoptopenjdk.net/job/QEMUPlaybookCheck/ARCHITECTURE=ppc64le,OS=ubuntu18,label=vagrant/276/console failed with the same error as if the changes were not implemented. I have certainly changed the config of the QEMU job to pick up from the branch of this pr

@Haroon-Khel
Copy link
Contributor Author

Running another job at https://ci.adoptopenjdk.net/job/QEMUPlaybookCheck/277/console
It should retrieve the infrastructure repo from my branch this time

@sxa
Copy link
Member

sxa commented Jun 23, 2021

Approved for when test runs pass :-)

@sxa
Copy link
Member

sxa commented Jun 23, 2021

Re-running a VPC building HotSpot at https://ci.adoptopenjdk.net/job/VagrantPlaybookCheck/1187 since the OpenJ9 codebase seems to have a build break just now.

@Haroon-Khel
Copy link
Contributor Author

Re-running a VPC building HotSpot at https://ci.adoptopenjdk.net/job/VagrantPlaybookCheck/1187 since the OpenJ9 codebase seems to have a build break just now.

That might explain why https://ci.adoptopenjdk.net/job/QEMUPlaybookCheck/277/console broke during the build step. I didn't notice it builds openj9 by default

@sxa
Copy link
Member

sxa commented Jun 24, 2021

Apologies - I added that comment about the re-run into the wrong issue - my VPC run does NOT have the changes in this PR.

I didn't notice it builds openj9 by default

Yes that's intentional because OpenJ9 has more prereqs so is generally a better test of whether the playbooks have worked.

@karianna
Copy link
Contributor

Needs rebasing to pick up linter fixes?

@sxa
Copy link
Member

sxa commented Jun 24, 2021

I'll add my approval once https://ci.adoptopenjdk.net/job/QEMUPlaybookCheck/ARCHITECTURE=ppc64le,OS=ubuntu18,label=vagrant/278/console passes through this piece of the code, but as MV says, let's do a rebase to kick out the linter failures ;-)

@Haroon-Khel
Copy link
Contributor Author

https://ci.adoptopenjdk.net/job/QEMUPlaybookCheck/ARCHITECTURE=ppc64le,OS=ubuntu18,label=vagrant/278/console passed. The test step did not hit the same error

Needs rebasing to pick up linter fixes?

I could, but the linter errors and warnings do not concern changes made by this pr. Could it be merged anyway?

@karianna karianna merged commit 2d8b620 into adoptium:master Jun 25, 2021
@sxa sxa mentioned this pull request Jun 29, 2021
5 tasks
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.

4 participants