[0KRunning with gitlab-runner 14.8.2 (c6e7e194)[0;m [0K on TestEnvEKSCluster 4cd53b1e[0;m section_start:1648105557:prepare_executor [0K[0K[36;1mPreparing the "kubernetes" executor[0;m[0;m [0KUsing Kubernetes namespace: gitlab[0;m [0KUsing Kubernetes executor with image docker ...[0;m [0KUsing attach strategy to execute scripts...[0;m section_end:1648105557:prepare_executor [0Ksection_start:1648105557:prepare_script [0K[0K[36;1mPreparing environment[0;m[0;m Waiting for pod gitlab/runner-4cd53b1e-project-961-concurrent-0nlmz6 to be running, status is Pending Waiting for pod gitlab/runner-4cd53b1e-project-961-concurrent-0nlmz6 to be running, status is Pending ContainersNotReady: "containers with unready status: [build helper]" ContainersNotReady: "containers with unready status: [build helper]" Running on runner-4cd53b1e-project-961-concurrent-0nlmz6 via runner-gitlab-runner-55448db48b-c7cbq... section_end:1648105563:prepare_script [0Ksection_start:1648105563:get_sources [0K[0K[36;1mGetting source from Git repository[0;m[0;m [32;1mFetching changes...[0;m Initialized empty Git repository in /builds/shenggui.li/mobdna-k8s/.git/ [32;1mCreated fresh repository.[0;m [32;1mChecking out 99fdc3e9 as master...[0;m [32;1mSkipping Git submodules setup[0;m section_end:1648105563:get_sources [0Ksection_start:1648105563:restore_cache [0K[0K[36;1mRestoring cache[0;m[0;m [32;1mChecking cache for 99fdc3e95556a5c9a77ca0743856a59a195903e8...[0;m Downloading cache.zip from https://tkio-test-gitlabrunner-cache.s3.dualstack.cn-north-1.amazonaws.com.cn/runner/project/961/99fdc3e95556a5c9a77ca0743856a59a195903e8[0;m [32;1mSuccessfully extracted cache[0;m section_end:1648105565:restore_cache [0Ksection_start:1648105565:step_script [0K[0K[36;1mExecuting "step_script" stage of the job script[0;m[0;m [32;1m$ pwd; ls -lh ; df -h ;cd target;ls; md5sum mob-dna-1.0.jar[0;m /builds/shenggui.li/mobdna-k8s total 28K -rw-rw-rw- 1 root root 1.2K Mar 24 07:06 Dockerfile -rw-rw-rw- 1 root root 2.2K Mar 24 07:06 README.md drwxrwxrwx 3 root root 32 Mar 24 07:06 backend drwxrwxrwx 3 root root 32 Mar 24 07:06 common -rw-rw-rw- 1 root root 1.3K Mar 24 07:06 log4cxx.properties -rw-rw-rw- 1 root root 8.2K Mar 24 07:06 pom.xml -rw-rw-rw- 1 root root 846 Mar 24 07:06 pro.md drwxrwxrwx 3 root root 32 Mar 24 07:06 security drwxrwxrwx 3 root root 32 Mar 24 07:06 swagger drwxr-xr-x 2 root root 47 Mar 24 07:05 target drwxrwxrwx 3 root root 32 Mar 24 07:06 web Filesystem Size Used Available Use% Mounted on overlay 10.0G 7.3G 2.7G 73% / tmpfs 64.0M 0 64.0M 0% /dev tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup /dev/nvme0n1p1 10.0G 7.3G 2.7G 73% /logs-961-4811 /dev/nvme0n1p1 10.0G 7.3G 2.7G 73% /builds /dev/nvme0n1p1 10.0G 7.3G 2.7G 73% /scripts-961-4811 /dev/nvme0n1p1 10.0G 7.3G 2.7G 73% /opt/cache /dev/nvme0n1p1 10.0G 7.3G 2.7G 73% /dev/termination-log /dev/nvme0n1p1 10.0G 7.3G 2.7G 73% /etc/resolv.conf /dev/nvme0n1p1 10.0G 7.3G 2.7G 73% /etc/hostname /dev/nvme0n1p1 10.0G 7.3G 2.7G 73% /etc/hosts shm 64.0M 0 64.0M 0% /dev/shm tmpfs 3.8G 1.7M 3.8G 0% /run/docker.sock tmpfs 3.8G 12.0K 3.8G 0% /run/secrets/kubernetes.io/serviceaccount Dockerfile mob-dna-1.0.jar f431483997bc0c05f78d6203f28f6229 mob-dna-1.0.jar [32;1m$ docker run -i --network host --rm amazon/aws-cli ecr get-login-password --region cn-north-1 | docker login --username AWS --password-stdin ${REG_BASE}[0;m Unable to find image 'amazon/aws-cli:latest' locally latest: Pulling from amazon/aws-cli 20e1cc2336fb: Pulling fs layer 83f468760f40: Pulling fs layer 373ecf7a0fc9: Pulling fs layer 0001c3f3aaf8: Pulling fs layer aa4ab14e8ad6: Pulling fs layer 0001c3f3aaf8: Verifying Checksum 0001c3f3aaf8: Download complete 83f468760f40: Verifying Checksum 83f468760f40: Download complete aa4ab14e8ad6: Verifying Checksum aa4ab14e8ad6: Download complete 373ecf7a0fc9: Verifying Checksum 373ecf7a0fc9: Download complete 20e1cc2336fb: Download complete 20e1cc2336fb: Pull complete 83f468760f40: Pull complete 373ecf7a0fc9: Pull complete 0001c3f3aaf8: Pull complete aa4ab14e8ad6: Pull complete Digest: sha256:5befda0147eaa80174dc020a8f364f1c41fa2668b18b0f7bb3c2a16dc67db31b Status: Downloaded newer image for amazon/aws-cli:latest WARNING! Your password will be stored unencrypted in /root/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [32;1m$ docker build -t ${REG_URL}:${CI_COMMIT_SHA} .[0;m Sending build context to Docker daemon 86.37MB Step 1/6 : FROM 502302443508.dkr.ecr.cn-north-1.amazonaws.com.cn/mobdna:latest ---> 4ed71a7b2153 Step 2/6 : RUN rm -rf /data/application/mobdna/mob-dna-1.0.jar ---> Using cache ---> 1cfe7c10a713 Step 3/6 : COPY target/mob-dna-1.0.jar /data/application/mobdna COPY failed: file not found in build context or excluded by .dockerignore: stat target/mob-dna-1.0.jar: file does not exist section_end:1648105587:step_script [0K[31;1mERROR: Job failed: command terminated with exit code 1 [0;m