ods-quickstarters icon indicating copy to clipboard operation
ods-quickstarters copied to clipboard

Scala Jenkins agent runtime error in OCP4

Open felipecruz91 opened this issue 3 years ago • 1 comments

Describe the bug When running the Scala Jenkins agent in OCP4, the container starts and fails immediately after a FileNotFoundException error, entering in a fail loop forever.

To Reproduce Steps to reproduce the behavior:

  1. Add a Scala Quickstarter to your project.
  2. Check the Jenkins build log.
  3. See error

Expected behavior To have a successful build of the Scala Jenkins agent in OCP4.

Screenshots image

Affected version (please complete the following information):

  • OpenShift: 4.7
  • OpenDevStack (master, git commit 431e4c250b4) Log Output (ensure to remove any confidential information like tokens, project names, etc.
Log output here...

Additional context Add any other context about the problem here.

cc/ @oalyman

felipecruz91 avatar Jun 29 '21 15:06 felipecruz91

Do you See the same with spring/gradle? @felipecruz91

I guess in the ubi Images (you use the ubi ones??) the keystore rights changed ...

https://github.com/opendevstack/ods-core/blob/master/jenkins/agent-base/ods-run-jnlp-client.sh voila ;-)

In the Base agent.. https://github.com/opendevstack/ods-core/blob/master/jenkins/agent-base/Dockerfile.ubi8#L114

Can you bootstrap the Scala agent locally and See what permissions are set.. Maybe the javainstall overwrites this.. idea2: we have to do this in the agent as well

clemensutschig avatar Jul 10 '21 14:07 clemensutschig