Project

General

Profile

Support #11710

QFQ Buildpipeline failed: ./run_qfq_docker.sh: line 38: run_qfq_docker.output: No such file or directory

Added by Carsten Rose 11 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
07.12.2020
Due date:
% Done:

0%

Estimated time:
Discuss:

Description

Running with gitlab-runner 13.3.1 (738bbe5a)
  on qfq docker z2S3Mwv6
Preparing the "shell" executor
00:00
Using Shell executor...
Preparing environment
00:00
Running on alfred16...
Getting source from Git repository
00:06
Fetching changes...
Initialized empty Git repository in /home/gitlab-runner/builds/z2S3Mwv6/0/typo3/qfq/.git/
Created fresh repository.
Checking out 8cfb32cb as master...
Skipping Git submodules setup
Downloading artifacts
00:01
Downloading artifacts for snapshot (7467)...
Runtime platform                                    arch=amd64 os=linux pid=32188 revision=738bbe5a version=13.3.1
Downloading artifacts from coordinator... ok        id=7467 responseStatus=200 OK token=x7ksPM_z
Executing "step_script" stage of the job script
00:16
$ VERSION=`cat ./version`
$ RELDATE=`date '+%Y%m%d%H%M'`
$ mkdir build || true
mkdir: cannot create directory 'build': File exists
$ unzip -q build/qfq.zip -d qfq
$ cd docker/
$ ./run_qfq_docker.sh -no-deploy
+ source _helper_functions.sh
+ DB_CONTAINER_NAME=
+ DB_PORT=0
+ MYSQL_ROOT_PASSWORD=MN7HKEB7AnvdVKQE
+ MYSQL_USER=typo3
+ MYSQL_PASSWORD=jP36XnRdGvfmS7RL
+ QFQ_DATABASE=qfq_db
+ T3_DATABASE=t3_db
+ T3_IMAGE=typo3-qfq
+ T3_CONTAINER_NAME=
+ T3_PORT=0
+ source run_qfq_docker.output
./run_qfq_docker.sh: line 38: run_qfq_docker.output: No such file or directory
+ true
++ docker run -d --name '' -p 0:3306 -e MYSQL_ROOT_PASSWORD=MN7HKEB7AnvdVKQE -e MYSQL_USER=typo3 -e MYSQL_PASSWORD=jP36XnRdGvfmS7RL mariadb:latest --character-set-server=utf8 --collation-server=utf8_general_ci
+ DB_CONTAINER=4b9459dc551b0055dcd3190f1926d03ab885911ac05eefd1d283fe8178c802af
++ getHostPort 3306 4b9459dc551b0055dcd3190f1926d03ab885911ac05eefd1d283fe8178c802af
++ local CONTAINER_PORT=3306
++ local CONTAINER=4b9459dc551b0055dcd3190f1926d03ab885911ac05eefd1d283fe8178c802af
+++ docker inspect -f '{{ (index (index .NetworkSettings.Ports "3306/tcp") 0).HostPort }}' 4b9459dc551b0055dcd3190f1926d03ab885911ac05eefd1d283fe8178c802af
++ echo 32773
+ DB_PORT=32773
+ addUsernameToContainerName 4b9459dc551b0055dcd3190f1926d03ab885911ac05eefd1d283fe8178c802af
+ local CONTAINER=4b9459dc551b0055dcd3190f1926d03ab885911ac05eefd1d283fe8178c802af
++ getContainerName 4b9459dc551b0055dcd3190f1926d03ab885911ac05eefd1d283fe8178c802af
++ local CONTAINER=4b9459dc551b0055dcd3190f1926d03ab885911ac05eefd1d283fe8178c802af
+++ docker inspect '--format={{.Name}}' 4b9459dc551b0055dcd3190f1926d03ab885911ac05eefd1d283fe8178c802af
++ local CONTAINER_NAME=/suspicious_merkle
++ echo suspicious_merkle
+ local CONTAINER_NAME=suspicious_merkle
+ docker rename suspicious_merkle gitlab-runner_suspicious_merkle
+ echo '
DB_CONTAINER=4b9459dc551b0055dcd3190f1926d03ab885911ac05eefd1d283fe8178c802af
DB_PORT=32773
'
+ [[ -n '' ]]
+ tries=0
+ mysql -u root --password=MN7HKEB7AnvdVKQE --port=32773 -h 127.0.0.1 -e 'CREATE DATABASE t3_db; CREATE DATABASE qfq_db'
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 "Internal error/check (Not system error)" 
+ tries=1
+ [[ 1 -gt 60 ]]
+ echo 'Try again'
Try again
+ sleep 1
+ mysql -u root --password=MN7HKEB7AnvdVKQE --port=32773 -h 127.0.0.1 -e 'CREATE DATABASE t3_db; CREATE DATABASE qfq_db'
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 "Internal error/check (Not system error)" 
+ tries=2
+ [[ 2 -gt 60 ]]
+ echo 'Try again'
Try again
+ sleep 1
+ mysql -u root --password=MN7HKEB7AnvdVKQE --port=32773 -h 127.0.0.1 -e 'CREATE DATABASE t3_db; CREATE DATABASE qfq_db'
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 "Internal error/check (Not system error)" 
+ tries=3
+ [[ 3 -gt 60 ]]
+ echo 'Try again'
Try again
+ sleep 1
+ mysql -u root --password=MN7HKEB7AnvdVKQE --port=32773 -h 127.0.0.1 -e 'CREATE DATABASE t3_db; CREATE DATABASE qfq_db'
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 "Internal error/check (Not system error)" 
+ tries=4
+ [[ 4 -gt 60 ]]
+ echo 'Try again'
Try again
+ sleep 1
+ mysql -u root --password=MN7HKEB7AnvdVKQE --port=32773 -h 127.0.0.1 -e 'CREATE DATABASE t3_db; CREATE DATABASE qfq_db'
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 "Internal error/check (Not system error)" 
+ tries=5
+ [[ 5 -gt 60 ]]
+ echo 'Try again'
Try again
+ sleep 1
+ mysql -u root --password=MN7HKEB7AnvdVKQE --port=32773 -h 127.0.0.1 -e 'CREATE DATABASE t3_db; CREATE DATABASE qfq_db'
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 "Internal error/check (Not system error)" 
+ tries=6
+ [[ 6 -gt 60 ]]
+ echo 'Try again'
Try again
+ sleep 1
+ mysql -u root --password=MN7HKEB7AnvdVKQE --port=32773 -h 127.0.0.1 -e 'CREATE DATABASE t3_db; CREATE DATABASE qfq_db'
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 "Internal error/check (Not system error)" 
+ tries=7
+ [[ 7 -gt 60 ]]
+ echo 'Try again'
Try again
+ sleep 1
+ mysql -u root --password=MN7HKEB7AnvdVKQE --port=32773 -h 127.0.0.1 -e 'CREATE DATABASE t3_db; CREATE DATABASE qfq_db'
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 "Internal error/check (Not system error)" 
+ tries=8
+ [[ 8 -gt 60 ]]
+ echo 'Try again'
Try again
+ sleep 1
+ mysql -u root --password=MN7HKEB7AnvdVKQE --port=32773 -h 127.0.0.1 -e 'CREATE DATABASE t3_db; CREATE DATABASE qfq_db'
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 "Internal error/check (Not system error)" 
+ tries=9
+ [[ 9 -gt 60 ]]
+ echo 'Try again'
Try again
+ sleep 1
+ mysql -u root --password=MN7HKEB7AnvdVKQE --port=32773 -h 127.0.0.1 -e 'CREATE DATABASE t3_db; CREATE DATABASE qfq_db'
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 "Internal error/check (Not system error)" 
+ tries=10
+ [[ 10 -gt 60 ]]
+ echo 'Try again'
Try again
+ sleep 1
+ mysql -u root --password=MN7HKEB7AnvdVKQE --port=32773 -h 127.0.0.1 -e 'CREATE DATABASE t3_db; CREATE DATABASE qfq_db'
+ mysql -u root --password=MN7HKEB7AnvdVKQE --port=32773 -h 127.0.0.1 -D t3_db
+ mysql -u root --password=MN7HKEB7AnvdVKQE --port=32773 -h 127.0.0.1 -D qfq_db
+ mysql -u root --password=MN7HKEB7AnvdVKQE --port=32773 -h 127.0.0.1 -e 'GRANT ALL PRIVILEGES ON *.* TO '\''typo3'\''@'\''%'\'';'
++ docker run -d --name '' -p 0:80 --link 4b9459dc551b0055dcd3190f1926d03ab885911ac05eefd1d283fe8178c802af:db typo3-qfq
Unable to find image 'typo3-qfq:latest' locally
docker: Error response from daemon: pull access denied for typo3-qfq, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
+ T3_CONTAINER=
Running after_script
00:01
Running after script...
$ cd docker; ./remove-containers.sh <<< "y" 
The following containers and their data will be deleted completely:
"docker inspect" requires at least 1 argument.
See 'docker inspect --help'.
Usage:  docker inspect [OPTIONS] NAME|ID [NAME|ID...]
Return low-level information on Docker objects
gitlab-runner_suspicious_merkle, , 
removing...
4b9459dc551b0055dcd3190f1926d03ab885911ac05eefd1d283fe8178c802af
"docker rm" requires at least 1 argument.
See 'docker rm --help'.
Usage:  docker rm [OPTIONS] CONTAINER [CONTAINER...]
Remove one or more containers
done.
$ cd ..
$ umask 002
$ mkdir "$SELENIUM_LOGS_PATH/$CI_COMMIT_SHORT_SHA" 
$ mkdir -p extension/Tests/selenium/selenium_logs
$ touch extension/Tests/selenium/selenium_logs/empty
$ cp extension/Tests/selenium/selenium_logs/* "$SELENIUM_LOGS_PATH/$CI_COMMIT_SHORT_SHA/" 
$ echo "Selenium Logs copied to $SELENIUM_LOGS_PATH/$CI_COMMIT_SHORT_SHA/" 
Selenium Logs copied to /scratch/tmp/7//8cfb32cb/
$ echo "Or download result (log/screenshot) in gitlab under CI/CD > Pipelines  <job> > right side 'Artifacts'" 
Or download result (log/screenshot) in gitlab under CI/CD > Pipelines  <job> > right side 'Artifacts'
Uploading artifacts for failed job
00:01
Uploading artifacts...
Runtime platform                                    arch=amd64 os=linux pid=32736 revision=738bbe5a version=13.3.1
extension/Tests/selenium/selenium_logs/: found 2 matching files and directories 
Uploading artifacts as "archive" to coordinator... ok  id=7468 responseStatus=201 Created token=tigrpMze
ERROR: Job failed: exit status 1
#1

Updated by Carsten Rose 10 months ago

  • Status changed from New to Closed
  • Assignee set to Carsten Rose
  • Ursache war, das auf alfred16 die docker images `typo3-qfq` und `python-selenium` fehlten.
  • Zuerst qfq_docker auschecken
  • Die commands ausfuehren unter "build typo3 docker image" und "build python selenium image" beschrieben in `README.md`
[root@alfred16]
$ cd /tmp
$ git clone https://systemvcs.math.uzh.ch/megger/qfq_docker.git
$ cd qfq_docker/
$ docker build -t typo3-qfq typo3-qfq_dockerfile/
$ docker build -t python-selenium python-selenium_dockerfile/

REPOSITORY TAG IMAGE ID CREATED SIZE
typo3-qfq latest 7a72bb8052be 15 minutes ago 1.02GB
python-selenium latest 90a4222f85c3 16 minutes ago 1.4GB
python 3.9.0 0affb4652fc0 3 days ago 886MB
php 7.2-apache-stretch 9c67a2230de1 2 weeks ago 374MB
t3docs/render-documentation latest 99a787917462 3 weeks ago 669MB
mariadb latest 2ab9d091310d 3 weeks ago 414MB
codeclimate/codeclimate-rubocop latest 644809134ace 4 weeks ago 72.3MB
codeclimate/codeclimate-structure latest dc656afb944b 3 months ago 5.06GB
codeclimate/codeclimate-duplication latest 16ddaeaa9406 3 months ago 5.06GB
registry.gitlab.com/gitlab-org/ci-cd/codequality 0.85.10-gitlab.1 087a2b5321cf 3 months ago 212MB
codeclimate/codeclimate-eslint latest 4326012d619d 3 months ago 1.09GB
codeclimate/codeclimate 0.85.10 ee6e8d46909e 6 months ago 111MB
codeclimate/codeclimate-coffeelint latest 723d46e9e669 2 years ago 79.9MB
codeclimate/codeclimate-csslint latest b2c50e249da5 2 years ago 90.6MB
codeclimate/codeclimate-fixme latest 8321729effc8 3 years ago 58.8MB

#2

Updated by Carsten Rose 9 months ago

  • Target version changed from 21.8.0 to 21.2.0

Also available in: Atom PDF