Project

General

Profile

Actions

Bug #21900

closed

Broken Java 17 tests on 7.2+

Added by Alexis Mousset over 1 year ago. Updated over 1 year ago.

Status:
Released
Priority:
N/A
Category:
CI
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

[2022-10-04T00:42:58.475Z] + docker build -t f9d31690f50296f2d7dee9d64f1c540f09a31ee8 --build-arg USER_ID=1007 --build-arg JDK_VERSION=17 -f webapp/sources/Dockerfile .
[2022-10-04T00:42:59.080Z] Sending build context to Docker daemon  118.7MB
[2022-10-04T00:42:59.081Z] Step 1/11 : ARG JDK_VERSION=11
[2022-10-04T00:42:59.081Z] Step 2/11 : FROM maven:3-openjdk-${JDK_VERSION}
[2022-10-04T00:42:59.081Z]  ---> db741528e48a
[2022-10-04T00:42:59.081Z] Step 3/11 : ARG USER_ID=1000
[2022-10-04T00:42:59.081Z]  ---> Using cache
[2022-10-04T00:42:59.081Z]  ---> cd66f387a706
[2022-10-04T00:42:59.081Z] Step 4/11 : COPY ci/user.sh .
[2022-10-04T00:42:59.081Z]  ---> Using cache
[2022-10-04T00:42:59.081Z]  ---> a2a18de3f683
[2022-10-04T00:42:59.081Z] Step 5/11 : RUN ./user.sh $USER_ID
[2022-10-04T00:42:59.081Z]  ---> Using cache
[2022-10-04T00:42:59.081Z]  ---> cc938455e683
[2022-10-04T00:42:59.081Z] Step 6/11 : RUN curl -L -o elm.gz "https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz" 
[2022-10-04T00:42:59.081Z]  ---> Using cache
[2022-10-04T00:42:59.081Z]  ---> cdfd73225953
[2022-10-04T00:42:59.081Z] Step 7/11 : RUN gzip -d elm.gz
[2022-10-04T00:42:59.081Z]  ---> Using cache
[2022-10-04T00:42:59.081Z]  ---> ec1e4b49c9da
[2022-10-04T00:42:59.081Z] Step 8/11 : RUN chmod +x elm
[2022-10-04T00:42:59.081Z]  ---> Using cache
[2022-10-04T00:42:59.081Z]  ---> 027fe83895b5
[2022-10-04T00:42:59.081Z] Step 9/11 : RUN mv elm /usr/local/bin/elm-0.19.1
[2022-10-04T00:42:59.081Z]  ---> Using cache
[2022-10-04T00:42:59.081Z]  ---> 63f864939ae1
[2022-10-04T00:42:59.081Z] Step 10/11 : RUN apt-get update && apt-get install -y npm
[2022-10-04T00:42:59.081Z]  ---> Running in c5bf3e9e3c61
[2022-10-04T00:42:59.081Z] /bin/sh: apt-get: command not found
[2022-10-04T00:42:59.368Z] The command '/bin/sh -c apt-get update && apt-get install -y npm' returned a non-zero code: 127
script returned exit code 127

the openjdk container has switched to oracle linux 8, we need to find a debian-based one.

Actions #1

Updated by Alexis Mousset over 1 year ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #2

Updated by Alexis Mousset over 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/4527
Actions #3

Updated by Alexis Mousset over 1 year ago

  • Description updated (diff)
Actions #4

Updated by Alexis Mousset over 1 year ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Alexis Mousset over 1 year ago

  • Fix check changed from To do to Checked
Actions #6

Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.2.1 which was released today.

Actions

Also available in: Atom PDF