adoptium / adoptium/aqa-tests

Generated jobs have a space at the start of the CUSTOMIZED_SDK_URL_CREDENTIAL_ID value

Open
#3,542 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
155
Forks
346
Avg merge
2d 9h
Merged PRs (30d)
36

Description

**Describe the bug**
The newly generated jobs for JDK11/mac/aarch64 had the default value of`CUSTOMIZED_SDK_URL_CREDENTIAL_ID` set to ` eclipse_temurin_bot_token` with a space at the start, which is invalid

**To Reproduce**
Steps to reproduce the behavior (or Grinder rerun link): Run any of the test jobs for jdk11/mac/aarch64 - sample log is at https://ci.adoptopenjdk.net/job/Test_openjdk11_hs_sanity.system_aarch64_mac/2/console although I've now manually adjusted tyhe jobs to remove the spaces

**Expected behavior**
A clear and concise description of what you expected to happen. Job runs

**Screenshots**
Space highlighted below
![image](https://user-images.githubusercontent.com/6487691/162412856-fd17b0aa-38b2-4c47-b28c-0f3fb1bd46ff.png)

**Additional context**
I've resolved this on all of the current jobs, but it will presumably recur when regeneration next happens. wasn't immediately obvious to me where this was defined, therefore I'm raising this as an issue instead of a PR :-)
We have an issue to document the use of bot IDs that we have in a system which has not yet really got started, but this one would be a good example of something we should include under https://github.com/adoptium/infrastructure/issues/2501 so I'm tagging that issue to link them.

Contributor guide

Open the contributing guide

Research direction

Start with the sample JDK11/mac/aarch64 job and its console log, then trace where generated jobs define CUSTOMIZED_SDK_URL_CREDENTIAL_ID and how regeneration supplies its default. Done means regenerated jobs use eclipse_temurin_bot_token without a leading space and the affected test jobs run successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.