Advertisement
MT_

Gitlab Docker Build Failed but Pipeline is OK

MT_
Sep 7th, 2020
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.59 KB | None | 0 0
  1. Running with gitlab-runner 13.3.1 (738bbe5a)
  2.  on ip-10-10-200-228 r6wZ2uat
  3. section_start:1599476424:prepare_executor
  4. Preparing the "shell" executor
  5. Using Shell executor...
  6. section_end:1599476424:prepare_executor
  7. section_start:1599476424:prepare_script
  8. Preparing environment
  9. Running on ip-10-10-200-228...
  10. section_end:1599476424:prepare_script
  11. section_start:1599476424:get_sources
  12. Getting source from Git repository
  13. Fetching changes with git depth set to 50...
  14. Reinitialized existing Git repository in /home/gitlab-runner/builds/r6wZ2uat/0/syslit/BE/.git/
  15. Checking out 4ebcdecb as master...
  16. Skipping Git submodules setup
  17. section_end:1599476426:get_sources
  18. section_start:1599476426:download_artifacts
  19. Downloading artifacts
  20. Downloading artifacts for generateDbObjects (724500662)...
  21. Runtime platform  arch=amd64 os=linux pid=14921 revision=738bbe5a version=13.3.1
  22. Downloading artifacts from coordinator... ok  id=724500662 responseStatus=200 OK token=A23wzJxP
  23. Downloading artifacts for prepareConfigs (724500665)...
  24. Runtime platform  arch=amd64 os=linux pid=14928 revision=738bbe5a version=13.3.1
  25. Downloading artifacts from coordinator... ok  id=724500665 responseStatus=200 OK token=gJYpnHMC
  26. section_end:1599476428:download_artifacts
  27. section_start:1599476428:step_script
  28. Executing "step_script" stage of the job script
  29. $ ./factory/buildAndPush.sh web
  30. WARNING! Your password will be stored unencrypted in /home/gitlab-runner/.docker/config.json.
  31. Configure a credential helper to remove this warning. See
  32. https://docs.docker.com/engine/reference/commandline/login/#credentials-store
  33.  
  34. Login Succeeded
  35. latest: Pulling from backend/web
  36. Digest: sha256:ba49e2680bab2406f5848d769fee4dd3aa1f7568ba138b3ad925db208e257ae8
  37. Status: Image is up to date for xxx/backend/web:latest
  38. xxx/backend/web:latest
  39. Sending build context to Docker daemon 33.23MB
  40.  
  41. Step 1/7 : FROM openjdk:14-slim
  42. ---> 8043e126a68b
  43. Step 2/7 : COPY . /app
  44. ---> 7a83ca009baf
  45. Step 3/7 : WORKDIR /app
  46. ---> Running in 0624c5481864
  47. Removing intermediate container 0624c5481864
  48. ---> b30ac1c1d5c5
  49. Step 4/7 : RUN ls
  50. ---> Running in 96877dbab5f5
  51. README.md
  52. build.gradle
  53. crunch
  54. db
  55. docker
  56. es
  57. factory
  58. fetch
  59. gradle
  60. gradlew
  61. gradlew.bat
  62. services
  63. settings.gradle
  64. watchdog
  65. web
  66. Removing intermediate container 96877dbab5f5
  67. ---> 091b2510f86a
  68. Step 5/7 : RUN ./gradlew clean bootJar -p web
  69. ---> Running in 5167a2d09bbb
  70. Downloading https://services.gradle.org/distributions/gradle-6.3-all.zip
  71. ..........................................................................................................................................
  72.  
  73. Welcome to Gradle 6.3!
  74.  
  75. Here are the highlights of this release:
  76. - Java 14 support
  77. - Improved error messages for unexpected failures
  78.  
  79. For more details see https://docs.gradle.org/6.3/release-notes.html
  80.  
  81. Starting a Gradle Daemon (subsequent builds will be faster)
  82. > Task :web:clean UP-TO-DATE
  83.  
  84. > Task :db:generateDbObjects
  85. Generating db objects...
  86. JAVA_HOME is /usr/local/openjdk-14
  87. /app/db/gradle-local.properties found
  88. org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 72; cvc-elt.1.a: Cannot find the declaration of element 'configuration'.
  89. ...done generating db objects.
  90.  
  91. > Task :db:compileJava
  92. Note: /app/db/src/main/java/net/syslit/db/web/Sequences.java uses or overrides a deprecated API.
  93. Note: Recompile with -Xlint:deprecation for details.
  94. 
  95. > Task :db:processResources
  96. > Task :db:classes
  97. > Task :db:jar
  98.  
  99. > Task :services:compileJava
  100. warning: unknown enum constant When.MAYBE
  101. reason: class file for javax.annotation.meta.When not found
  102. warning: unknown enum constant When.MAYBE
  103. reason: class file for javax.annotation.meta.When not found
  104. warning: unknown enum constant When.MAYBE
  105. reason: class file for javax.annotation.meta.When not found
  106. /app/services/src/main/java/net/syslit/dao/JobLockingDao.java:8: error: cannot find symbol
  107. public class JobLockingDao extends AbstractDao {
  108.  ^
  109. symbol: class AbstractDao
  110. /app/services/src/main/java/net/syslit/dao/IncomingDao.java:14: error: cannot find symbol
  111. public class IncomingDao extends AbstractDao {
  112.  ^
  113. symbol: class AbstractDao
  114. /app/services/src/main/java/net/syslit/dao/ConfigParamDao.java:14: error: cannot find symbol
  115. public class ConfigParamDao extends AbstractDao {
  116. ^
  117. symbol: class AbstractDao
  118. /app/services/src/main/java/net/syslit/dao/LocalitiesDao.java:15: error: cannot find symbol
  119. public class LocalitiesDao extends AbstractDao {
  120. ^
  121. symbol: class AbstractDao
  122. /app/services/src/main/java/net/syslit/dao/SimilaritiesDao.java:18: error: cannot find symbol
  123. public class SimilaritiesDao extends AbstractDao {
  124. ^
  125. symbol: class AbstractDao
  126. /app/services/src/main/java/net/syslit/dao/ListingDao.java:18: error: cannot find symbol
  127. public class ListingDao extends AbstractDao {
  128. ^
  129. symbol: class AbstractDao
  130. warning: unknown enum constant When.MAYBE
  131. reason: class file for javax.annotation.meta.When not found
  132. Note: Some input files use preview language features.
  133. Note: Recompile with -Xlint:preview for details.
  134. 6 errors
  135. 4 warnings
  136. 
  137. > Task :services:compileJava FAILED
  138. 
  139. FAILURE: Build failed with an exception.
  140. 
  141. * What went wrong:
  142. Execution failed for task ':services:compileJava'.
  143. > Compilation failed; see the compiler error output for details.
  144. 
  145. * Try:
  146. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  147. 
  148. * Get more help at https://help.gradle.org
  149. 
  150. Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
  151. Use '--warning-mode all' to show the individual deprecation warnings.
  152. See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings
  153. 
  154. BUILD FAILED in 55s
  155. 6 actionable tasks: 5 executed, 1 up-to-date
  156. The command '/bin/sh -c ./gradlew clean bootJar -p web' returned a non-zero code: 1
  157. The push refers to repository [xxx/backend/web]
  158. tag does not exist: xxx/backend/web:4ebcdecb348c
  159. The push refers to repository [xxx/backend/web]
  160. 65e57cb0588c: Preparing
  161. 2edcf6c27151: Preparing
  162. 8ef48689a1b2: Preparing
  163. 6a95470659de: Preparing
  164. a309b0b82650: Preparing
  165. 95c20fa5728d: Preparing
  166. d0f104dc0a1f: Preparing
  167. 95c20fa5728d: Waiting
  168. d0f104dc0a1f: Waiting
  169. 2edcf6c27151: Layer already exists
  170. 65e57cb0588c: Layer already exists
  171. a309b0b82650: Layer already exists
  172. 8ef48689a1b2: Layer already exists
  173. 6a95470659de: Layer already exists
  174. 95c20fa5728d: Layer already exists
  175. d0f104dc0a1f: Layer already exists
  176. latest: digest: sha256:ba49e2680bab2406f5848d769fee4dd3aa1f756awwaad925db208e257ae8 size: 1798
  177. section_end:1599476489:step_script
  178. Job succeeded
  179. 
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement