-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Comments
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! |
Also tagging @sophia-guo since she was involved in the discussions on the community call earlier today :-) |
According to the discussion if jenkins jobs are triggered with undefined parameters there will be those 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. |
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:
|
@sxa I don't understand the above, none of the build jobs have a Parameter called NODE_LABEL, they only have 4 paramaters:
|
That sounds consistent with the warning message - "it is undefined on " but presumably something is trying to start them using those extra, unusable, parameters. |
Had a look at the log for something else today. We've still got:
|
Regenerated the following test jobs: JDK 11,17,19 hotspot/platforms JDK 8 hotspot/platforms |
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: |
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 (Although I'm not sure if this will regen the 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 |
Runs - noting that the AQA_Test_pipeline job does not have an option for
This will cover most of the outstanding test jobs other than Grinders, |
Noting also that we're getting a couple of the parameters giving warnings on
(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) |
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). |
I have been slowly removing grinder variants especially if they were last run 1 yr or more ago |
Makes sense, although the warning would suggest that |
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 |
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.
|
@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. |
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. |
There are a lot of new instances of this showing up relating to the new |
Also @steelhead31 There are a few relating to
|
I'll have a look at this, to see if I can stop it reporting this.. :) Investigated, due to the pass parameters plugin not having the ability to be selective when triggering a downstream job, it will require a code change to the new installer jenkinsfile to handle the parameters that are surplus to requirement. I have code ready, so I'll look to get it merged once the release is completed. This should be resolved now, let me know if not. |
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 onbuild-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.The text was updated successfully, but these errors were encountered: