red-hat-storage / ocs-training

Hands-on workshops for both system administrators and application developers interested in learning how to deploy, manage and use OpenShift Container Storage (OCS)
92 stars 125 forks source link

Building the JAX-RS project fails. #152

Closed hashnao closed 3 years ago

hashnao commented 4 years ago

Describe the bug Running bash run_builds myjenkins-1 myjenkins-1 fails. The script begins to build an image with the BuildConfig for the JAX-RS project but compiling JAR didn't succeed. See the attached log file.

Section in which you face the issue 3.5. Running the build and looking at results https://github.com/red-hat-storage/ocs-training/tree/master/ocs4jenkins#35-running-the-build-and-looking-at-results

To Reproduce Steps to reproduce the behavior:

  1. Run bash run_builds myjenkins-1 myjenkins-1 after successfully deploying Jenkins.

  2. See error You'll see the output as follows.

Project myjenkins-1, Build jax-rs-build number 1 is not done yet... waiting ...

Error from server (ServiceUnavailable): the server is currently unable to handle the request (get builds.build.openshift.io jax-rs-build-1)
Project myjenkins-1, Build jax-rs-build number 1 is not done yet... waiting ...

Expected behavior Running bash run_builds myjenkins-1 myjenkins-1 succeeds.

Screenshots If applicable, add screenshots to help explain your problem.

Environment

Did you use OCP deployed by the RHPDS workshop? No

Additional context log.txt

hashnao commented 4 years ago

Confirmed building succeededd with the patch. log.txt https://github.com/redhat-gpte-devopsautomation/openshift-tasks/pull/3/files