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

"Skipped parameter" warnings in jenkins server log #2774

Open
Tracked by #3380
sxa opened this issue Oct 5, 2022 · 74 comments
Open
Tracked by #3380

"Skipped parameter" warnings in jenkins server log #2774

sxa opened this issue Oct 5, 2022 · 74 comments
Assignees
Labels
Milestone

Comments

@sxa
Copy link
Member

sxa commented Oct 5, 2022

These aren't new but were discovered while working on #2108

There are a lot of warnings in the jenkins log which we should look at clearing up in the interests of avoid the risk of being unable to see the wood for the trees. All are related to NODE_LABEL's use in various places.

Presumably the parameters are being passed in from the upstream job somewhere but they are not defined on the callee so are superfluous. Can we wasily stop 'rogue' parameters being passed in or should we set the -D mentioned in the error?

90 WARNING hudson.model.ParametersAction#filter: Skipped parameter NODE_LABEL as it is undefined on build-scripts/release/create_installer_mac. Set -Dhudson.model.ParametersAction.keepUndefinedParameters=true to allow undefined parameters to be injected as environment variables or -Dhudson.model.ParametersAction.safeParameters=[comma-separated list] to whitelist specific parameter names, even though it represents a security breach or -Dhudson.model.ParametersAction.keepUndefinedParameters=false to no longer show this message.

@sxa
Copy link
Member Author

sxa commented Oct 5, 2022

FYI @andrew-m-leonard @smlambert (Shelley I sent you a log from this a while back and I think there may be fewer such messages now but unclear if that's my memory or if it was a slightly different error!

@sxa sxa added this to the 2022-10 (October) milestone Oct 5, 2022
@sxa
Copy link
Member Author

sxa commented Oct 5, 2022

Also tagging @sophia-guo since she was involved in the discussions on the community call earlier today :-)

@sophia-guo
Copy link

sophia-guo commented Oct 13, 2022

According to the discussion if jenkins jobs are triggered with undefined parameters there will be those warnings in jenkins server log? If that is the case those warnings can be avoided by re-generating aqa-tests or smoketests jobs triggered by upstream.

Initially when new features was added there was a period that aqa-tests or smoke tests jobs were triggered with undefined parameters. For example, USE_TESTENV_PROPERTIES, the reason is testJobTemplate was not updated accordingly as it didn't affect the functionalities. I have double checked all parameters of aqa-tests and smoke tests, all of them have been updated in testJobTemplate. That means if there is still those warning message related with aqa-tests or smoketests regenerating those jobs should fix it. Note autoGen is enabled with aqa-tests and disabled with smoketests.

@sxa
Copy link
Member Author

sxa commented Oct 18, 2022

Thanks for checking @sophia-guo! It looks like the remaining ones are mostly on the build pipelines so the test jobs may now be all sorted. I've just done a check on the recent logs and these are the remaining warnings - interestingly only the (new) jdk19u pipelines are showing up here @andrew-m-leonard:

