Advertisement
Guest User

Untitled

a guest
Jan 5th, 2017
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.42 KB | None | 0 0
  1. Started by user anonymous
  2.  
  3. Cloning the remote Git repository
  4.  
  5. Cloning repository http://gogs/gogsadmin/testing-app.git
  6.  
  7. > /usr/bin/git init /var/jenkins_home/workspace/testing-app@script # timeout=10
  8.  
  9. Fetching upstream changes from http://gogs/gogsadmin/testing-app.git
  10.  
  11. > /usr/bin/git --version # timeout=10
  12.  
  13. > /usr/bin/git fetch --tags --progress http://gogs/gogsadmin/testing-app.git +refs/heads/*:refs/remotes/origin/*
  14.  
  15. > /usr/bin/git config remote.origin.url http://gogs/gogsadmin/testing-app.git # timeout=10
  16.  
  17. > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
  18.  
  19. > /usr/bin/git config remote.origin.url http://gogs/gogsadmin/testing-app.git # timeout=10
  20.  
  21. Fetching upstream changes from http://gogs/gogsadmin/testing-app.git
  22.  
  23. > /usr/bin/git fetch --tags --progress http://gogs/gogsadmin/testing-app.git +refs/heads/*:refs/remotes/origin/*
  24.  
  25. > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
  26.  
  27. > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
  28.  
  29. Checking out Revision 61c466d38d9ad25b164a19c73e0e3c41f1c8850a (refs/remotes/origin/master)
  30.  
  31. > /usr/bin/git config core.sparsecheckout # timeout=10
  32.  
  33. > /usr/bin/git checkout -f 61c466d38d9ad25b164a19c73e0e3c41f1c8850a
  34.  
  35. First time build. Skipping changelog.
  36.  
  37. Loading library github.com/fabric8io/fabric8-pipeline-library@master
  38.  
  39. Creating git repository in /var/jenkins_home/caches/git-a328a55fee5293c8cf80d5616db2c459
  40.  
  41. > /usr/bin/git init /var/jenkins_home/caches/git-a328a55fee5293c8cf80d5616db2c459 # timeout=10
  42.  
  43. Setting origin to https://github.com/fabric8io/fabric8-pipeline-library.git
  44.  
  45. > /usr/bin/git config remote.origin.url https://github.com/fabric8io/fabric8-pipeline-library.git # timeout=10
  46.  
  47. Fetching & pruning origin...
  48.  
  49. Fetching upstream changes from origin
  50.  
  51. > /usr/bin/git --version # timeout=10
  52.  
  53. > /usr/bin/git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune
  54.  
  55. Getting remote branches...
  56.  
  57. Seen branch in repository origin/master
  58.  
  59. Seen branch in repository origin/new-k8s-plugin
  60.  
  61. Seen 2 remote branches
  62.  
  63. Checking branch master
  64.  
  65. Cloning the remote Git repository
  66.  
  67. Cloning repository https://github.com/fabric8io/fabric8-pipeline-library.git
  68.  
  69. > /usr/bin/git init /var/jenkins_home/workspace/testing-app@libs # timeout=10
  70.  
  71. Fetching upstream changes from https://github.com/fabric8io/fabric8-pipeline-library.git
  72.  
  73. > /usr/bin/git --version # timeout=10
  74.  
  75. > /usr/bin/git fetch --tags --progress https://github.com/fabric8io/fabric8-pipeline-library.git +refs/heads/*:refs/remotes/origin/*
  76.  
  77. > /usr/bin/git config remote.origin.url https://github.com/fabric8io/fabric8-pipeline-library.git # timeout=10
  78.  
  79. > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
  80.  
  81. > /usr/bin/git config remote.origin.url https://github.com/fabric8io/fabric8-pipeline-library.git # timeout=10
  82.  
  83. Fetching upstream changes from https://github.com/fabric8io/fabric8-pipeline-library.git
  84.  
  85. > /usr/bin/git fetch --tags --progress https://github.com/fabric8io/fabric8-pipeline-library.git +refs/heads/*:refs/remotes/origin/*
  86.  
  87. Checking out Revision 01846a166c7f0e17e8a9d541b1d171c2f365b9e3 (master)
  88.  
  89. > /usr/bin/git config core.sparsecheckout # timeout=10
  90.  
  91. > /usr/bin/git checkout -f 01846a166c7f0e17e8a9d541b1d171c2f365b9e3
  92.  
  93. First time build. Skipping changelog.
  94.  
  95. [Pipeline] node
  96.  
  97. Running on master in /var/jenkins_home/workspace/testing-app
  98.  
  99. [Pipeline] {
  100.  
  101. [Pipeline] podTemplate
  102.  
  103. [Pipeline] {
  104.  
  105. [Pipeline] node
  106.  
  107. Still waiting to schedule task
  108.  
  109. kubernetes-b264a3ac7cf24498beb3b1ad059d2ad8-53569553f292 is offline
  110.  
  111. Running on kubernetes-b264a3ac7cf24498beb3b1ad059d2ad8-53569553f292 in /home/jenkins/workspace/testing-app
  112.  
  113. [Pipeline] {
  114.  
  115. [Pipeline] node
  116.  
  117. Still waiting to schedule task
  118.  
  119. Waiting for next available executor on kubernetes-b264a3ac7cf24498beb3b1ad059d2ad8-53569553f292
  120.  
  121. Running on kubernetes-b264a3ac7cf24498beb3b1ad059d2ad8-538036921af9 in /home/jenkins/workspace/testing-app
  122.  
  123. [Pipeline] {
  124.  
  125. [Pipeline] git
  126.  
  127. Cloning the remote Git repository
  128.  
  129. Cloning repository http://gogs/gogsadmin/testing-app.git
  130.  
  131. > /usr/bin/git init /home/jenkins/workspace/testing-app # timeout=10
  132.  
  133. Fetching upstream changes from http://gogs/gogsadmin/testing-app.git
  134.  
  135. > /usr/bin/git --version # timeout=10
  136.  
  137. > /usr/bin/git fetch --tags --progress http://gogs/gogsadmin/testing-app.git +refs/heads/*:refs/remotes/origin/*
  138.  
  139. > /usr/bin/git config remote.origin.url http://gogs/gogsadmin/testing-app.git # timeout=10
  140.  
  141. > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
  142.  
  143. > /usr/bin/git config remote.origin.url http://gogs/gogsadmin/testing-app.git # timeout=10
  144.  
  145. Fetching upstream changes from http://gogs/gogsadmin/testing-app.git
  146.  
  147. > /usr/bin/git fetch --tags --progress http://gogs/gogsadmin/testing-app.git +refs/heads/*:refs/remotes/origin/*
  148.  
  149. > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
  150.  
  151. > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
  152.  
  153. Checking out Revision 61c466d38d9ad25b164a19c73e0e3c41f1c8850a (refs/remotes/origin/master)
  154.  
  155. > /usr/bin/git config core.sparsecheckout # timeout=10
  156.  
  157. > /usr/bin/git checkout -f 61c466d38d9ad25b164a19c73e0e3c41f1c8850a
  158.  
  159. > /usr/bin/git branch -a -v --no-abbrev # timeout=10
  160.  
  161. > /usr/bin/git checkout -b master 61c466d38d9ad25b164a19c73e0e3c41f1c8850a
  162.  
  163. [Pipeline] stage (Canary release)
  164.  
  165. Using the β€˜stage’ step without a block argument is deprecated
  166.  
  167. Entering stage Canary release
  168.  
  169. Proceeding
  170.  
  171. [Pipeline] echo
  172.  
  173. NOTE: running pipelines for the first time will take longer as build and base docker images are pulled onto the node
  174.  
  175. [Pipeline] fileExists
  176.  
  177. [Pipeline] writeFile
  178.  
  179. [Pipeline] container
  180.  
  181. [Pipeline] {
  182.  
  183. [Pipeline] echo
  184.  
  185. NOTE: until we support pushing tags to remote repos with correct secrets lets default to use the short commit sha as the version
  186.  
  187. [Pipeline] sh
  188.  
  189. [testing-app] Running shell script
  190.  
  191. Executing shell script inside container [clients] of pod [kubernetes-b264a3ac7cf24498beb3b1ad059d2ad8-538036921af9]
  192.  
  193. Executing command: sh -c echo $$ > '/home/jenkins/workspace/testing-app@tmp/durable-12828844/pid'; jsc=durable-15112fb3d882cf79381b1bbf1ce29e53; JENKINS_SERVER_COOKIE=$jsc '/home/jenkins/workspace/testing-app@tmp/durable-12828844/script.sh' > '/home/jenkins/workspace/testing-app@tmp/durable-12828844/output.txt' 2> '/home/jenkins/workspace/testing-app@tmp/durable-12828844/jenkins-log.txt'; echo $? > '/home/jenkins/workspace/testing-app@tmp/durable-12828844/jenkins-result.txt'
  194.  
  195. [?1034hsh-4.2# cd /home/jenkins/workspace/testing-app
  196.  
  197. sh-4.2# sh -c echo $$ > '/home/jenkins/workspace/testing-app@tmp/durable-1282884 4/pid'; jsc=durable-15112fb3d882cf79381b1bbf1ce29e53; JENKINS_SERVER_COOKIE=$jsc '/home/jenkins/workspace/testing-app@tmp/durable-12828844/script.sh' > '/home/j enkins/workspace/testing-app@tmp/durable-12828844/output.txt' 2> '/home/jenkins/ workspace/testing-app@tmp/durable-12828844/jenkins-log.txt'; echo $? > '/home/je nkins/workspace/testing-app@tmp/durable-12828844/jenkins-result.txt'
  198.  
  199. sh-4.2# exit
  200.  
  201. exit
  202.  
  203. + git rev-parse --short HEAD
  204.  
  205. [Pipeline] echo
  206.  
  207. using new version 61c466d
  208.  
  209. [Pipeline] echo
  210.  
  211. got namespace default
  212.  
  213. [Pipeline] sh
  214.  
  215. [testing-app] Running shell script
  216.  
  217. Executing shell script inside container [clients] of pod [kubernetes-b264a3ac7cf24498beb3b1ad059d2ad8-538036921af9]
  218.  
  219. Executing command: sh -c echo $$ > '/home/jenkins/workspace/testing-app@tmp/durable-64dc5e48/pid'; jsc=durable-15112fb3d882cf79381b1bbf1ce29e53; JENKINS_SERVER_COOKIE=$jsc '/home/jenkins/workspace/testing-app@tmp/durable-64dc5e48/script.sh' > '/home/jenkins/workspace/testing-app@tmp/durable-64dc5e48/jenkins-log.txt' 2>&1; echo $? > '/home/jenkins/workspace/testing-app@tmp/durable-64dc5e48/jenkins-result.txt'
  220.  
  221. [?1034hsh-4.2# cd /home/jenkins/workspace/testing-app
  222.  
  223. sh-4.2# sh -c echo $$ > '/home/jenkins/workspace/testing-app@tmp/durable-64dc5e4 8/pid'; jsc=durable-15112fb3d882cf79381b1bbf1ce29e53; JENKINS_SERVER_COOKIE=$jsc '/home/jenkins/workspace/testing-app@tmp/durable-64dc5e48/script.sh' > '/home/j enkins/workspace/testing-app@tmp/durable-64dc5e48/jenkins-log.txt' 2>&1; echo $? > '/home/jenkins/workspace/testing-app@tmp/durable-64dc5e48/jenkins-result.txt'
  224.  
  225. + docker build -t 10.0.0.240:80/default/testing-app:61c466d .
  226.  
  227. WARNING: Error loading config file:/home/jenkins/.docker/config.json - EOF
  228.  
  229. Sending build context to Docker daemon 64.51 kB
  230.  
  231. Step 1 : FROM node:5.3-onbuild
  232.  
  233. 5.3-onbuild: Pulling from library/node
  234.  
  235. d4bce7fd68df: Pulling fs layer
  236.  
  237. a3ed95caeb02: Pulling fs layer
  238.  
  239. 816152842605: Pulling fs layer
  240.  
  241. 5dcab2c7e430: Pulling fs layer
  242.  
  243. dc54ada22a60: Pulling fs layer
  244.  
  245. f4dbf915606d: Pulling fs layer
  246.  
  247. 0f3aa4700e52: Pulling fs layer
  248.  
  249. 718f5d5c0ea6: Pulling fs layer
  250.  
  251. 0f3aa4700e52: Waiting
  252.  
  253. 718f5d5c0ea6: Waiting
  254.  
  255. f4dbf915606d: Waiting
  256.  
  257. 5dcab2c7e430: Waiting
  258.  
  259. a3ed95caeb02: Verifying Checksum
  260.  
  261. a3ed95caeb02: Download complete
  262.  
  263. 816152842605: Verifying Checksum
  264.  
  265. 816152842605: Download complete
  266.  
  267. d4bce7fd68df: Download complete
  268.  
  269. f4dbf915606d: Download complete
  270.  
  271. 5dcab2c7e430: Verifying Checksum
  272.  
  273. 5dcab2c7e430: Download complete
  274.  
  275. 718f5d5c0ea6: Download complete
  276.  
  277. d4bce7fd68df: Pull complete
  278.  
  279. a3ed95caeb02: Pull complete
  280.  
  281. 816152842605: Pull complete
  282.  
  283. 0f3aa4700e52: Verifying Checksum
  284.  
  285. 0f3aa4700e52: Download complete
  286.  
  287. dc54ada22a60: Verifying Checksum
  288.  
  289. dc54ada22a60: Download complete
  290.  
  291. 5dcab2c7e430: Pull complete
  292.  
  293. dc54ada22a60: Pull complete
  294.  
  295. f4dbf915606d: Pull complete
  296.  
  297. 0f3aa4700e52: Pull complete
  298.  
  299. 718f5d5c0ea6: Pull complete
  300.  
  301. Digest: sha256:1c9be723340315c67a050f84d8cec9e9360cd84cd53950673959e898a3c295b6
  302.  
  303. Status: Downloaded newer image for node:5.3-onbuild
  304.  
  305. # Executing 3 build triggers...
  306.  
  307. Step 1 : COPY package.json /usr/src/app/
  308.  
  309. Step 1 : RUN npm install
  310.  
  311. ---> Running in 36f5ad956973
  312.  
  313. npm info it worked if it ends with ok
  314.  
  315. npm info using npm@3.3.12
  316.  
  317. npm info using node@v5.3.0
  318.  
  319. npm info lifecycle node-hello-world-rest@1.0.0~preinstall: node-hello-world-rest@1.0.0
  320.  
  321. npm info linkStuff node-hello-world-rest@1.0.0
  322.  
  323. npm info lifecycle node-hello-world-rest@1.0.0~install: node-hello-world-rest@1.0.0
  324.  
  325. npm info lifecycle node-hello-world-rest@1.0.0~postinstall: node-hello-world-rest@1.0.0
  326.  
  327. npm info lifecycle node-hello-world-rest@1.0.0~prepublish: node-hello-world-rest@1.0.0
  328.  
  329. npm info ok
  330.  
  331. Step 1 : COPY . /usr/src/app
  332.  
  333. sh-4.2# exit
  334.  
  335. exit
  336.  
  337. ---> b460e8ceedd5
  338.  
  339. Removing intermediate container c6cd897ff9d7
  340.  
  341. Removing intermediate container ddb28e8258e9
  342.  
  343. Removing intermediate container 36f5ad956973
  344.  
  345. Successfully built b460e8ceedd5
  346.  
  347. [Pipeline] sh
  348.  
  349. [testing-app] Running shell script
  350.  
  351. Executing shell script inside container [clients] of pod [kubernetes-b264a3ac7cf24498beb3b1ad059d2ad8-538036921af9]
  352.  
  353. Executing command: sh -c echo $$ > '/home/jenkins/workspace/testing-app@tmp/durable-bf472791/pid'; jsc=durable-15112fb3d882cf79381b1bbf1ce29e53; JENKINS_SERVER_COOKIE=$jsc '/home/jenkins/workspace/testing-app@tmp/durable-bf472791/script.sh' > '/home/jenkins/workspace/testing-app@tmp/durable-bf472791/jenkins-log.txt' 2>&1; echo $? > '/home/jenkins/workspace/testing-app@tmp/durable-bf472791/jenkins-result.txt'
  354.  
  355. [?1034hsh-4.2# cd /home/jenkins/workspace/testing-app
  356.  
  357. sh-4.2# sh -c echo $$ > '/home/jenkins/workspace/testing-app@tmp/durable-bf47279 1/pid'; jsc=durable-15112fb3d882cf79381b1bbf1ce29e53; JENKINS_SERVER_COOKIE=$jsc '/home/jenkins/workspace/testing-app@tmp/durable-bf472791/script.sh' > '/home/j enkins/workspace/testing-app@tmp/durable-bf472791/jenkins-log.txt' 2>&1; echo $? > '/home/jenkins/workspace/testing-app@tmp/durable-bf472791/jenkins-result.txt'
  358.  
  359. sh-4.2# exit
  360.  
  361. exit
  362.  
  363. + docker push 10.0.0.240:80/default/testing-app:61c466d
  364.  
  365. WARNING: Error loading config file:/home/jenkins/.docker/config.json - EOF
  366.  
  367. The push refers to a repository [10.0.0.240:80/default/testing-app]
  368.  
  369. Get https://10.0.0.240:80/v1/_ping: http: server gave HTTP response to HTTPS client
  370.  
  371. [Pipeline] }
  372.  
  373. [Pipeline] // container
  374.  
  375. [Pipeline] }
  376.  
  377. [Pipeline] // node
  378.  
  379. [Pipeline] }
  380.  
  381. [Pipeline] // node
  382.  
  383. [Pipeline] }
  384.  
  385. [Pipeline] // podTemplate
  386.  
  387. [Pipeline] }
  388.  
  389. [Pipeline] // node
  390.  
  391. [Pipeline] End of Pipeline
  392.  
  393. ERROR: script returned exit code 1
  394.  
  395. Finished: FAILURE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement