Project

General

Profile

Actions

Bug #6261

closed

jenkins warnings regarding undefined parameters

Added by laforge 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
-
Start date:
11/19/2023
Due date:
% Done:

100%

Spec Reference:

Description

Our jenkins logs get spammed with:

jenkins_1             | 2023-11-19 11:04:40.928+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `GERRIT_HOST` as it is undefined on `gerrit-osmo-e1d-build` (#74). 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.
jenkins_1             | 2023-11-19 11:04:40.928+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `GERRIT_PATCHSET_NUMBER` as it is undefined on `gerrit-osmo-e1d-build` (#74). 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.
jenkins_1             | 2023-11-19 11:04:40.928+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `GERRIT_PATCHSET_REVISION` as it is undefined on `gerrit-osmo-e1d-build` (#74). 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.
jenkins_1             | 2023-11-19 11:04:40.928+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `GERRIT_PATCHSET_UPLOADER_NAME` as it is undefined on `gerrit-osmo-e1d-build` (#74). 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.
jenkins_1             | 2023-11-19 11:04:40.928+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `GERRIT_PORT` as it is undefined on `gerrit-osmo-e1d-build` (#74). 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.
jenkins_1             | 2023-11-19 11:04:40.928+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `GERRIT_PROJECT` as it is undefined on `gerrit-osmo-e1d-build` (#74). 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.
jenkins_1             | 2023-11-19 11:04:40.928+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `GERRIT_REPO_URL` as it is undefined on `gerrit-osmo-e1d-build` (#74). 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.
jenkins_1             | 2023-11-19 11:04:40.928+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `PIPELINE_BUILD_URL` as it is undefined on `gerrit-osmo-e1d-build` (#74). 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.
jenkins_1             | 2023-11-19 11:04:40.928+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `PROJECT_NAME` as it is undefined on `gerrit-osmo-e1d-build` (#74). 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.
jenkins_1             | 2023-11-19 11:04:40.959+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `COMMENT_TYPE` as it is undefined on `gerrit-osmo-e1d-build` (#73). 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.
jenkins_1             | 2023-11-19 11:04:40.959+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `DISTRO` as it is undefined on `gerrit-osmo-e1d-build` (#73). 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.
jenkins_1             | 2023-11-19 11:04:40.959+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `GERRIT_CHANGE_NUMBER` as it is undefined on `gerrit-osmo-e1d-build` (#73). 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.
jenkins_1             | 2023-11-19 11:04:40.959+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `GERRIT_HOST` as it is undefined on `gerrit-osmo-e1d-build` (#73). 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.
jenkins_1             | 2023-11-19 11:04:40.959+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `GERRIT_PATCHSET_NUMBER` as it is undefined on `gerrit-osmo-e1d-build` (#73). 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.
jenkins_1             | 2023-11-19 11:04:40.959+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `GERRIT_PATCHSET_REVISION` as it is undefined on `gerrit-osmo-e1d-build` (#73). 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.
jenkins_1             | 2023-11-19 11:04:40.959+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `GERRIT_PATCHSET_UPLOADER_NAME` as it is undefined on `gerrit-osmo-e1d-build` (#73). 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.
jenkins_1             | 2023-11-19 11:04:40.959+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `GERRIT_PORT` as it is undefined on `gerrit-osmo-e1d-build` (#73). 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.
jenkins_1             | 2023-11-19 11:04:40.959+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `GERRIT_PROJECT` as it is undefined on `gerrit-osmo-e1d-build` (#73). 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.
jenkins_1             | 2023-11-19 11:04:40.959+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `GERRIT_REPO_URL` as it is undefined on `gerrit-osmo-e1d-build` (#73). 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.
jenkins_1             | 2023-11-19 11:04:40.959+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `PIPELINE_BUILD_URL` as it is undefined on `gerrit-osmo-e1d-build` (#73). 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.
jenkins_1             | 2023-11-19 11:04:40.959+0000 [id=586]   WARNING hudson.model.ParametersAction#filter: Skipped parameter `PROJECT_NAME` as it is undefined on `gerrit-osmo-e1d-build` (#73). 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.

Would be good to try to avoid all those warnings... We already have more than 17000 of those within the last 12 hours, so probably around 34k each day.

Actions #1

Updated by osmith 3 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90

Reading the logs, on host3:

$ docker-compose logs -f --tail=10 jenkins

Fix: https://gerrit.osmocom.org/c/osmo-ci/+/35211

Actions #2

Updated by osmith 3 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)