jenkins@jenkins-hetzner-ubuntu2004:~$ gzip -cd /var/log/jenkins/jenkins.log.?.gz | grep Skipped.*undefined /var/log/jenkins/jenkins.log | sed -e 's/.*Skipped/Skipped/g' -e 's/. Set.*/./g' | sort | uniq -c
    282 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk19u/jdk19u-aix-ppc64-temurin`.
    291 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk19u/jdk19u-alpine-linux-aarch64-temurin`.
    306 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk19u/jdk19u-alpine-linux-x64-temurin`.
    291 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk19u/jdk19u-linux-aarch64-temurin`.
    286 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk19u/jdk19u-linux-arm-temurin`.
    278 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk19u/jdk19u-linux-ppc64le-temurin`.
    270 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk19u/jdk19u-linux-s390x-temurin`.
    294 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk19u/jdk19u-linux-x64-temurin`.
    485 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk19u/jdk19u-mac-aarch64-temurin`.
    488 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk19u/jdk19u-mac-x64-temurin`.
    432 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk19u/jdk19u-windows-x64-temurin`.
    447 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk19u/jdk19u-windows-x86-32-temurin`.
     36 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/release/create_installer_mac`.
     72 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/release/sign_installer`.
    240 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/release/sign_temurin_gpg`.
jenkins@jenkins-hetzner-ubuntu2004:~$ 

@andrew-m-leonard
Copy link
Contributor

@sxa I don't understand the above, none of the build jobs have a Parameter called NODE_LABEL, they only have 4 paramaters:

  • BUILD_CONFIGURATION
  • USER_REMOTE_CONFIGS
  • DEFAULTS_JSON
  • ADOPT_DEFAULTS_JSON

@sxa
Copy link
Member Author

sxa commented Oct 19, 2022

That sounds consistent with the warning message - "it is undefined on " but presumably something is trying to start them using those extra, unusable, parameters.

@sxa
Copy link
Member Author

sxa commented Dec 16, 2022

Had a look at the log for something else today. We've still got:

  • USE_TESTENV_PROPERTIES on most of the test jobs giving the warning
  • RELEASE_TAG showing ONLY on Test_openjdk11_j9_sanity.openjdk_x86-64_linux in the most recenr log. Not sure why that might be special.
  • NODE_LABEL on most of the build jobs
  • GENERATE_JOBS on most of the test jobs
  • DYNAMIC_COMPILE on most of the test jobs.

@smlambert
Copy link
Contributor

Regenerated the following test jobs:

JDK 11,17,19 hotspot/platforms
https://ci.adoptopenjdk.net/view/Test_grinder/job/Test_Job_Auto_Gen/864/ (functional - all levels)
https://ci.adoptopenjdk.net/view/Test_grinder/job/Test_Job_Auto_Gen/865/ (perf,system,openjdk - sanity,extended)

JDK 8 hotspot/platforms
https://ci.adoptopenjdk.net/view/Test_grinder/job/Test_Job_Auto_Gen/866/ (functional - all levels)
https://ci.adoptopenjdk.net/view/Test_grinder/job/Test_Job_Auto_Gen/867/ (perf,system,openjdk - sanity,extended)

@sxa
Copy link
Member Author

sxa commented Mar 21, 2023

@smlambert Most of these are looking good now, but Test_openjdk8_dragonwell_sanity.system_aarch64_linux is still throwing messages about GENERATE_JOBS being missing, and that looks to be correct. Can that one be regenerated too?
Simiplery for USE_TESTENV_PROPERTIES on a number of the non-temurin test jobs.
[EDIT: See next comment for why JDK8/dragonwell may well be a special case]

@sxa
Copy link
Member Author

sxa commented Mar 21, 2023

A number of the NODE_LABEL messages are from sign_temurin_gpg which is hard coded to use a label of gpgsign but a parameter for it is still being passed in. Since this shouldn't be a "user-serviceable change" I'm going to remove that from the calling pipeline.

Similarly for create_installer_mac it is hard coded to mac&&macos10.14&&xcode10 and does not take a NODE_LABEL parameter, and sign_installer which is tied to eclipse-codesign

@andrew-m-leonard I suspect there must be other places in there where we're passing in a NODE_LABEL where it's not welcome, for example the jdk20-release-*-temurin jobs are all showing Skipped parameter NODE_LABEL as it is undefined when they are called. There are three more occurrences outside the temurin jobs - jdk8u-linux-aarch64-dragonwell (Suspiciously the same build as per the previous comment...), jdk8u-windows-x64-openj9 and jdk-linux-aarch64-hotspot (The one which we continue to build hotspot as well as temurin for a test)

@sxa
Copy link
Member Author

sxa commented Apr 3, 2023

@andrew-m-leonard After merging adoptium/ci-jenkins-pipelines#668 we've still got a few remaining occurrences on the PR tester jobs which will need addressing:

    244 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk11u/jdk11u-linux-aarch64-temurin` (#114)
    373 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk11u/jdk11u-linux-x64-temurin` (#114)
    347 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk11u/jdk11u-mac-x64-temurin` (#115)
    174 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk11u/jdk11u-windows-x64-temurin` (#116)
    244 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk17u/jdk17u-linux-aarch64-temurin` (#109)
    373 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk17u/jdk17u-linux-x64-temurin` (#125)
    190 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk17u/jdk17u-mac-x64-temurin` (#109)
     94 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk17u/jdk17u-windows-x64-temurin` (#108)
    244 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk20/jdk20-linux-aarch64-temurin` (#8)
    373 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk20/jdk20-linux-x64-temurin` (#8)
    347 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk20/jdk20-mac-x64-temurin` (#8)
    174 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk20/jdk20-windows-x64-temurin` (#8)
    244 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk8u/jdk8u-linux-aarch64-temurin` (#105)
    363 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk8u/jdk8u-linux-x64-temurin` (#105)
    190 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk8u/jdk8u-mac-x64-temurin` (#105)
    382 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts-pr-tester/build-test/jobs/jdk8u/jdk8u-windows-x64-temurin` (#106)

Plus these in other build jobs:

      2 Skipped parameter `DYNAMIC_COMPILE` as it is undefined on `build-scripts/jobs/jdk17u/jdk17u-windows-x64-openj9_SmokeTests` (#163)
    306 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/evaluation/jobs/jdk20/jdk20-evaluation-windows-aarch64-temurin` (#20)
     58 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk17u/jdk17u-aix-ppc64-temurin` (#221)
    177 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk17u/jdk17u-linux-s390x-temurin` (#199)
    159 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk17u/jdk17u-windows-x64-openj9` (#239)
    424 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk17u/jdk17u-windows-x64-temurin` (#206)
    376 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk17u/jdk17u-windows-x86-32-temurin` (#192)
      1 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/release/jobs/jdk20/jdk20-release-aix-ppc64-temurin` (#6)
     20 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/release/sign_temurin_gpg` (#14,577)

NOTE: Since was the log of the last day the presence of mostly jdk17 jobs is likely because of when that versions was scheduled and should not be assumed to mean that only that versions is affected

@sxa
Copy link
Member Author

sxa commented Apr 3, 2023

@smlambert @sophia-guo This is the remaining list from the test jobs. Interestingly most of these seem to be on JDK17 jobs. A number of the extended.openjdk jobs will have been regenerated as part of #2893 (comment) but it looks we've still get quite a lof ot he testList_ jobs.

Here's the full list from the last day's log:
Test_skipped_parameter.gz

NOTE: Since was the log of the last day the presence of mostly jdk17 jobs is likely because of when that versions was scheduled and should not be assumed to mean that only that versions is affected

@sxa
Copy link
Member Author

sxa commented Mar 13, 2024

@sophia-guo Is there a way to trigger regeneration of some of the jobs that aren't run regularly e.g. the external ones, and the non-hotspot ones like j9? Those seem to be most of the ones in the test area that are remaining.

Can someone confirm the above to me please? If there is an easy way to trigger this that doesn't involve running a full openjdkXX-pipeline with the aqaAutoGen flag? Can I just run https://ci.adoptium.net/job/Test_Job_Auto_Gen/build?delay=0sec with the appropriate flags for the other variants to clear them up? This seems like an easy fix if it's all that's required - are there any potential side-effects from doing that?

@sxa
Copy link
Member Author

sxa commented Apr 4, 2024

I've kicked off these two runs:

This will cover most of the ones we have remaining from a test perspective today, although a few others are notable in the logs too ... @smlambert @sophia-guo are these still needed and if not can you delete the jobs from the jenkins server please?

  • grinder_sandbox_iteration_[1234]
  • Grinder_wycheproof
  • Test_openjdk11_dragonwell_sanity.openjdk_x86-64_linux_rerun is in the list too which surprises me since it is a relatively new job (For reference, it's giving the error with IS_PARALLEL, RELEASE_TAG, TKG_BRANCH, TKG_REPO and TKG_SHA
    I've also run a Grinder job with dynamic parallel 5 which should regenerate the Grinder_testList_[0-4] jobs which were also being flagged.

@sophia-guo
Copy link

I don't have any permission to delete jenkin jobs.

@smlambert
Copy link
Contributor

We also have the problem of TRSS getting confused when we delete Jenkins jobs, so we should programatically regenerate them without deletion or else we end up with this type of problems, adoptium/aqa-test-tools#860

@sxa
Copy link
Member Author

sxa commented Apr 4, 2024

I don't have any permission to delete jenkin jobs.

Which ohes would you like deleting? I can action those if required (Shelley can too!)

We also have the problem of TRSS getting confused when we delete Jenkins jobs, so we should programatically regenerate them without deletion or else we end up with this type of problems, adoptium/aqa-test-tools#860

I believe the problem in there was caused by deletion of jobs that were still in use which then restarted from a build number of 1. In these cases I'm asking if the jobs are still required, or if they can be removed without replacement, which I do not believe is related to the problem in 860, but if I'm incorrect please let me know. If there is a specific process for the regeneration other than what I've done today in the above comment please let me know :-)

The question here is whether these jobs are required at all i.e. whether they can be removed from jenkins and TRSS (I'm unclear if any of these ones are monitored by TRSS).

@sxa
Copy link
Member Author

sxa commented Apr 5, 2024

Getting on top of these now I think - there were over 5000 yesterday, but as of half way through today we've only had 8. I'll do another summary over the weekend. We could do with regenerating the -hotspot build jobs I think (especially since we seem to have switched all of them off for now which I would suggest wasn't ideal unless they're running outside the triggers) .

@andrew-m-leonard is there a way to point the regen jobs at a configuration that includes the non-temurin ones?

There have also been instances of these on the pr-tester jobs which could probably do with a bit of maintenance (although they're not showing up in the log today so far)

@andrew-m-leonard
Copy link
Contributor

So I think the other variants need to be in the pipelines targetConfiguration to be re-gen'd so If you could point the regen at a fork with such a change you could do possibly?

@sxa
Copy link
Member Author

sxa commented Apr 5, 2024

Yeah that's what I wanted to do but it wasn't clear how to make that work. Is there a way to point it at an alternate location or would I have to create a new branch, put the changes in, edit the generator job (always a risk!) to use the fork, and then run it ... Or is there a simpler way?

There is DEFAULTS_URL which can point externally (although the default in the description of that points to something at the old AdoptOpenJDK repo, but I don't think the equavalint file in the new repo is the one I want)

@sxa
Copy link
Member Author

sxa commented Apr 8, 2024

From today and yesterday (Note this may not be an exhaustive list since it's not necessarily the same each day but gives an idea. We're getting close now though!):

Build jobs (11)
      1 Skipped parameter `DYNAMIC_COMPILE` as it is undefined on `build-scripts/jobs/jdk8u/jdk8u-linux-x64-hotspot_SmokeTests` (#146).
      1 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk11u/jdk11u-alpine-linux-aarch64-temurin` (#43).
      1 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk17u/jdk17u-linux-s390x-hotspot` (#50).
      1 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk8u/jdk8u-alpine-linux-aarch64-temurin` (#140).
      1 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk8u/jdk8u-linux-arm-hotspot` (#830).
      1 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk8u/jdk8u-linux-s390x-temurin` (#272).
      1 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk8u/jdk8u-solaris-sparcv9-hotspot` (#644).
      1 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk8u/jdk8u-windows-x86-32-hotspot` (#1,112).
      1 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk/jdk-mac-aarch64-hotspot` (#36).
      1 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk/jdk-mac-aarch64-hotspot` (#37).
      1 Skipped parameter `NODE_LABEL` as it is undefined on `build-scripts/jobs/jdk/jdk-mac-aarch64-hotspot` (#38).
Test jobs (28) J9(16)/Dragonwell(9)/Bisheng(3)
     1 Skipped parameter `ACTIVE_NODE_TIMEOUT` as it is undefined on `Test_openjdk11_dragonwell_sanity.openjdk_x86-64_linux` (#459).
      1 Skipped parameter `ACTIVE_NODE_TIMEOUT` as it is undefined on `Test_openjdk11_j9_extended.openjdk_ppc64le_linux_xl` (#7).
      1 Skipped parameter `ACTIVE_NODE_TIMEOUT` as it is undefined on `Test_openjdk11_j9_extended.openjdk_s390x_linux_xl` (#9).
      1 Skipped parameter `DYNAMIC_COMPILE` as it is undefined on `Test_openjdk11_dragonwell_sanity.openjdk_x86-64_linux` (#459).
      1 Skipped parameter `DYNAMIC_COMPILE` as it is undefined on `Test_openjdk11_j9_sanity.openjdk_s390x_linux` (#674).
      1 Skipped parameter `DYNAMIC_COMPILE` as it is undefined on `Test_openjdk11_j9_sanity.openjdk_x86-64_windows` (#708).
      1 Skipped parameter `GENERATE_JOBS` as it is undefined on `Test_openjdk11_dragonwell_sanity.openjdk_x86-64_linux` (#459).
      1 Skipped parameter `JDK_BRANCH` as it is undefined on `Test_openjdk11_dragonwell_sanity.openjdk_x86-64_linux` (#459).
      1 Skipped parameter `JDK_BRANCH` as it is undefined on `Test_openjdk11_j9_extended.openjdk_ppc64le_linux_xl` (#7).
      1 Skipped parameter `JDK_BRANCH` as it is undefined on `Test_openjdk11_j9_extended.openjdk_s390x_linux_xl` (#9).
      1 Skipped parameter `JDK_REPO` as it is undefined on `Test_openjdk11_dragonwell_sanity.openjdk_x86-64_linux` (#459).
      1 Skipped parameter `JDK_REPO` as it is undefined on `Test_openjdk11_j9_extended.openjdk_ppc64le_linux_xl` (#7).
      1 Skipped parameter `JDK_REPO` as it is undefined on `Test_openjdk11_j9_extended.openjdk_s390x_linux_xl` (#9).
      1 Skipped parameter `LABEL_ADDITION` as it is undefined on `Test_openjdk11_j9_extended.openjdk_ppc64le_linux_xl` (#7).
      1 Skipped parameter `LABEL_ADDITION` as it is undefined on `Test_openjdk11_j9_extended.openjdk_s390x_linux_xl` (#9).
      1 Skipped parameter `NON_AQA_TEST_REPOS` as it is undefined on `Test_openjdk11_bisheng_extended.openjdk_x86-64_linux_rerun` (#1).
      1 Skipped parameter `NUM_MACHINES` as it is undefined on `Test_openjdk11_dragonwell_sanity.openjdk_x86-64_linux` (#459).
      1 Skipped parameter `PARALLEL` as it is undefined on `Test_openjdk11_dragonwell_sanity.openjdk_x86-64_linux` (#459).
      1 Skipped parameter `PLATFORM_AND_MACHINE` as it is undefined on `Test_openjdk11_bisheng_extended.openjdk_x86-64_linux_rerun` (#1).
      1 Skipped parameter `RELEASE_TAG` as it is undefined on `Test_openjdk11_j9_extended.external_ppc64le_linux_quarkus_openshift` (#25).
      1 Skipped parameter `RERUN_ITERATIONS` as it is undefined on `Test_openjdk11_dragonwell_sanity.openjdk_x86-64_linux` (#459).
      1 Skipped parameter `RUNTIME_NAME` as it is undefined on `Test_openjdk11_j9_extended.external_ppc64le_linux_quarkus_openshift` (#25).
      1 Skipped parameter `TKG_BRANCH` as it is undefined on `Test_openjdk11_j9_extended.external_ppc64le_linux_quarkus_openshift` (#25).
      1 Skipped parameter `TKG_REPO` as it is undefined on `Test_openjdk11_j9_extended.external_ppc64le_linux_quarkus_openshift` (#25).
      1 Skipped parameter `TKG_SHA` as it is undefined on `Test_openjdk11_bisheng_extended.openjdk_x86-64_linux_rerun` (#1).
      1 Skipped parameter `USE_TESTENV_PROPERTIES` as it is undefined on `Test_openjdk11_dragonwell_sanity.openjdk_x86-64_linux` (#459).
      1 Skipped parameter `USE_TESTENV_PROPERTIES` as it is undefined on `Test_openjdk11_j9_sanity.openjdk_s390x_linux` (#674).
      1 Skipped parameter `USE_TESTENV_PROPERTIES` as it is undefined on `Test_openjdk11_j9_sanity.openjdk_x86-64_windows` (#708).
Test jobs (21) - HotSpot/Grinder
      1 Skipped parameter `ADOPTOPENJDK_SYSTEMTEST_BRANCH` as it is undefined on `grinder_sandbox_iteration_2` (#18).
      1 Skipped parameter `ADOPTOPENJDK_SYSTEMTEST_REPO` as it is undefined on `grinder_sandbox_iteration_2` (#18).
      1 Skipped parameter `ARCHIVE_TEST_RESULTS` as it is undefined on `grinder_sandbox_iteration_2` (#18).
      1 Skipped parameter `DEBUG_IMAGES_REQUIRED` as it is undefined on `grinder_sandbox_iteration_2` (#18).
      1 Skipped parameter `GITHUB_TOKEN` as it is undefined on `refactor_openjdk_release_tool_new` (#25).
      1 Skipped parameter `NON_AQA_TEST_REPOS` as it is undefined on `Grinder_security` (#1).
      1 Skipped parameter `OPENJ9_SYSTEMTEST_BRANCH` as it is undefined on `grinder_sandbox_iteration_2` (#18).
      1 Skipped parameter `OPENJ9_SYSTEMTEST_REPO` as it is undefined on `grinder_sandbox_iteration_2` (#18).
      1 Skipped parameter `PLATFORM_AND_MACHINE` as it is undefined on `Grinder_security` (#1).
      1 Skipped parameter `RELEASE_TAG` as it is undefined on `grinder_sandbox_iteration_2` (#18).
      1 Skipped parameter `RELEASE_TAG` as it is undefined on `Test_openjdk11_hs_sanity.external_x86-64_linux_openliberty-mp-tck` (#497).
      1 Skipped parameter `RUNTIME_NAME` as it is undefined on `grinder_sandbox_iteration_2` (#18).
      1 Skipped parameter `RUNTIME_NAME` as it is undefined on `Test_openjdk11_hs_sanity.external_x86-64_linux_openliberty-mp-tck` (#497).
      1 Skipped parameter `STF_BRANCH` as it is undefined on `grinder_sandbox_iteration_2` (#18).
      1 Skipped parameter `STF_REPO` as it is undefined on `grinder_sandbox_iteration_2` (#18).
      1 Skipped parameter `TEST_IMAGES_REQUIRED` as it is undefined on `grinder_sandbox_iteration_2` (#18).
      1 Skipped parameter `TKG_BRANCH` as it is undefined on `Test_openjdk11_hs_sanity.external_x86-64_linux_openliberty-mp-tck` (#497).
      1 Skipped parameter `TKG_REPO` as it is undefined on `Test_openjdk11_hs_sanity.external_x86-64_linux_openliberty-mp-tck` (#497).
      1 Skipped parameter `TKG_SHA` as it is undefined on `Grinder_scala` (#16).
      1 Skipped parameter `TKG_SHA` as it is undefined on `Grinder_security` (#1).
      1 Skipped parameter `USE_TESTENV_PROPERTIES` as it is undefined on `Grinder_scala` (#16).

@sxa
Copy link
Member Author

sxa commented May 3, 2024

The test autogen jobs seem to have two parameters causing problems too:

  • 2024-05-03 12:37:35.013+0000 [id=4318864] WARNING hudson.model.ParametersAction#filter: Skipped parameter LIGHT_WEIGHT_CHECKOUTas it is undefined onTest_Job_Auto_Gen(#5,090). Set-Dhudson.model.ParametersAction.keepUndefinedParameters=trueto allow undefined parameters to be injected as environment variables or-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]to whitelist specific parameter names, even though it represents a security breach or-Dhudson.model.ParametersAction.keepUndefinedParameters=false to no longer show this message.
  • 2024-05-03 12:37:35.014+0000 [id=4318864] WARNING hudson.model.ParametersAction#filter: Skipped parameter TEST_JOB_NAMEas it is undefined onTest_Job_Auto_Gen(#5,090). Set-Dhudson.model.ParametersAction.keepUndefinedParameters=trueto allow undefined parameters to be injected as environment variables or-Dhudson.model.ParametersAction.safeParameters=[comma-separated list] to whitelist specific parameter names, even though it represe

@sxa
Copy link
Member Author

sxa commented May 3, 2024

@smlambert @andrew-m-leonard Is there a way we can regen the jobs from the earlier comment (Plus the pr-tester ones which can show up problems)>
I'm not clear on how to do this, so if you're able to trigger it and put the information in here that would be appreciated so we can clear off the relatively small number of remaining ones that we seem to have.

@sxa sxa modified the milestones: 2024-04 (April), 2024-05 (May) May 3, 2024
@andrew-m-leonard
Copy link
Contributor

@sxa this look like job instances ? eg.build-scripts/jobs/jdk/jdk-mac-aarch64-hotspot` (#38)
Can't we just delete those particular job numbers?

@sxa
Copy link
Member Author

sxa commented May 3, 2024

@sxa this look like job instances ? eg.build-scripts/jobs/jdk/jdk-mac-aarch64-hotspot` (#38) Can't we just delete those particular job numbers?

A fair comment - I hadn't actually spotted that it was on non-current ones. If you confirm you're ok with us just deleting them I'm happy to go through and do that as a background task.

That would likely just leave things like this on the PR tester jobs:
2024-05-02 08:36:36.633+0000 [id=4239618] WARNING hudson.model.ParametersAction#filter: Skipped parameter NODE_LABEL as it is undefined on build-scripts-pr-tester/build-test/jobs/jdk/jdk-alpine-linux-x64-temurin (#9). Set -Dhudson.model.ParametersAction.keepUndefinedParameters=true to allow undefined parameters to be injected as environment variables or -Dhudson.model.ParametersAction.safeParameters=[comma-separated list] to whitelist specific parameter names, even though it represents a security breach or -Dhudson.model.ParametersAction.keepUndefinedParameters=false to no longer show this message.

@sxa
Copy link
Member Author

sxa commented May 7, 2024

Test jobs (28) J9(16)/Dragonwell(9)/Bisheng(3)

From a comment from Shelley in a meeting earlier today it seems likely that running https://ci.eclipse.org/temurin-compliance/job/AQA_Test_Pipeline with a VARIANT set appropriately and AUTO_AQA_GEN checked

(Although I'm not sure if this will regen the _quarkus_openshift, _xl and _rerun jobs so it would be good to have a way of doing that)

Similarly I'm unclear if we have a way to regen the various Grinder variants (although almost all of those in the twisty earlier were grinder_sandbox_iteration_2

@sxa
Copy link
Member Author

sxa commented May 7, 2024

Runs - noting that the AQA_Test_pipeline job does not have an option for SDK_RESOURCE=upstream so I'm having to locate a suitable customized URL for these (Although worst case they just fail but the regen will still have occured by that point!)

This will cover most of the outstanding test jobs other than Grinders, _rerun and the specialist external ones.

@sxa
Copy link
Member Author

sxa commented May 7, 2024

Noting also that we're getting a couple of the parameters giving warnings on Test_Job_Auto_Gen as called from AQA_Test_Pipeline which will likely require some sort of manual remediation:

  • 2024-05-07 16:43:03.074+0000 [id=85459] WARNING hudson.model.ParametersAction#filter: Skipped parameter LIGHT_WEIGHT_CHECKOUT as it is undefined on Test_Job_Auto_Gen (#5,239)...
  • 2024-05-07 16:43:03.076+0000 [id=85459] WARNING hudson.model.ParametersAction#filter: Skipped parameter TEST_JOB_NAME as it is undefined on Test_Job_Auto_Gen (#5,239)...

(I've had 3100 of those lines from Test_Job_Auto_Gen in the last two hours since I kicked off those jobs in the previous comment)

@smlambert
Copy link
Contributor

FYI, TEST_JOB_NAME only applies to AQA_Test_Pipeline, there is no parameter of that name used in the generated jobs (nor do we want their to be).

@smlambert
Copy link
Contributor

Similarly I'm unclear if we have a way to regen the various Grinder variants (although almost all of those in the twisty earlier were grinder_sandbox_iteration_2

I have been slowly removing grinder variants especially if they were last run 1 yr or more ago

@sxa
Copy link
Member Author

sxa commented May 8, 2024

FYI, TEST_JOB_NAME only applies to AQA_Test_Pipeline, there is no parameter of that name used in the generated jobs (nor do we want their to be).

Makes sense, although the warning would suggest that AQA_Test_pipeline is trying to pass that parametr down to Test_Job_Auto_Gen somwhere.

@smlambert
Copy link
Contributor

Makes sense, although the warning would suggest that AQA_Test_pipeline is trying to pass that parametr down to Test_Job_Auto_Gen somwhere.

The code cycles through all parameters and passes them down (with some exceptions at https://github.com/adoptium/aqa-tests/blob/master/buildenv/jenkins/aqaTestPipeline.groovy#L110-L114). It can be added to the set of exceptions that are not added to childParams so that when the downstreamJob is created (at https://github.com/adoptium/aqa-tests/blob/master/buildenv/jenkins/aqaTestPipeline.groovy#L147), the content of childParams is without it.

@sxa
Copy link
Member Author

sxa commented May 8, 2024

Deep dive into one of them (Corretto JDK8 sanity/system) for reference. There are only 13 entries relating to test skipped parameters today so far, and 8 of them are from different parameters on this job so yesterday's regens appear to have made quite a big difference.

  • Job 480 is giving the skipped message with JDK_REPO JDK_BRANCH PARALLEL NUM_MACHINES USE_TESTENV_PROPERTIES GENERATE_JOBS ACTIVE_NODE_TIMEOUT and DYNAMIC_COMPILE
  • Regenerating at https://ci.adoptium.net/job/Test_Job_Auto_Gen/5362/
  • There is no difference in the individual builds (despite the reference to build 480 in the log). Diff between old and new config.xml for the job is here in case it's useful for future historic reference (it's quite big since it has reference to adoptopenjdk repository - the last run of that job was April 14th 2022):
    2774.Test_openjdk8_corretto_sanity.system_x86-64_linux.diff.txt

@sxa
Copy link
Member Author

sxa commented May 10, 2024

I have been slowly removing grinder variants especially if they were last run 1 yr or more ago

@smlambert Can "suffixed" jobs like https://ci.adoptium.net/job/Test_openjdk11_hs_sanity.external_s390x_linux_system-test/ be removed too? The ones I've looked at today seem to be ones that haven't been run in nearly 3 years so I guess they were likely generated as some sort of experiment and are no longer required.

I don't want to be deleting them myself though - would rather someone from the test side with knowledge of the particular jobs that should be in scope was able to handle it.

@smlambert
Copy link
Contributor

I have a script that will look for jobs that have not been run in XX number of months, and optionally delete them if 'deleteJobs' parameter equals true. I think we should run such a job occasionally on the server to cull old, not-used jobs. I will do a pass in the coming weeks.

@andrew-m-leonard andrew-m-leonard removed their assignment May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

5 participants