ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Problem using Gitlab-runner to build Autoware.auto

asked 2020-04-15 12:08:17 -0600

luca.fancellu gravatar image

I'm trying to build Autoware.auto with gitlab-runner, but I'm getting some errors, anyone faced something similar?

I'm using master branch. I run gitlab-runner using docker with this command:

user@host:~/work/prj_autoware/adehome$ docker run --name "gitlab-runner-1" --rm -v /srv/gitlab-runner/config:/etc/gitlab-runner -v /var/run/docker.sock:/var/run/docker.sock -v /home/user/work/prj_autoware/adehome/AutowareAuto:/home/user/work/prj_autoware/adehome/AutowareAuto -w /home/user/work/prj_autoware/adehome/AutowareAuto gitlab/gitlab-runner:ubuntu-v12.6.0 exec docker --docker-volumes-from "gitlab-runner-1" ade

This is what I get:

Unable to find image 'gitlab/gitlab-runner:ubuntu-v12.6.0' locally
ubuntu-v12.6.0: Pulling from gitlab/gitlab-runner
2746a4a261c9: Pull complete
4c1d20cdee96: Pull complete
0d3160e1d0de: Pull complete
c8e37668deea: Pull complete
4d3bd74af1d1: Pull complete
b746e2395d92: Pull complete
cfa8e708ed32: Pull complete
addfd1e90bfe: Pull complete
e206cf6939c2: Pull complete
Digest: sha256:b9a9fe9fb5892ca1b0e98c9b300a52c9b75199f45cb1c26182422f91f26e4657
Status: Downloaded newer image for gitlab/gitlab-runner:ubuntu-v12.6.0
Runtime platform                                    arch=amd64 os=linux pid=6 revision=ac8e767a version=12.6.0
Running with gitlab-runner 12.6.0 (ac8e767a)
Using Docker executor with image docker ...
Starting service docker:dind ...
Pulling docker image docker:dind ...
Using docker image sha256:a6e51fd179fb849f4ec6faee318101d32830103f5615215716bd686c56afaea1 for docker:dind ...
Waiting for services to be up and running...
*** WARNING: Service runner--project-0-concurrent-0-docker-0 probably didn't start properly.
Health check error:
service "runner--project-0-concurrent-0-docker-0-wait-for-service" timeout
Health check container logs:
Service container logs:
2020-04-15T11:56:25.365281452Z Generating RSA private key, 4096 bit long modulus (2 primes)
2020-04-15T11:56:25.901537808Z ...........................................++++
2020-04-15T11:56:25.986468060Z ..............................++++
2020-04-15T11:56:25.986822741Z e is 65537 (0x010001)
2020-04-15T11:56:25.995997633Z Generating RSA private key, 4096 bit long modulus (2 primes)
2020-04-15T11:56:26.350188269Z .........................................++++
2020-04-15T11:56:26.857760575Z .............................................++++
2020-04-15T11:56:26.858066899Z e is 65537 (0x010001)
2020-04-15T11:56:26.876297416Z Signature ok
2020-04-15T11:56:26.876309460Z subject=CN = docker:dind server
2020-04-15T11:56:26.876378513Z Getting CA Private Key
2020-04-15T11:56:26.883937807Z /certs/server/cert.pem: OK
2020-04-15T11:56:26.886174205Z Generating RSA private key, 4096 bit long modulus (2 primes)
2020-04-15T11:56:27.063868334Z ................................................................++++
2020-04-15T11:56:27.104934636Z .............++++
2020-04-15T11:56:27.105263334Z e is 65537 (0x010001)
2020-04-15T11:56:27.121417353Z Signature ok
2020-04-15T11:56:27.121425193Z subject=CN = docker:dind client
2020-04-15T11:56:27.121505671Z Getting CA Private Key
2020-04-15T11:56:27.129243297Z /certs/client/cert.pem: OK
2020-04-15T11:56:27.131221771Z mount: permission denied (are you root?)
2020-04-15T11:56:27.131236455Z Could not mount /sys/kernel/security.
2020-04-15T11:56:27.131239555Z AppArmor detection and --privileged mode might break.
2020-04-15T11:56:27.131926300Z mount: permission denied (are you root?)
*********
Pulling docker image docker ...
Using docker image sha256:61b2e482e9de9ca3939dce4c90810c89fa7e7450f774590967c2908cba857ddd for docker ...
Running on runner--project-0-concurrent-0 via 9bb4b176766d...
Fetching changes...
Initialized empty Git repository in /builds/project-0/.git/
Created fresh repository.
From /home/user/work/prj_autoware/adehome/AutowareAuto
 * [new branch]      master     -> origin/master
 * [new tag]         0.0.1                 -> 0.0.1
 * [new tag]         release-axle-20190715 -> release-axle-20190715
 * [new tag]         release-axle-20190805 -> release-axle-20190805
 * [new tag]         v0.1.0                -> v0.1.0
Checking out c57be808 as master...
hint: The remote resolves to a file:// URL ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-04-15 23:10:00 -0600

Josh Whitley gravatar image

gitlab-runner is not a supported way to build your own copy of Autoware.Auto. Please follow the instructions here for using the ade environment to build Autoware.Auto.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2020-04-15 12:03:49 -0600

Seen: 338 times

Last updated: Apr 15 '20