Pull request #525 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971+dd9f4692206ac816c1e5138ee950db2d795e181e (c8d8453767400944ea8d7cedd5560ba0ef6b1b32) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8734347967201597982.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12308428117545296974.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-525/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-525/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15471212425872727854.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3960896248087678750.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-525/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-525/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10355961151873066513.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:edgex-ui-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-ui-go-settings PROJECT: edgex-ui-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: edgex-ui DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-45066’ is offline Running on prd-ubuntu20.04-docker-8c-8g-45346 in /w/workspace/edgexfoundry_edgex-ui-go_PR-525 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git > git init /w/workspace/edgexfoundry_edgex-ui-go_PR-525 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/525/head:refs/remotes/origin/PR-525 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dd9f4692206ac816c1e5138ee950db2d795e181e into PR head commit 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 Merge succeeded, producing 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 Checking out Revision 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 (PR-525) > git config core.sparsecheckout # timeout=10 > git checkout -f 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge dd9f4692206ac816c1e5138ee950db2d795e181e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 # timeout=10 Commit message: "Merge branch 'main' into dependabot/go_modules/github.com/edgexfoundry/go-mod-registry/v2-2.2.0" > git rev-list --no-walk 4936ce7564e6da9122d4ab32e92d9649805e4f5e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:53:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:53:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:53:55 ========================================================= 06:53:55 EdgeX Global Pipelines Version Info 06:53:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:53:56 ------------------- 06:53:56 stable info: 06:53:56 ------------------- 06:53:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:53:56 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 06:53:56 Message: update stable to v1.0.227 06:53:56 ------------------- 06:53:56 experimental info: 06:53:56 ------------------- 06:53:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:53:56 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 06:53:56 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:53:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 06:53:56 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 06:53:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-525 [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-525 [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-525 [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7246602 [Pipeline] echo 06:53:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:53:57 provisioning config files... 06:53:57 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/config4297678192935394064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:53:57 ---> docker-login.sh 06:53:57 nexus3.edgexfoundry.org:10001 06:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:53:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:53:58 Configure a credential helper to remove this warning. See 06:53:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:53:58 06:53:58 Login Succeeded 06:53:58 nexus3.edgexfoundry.org:10002 06:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:53:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:53:58 Configure a credential helper to remove this warning. See 06:53:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:53:58 06:53:58 Login Succeeded 06:53:58 nexus3.edgexfoundry.org:10003 06:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:53:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:53:58 Configure a credential helper to remove this warning. See 06:53:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:53:58 06:53:58 Login Succeeded 06:53:58 nexus3.edgexfoundry.org:10004 06:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:53:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:53:58 Configure a credential helper to remove this warning. See 06:53:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:53:58 06:53:58 Login Succeeded 06:53:58 docker.io 06:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:53:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:53:59 Configure a credential helper to remove this warning. See 06:53:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:53:59 06:53:59 Login Succeeded 06:53:59 ---> docker-login.sh ends [Pipeline] } 06:53:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:53:59 + git rev-list -1 --merges 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971~1..7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 [Pipeline] echo 06:53:59 -----------> git rev-list -1 --merges 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971~1..7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 06:53:59 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 [false] [Pipeline] sh 06:53:59 + git log --format=format:%s -1 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 [Pipeline] echo 06:53:59 ========================================================= 06:53:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:53:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:54:00 + git log --format=format:%s -1 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 [Pipeline] echo 06:54:00 [semverPrep] GIT_COMMIT: 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971, Commit Message: Merge branch 'main' into dependabot/go_modules/github.com/edgexfoundry/go-mod-registry/v2-2.2.0 [Pipeline] echo 06:54:00 [semverPrep] This is not a build commit. [Pipeline] sh 06:54:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:54:00 + grep -v github /etc/ssh/ssh_known_hosts 06:54:00 + [ -e /tmp/ssh_known_hosts ] 06:54:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:54:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:54:00 + sudo tee -a /etc/ssh/ssh_known_hosts 06:54:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:54:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:54:00 06:54:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:54:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:54:01 latest: Pulling from edgex-devops/py-git-semver 06:54:01 1fe172e4850f: Pulling fs layer 06:54:01 caf521ccaac6: Pulling fs layer 06:54:01 3ead6fa29328: Pulling fs layer 06:54:01 5c2a1cbceb83: Pulling fs layer 06:54:01 a8d5f1318db7: Pulling fs layer 06:54:01 c427282e49a2: Pulling fs layer 06:54:01 1827001aaf11: Pulling fs layer 06:54:01 0714d37db230: Pulling fs layer 06:54:01 ac28cf19c067: Pulling fs layer 06:54:01 ca983d60f3e2: Pulling fs layer 06:54:01 9f894cec8388: Pulling fs layer 06:54:01 ac28cf19c067: Waiting 06:54:01 0714d37db230: Waiting 06:54:01 ca983d60f3e2: Waiting 06:54:01 9f894cec8388: Waiting 06:54:01 c427282e49a2: Waiting 06:54:01 a8d5f1318db7: Waiting 06:54:01 caf521ccaac6: Download complete 06:54:01 5c2a1cbceb83: Verifying Checksum 06:54:01 5c2a1cbceb83: Download complete 06:54:01 a8d5f1318db7: Verifying Checksum 06:54:01 a8d5f1318db7: Download complete 06:54:01 c427282e49a2: Verifying Checksum 06:54:01 c427282e49a2: Download complete 06:54:01 3ead6fa29328: Verifying Checksum 06:54:01 3ead6fa29328: Download complete 06:54:01 0714d37db230: Verifying Checksum 06:54:01 0714d37db230: Download complete 06:54:01 ac28cf19c067: Verifying Checksum 06:54:01 ac28cf19c067: Download complete 06:54:01 ca983d60f3e2: Verifying Checksum 06:54:01 ca983d60f3e2: Download complete 06:54:01 9f894cec8388: Download complete 06:54:01 1fe172e4850f: Verifying Checksum 06:54:01 1fe172e4850f: Download complete 06:54:01 1827001aaf11: Verifying Checksum 06:54:01 1827001aaf11: Download complete 06:54:02 1fe172e4850f: Pull complete 06:54:03 caf521ccaac6: Pull complete 06:54:03 3ead6fa29328: Pull complete 06:54:03 5c2a1cbceb83: Pull complete 06:54:03 a8d5f1318db7: Pull complete 06:54:03 c427282e49a2: Pull complete 06:54:05 1827001aaf11: Pull complete 06:54:05 0714d37db230: Pull complete 06:54:05 ac28cf19c067: Pull complete 06:54:05 ca983d60f3e2: Pull complete 06:54:05 9f894cec8388: Pull complete 06:54:05 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 06:54:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:54:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 06:54:05 prd-ubuntu20.04-docker-8c-8g-45346 does not seem to be running inside a container 06:54:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-525 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-525:/w/workspace/edgexfoundry_edgex-ui-go_PR-525:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:54:07 $ docker top 44ecd5cf6a7c8056b53936e8ca9ae2d3cb7517cadacaf4c40abcbaec2c846bcf -eo pid,comm 06:54:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:54:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:54:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:54:07 [ssh-agent] Looking for ssh-agent implementation... 06:54:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:54:07 $ docker exec 44ecd5cf6a7c8056b53936e8ca9ae2d3cb7517cadacaf4c40abcbaec2c846bcf ssh-agent 06:54:07 SSH_AUTH_SOCK=/tmp/ssh-R8YYZi17n09S/agent.33 06:54:07 SSH_AGENT_PID=40 06:54:07 Running ssh-add (command line suppressed) 06:54:07 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/private_key_2219364737673439934.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/private_key_2219364737673439934.key) 06:54:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:54:08 + git tag --points-at HEAD [Pipeline] } 06:54:08 $ docker exec --env ******** --env ******** 44ecd5cf6a7c8056b53936e8ca9ae2d3cb7517cadacaf4c40abcbaec2c846bcf ssh-agent -k 06:54:08 unset SSH_AUTH_SOCK; 06:54:08 unset SSH_AGENT_PID; 06:54:08 echo Agent pid 40 killed; 06:54:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:54:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:54:08 [ssh-agent] Looking for ssh-agent implementation... 06:54:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:54:08 $ docker exec 44ecd5cf6a7c8056b53936e8ca9ae2d3cb7517cadacaf4c40abcbaec2c846bcf ssh-agent 06:54:08 SSH_AUTH_SOCK=/tmp/ssh-dp8MeypYfrO2/agent.74 06:54:08 SSH_AGENT_PID=80 06:54:08 Running ssh-add (command line suppressed) 06:54:08 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/private_key_8319701206459848786.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/private_key_8319701206459848786.key) 06:54:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:54:08 + git semver init 06:54:09 2022-05-10 06:54:09,160 [run_init] DEBUG init version:0.0.0 force:False 06:54:09 2022-05-10 06:54:09,160 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_edgex-ui-go_PR-525/.semver 06:54:09 2022-05-10 06:54:09,161 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-ui-go.git /w/workspace/edgexfoundry_edgex-ui-go_PR-525/.semver 06:54:09 2022-05-10 06:54:09,161 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-ui-go.git', '/w/workspace/edgexfoundry_edgex-ui-go_PR-525/.semver'], cwd=/w/workspace/edgexfoundry_edgex-ui-go_PR-525, universal_newlines=False, shell=None, istream=None) 06:54:10 2022-05-10 06:54:10,588 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-525/.git/info/exclude 06:54:10 2022-05-10 06:54:10,589 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_edgex-ui-go_PR-525/.semver/PR-525 with force:False 06:54:10 2022-05-10 06:54:10,589 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-525/.semver/PR-525 06:54:10 2022-05-10 06:54:10,593 [execute] INFO git cat-file --batch-check 06:54:10 2022-05-10 06:54:10,594 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_edgex-ui-go_PR-525/.semver, universal_newlines=False, shell=None, istream=) 06:54:10 2022-05-10 06:54:10,601 [execute] INFO git cat-file --batch 06:54:10 2022-05-10 06:54:10,601 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_edgex-ui-go_PR-525/.semver, universal_newlines=False, shell=None, istream=) 06:54:10 2022-05-10 06:54:10,608 [read_version] DEBUG read version from /w/workspace/edgexfoundry_edgex-ui-go_PR-525/.semver/PR-525 06:54:10 0.0.0 [Pipeline] } 06:54:10 $ docker exec --env ******** --env ******** 44ecd5cf6a7c8056b53936e8ca9ae2d3cb7517cadacaf4c40abcbaec2c846bcf ssh-agent -k 06:54:10 unset SSH_AUTH_SOCK; 06:54:10 unset SSH_AGENT_PID; 06:54:10 echo Agent pid 80 killed; 06:54:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:54:11 + git semver [Pipeline] } 06:54:11 $ docker stop --time=1 44ecd5cf6a7c8056b53936e8ca9ae2d3cb7517cadacaf4c40abcbaec2c846bcf 06:54:12 $ docker rm -f 44ecd5cf6a7c8056b53936e8ca9ae2d3cb7517cadacaf4c40abcbaec2c846bcf [Pipeline] // withDockerContainer [Pipeline] sh 06:54:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:54:13 Stashed 1 file(s) [Pipeline] echo 06:54:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:54:13 provisioning config files... 06:54:13 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/config5195985606872374816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:54:13 ---> docker-login.sh 06:54:13 nexus3.edgexfoundry.org:10001 06:54:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:54:13 Configure a credential helper to remove this warning. See 06:54:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:54:13 06:54:13 Login Succeeded 06:54:13 nexus3.edgexfoundry.org:10002 06:54:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:54:14 Configure a credential helper to remove this warning. See 06:54:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:54:14 06:54:14 Login Succeeded 06:54:14 nexus3.edgexfoundry.org:10003 06:54:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:54:14 Configure a credential helper to remove this warning. See 06:54:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:54:14 06:54:14 Login Succeeded 06:54:14 nexus3.edgexfoundry.org:10004 06:54:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:54:14 Configure a credential helper to remove this warning. See 06:54:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:54:14 06:54:14 Login Succeeded 06:54:14 docker.io 06:54:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:54:14 Configure a credential helper to remove this warning. See 06:54:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:54:14 06:54:14 Login Succeeded 06:54:14 ---> docker-login.sh ends [Pipeline] } 06:54:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:54:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:54:14 ========================================================= 06:54:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:54:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:54:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 06:54:15 Sending build context to Docker daemon 43.17MB 06:54:15 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 06:54:15 Step 2/15 : FROM ${BASE} AS builder 06:54:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:54:15 59bf1c3509f3: Pulling fs layer 06:54:15 666ba61612fd: Pulling fs layer 06:54:15 8ed8ca486205: Pulling fs layer 06:54:15 4fe6c5a15a65: Pulling fs layer 06:54:15 22a0e8bec74d: Pulling fs layer 06:54:15 ca2b28591e48: Pulling fs layer 06:54:15 a51346096db8: Pulling fs layer 06:54:15 daebc70d1ce1: Pulling fs layer 06:54:15 0e18a0eac166: Pulling fs layer 06:54:15 4fe6c5a15a65: Waiting 06:54:15 22a0e8bec74d: Waiting 06:54:15 daebc70d1ce1: Waiting 06:54:15 0e18a0eac166: Waiting 06:54:15 ca2b28591e48: Waiting 06:54:15 8ed8ca486205: Verifying Checksum 06:54:15 8ed8ca486205: Download complete 06:54:15 666ba61612fd: Download complete 06:54:15 22a0e8bec74d: Verifying Checksum 06:54:15 22a0e8bec74d: Download complete 06:54:15 ca2b28591e48: Download complete 06:54:15 59bf1c3509f3: Verifying Checksum 06:54:15 59bf1c3509f3: Download complete 06:54:15 a51346096db8: Verifying Checksum 06:54:15 a51346096db8: Download complete 06:54:15 daebc70d1ce1: Verifying Checksum 06:54:15 daebc70d1ce1: Download complete 06:54:15 59bf1c3509f3: Pull complete 06:54:15 666ba61612fd: Pull complete 06:54:15 8ed8ca486205: Pull complete 06:54:16 0e18a0eac166: Verifying Checksum 06:54:16 0e18a0eac166: Download complete 06:54:16 4fe6c5a15a65: Verifying Checksum 06:54:16 4fe6c5a15a65: Download complete 06:54:20 4fe6c5a15a65: Pull complete 06:54:20 22a0e8bec74d: Pull complete 06:54:20 ca2b28591e48: Pull complete 06:54:20 a51346096db8: Pull complete 06:54:20 daebc70d1ce1: Pull complete 06:54:22 0e18a0eac166: Pull complete 06:54:22 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 06:54:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:54:22 ---> f018257e8ee9 06:54:22 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 06:54:23 ---> Running in 5d182abe7c1b 06:54:23 Removing intermediate container 5d182abe7c1b 06:54:23 ---> f82687d79ccc 06:54:23 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 06:54:23 ---> Running in a1282818c205 06:54:23 Removing intermediate container a1282818c205 06:54:23 ---> 9e9f77ef66b5 06:54:23 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 06:54:23 ---> Running in 0c20faee1dff 06:54:24 Removing intermediate container 0c20faee1dff 06:54:24 ---> ab37e03f3f82 06:54:24 Step 6/15 : LABEL Name=edgex-ui-go 06:54:24 ---> Running in 3d88bc24e6ec 06:54:24 Removing intermediate container 3d88bc24e6ec 06:54:24 ---> 8670f6fa8ff2 06:54:24 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 06:54:24 ---> Running in 4d787fc87094 06:54:24 Removing intermediate container 4d787fc87094 06:54:24 ---> 2bf6aebab624 06:54:24 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:54:24 ---> Running in 07c9f329f162 06:54:25 Removing intermediate container 07c9f329f162 06:54:25 ---> c3be5ab2c6a2 06:54:25 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:54:25 ---> Running in bda3be55e0a5 06:54:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:54:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:54:26 OK: 221 MiB in 52 packages 06:54:26 Removing intermediate container bda3be55e0a5 06:54:26 ---> 5984b94c6292 06:54:26 Step 10/15 : ENV GO111MODULE=on 06:54:26 ---> Running in ad4a40ca7366 06:54:27 Removing intermediate container ad4a40ca7366 06:54:27 ---> e67c5e085732 06:54:27 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 06:54:27 ---> Running in 8a934eaab51b 06:54:27 Removing intermediate container 8a934eaab51b 06:54:27 ---> 13073c0f1eec 06:54:27 Step 12/15 : COPY go.mod vendor* ./ 06:54:27 ---> 1af8f0428751 06:54:27 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:54:27 ---> Running in ca9b259e0a05 06:54:28 Still waiting to schedule task 06:54:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:54:35 Removing intermediate container ca9b259e0a05 06:54:35 ---> 89d93c791673 06:54:35 Step 14/15 : COPY . . 06:54:36 ---> 21769f0e03c3 06:54:36 Step 15/15 : RUN ${MAKE} 06:54:36 ---> Running in 740be48bfe63 06:54:36 noop 06:54:36 Removing intermediate container 740be48bfe63 06:54:36 ---> 8e5a7acfbae5 06:54:36 Successfully built 8e5a7acfbae5 06:54:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:54:37 + docker inspect -f . ci-base-image-x86_64 06:54:37 . [Pipeline] withDockerContainer 06:54:37 prd-ubuntu20.04-docker-8c-8g-45346 does not seem to be running inside a container 06:54:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-525 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-525:/w/workspace/edgexfoundry_edgex-ui-go_PR-525:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:54:37 $ docker top 81ef581ed1b1bc74a1c233aa2693f41f9c3afdb9a403957fae7abe8aeb27f015 -eo pid,comm [Pipeline] { [Pipeline] sh 06:54:38 + go version 06:54:38 go version go1.17.6 linux/amd64 [Pipeline] } 06:54:38 $ docker stop --time=1 81ef581ed1b1bc74a1c233aa2693f41f9c3afdb9a403957fae7abe8aeb27f015 06:54:39 $ docker rm -f 81ef581ed1b1bc74a1c233aa2693f41f9c3afdb9a403957fae7abe8aeb27f015 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:54:39 + docker inspect -f . ci-base-image-x86_64 06:54:39 . [Pipeline] withDockerContainer 06:54:39 prd-ubuntu20.04-docker-8c-8g-45346 does not seem to be running inside a container 06:54:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-525 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-525:/w/workspace/edgexfoundry_edgex-ui-go_PR-525:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:54:40 $ docker top ad649151a2eb4ad1fbb1f73ae1e12a5f1a51a62b14003bf4f99312c853a2af37 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:54:40 + make test 06:54:40 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:54:41 ? github.com/edgexfoundry/edgex-ui-go [no test files] 06:54:46 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 06:54:46 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 06:54:46 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 06:54:46 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 06:54:46 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 06:54:46 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 06:54:46 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 06:54:46 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 06:54:46 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 06:54:46 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 06:54:46 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 06:54:46 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 06:54:46 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:54:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:54:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 06:54:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:54:49 $ docker stop --time=1 ad649151a2eb4ad1fbb1f73ae1e12a5f1a51a62b14003bf4f99312c853a2af37 06:54:50 $ docker rm -f ad649151a2eb4ad1fbb1f73ae1e12a5f1a51a62b14003bf4f99312c853a2af37 [Pipeline] // withDockerContainer [Pipeline] sh 06:54:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:54:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:54:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:54:51 + ls -al . 06:54:51 total 160 06:54:51 drwxrwxr-x 14 jenkins jenkins 4096 May 10 06:54 . 06:54:51 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:53 .. 06:54:51 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:54 .git 06:54:51 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:53 .github 06:54:51 -rw-rw-r-- 1 jenkins jenkins 155 May 10 06:53 .gitignore 06:54:51 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:54 .semver 06:54:51 -rw-rw-r-- 1 jenkins jenkins 2022 May 10 06:53 Attribution.txt 06:54:51 -rw-rw-r-- 1 jenkins jenkins 14570 May 10 06:53 CHANGELOG.md 06:54:51 -rw-rw-r-- 1 jenkins jenkins 3959 May 10 06:53 CONTRIBUTING.md 06:54:51 -rw-rw-r-- 1 jenkins jenkins 1549 May 10 06:53 Dockerfile 06:54:51 -rw-rw-r-- 1 jenkins jenkins 652 May 10 06:53 Jenkinsfile 06:54:51 -rw-rw-r-- 1 jenkins jenkins 11357 May 10 06:53 LICENSE 06:54:51 -rw-rw-r-- 1 jenkins jenkins 1212 May 10 06:53 Makefile 06:54:51 -rw-rw-r-- 1 jenkins jenkins 4398 May 10 06:53 README.md 06:54:51 -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:54 VERSION 06:54:51 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:53 assets 06:54:51 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:53 bin 06:54:51 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:53 cmd 06:54:51 -rw-r--r-- 1 jenkins jenkins 10 May 10 06:54 coverage.out 06:54:51 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:53 docs 06:54:51 -rw-rw-r-- 1 jenkins jenkins 1945 May 10 06:53 go.mod 06:54:51 -rw-rw-r-- 1 jenkins jenkins 26589 May 10 06:53 go.sum 06:54:51 drwxrwxr-x 9 jenkins jenkins 4096 May 10 06:53 internal 06:54:51 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:53 pkg 06:54:51 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:53 snap 06:54:51 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:53 testing 06:54:51 -rw-rw-r-- 1 jenkins jenkins 155 May 10 06:53 version.go 06:54:51 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:53 web [Pipeline] isUnix [Pipeline] sh 06:54:52 + docker build -t edgex-ui -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 --label arch=amd64 --label version=0.0.0 . 06:54:52 Sending build context to Docker daemon 43.17MB 06:54:52 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 06:54:52 Step 2/23 : FROM ${BASE} AS builder 06:54:52 ---> 8e5a7acfbae5 06:54:52 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 06:54:52 ---> Running in 686d0da4ad92 06:54:52 Removing intermediate container 686d0da4ad92 06:54:52 ---> c190720add0b 06:54:52 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 06:54:52 ---> Running in b0c1a36e1a85 06:54:52 Removing intermediate container b0c1a36e1a85 06:54:52 ---> bf0c86c772cd 06:54:52 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 06:54:52 ---> Running in 0120d30ab9bc 06:54:52 Removing intermediate container 0120d30ab9bc 06:54:52 ---> 67ce16663f41 06:54:52 Step 6/23 : LABEL Name=edgex-ui-go 06:54:52 ---> Running in 91edd90aacbd 06:54:52 Removing intermediate container 91edd90aacbd 06:54:52 ---> 1213186cc994 06:54:52 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 06:54:52 ---> Running in 82000aac1ec2 06:54:53 Removing intermediate container 82000aac1ec2 06:54:53 ---> 786222eaae91 06:54:53 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:54:53 ---> Running in 865de4e77bd4 06:54:53 Removing intermediate container 865de4e77bd4 06:54:53 ---> c318a6a9adea 06:54:53 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:54:53 ---> Running in 3da2fafb514e 06:54:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:54:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:54:55 OK: 221 MiB in 52 packages 06:54:55 Removing intermediate container 3da2fafb514e 06:54:55 ---> 72452932625a 06:54:55 Step 10/23 : ENV GO111MODULE=on 06:54:55 ---> Running in e80e7cf25e64 06:54:55 Removing intermediate container e80e7cf25e64 06:54:55 ---> ad52b2f87c97 06:54:55 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 06:54:55 ---> Running in 0f766002a4d6 06:54:55 Removing intermediate container 0f766002a4d6 06:54:55 ---> cffce914a561 06:54:55 Step 12/23 : COPY go.mod vendor* ./ 06:54:55 ---> f91314e3a3a3 06:54:55 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:54:55 ---> Running in f13d97025333 06:54:56 Removing intermediate container f13d97025333 06:54:56 ---> 4b71a15a1737 06:54:56 Step 14/23 : COPY . . 06:54:57 ---> 1e0376214556 06:54:57 Step 15/23 : RUN ${MAKE} 06:54:57 ---> Running in 380652eced8e 06:54:57 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-ui-go.Version=0.0.0" -o cmd/edgex-ui-server/edgex-ui-server ./cmd/edgex-ui-server 06:55:02 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:55:04 Removing intermediate container 380652eced8e 06:55:04 ---> 07f96ea94d94 06:55:04 Step 16/23 : FROM alpine:3.14 06:55:04 3.14: Pulling from library/alpine 06:55:04 8663204ce13b: Pulling fs layer 06:55:05 8663204ce13b: Verifying Checksum 06:55:05 8663204ce13b: Download complete 06:55:05 8663204ce13b: Pull complete 06:55:05 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:55:05 Status: Downloaded newer image for alpine:3.14 06:55:05 ---> e04c818066af 06:55:05 Step 17/23 : EXPOSE 4000 06:55:05 ---> Running in bf6d0f00f9b6 06:55:05 Removing intermediate container bf6d0f00f9b6 06:55:05 ---> 2b1de255172d 06:55:05 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 06:55:05 ---> 4cb088d7aeca 06:55:05 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 06:55:05 ---> Running in 7d100a25a004 06:55:05 Removing intermediate container 7d100a25a004 06:55:05 ---> 5492437c4674 06:55:05 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 06:55:05 ---> Running in ef298944fd13 06:55:05 Removing intermediate container ef298944fd13 06:55:05 ---> 26c79a557538 06:55:05 Step 21/23 : LABEL arch=amd64 06:55:05 ---> Running in d8e8a76b6340 06:55:06 Removing intermediate container d8e8a76b6340 06:55:06 ---> 30d0dd872c03 06:55:06 Step 22/23 : LABEL git_sha=7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 06:55:06 ---> Running in c491a0b2c50f 06:55:06 Removing intermediate container c491a0b2c50f 06:55:06 ---> a85b9e25fc7a 06:55:06 Step 23/23 : LABEL version=0.0.0 06:55:06 ---> Running in 8e942ffc357b 06:55:06 Removing intermediate container 8e942ffc357b 06:55:06 ---> 1cad0fc1b1e3 06:55:06 [Warning] One or more build-args [ARCH] were not consumed 06:55:06 Successfully built 1cad0fc1b1e3 06:55:06 Successfully tagged edgex-ui:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:55:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:55:06 06:55:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:55:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:55:07 latest: Pulling from edgex-lftools-log-publisher 06:55:07 5eb5b503b376: Pulling fs layer 06:55:07 5c69ac0246d0: Pulling fs layer 06:55:07 ec43610c2a17: Pulling fs layer 06:55:07 3a2ae6a8a46f: Pulling fs layer 06:55:07 33b1e0a273af: Pulling fs layer 06:55:07 5d3b04190fa2: Pulling fs layer 06:55:07 3a2ae6a8a46f: Waiting 06:55:07 33b1e0a273af: Waiting 06:55:07 2f39f015ded8: Pulling fs layer 06:55:07 5d3b04190fa2: Waiting 06:55:07 2f39f015ded8: Waiting 06:55:07 5c69ac0246d0: Verifying Checksum 06:55:07 5c69ac0246d0: Download complete 06:55:07 3a2ae6a8a46f: Verifying Checksum 06:55:07 33b1e0a273af: Verifying Checksum 06:55:07 33b1e0a273af: Download complete 06:55:07 ec43610c2a17: Verifying Checksum 06:55:07 ec43610c2a17: Download complete 06:55:07 5d3b04190fa2: Verifying Checksum 06:55:07 5d3b04190fa2: Download complete 06:55:07 5eb5b503b376: Verifying Checksum 06:55:07 5eb5b503b376: Download complete 06:55:08 5eb5b503b376: Pull complete 06:55:08 5c69ac0246d0: Pull complete 06:55:09 ec43610c2a17: Pull complete 06:55:09 3a2ae6a8a46f: Pull complete 06:55:09 33b1e0a273af: Pull complete 06:55:09 5d3b04190fa2: Pull complete 06:55:13 2f39f015ded8: Pull complete 06:55:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:55:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:55:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:55:13 prd-ubuntu20.04-docker-8c-8g-45346 does not seem to be running inside a container 06:55:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_edgex-ui-go_PR-525 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-525:/w/workspace/edgexfoundry_edgex-ui-go_PR-525:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:55:15 $ docker top cdb9886dcab8fae2fd0e948a6c7f6ede51101355e8107b6aa5600ea69f7293f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:55:15 ---> job-cost.sh 06:55:15 lf-activate-venv: SKIPPING 06:55:15 INFO: No Stack... 06:55:16 INFO: Retrieving Pricing Info for: v3-standard-8 06:55:16 INFO: Archiving Costs [Pipeline] sh 06:55:16 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-525/archives/cost.csv 06:55:16 + cut -d, -f6 [Pipeline] lock 06:55:16 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-525-3-stack-cost] 06:55:16 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-525-3-stack-cost] did not exist. Created. 06:55:16 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-525-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:55:16 + echo total: 0.2199999988079071 [Pipeline] stash 06:55:17 Stashed 1 file(s) [Pipeline] } 06:55:17 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-525-3-stack-cost] [Pipeline] // lock [Pipeline] } 06:55:17 $ docker stop --time=1 cdb9886dcab8fae2fd0e948a6c7f6ede51101355e8107b6aa5600ea69f7293f2 06:55:18 $ docker rm -f cdb9886dcab8fae2fd0e948a6c7f6ede51101355e8107b6aa5600ea69f7293f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:04:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-45617 in /w/workspace/edgexfoundry_edgex-ui-go_PR-525 [Pipeline] { [Pipeline] ws 07:04:49 Running in /w/workspace/edgex-ui-go/3 [Pipeline] { [Pipeline] checkout 07:04:49 The recommended git tool is: git 07:04:57 using credential edgex-jenkins-ssh 07:04:57 Cloning the remote Git repository 07:04:57 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 07:04:57 > git init /w/workspace/edgex-ui-go/3 # timeout=10 07:04:57 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 07:04:57 > git --version # timeout=10 07:04:58 > git --version # 'git version 2.25.1' 07:04:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:04:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:05:01 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 07:05:02 Merging remotes/origin/main commit dd9f4692206ac816c1e5138ee950db2d795e181e into PR head commit 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 07:05:02 Merge succeeded, producing 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 07:05:02 Checking out Revision 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 (PR-525) 07:05:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:05:01 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 07:05:01 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 07:05:01 using GIT_SSH to set credentials SSH Credentials for GitHub 07:05:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/525/head:refs/remotes/origin/PR-525 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:05:02 > git config core.sparsecheckout # timeout=10 07:05:02 > git checkout -f 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 # timeout=10 07:05:02 > git remote # timeout=10 07:05:02 > git config --get remote.origin.url # timeout=10 07:05:02 using GIT_SSH to set credentials SSH Credentials for GitHub 07:05:02 > git merge dd9f4692206ac816c1e5138ee950db2d795e181e # timeout=10 07:05:02 > git rev-parse HEAD^{commit} # timeout=10 07:05:02 > git config core.sparsecheckout # timeout=10 07:05:02 > git checkout -f 7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 # timeout=10 07:05:07 Commit message: "Merge branch 'main' into dependabot/go_modules/github.com/edgexfoundry/go-mod-registry/v2-2.2.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:05:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:05:08 % Total % Received % Xferd Average Speed Time Time Time Current 07:05:08 Dload Upload Total Spent Left Speed 07:05:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 226k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 07:05:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:05:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:05:09 + sudo tee /etc/docker/daemon.new 07:05:09 { 07:05:09 "registry-mirrors": [ 07:05:09 "https://nexus3.edgexfoundry.org:10001" 07:05:09 ], 07:05:09 "bip": "10.250.0.254/24", 07:05:09 "hosts": [ 07:05:09 "tcp://0.0.0.0:5555", 07:05:09 "unix:///var/run/docker.sock" 07:05:09 ], 07:05:09 "mtu": 1458, 07:05:09 "selinux-enabled": true, 07:05:09 "seccomp-profile": "/etc/docker/seccomp.json" 07:05:09 } [Pipeline] sh 07:05:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:05:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:05:28 provisioning config files... 07:05:28 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/3@tmp/config6543149652896609011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:05:28 ---> docker-login.sh 07:05:28 nexus3.edgexfoundry.org:10001 07:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:29 Configure a credential helper to remove this warning. See 07:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:29 07:05:29 Login Succeeded 07:05:29 nexus3.edgexfoundry.org:10002 07:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:30 Configure a credential helper to remove this warning. See 07:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:30 07:05:30 Login Succeeded 07:05:30 nexus3.edgexfoundry.org:10003 07:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:30 Configure a credential helper to remove this warning. See 07:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:30 07:05:30 Login Succeeded 07:05:30 nexus3.edgexfoundry.org:10004 07:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:31 Configure a credential helper to remove this warning. See 07:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:31 07:05:31 Login Succeeded 07:05:31 docker.io 07:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:32 Configure a credential helper to remove this warning. See 07:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:32 07:05:32 Login Succeeded 07:05:32 ---> docker-login.sh ends [Pipeline] } 07:05:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:05:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:05:32 ========================================================= 07:05:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 07:05:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:05:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 07:05:33 Sending build context to Docker daemon 27.15MB 07:05:33 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 07:05:33 Step 2/15 : FROM ${BASE} AS builder 07:05:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:05:34 9b3977197b4f: Pulling fs layer 07:05:34 1a89e8eeedd5: Pulling fs layer 07:05:34 94645a83ff95: Pulling fs layer 07:05:34 3f3a8bcf1eab: Pulling fs layer 07:05:34 0c92f367c5e7: Pulling fs layer 07:05:34 3096ccb668a1: Pulling fs layer 07:05:34 e8cf19c19ddd: Pulling fs layer 07:05:34 a4caa8a26152: Pulling fs layer 07:05:34 3f3a8bcf1eab: Waiting 07:05:34 0c92f367c5e7: Waiting 07:05:34 e8cf19c19ddd: Waiting 07:05:34 3096ccb668a1: Waiting 07:05:34 a4caa8a26152: Waiting 07:05:34 94645a83ff95: Download complete 07:05:34 1a89e8eeedd5: Verifying Checksum 07:05:34 1a89e8eeedd5: Download complete 07:05:34 0c92f367c5e7: Verifying Checksum 07:05:34 0c92f367c5e7: Download complete 07:05:34 3096ccb668a1: Verifying Checksum 07:05:34 3096ccb668a1: Download complete 07:05:34 9b3977197b4f: Verifying Checksum 07:05:34 9b3977197b4f: Download complete 07:05:34 e8cf19c19ddd: Verifying Checksum 07:05:34 e8cf19c19ddd: Download complete 07:05:35 9b3977197b4f: Pull complete 07:05:35 1a89e8eeedd5: Pull complete 07:05:35 94645a83ff95: Pull complete 07:05:36 a4caa8a26152: Verifying Checksum 07:05:36 a4caa8a26152: Download complete 07:05:36 3f3a8bcf1eab: Verifying Checksum 07:05:36 3f3a8bcf1eab: Download complete 07:05:49 3f3a8bcf1eab: Pull complete 07:05:49 0c92f367c5e7: Pull complete 07:05:49 3096ccb668a1: Pull complete 07:05:49 e8cf19c19ddd: Pull complete 07:05:56 a4caa8a26152: Pull complete 07:05:56 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 07:05:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:05:56 ---> 725f1c02e7f9 07:05:56 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:05:56 ---> Running in 359a58b3f508 07:05:57 Removing intermediate container 359a58b3f508 07:05:57 ---> 0d24598d8a54 07:05:57 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 07:05:57 ---> Running in 3066ee455248 07:05:57 Removing intermediate container 3066ee455248 07:05:57 ---> 2be290b3ded6 07:05:57 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 07:05:57 ---> Running in 38fd2bc20255 07:05:58 Removing intermediate container 38fd2bc20255 07:05:58 ---> 5a45f2d8d000 07:05:58 Step 6/15 : LABEL Name=edgex-ui-go 07:05:58 ---> Running in 6130c2b6f5a8 07:05:58 Removing intermediate container 6130c2b6f5a8 07:05:58 ---> d63898cf2860 07:05:58 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:05:58 ---> Running in 5f6aa9c3e106 07:05:58 Removing intermediate container 5f6aa9c3e106 07:05:58 ---> 164e1115aa6b 07:05:58 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:05:59 ---> Running in f17e55943269 07:06:01 Removing intermediate container f17e55943269 07:06:01 ---> 949103280904 07:06:01 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:06:01 ---> Running in ba141733c566 07:06:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:06:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:06:04 OK: 220 MiB in 52 packages 07:06:05 Removing intermediate container ba141733c566 07:06:05 ---> f8f8901c2c1a 07:06:05 Step 10/15 : ENV GO111MODULE=on 07:06:05 ---> Running in ac3a3f2a2744 07:06:05 Removing intermediate container ac3a3f2a2744 07:06:05 ---> a9d381315913 07:06:05 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:06:05 ---> Running in 698e0f679823 07:06:06 Removing intermediate container 698e0f679823 07:06:06 ---> 823eb7bc3fd8 07:06:06 Step 12/15 : COPY go.mod vendor* ./ 07:06:07 ---> 5fc3cc7af5c6 07:06:07 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:06:07 ---> Running in 7af13a06f636 07:06:39 Removing intermediate container 7af13a06f636 07:06:39 ---> 68930334d4ff 07:06:39 Step 14/15 : COPY . . 07:06:39 ---> b1ebe9a18620 07:06:39 Step 15/15 : RUN ${MAKE} 07:06:39 ---> Running in 36102f5d792d 07:06:39 noop 07:06:39 Removing intermediate container 36102f5d792d 07:06:39 ---> 7893f4b25546 07:06:39 Successfully built 7893f4b25546 07:06:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:06:39 + docker inspect -f . ci-base-image-arm64 07:06:39 . [Pipeline] withDockerContainer 07:06:39 prd-ubuntu20.04-docker-arm64-4c-16g-45617 does not seem to be running inside a container 07:06:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/3 -v /w/workspace/edgex-ui-go/3:/w/workspace/edgex-ui-go/3:rw,z -v /w/workspace/edgex-ui-go/3@tmp:/w/workspace/edgex-ui-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:06:41 $ docker top 2b23f06d81e92fccf27ec5af6d7e62b34a961da2d286491df050712402620b79 -eo pid,comm [Pipeline] { [Pipeline] sh 07:06:42 + go version 07:06:42 go version go1.17.6 linux/arm64 [Pipeline] } 07:06:42 $ docker stop --time=1 2b23f06d81e92fccf27ec5af6d7e62b34a961da2d286491df050712402620b79 07:06:43 $ docker rm -f 2b23f06d81e92fccf27ec5af6d7e62b34a961da2d286491df050712402620b79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:06:44 + docker inspect -f . ci-base-image-arm64 07:06:44 . [Pipeline] withDockerContainer 07:06:44 prd-ubuntu20.04-docker-arm64-4c-16g-45617 does not seem to be running inside a container 07:06:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/3 -v /w/workspace/edgex-ui-go/3:/w/workspace/edgex-ui-go/3:rw,z -v /w/workspace/edgex-ui-go/3@tmp:/w/workspace/edgex-ui-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:06:46 $ docker top 486a77f826f6fc597594a9b57cff2372df213ade753569251c66f98e7a37991d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:06:46 + make test 07:06:46 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:06:48 ? github.com/edgexfoundry/edgex-ui-go [no test files] 07:07:35 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 07:07:35 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 07:07:35 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 07:07:35 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 07:07:35 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 07:07:35 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 07:07:35 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 07:07:35 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 07:07:35 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 07:07:35 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 07:07:35 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 07:07:35 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 07:07:35 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:07:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:07:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 07:07:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:07:43 $ docker stop --time=1 486a77f826f6fc597594a9b57cff2372df213ade753569251c66f98e7a37991d 07:07:45 $ docker rm -f 486a77f826f6fc597594a9b57cff2372df213ade753569251c66f98e7a37991d [Pipeline] // withDockerContainer [Pipeline] sh 07:07:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:07:46 Warning: overwriting stash ‘coverage-report’ 07:07:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:07:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:07:47 + ls -al . 07:07:47 total 156 07:07:47 drwxrwxr-x 13 jenkins jenkins 4096 May 10 07:06 . 07:07:47 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:04 .. 07:07:47 drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:05 .git 07:07:47 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:05 .github 07:07:47 -rw-rw-r-- 1 jenkins jenkins 155 May 10 07:05 .gitignore 07:07:47 -rw-rw-r-- 1 jenkins jenkins 2022 May 10 07:05 Attribution.txt 07:07:47 -rw-rw-r-- 1 jenkins jenkins 14570 May 10 07:05 CHANGELOG.md 07:07:47 -rw-rw-r-- 1 jenkins jenkins 3959 May 10 07:05 CONTRIBUTING.md 07:07:47 -rw-rw-r-- 1 jenkins jenkins 1549 May 10 07:05 Dockerfile 07:07:47 -rw-rw-r-- 1 jenkins jenkins 652 May 10 07:05 Jenkinsfile 07:07:47 -rw-rw-r-- 1 jenkins jenkins 11357 May 10 07:05 LICENSE 07:07:47 -rw-rw-r-- 1 jenkins jenkins 1212 May 10 07:05 Makefile 07:07:47 -rw-rw-r-- 1 jenkins jenkins 4398 May 10 07:05 README.md 07:07:47 -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:54 VERSION 07:07:47 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:05 assets 07:07:47 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:05 bin 07:07:47 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:05 cmd 07:07:47 -rw-r--r-- 1 jenkins jenkins 10 May 10 07:06 coverage.out 07:07:47 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:05 docs 07:07:47 -rw-rw-r-- 1 jenkins jenkins 1945 May 10 07:05 go.mod 07:07:47 -rw-rw-r-- 1 jenkins jenkins 26589 May 10 07:05 go.sum 07:07:47 drwxrwxr-x 9 jenkins jenkins 4096 May 10 07:05 internal 07:07:47 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:05 pkg 07:07:47 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:05 snap 07:07:47 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:05 testing 07:07:47 -rw-rw-r-- 1 jenkins jenkins 155 May 10 07:05 version.go 07:07:47 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:05 web [Pipeline] isUnix [Pipeline] sh 07:07:48 + docker build -t edgex-ui-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 --label arch=arm64 --label version=0.0.0 . 07:07:49 Sending build context to Docker daemon 27.15MB 07:07:49 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 07:07:49 Step 2/23 : FROM ${BASE} AS builder 07:07:49 ---> 7893f4b25546 07:07:49 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:07:49 ---> Running in d49ace6c1187 07:07:49 Removing intermediate container d49ace6c1187 07:07:49 ---> fd67f1223ad7 07:07:49 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 07:07:50 ---> Running in e3ed65edf461 07:07:50 Removing intermediate container e3ed65edf461 07:07:50 ---> 43521485f2bd 07:07:50 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 07:07:50 ---> Running in 4f657a1aa690 07:07:50 Removing intermediate container 4f657a1aa690 07:07:50 ---> 8c63f58807c2 07:07:50 Step 6/23 : LABEL Name=edgex-ui-go 07:07:50 ---> Running in d7af105bc3ff 07:07:51 Removing intermediate container d7af105bc3ff 07:07:51 ---> cfb53ea6d72c 07:07:51 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:07:51 ---> Running in 92a50311ee8f 07:07:51 Removing intermediate container 92a50311ee8f 07:07:51 ---> 0e174147ad76 07:07:51 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:07:51 ---> Running in 9b5e279127e8 07:07:53 Removing intermediate container 9b5e279127e8 07:07:53 ---> d09140050c1b 07:07:53 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:07:53 ---> Running in 79115628ef1a 07:07:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:07:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:07:56 OK: 220 MiB in 52 packages 07:07:57 Removing intermediate container 79115628ef1a 07:07:57 ---> 6ede21c7f4ab 07:07:57 Step 10/23 : ENV GO111MODULE=on 07:07:57 ---> Running in aae623e1315e 07:07:57 Removing intermediate container aae623e1315e 07:07:57 ---> 030e68c6ac67 07:07:57 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:07:57 ---> Running in 0dec5d0691ca 07:07:58 Removing intermediate container 0dec5d0691ca 07:07:58 ---> 36f395f3da59 07:07:58 Step 12/23 : COPY go.mod vendor* ./ 07:07:58 ---> 19411c6415b1 07:07:58 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:07:59 ---> Running in f351357c50de 07:08:01 Removing intermediate container f351357c50de 07:08:01 ---> 7c7e7e4585c9 07:08:01 Step 14/23 : COPY . . 07:08:04 ---> b5eea5de14b6 07:08:04 Step 15/23 : RUN ${MAKE} 07:08:04 ---> Running in 216162dcdebd 07:08:05 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-ui-go.Version=0.0.0" -o cmd/edgex-ui-server/edgex-ui-server ./cmd/edgex-ui-server 07:08:44 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:08:45 Removing intermediate container 216162dcdebd 07:08:45 ---> be66969b5d8e 07:08:45 Step 16/23 : FROM alpine:3.14 07:08:46 3.14: Pulling from library/alpine 07:08:46 455c02918c45: Pulling fs layer 07:08:47 455c02918c45: Verifying Checksum 07:08:47 455c02918c45: Download complete 07:08:47 455c02918c45: Pull complete 07:08:47 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 07:08:47 Status: Downloaded newer image for alpine:3.14 07:08:47 ---> ac73e934f311 07:08:47 Step 17/23 : EXPOSE 4000 07:08:47 ---> Running in 68b490e6b4b1 07:08:47 Removing intermediate container 68b490e6b4b1 07:08:47 ---> d3c1de5fb78d 07:08:47 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:08:49 ---> 22cc5785a86f 07:08:49 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:08:49 ---> Running in d9c2293f25c1 07:08:49 Removing intermediate container d9c2293f25c1 07:08:49 ---> 2d3f3e589a29 07:08:49 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 07:08:49 ---> Running in 7c66b1690564 07:08:49 Removing intermediate container 7c66b1690564 07:08:49 ---> e090087d79a0 07:08:49 Step 21/23 : LABEL arch=arm64 07:08:50 ---> Running in 5555619aa3d4 07:08:50 Removing intermediate container 5555619aa3d4 07:08:50 ---> f784d6619dee 07:08:50 Step 22/23 : LABEL git_sha=7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 07:08:50 ---> Running in fd0ba86d8006 07:08:50 Removing intermediate container fd0ba86d8006 07:08:50 ---> 6037a567f0ef 07:08:50 Step 23/23 : LABEL version=0.0.0 07:08:50 ---> Running in b6770da00320 07:08:51 Removing intermediate container b6770da00320 07:08:51 ---> 2ece9973e2ba 07:08:51 [Warning] One or more build-args [ARCH] were not consumed 07:08:51 Successfully built 2ece9973e2ba 07:08:51 Successfully tagged edgex-ui-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:08:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:08:51 07:08:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:08:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:08:52 arm64: Pulling from edgex-lftools-log-publisher 07:08:52 8998bd30e6a1: Pulling fs layer 07:08:52 04944245beec: Pulling fs layer 07:08:52 699f458cf7ca: Pulling fs layer 07:08:52 765212b225bb: Pulling fs layer 07:08:52 f23df028b6ca: Pulling fs layer 07:08:52 d65c8cfc05b1: Pulling fs layer 07:08:52 2437ff75d9bd: Pulling fs layer 07:08:52 f23df028b6ca: Waiting 07:08:52 d65c8cfc05b1: Waiting 07:08:52 2437ff75d9bd: Waiting 07:08:52 765212b225bb: Waiting 07:08:52 04944245beec: Verifying Checksum 07:08:52 04944245beec: Download complete 07:08:52 765212b225bb: Verifying Checksum 07:08:52 765212b225bb: Download complete 07:08:52 f23df028b6ca: Verifying Checksum 07:08:52 f23df028b6ca: Download complete 07:08:52 d65c8cfc05b1: Verifying Checksum 07:08:52 d65c8cfc05b1: Download complete 07:08:52 699f458cf7ca: Verifying Checksum 07:08:52 699f458cf7ca: Download complete 07:08:52 8998bd30e6a1: Verifying Checksum 07:08:52 8998bd30e6a1: Download complete 07:08:55 2437ff75d9bd: Download complete 07:08:57 8998bd30e6a1: Pull complete 07:08:57 04944245beec: Pull complete 07:08:59 699f458cf7ca: Pull complete 07:08:59 765212b225bb: Pull complete 07:09:00 f23df028b6ca: Pull complete 07:09:00 d65c8cfc05b1: Pull complete 07:09:19 2437ff75d9bd: Pull complete 07:09:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:09:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:09:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:09:19 prd-ubuntu20.04-docker-arm64-4c-16g-45617 does not seem to be running inside a container 07:09:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-ui-go/3 -v /w/workspace/edgex-ui-go/3:/w/workspace/edgex-ui-go/3:rw,z -v /w/workspace/edgex-ui-go/3@tmp:/w/workspace/edgex-ui-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:09:22 $ docker top 9689229b9f7da697d350d0780b5d6a5eeec6958acdb6d71a03784783ddfc5618 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:09:23 ---> job-cost.sh 07:09:23 lf-activate-venv: SKIPPING 07:09:23 INFO: No Stack... 07:09:23 INFO: Retrieving Pricing Info for: v3-standard-4 07:09:24 INFO: Archiving Costs [Pipeline] sh 07:09:25 + cat /w/workspace/edgex-ui-go/3/archives/cost.csv 07:09:25 + cut -d, -f6 [Pipeline] lock 07:09:25 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-525-3-stack-cost] 07:09:25 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-525-3-stack-cost] did not exist. Created. 07:09:25 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-525-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:09:26 /w/workspace/edgex-ui-go/3@tmp/durable-68cc9f23/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:09:26 + echo total: 0.10999999940395355 [Pipeline] stash 07:09:26 Warning: overwriting stash ‘stack-cost’ 07:09:26 Stashed 1 file(s) [Pipeline] } 07:09:26 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-525-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:09:26 $ docker stop --time=1 9689229b9f7da697d350d0780b5d6a5eeec6958acdb6d71a03784783ddfc5618 07:09:28 $ docker rm -f 9689229b9f7da697d350d0780b5d6a5eeec6958acdb6d71a03784783ddfc5618 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:09:28 provisioning config files... 07:09:28 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/config2634407645125466709tmp [Pipeline] { [Pipeline] sh 07:09:29 + set +x 07:09:29 + curl -s https://codecov.io/bash 07:09:29 + bash -s -- 07:09:29 07:09:29 _____ _ 07:09:29 / ____| | | 07:09:29 | | ___ __| | ___ ___ _____ __ 07:09:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:09:29 | |___| (_) | (_| | __/ (_| (_) \ V / 07:09:29 \_____\___/ \__,_|\___|\___\___/ \_/ 07:09:29 Bash-1.0.6 07:09:29 07:09:29 07:09:29 ==> git version 2.25.1 found 07:09:29 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:09:29 Release-Date: 2020-01-08 07:09:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:09:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:09:29 ==> Jenkins CI detected. 07:09:29 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-525 07:09:29 project root: . 07:09:29 --> token set from env 07:09:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:09:29 ==> Running gcov in . (disable via -X gcov) 07:09:29 ==> Python coveragepy not found 07:09:29 ==> Searching for coverage reports in: 07:09:29 + . 07:09:29 -> Found 1 reports 07:09:29 ==> Detecting git/mercurial file structure 07:09:29 ==> Reading reports 07:09:29 + ./coverage.out bytes=10 07:09:29 ==> Appending adjustments 07:09:29 https://docs.codecov.io/docs/fixing-reports 07:09:29 + Found adjustments 07:09:29 ==> Gzipping contents 07:09:29 8.0K /tmp/codecov.tzrnJX.gz 07:09:29 ==> Uploading reports 07:09:29 url: https://codecov.io 07:09:29 query: branch=PR-525&commit=7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-525%2F3%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=525&job=&cmd_args= 07:09:29 -> Pinging Codecov 07:09:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-525&commit=7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-525%2F3%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=525&job=&cmd_args= 07:09:29 -> Uploading to 07:09:29 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/FB506323287CE973F263BFD2A0EB1F37/7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971/6039590b-dbbb-482a-938e-fe735be5e942.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T070929Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fc162f742d8c5eded66a0a917369a2c66eba443049f4ee383a03a2c0cafa4e5d 07:09:29 % Total % Received % Xferd Average Speed Time Time Time Current 07:09:29 Dload Upload Total Spent Left Speed 07:09:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4378 0 0 100 4378 0 18789 --:--:-- --:--:-- --:--:-- 18789 07:09:29 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/7246602a9dad0bb2f9e1d5adc2ef4ddf08aca971 [Pipeline] } 07:09:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:09:30 + [ -d /w/workspace/edgexfoundry_edgex-ui-go_PR-525/archives ] 07:09:30 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-525/archives 07:09:30 total 16 07:09:30 drwxr-xr-x 3 root root 4096 May 10 06:55 . 07:09:30 drwxrwxr-x 15 jenkins jenkins 4096 May 10 06:55 .. 07:09:30 drwxr-xr-x 2 root root 4096 May 10 06:55 cost 07:09:30 -rw-r--r-- 1 root root 82 May 10 06:55 cost.csv 07:09:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-525/archives 07:09:30 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-525/archives 07:09:30 total 16 07:09:30 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:55 . 07:09:30 drwxrwxr-x 15 jenkins jenkins 4096 May 10 06:55 .. 07:09:30 drwxr-xr-x 2 jenkins jenkins 4096 May 10 06:55 cost 07:09:30 -rw-r--r-- 1 jenkins jenkins 82 May 10 06:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:09:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:09:31 ---> package-listing.sh 07:09:31 ++ facter osfamily 07:09:31 ++ tr '[:upper:]' '[:lower:]' 07:09:32 + OS_FAMILY=debian 07:09:32 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-525 07:09:32 + START_PACKAGES=/tmp/packages_start.txt 07:09:32 + END_PACKAGES=/tmp/packages_end.txt 07:09:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:09:32 + PACKAGES=/tmp/packages_start.txt 07:09:32 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-525 ']' 07:09:32 + PACKAGES=/tmp/packages_end.txt 07:09:32 + case "${OS_FAMILY}" in 07:09:32 + dpkg -l 07:09:32 + grep '^ii' 07:09:32 + '[' -f /tmp/packages_start.txt ']' 07:09:32 + '[' -f /tmp/packages_end.txt ']' 07:09:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:09:32 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-525 ']' 07:09:32 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-525/archives/ 07:09:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-525/archives/ [Pipeline] echo 07:09:32 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-525/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:09:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:09:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:09:33 . [Pipeline] withDockerContainer 07:09:33 prd-ubuntu20.04-docker-8c-8g-45346 does not seem to be running inside a container 07:09:33 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-525/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_edgex-ui-go_PR-525 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-525:/w/workspace/edgexfoundry_edgex-ui-go_PR-525:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:09:33 $ docker top 358371a7306c38219bb09bb401585502a09dd2372c060382da072236de58b42b -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:33 + touch /tmp/pre-build-complete [Pipeline] sh 07:09:34 + mkdir -p /var/log/sysstat [Pipeline] sh 07:09:34 + ls /var/log/sa-host 07:09:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:09:34 provisioning config files... 07:09:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/config6742076010680872693tmp [Pipeline] { [Pipeline] echo 07:09:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:09:34 ---> create-netrc.sh [Pipeline] } 07:09:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:09:35 ---> python-tools-install.sh [Pipeline] echo 07:09:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:09:35 ---> sudo-logs.sh 07:09:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:09:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:09:35 ---> job-cost.sh 07:09:35 lf-activate-venv: SKIPPING 07:09:35 DEBUG: total: 0.2199999988079071 07:09:35 INFO: Retrieving Stack Cost... 07:09:36 INFO: Retrieving Pricing Info for: v3-standard-8 07:09:36 INFO: Archiving Costs [Pipeline] echo 07:09:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:09:36 ---> logs-deploy.sh 07:09:36 lf-activate-venv: SKIPPING 07:09:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-525/3 07:09:36 INFO: archiving workspace using pattern(s): 07:09:37 Archives upload complete. 07:09:37 INFO: archiving logs to Nexus