jenkins hell
tt-app/app/Saga There was a failure building this commit

This commit is contained in:
2019-09-20 10:12:06 +02:00
parent b394f5fa5d
commit de9a4f7b38
23 changed files with 125 additions and 91 deletions
+2
View File
@@ -4,6 +4,8 @@ mot de pass de depart (juste pour info, pas d'utilité)
Jenkins : 8c628b7abfe242a397ac7fbedfd4de8c
Besoin d'effectuer la commande sudo chmod 666 /var/run/docker.sock dans le container Jenkins.
docker exec -it --user root $(containerName) /bin/bash
docker exec -it -u 0 60344f0b414b bash
## 2. post install
+31
View File
@@ -53,3 +53,34 @@ chmod 666 /var/run/docker.sock
sudo chmod 666 /var/run/docker.sock
chmod 666 /var/run/docker.sock
exit
sudo usermod -a -G docker jenkins
usermod -a -G docker jenkins
usermod -a -G docker jenkins
su jenkins
sudo su
su
exit
chmod 666 /var/run/docker.sock
sudo chmod 666 /var/run/docker.sock
apt_get sudo
aptget sudo
apt-get sudo
apt get sudo
apt
ls
ll
ls -lah
sudo
cd var/run
ls
ll
ls -lah
chmod 666 docker.sock
whoami
chown jenkins *
su
suid
su
su root
su chmod 666 /var/run/docker.sock
exit
+1 -1
View File
@@ -1 +1 @@
1071627152 contextPath="" at 6@jenkins
348454872 contextPath="" at 6@jenkins
@@ -124,3 +124,4 @@ UPGRADED plugins/workflow-job.jpi : Image version (2.35) is newer than installed
UPGRADED plugins/git.jpi : Image version (3.12.1) is newer than installed version (3.12.0)
--- Copying files at Tue Sep 17 07:57:00 UTC 2019
--- Copying files at Thu Sep 19 13:24:45 UTC 2019
--- Copying files at Thu Sep 19 15:24:07 UTC 2019
@@ -31,6 +31,13 @@
<description>Compte gitea</description>
<token>{AQAAABAAAAAwWPUzCVTOAijg0OyotxXPTA6S4gxCnigDo1qeYQ2DUi8h58DrsQLVgWsAPG2NUCfHR82iXNiHq6y7Yy6SaSICsQ==}</token>
</org.jenkinsci.plugin.gitea.credentials.PersonalAccessTokenImpl>
<com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl>
<scope>GLOBAL</scope>
<id>5c1ab7a8-087b-465c-a5a2-09720b952610</id>
<description></description>
<username>sglatz</username>
<password>{AQAAABAAAAAQHsnQR+tet9acJ8JV1NlNH9fIvTVWkNn9gUNPTTjp+jU=}</password>
</com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl>
</java.util.concurrent.CopyOnWriteArrayList>
</entry>
</domainCredentialsMap>
@@ -6,14 +6,14 @@
<usages/>
<facets>
<com.cloudbees.plugins.credentials.fingerprints.ItemCredentialsFingerprintFacet plugin="credentials@2.3.0">
<timestamp>1568904734593</timestamp>
<itemFullName>tt-app/app</itemFullName>
<timestamp0>1568904733702</timestamp0>
<timestamp>1568906760424</timestamp>
<itemFullName>tt-app</itemFullName>
<timestamp0>1568906760303</timestamp0>
</com.cloudbees.plugins.credentials.fingerprints.ItemCredentialsFingerprintFacet>
<com.cloudbees.plugins.credentials.fingerprints.ItemCredentialsFingerprintFacet plugin="credentials@2.3.0">
<timestamp>1568905020408</timestamp>
<itemFullName>tt-app</itemFullName>
<timestamp0>1568905020307</timestamp0>
<timestamp>1568966814403</timestamp>
<itemFullName>tt-app/app</itemFullName>
<timestamp0>1568966813109</timestamp0>
</com.cloudbees.plugins.credentials.fingerprints.ItemCredentialsFingerprintFacet>
</facets>
</fingerprint>
@@ -1,45 +1,42 @@
Started by timer
[Thu Sep 19 14:57:00 GMT 2019] Starting organization scan...
[Thu Sep 19 14:57:00 GMT 2019] Updating actions...
Organization URL: unspecified
Organization URL: ha:////4A01c7q238DQs/7st3RsXa3R98UyJEBgY6qXmkrLA5hcAAAAgB+LCAAAAAAAAP9b85aBtbiIQSajNKU4P08vOT+vOD8nVc+jsiC1KCczL9svvyTVzHb1RttJBUeZGJg8GdhyUvPSSzJ8GJhLi3JKGIR8shLLEvVzEvPS9YNLijLz0q0rihik0IxzhtAgwxgggJGJgaGiAMQqYWAAAAHH2ZWFAAAA
[Thu Sep 19 14:57:00 GMT 2019] Consulting Gitea Organization
Checking repositories...
Checking repository ha:////4O3AGuCMeGLkzFwO/LZ+lj1O4KTR31h52/0HtQ35vLIlAAAAqR+LCAAAAAAAAP9b85aBtbiIQSajNKU4P08vOT+vOD8nVc+jsiC1KCczL9svvyTVzHb1RttJBUeZGJg8GdhyUvPSSzJ8GJhLi3JKGIR8shLLEvVzEvPS9YNLijLz0q0rihik0IxzhtAgwxgggJGJgaGiAMhgLmHQzCgpKSi20tdPzyzRS9VNSU3OyUzWy0st0S9JBNpWUqxbUpqUqp9YUAAA620F8q4AAAA=app
Proposing app
Looking up repository talents-tube/app
Checking branches...
Checking branch ha:////4JP/qF+skKZLDNY3A7ktB4DXqHSq21xY7wQYjHEsDM2/AAAArx+LCAAAAAAAAP9djb0NwjAQRo/wMwAlYoX4JAoKUCoakCKaTGCck2OwbMu+oLAGa0DDEIzDDgSl42veq973/MA0RVg2bZ28E8q75C2J/S1QtMZdjp5pXTxexT28M8gOMLPkNDcljNtoGeblWV4lWuk0VhyN09suwuIvtxv4i8GwUQbQhV4mDKuGOaQNojYsKK9JWaOEI0aW/RunnNsToQwBU1RYSS2/QJcvJbcAAAA=Saga
/nextjs/Jenkinsfile found
Met criteria
1 branches were processed (query completed)
Checking repository ha:////4FUiMaxIOOzv8YzMUU35bkpKyglWRE4ROOpFAu6MReHlAAAAqh+LCAAAAAAAAP9djbENwjAQRY8goKdErGC7owClogEpomECJzk5Buts2RcIa7AGNAzBOOxAUDp+8171/vMDkxRh2bR18iQrT8k7lLtbwOgsnQ+ecZU/Xvk9vDPI9jB1SIabAsZtdAzz4qQvWjlNRh05WjKbLsLiL7cd+IvBsFEG0IVeZgyiYQ5prZSxLFHUWDlbSUJWrPs3ToLbEtUVy2QZv2fQZz+yAAAAwebsite
Ignoring website
Checking repository ha:////4EE8G6/wQE9SXUx5VF32yDskXdLiS/jWCIvDD+cx1qk0AAAAqh+LCAAAAAAAAP9b85aBtbiIQSajNKU4P08vOT+vOD8nVc+jsiC1KCczL9svvyTVzHb1RttJBUeZGJg8GdhyUvPSSzJ8GJhLi3JKGIR8shLLEvVzEvPS9YNLijLz0q0rihik0IxzhtAgwxgggJGJgaGiAMhgKWHQyigpKSi20tdPzyzRS9VNSU3OyUzWy0st0S9JBNpWUqxbUpqUqp+Uk58OADoBFJGvAAAAblog
Ignoring blog
Checking repository ha:////4GDozP+uqUid1CISIPVSAkV+oIhuiQthLeYSOuEE09V8AAAAqh+LCAAAAAAAAP9b85aBtbiIQSajNKU4P08vOT+vOD8nVc+jsiC1KCczL9svvyTVzHb1RttJBUeZGJg8GdhyUvPSSzJ8GJhLi3JKGIR8shLLEvVzEvPS9YNLijLz0q0rihik0IxzhtAgwxgggJGJgaGiAMhgKWHQyigpKSi20tdPzyzRS9VNSU3OyUzWy0st0S9JBNpWUqxbUpqUqp+fkp8PAG0AtmOvAAAAodoo
Ignoring odoo
Checking repository ha:////4GJrJGUrCV1hmK6aeSXEFG/BK23OEgLRZH1iIpCekf1UAAAArB+LCAAAAAAAAP9djbENwjAQRY8gkGgpESvE7ihAqWhAimiYwDgnx2CdLfuMwhqsAQ1DMA47EJSO37xXvf/8wCRFWLa5SZ6E9pS8Q7G7BYzO0uXgGVfV41Xdw7uAYg9Th2S4rWGco2OY12d1VdIpMvLI0ZLZdBEWf7ntwF8Mho0KgC70MmOQLXNIaymNZYFlg9pZLQhZsurfOJWcTygJO9bO5+YLB7ZXtLQAAAA=nextcloud
Ignoring nextcloud
Checking repository ha:////4ON9fsb7KsywToEJmrf7wMLLZJOkBYzybpOq1IpXBGRcAAAAsh+LCAAAAAAAAP9djbENwjAQRY8gGCAlYgXbHUKgVDQgRTRMEOKTY2LZ1vmCwhqsAQ1DMA47EJSO37xXvf/8wCwRLJtOp+BlHXwKDuX+FpGc9e0xMK6Kx6u4x3cG2QHmDr3hpoRpR44hLy/VtVKu8kadmKw3255g8ZfbjfzFYNwkA+jjIDnDumGOaaOUsSxRaKydraVHVlwNb5wEd2dUOtQtkkCKIhJGCvoLA0GtD70AAAA=docker-erp-preprod
Ignoring docker-erp-preprod
Checking repository ha:////4IF8mK1ySwW7jvMTWF77MCtZYI7m8BxzicNvu1QYFchOAAAAsR+LCAAAAAAAAP9djbENwjAQRY8gKCkoESvEbhAFKBUNSBENExj7lJhYtnW+oLAGa0DDEIzDDgSl4zfvVe8/PzBJBMu6NSl4oYNPwaHY3yKSs745BsZ18XgV9/jOIDvA1KGvuC5h3JJjmJcXdVXSKV/JE5P11bYjWPzldgN/MRg2ygC62MuMYVUzx7SRsrIsMDeondXCI0tW/RunnNszShN0g5RHwkjBfAFbQHZeuQAAAA==docker-preprod
Ignoring docker-preprod
Checking repository ha:////4C5vt4cFIGRSdbF0kMZsnfKZLP9x7kXImN8t+5UYuanyAAAAsB+LCAAAAAAAAP9djbENwjAQRY8gqKgoESvEligoQKloQIpomMDYp8TEnC37gsIarAENQzAOOxBEx2/eq95/vGGUIszr1iRPQntK3qHYXgNGZ6nZe8ZlcX8Wt/DKINvB2CFVXJcwbKNjmJYndVHSKarkgaOlat1FmP3lNj9+Y/DbIAPoQi8ThkXNHNJKysqywNygdlYLQpas+jdOObdHlMbrBmOuzNnSB/ZJ18C3AAAAdocker-admin
Ignoring docker-admin
8 repositories were processed
[Thu Sep 19 14:57:00 GMT 2019] Finished organization scan. Scan took 0.39 sec
Finished: SUCCESS
[Fri Sep 20 08:11:00 GMT 2019] Starting organization scan...
[Fri Sep 20 08:11:00 GMT 2019] Updating actions...
ERROR: [Fri Sep 20 08:11:00 GMT 2019] Could not refresh actions for navigator org.jenkinsci.plugin.gitea.GiteaSCMNavigator@1e400845
org.jenkinsci.plugin.gitea.client.api.GiteaHttpStatusException: HTTP 403/Forbidden
at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.getObject(DefaultGiteaConnection.java:900)
at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.fetchUser(DefaultGiteaConnection.java:168)
at org.jenkinsci.plugin.gitea.GiteaSCMNavigator.retrieveActions(GiteaSCMNavigator.java:206)
at jenkins.scm.api.SCMNavigator.fetchActions(SCMNavigator.java:332)
at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:439)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:277)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:164)
at jenkins.branch.OrganizationFolder$OrganizationScan.run(OrganizationFolder.java:969)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
[Fri Sep 20 08:11:00 GMT 2019] Consulting Gitea Organization
ERROR: [Fri Sep 20 08:11:00 GMT 2019] Could not fetch sources from navigator org.jenkinsci.plugin.gitea.GiteaSCMNavigator@1e400845
org.jenkinsci.plugin.gitea.client.api.GiteaHttpStatusException: HTTP 403/Forbidden
at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.getObject(DefaultGiteaConnection.java:900)
at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.fetchOrganization(DefaultGiteaConnection.java:180)
at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.fetchOwner(DefaultGiteaConnection.java:151)
at org.jenkinsci.plugin.gitea.GiteaSCMNavigator.visitSources(GiteaSCMNavigator.java:142)
at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:488)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:277)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:164)
at jenkins.branch.OrganizationFolder$OrganizationScan.run(OrganizationFolder.java:969)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
[Fri Sep 20 08:11:00 GMT 2019] Finished organization scan. Scan took 0.22 sec
FATAL: Failed to recompute children of tt-app
org.jenkinsci.plugin.gitea.client.api.GiteaHttpStatusException: HTTP 403/Forbidden
at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.getObject(DefaultGiteaConnection.java:900)
at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.fetchOrganization(DefaultGiteaConnection.java:180)
at org.jenkinsci.plugin.gitea.client.impl.DefaultGiteaConnection.fetchOwner(DefaultGiteaConnection.java:151)
at org.jenkinsci.plugin.gitea.GiteaSCMNavigator.visitSources(GiteaSCMNavigator.java:142)
at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:488)
at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:277)
at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:164)
at jenkins.branch.OrganizationFolder$OrganizationScan.run(OrganizationFolder.java:969)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE
@@ -11,14 +11,14 @@
</hudson.model.CauseAction>
</actions>
<result>
<name>SUCCESS</name>
<ordinal>0</ordinal>
<color>BLUE</color>
<name>FAILURE</name>
<ordinal>2</ordinal>
<color>RED</color>
<completeBuild>true</completeBuild>
</result>
<durations>
<long>399</long>
<long>227</long>
</durations>
<timestamp>1568905020089</timestamp>
<duration>399</duration>
<timestamp>1568967060227</timestamp>
<duration>227</duration>
</jenkins.branch.OrganizationFolder_-OrganizationScan>
@@ -73,7 +73,7 @@
<org.jenkinsci.plugin.gitea.GiteaSCMNavigator plugin="gitea@1.1.2">
<serverUrl>https://git.e-declic.net</serverUrl>
<repoOwner>talents-tube</repoOwner>
<credentialsId>f5916429-a846-487c-a0f9-b6afaca368dd</credentialsId>
<credentialsId>5c1ab7a8-087b-465c-a5a2-09720b952610</credentialsId>
<traits>
<jenkins.scm.impl.trait.WildcardSCMSourceFilterTrait plugin="scm-api@2.6.3">
<includes>app</includes>
@@ -1,5 +1,5 @@
XSym
0001
c9f0f895fb98ab9159f51fd0297e236d
8
0002
02e74f10e0327ad868d138f2b4fdd6f0
27
@@ -1,5 +1,5 @@
XSym
0001
c9f0f895fb98ab9159f51fd0297e236d
8
0002
02e74f10e0327ad868d138f2b4fdd6f0
27
@@ -1,2 +1,2 @@
Started at Thu Sep 19 13:26:02 GMT 2019
Finished at Thu Sep 19 13:26:08 GMT 2019. 6138ms
Started at Fri Sep 20 07:58:51 GMT 2019
Finished at Fri Sep 20 07:58:51 GMT 2019. 80ms
@@ -1,2 +1,2 @@
Started at Tue Sep 17 07:58:10 GMT 2019
Finished at Tue Sep 17 07:58:10 GMT 2019. 37ms
Started at Thu Sep 19 15:24:24 GMT 2019
Finished at Thu Sep 19 15:24:24 GMT 2019. 48ms
@@ -1,4 +1,2 @@
Started at Fri Sep 13 11:59:35 GMT 2019
Finished at Fri Sep 13 11:59:36 GMT 2019. 1448ms
Started at Sat Sep 14 11:59:32 GMT 2019
Finished at Sat Sep 14 11:59:37 GMT 2019. 4750ms
Started at Thu Sep 19 15:04:12 GMT 2019
Finished at Thu Sep 19 15:04:12 GMT 2019. 48ms
@@ -1,4 +1,2 @@
Started at Wed Sep 11 11:59:35 GMT 2019
Finished at Wed Sep 11 11:59:37 GMT 2019. 1760ms
Started at Thu Sep 12 11:59:35 GMT 2019
Finished at Thu Sep 12 11:59:41 GMT 2019. 6429ms
Started at Thu Sep 19 13:26:02 GMT 2019
Finished at Thu Sep 19 13:26:08 GMT 2019. 6138ms
@@ -1,4 +1,2 @@
Started at Wed Sep 11 11:59:35 GMT 2019
Finished at Wed Sep 11 11:59:37 GMT 2019. 1760ms
Started at Thu Sep 12 11:59:35 GMT 2019
Finished at Thu Sep 12 11:59:41 GMT 2019. 6429ms
Started at Tue Sep 17 07:58:10 GMT 2019
Finished at Tue Sep 17 07:58:10 GMT 2019. 37ms
@@ -1,2 +1,4 @@
Started at Tue Sep 10 06:11:35 GMT 2019
Finished at Tue Sep 10 06:11:35 GMT 2019. 70ms
Started at Sun Sep 15 11:59:32 GMT 2019
Finished at Sun Sep 15 11:59:34 GMT 2019. 1757ms
Started at Mon Sep 16 11:59:32 GMT 2019
Finished at Mon Sep 16 11:59:37 GMT 2019. 4920ms
@@ -1,5 +1,5 @@
Started at Mon Sep 16 23:15:52 GMT 2019
Started at Thu Sep 19 23:17:32 GMT 2019
Checking tt-app
Checking tt-app » app
Checking tt-app » app » Saga
Finished at Mon Sep 16 23:15:52 GMT 2019. 22ms
Finished at Thu Sep 19 23:17:32 GMT 2019. 11ms
+1 -1
View File
@@ -1,5 +1,5 @@
<?xml version='1.1' encoding='UTF-8'?>
<hudson.model.Queue_-State>
<counter>10226</counter>
<counter>11292</counter>
<items/>
</hudson.model.Queue_-State>
+1 -1
View File
@@ -1,5 +1,5 @@
<?xml version='1.1' encoding='UTF-8'?>
<hudson.model.Queue_-State>
<counter>10121</counter>
<counter>11275</counter>
<items/>
</hudson.model.Queue_-State>
Submodule jenkins/volume/jenkins_data/workspace/tt-app_app_Saga updated: 1a90223e22...9d9c777c93
+1 -1
View File
@@ -1,7 +1,7 @@
pipeline {
agent {
docker {
image 'cypress/included'
image 'cypress/alpine'
args '-p 3000:3000'
}
// dockerfile true