Pull request #525 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 681bfa3f169a77e5aa45c3d23b03363153c4644f+b1c49f195c002f3e52adda9c102080955489afd9 (7bcf6999e0acb0406148f9efde519463dfe8a6ea) 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-ssh17376520817344254225.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-ssh12053012172466652323.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-525/workspace@libs/edgex-global-pipelines # timeout=10 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-ssh12214040625750257717.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh7079642591431191638.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh12585523068276183480.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-525/workspace@libs/lf-pipelines # timeout=10 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-ssh3939271258796204647.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-44825 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 b1c49f195c002f3e52adda9c102080955489afd9 into PR head commit 681bfa3f169a77e5aa45c3d23b03363153c4644f Merge succeeded, producing 681bfa3f169a77e5aa45c3d23b03363153c4644f Checking out Revision 681bfa3f169a77e5aa45c3d23b03363153c4644f (PR-525) > git config core.sparsecheckout # timeout=10 > git checkout -f 681bfa3f169a77e5aa45c3d23b03363153c4644f # 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 b1c49f195c002f3e52adda9c102080955489afd9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 681bfa3f169a77e5aa45c3d23b03363153c4644f # timeout=10 Commit message: "chore(deps): Bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:08:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:08:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:08:56 ========================================================= 04:08:56 EdgeX Global Pipelines Version Info 04:08:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:08:57 ------------------- 04:08:57 stable info: 04:08:57 ------------------- 04:08:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:08:57 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 04:08:57 Message: update stable to v1.0.227 04:08:57 ------------------- 04:08:57 experimental info: 04:08:57 ------------------- 04:08:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:08:57 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 04:08:57 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:08:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:08:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:08:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:08:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-525 [Pipeline] echo 04:08:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-525 [Pipeline] echo 04:08:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-525 [Pipeline] echo 04:08:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 681bfa3f169a77e5aa45c3d23b03363153c4644f [Pipeline] echo 04:08:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 681bfa3 [Pipeline] echo 04:08:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:59 provisioning config files... 04:08:59 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/config7113685135017864161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:59 ---> docker-login.sh 04:08:59 nexus3.edgexfoundry.org:10001 04:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:00 Configure a credential helper to remove this warning. See 04:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:00 04:09:00 Login Succeeded 04:09:00 nexus3.edgexfoundry.org:10002 04:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:00 Configure a credential helper to remove this warning. See 04:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:00 04:09:00 Login Succeeded 04:09:00 nexus3.edgexfoundry.org:10003 04:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:00 Configure a credential helper to remove this warning. See 04:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:00 04:09:00 Login Succeeded 04:09:00 nexus3.edgexfoundry.org:10004 04:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:00 Configure a credential helper to remove this warning. See 04:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:00 04:09:00 Login Succeeded 04:09:00 docker.io 04:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:00 Configure a credential helper to remove this warning. See 04:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:00 04:09:00 Login Succeeded 04:09:00 ---> docker-login.sh ends [Pipeline] } 04:09:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:09:01 + git rev-list -1 --merges 681bfa3f169a77e5aa45c3d23b03363153c4644f~1..681bfa3f169a77e5aa45c3d23b03363153c4644f [Pipeline] echo 04:09:01 -----------> git rev-list -1 --merges 681bfa3f169a77e5aa45c3d23b03363153c4644f~1..681bfa3f169a77e5aa45c3d23b03363153c4644f 681bfa3f169a77e5aa45c3d23b03363153c4644f [false] [Pipeline] sh 04:09:01 + git log --format=format:%s -1 681bfa3f169a77e5aa45c3d23b03363153c4644f [Pipeline] echo 04:09:01 ========================================================= 04:09:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:09:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:02 + git log --format=format:%s -1 681bfa3f169a77e5aa45c3d23b03363153c4644f [Pipeline] echo 04:09:02 [semverPrep] GIT_COMMIT: 681bfa3f169a77e5aa45c3d23b03363153c4644f, Commit Message: chore(deps): Bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo 04:09:02 [semverPrep] This is not a build commit. [Pipeline] sh 04:09:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:09:02 + grep -v github /etc/ssh/ssh_known_hosts 04:09:02 + [ -e /tmp/ssh_known_hosts ] 04:09:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:09:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:09:02 + sudo tee -a /etc/ssh/ssh_known_hosts 04:09:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:09:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:09:03 04:09:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:09:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:09:03 latest: Pulling from edgex-devops/py-git-semver 04:09:03 1fe172e4850f: Pulling fs layer 04:09:03 caf521ccaac6: Pulling fs layer 04:09:03 3ead6fa29328: Pulling fs layer 04:09:03 5c2a1cbceb83: Pulling fs layer 04:09:03 a8d5f1318db7: Pulling fs layer 04:09:03 c427282e49a2: Pulling fs layer 04:09:03 1827001aaf11: Pulling fs layer 04:09:03 0714d37db230: Pulling fs layer 04:09:03 ac28cf19c067: Pulling fs layer 04:09:03 ca983d60f3e2: Pulling fs layer 04:09:03 9f894cec8388: Pulling fs layer 04:09:03 1827001aaf11: Waiting 04:09:03 c427282e49a2: Waiting 04:09:03 ca983d60f3e2: Waiting 04:09:03 0714d37db230: Waiting 04:09:03 9f894cec8388: Waiting 04:09:03 ac28cf19c067: Waiting 04:09:03 5c2a1cbceb83: Waiting 04:09:03 a8d5f1318db7: Waiting 04:09:03 caf521ccaac6: Verifying Checksum 04:09:03 caf521ccaac6: Download complete 04:09:03 5c2a1cbceb83: Verifying Checksum 04:09:03 5c2a1cbceb83: Download complete 04:09:03 a8d5f1318db7: Verifying Checksum 04:09:03 a8d5f1318db7: Download complete 04:09:03 c427282e49a2: Verifying Checksum 04:09:03 c427282e49a2: Download complete 04:09:03 3ead6fa29328: Verifying Checksum 04:09:03 3ead6fa29328: Download complete 04:09:03 0714d37db230: Download complete 04:09:03 ac28cf19c067: Verifying Checksum 04:09:03 ac28cf19c067: Download complete 04:09:03 ca983d60f3e2: Verifying Checksum 04:09:03 ca983d60f3e2: Download complete 04:09:03 9f894cec8388: Verifying Checksum 04:09:03 9f894cec8388: Download complete 04:09:03 1fe172e4850f: Verifying Checksum 04:09:03 1fe172e4850f: Download complete 04:09:04 1827001aaf11: Verifying Checksum 04:09:04 1827001aaf11: Download complete 04:09:05 1fe172e4850f: Pull complete 04:09:05 caf521ccaac6: Pull complete 04:09:05 3ead6fa29328: Pull complete 04:09:05 5c2a1cbceb83: Pull complete 04:09:06 a8d5f1318db7: Pull complete 04:09:06 c427282e49a2: Pull complete 04:09:08 1827001aaf11: Pull complete 04:09:08 0714d37db230: Pull complete 04:09:08 ac28cf19c067: Pull complete 04:09:08 ca983d60f3e2: Pull complete 04:09:08 9f894cec8388: Pull complete 04:09:08 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 04:09:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:09:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 04:09:08 prd-ubuntu20.04-docker-8c-8g-44825 does not seem to be running inside a container 04:09:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 04:09:10 $ docker top c8c153486541f575200c8902ca4ac558676aee4b1351d2731236c8f2fefeb254 -eo pid,comm 04:09:10 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). 04:09:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:09:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:09:11 [ssh-agent] Looking for ssh-agent implementation... 04:09:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:09:11 $ docker exec c8c153486541f575200c8902ca4ac558676aee4b1351d2731236c8f2fefeb254 ssh-agent 04:09:11 SSH_AUTH_SOCK=/tmp/ssh-EzkcvzUCQHlF/agent.33 04:09:11 SSH_AGENT_PID=39 04:09:11 Running ssh-add (command line suppressed) 04:09:11 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/private_key_7526528849715509060.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/private_key_7526528849715509060.key) 04:09:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:09:11 + git tag --points-at HEAD [Pipeline] } 04:09:11 $ docker exec --env ******** --env ******** c8c153486541f575200c8902ca4ac558676aee4b1351d2731236c8f2fefeb254 ssh-agent -k 04:09:11 unset SSH_AUTH_SOCK; 04:09:11 unset SSH_AGENT_PID; 04:09:11 echo Agent pid 39 killed; 04:09:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:09:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:09:12 [ssh-agent] Looking for ssh-agent implementation... 04:09:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:09:12 $ docker exec c8c153486541f575200c8902ca4ac558676aee4b1351d2731236c8f2fefeb254 ssh-agent 04:09:12 SSH_AUTH_SOCK=/tmp/ssh-S2hV8sBKhoj8/agent.73 04:09:12 SSH_AGENT_PID=80 04:09:12 Running ssh-add (command line suppressed) 04:09:12 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/private_key_2783844274020708629.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/private_key_2783844274020708629.key) 04:09:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:09:12 + git semver init 04:09:13 2022-05-10 04:09:12,980 [run_init] DEBUG init version:0.0.0 force:False 04:09:13 2022-05-10 04:09:12,981 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_edgex-ui-go_PR-525/.semver 04:09:13 2022-05-10 04:09:12,981 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-ui-go.git /w/workspace/edgexfoundry_edgex-ui-go_PR-525/.semver 04:09:13 2022-05-10 04:09:12,981 [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) 04:09:14 2022-05-10 04:09:14,334 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-525/.git/info/exclude 04:09:14 2022-05-10 04:09:14,335 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_edgex-ui-go_PR-525/.semver/PR-525 with force:False 04:09:14 2022-05-10 04:09:14,335 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-525/.semver/PR-525 04:09:14 2022-05-10 04:09:14,340 [execute] INFO git cat-file --batch-check 04:09:14 2022-05-10 04:09:14,340 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_edgex-ui-go_PR-525/.semver, universal_newlines=False, shell=None, istream=) 04:09:14 2022-05-10 04:09:14,347 [execute] INFO git cat-file --batch 04:09:14 2022-05-10 04:09:14,348 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_edgex-ui-go_PR-525/.semver, universal_newlines=False, shell=None, istream=) 04:09:14 2022-05-10 04:09:14,354 [read_version] DEBUG read version from /w/workspace/edgexfoundry_edgex-ui-go_PR-525/.semver/PR-525 04:09:14 0.0.0 [Pipeline] } 04:09:14 $ docker exec --env ******** --env ******** c8c153486541f575200c8902ca4ac558676aee4b1351d2731236c8f2fefeb254 ssh-agent -k 04:09:14 unset SSH_AUTH_SOCK; 04:09:14 unset SSH_AGENT_PID; 04:09:14 echo Agent pid 80 killed; 04:09:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:09:15 + git semver [Pipeline] } 04:09:15 $ docker stop --time=1 c8c153486541f575200c8902ca4ac558676aee4b1351d2731236c8f2fefeb254 04:09:16 $ docker rm -f c8c153486541f575200c8902ca4ac558676aee4b1351d2731236c8f2fefeb254 [Pipeline] // withDockerContainer [Pipeline] sh 04:09:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:09:17 Stashed 1 file(s) [Pipeline] echo 04:09:17 [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 04:09:18 provisioning config files... 04:09:18 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/config7967589770538836814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:18 ---> docker-login.sh 04:09:18 nexus3.edgexfoundry.org:10001 04:09:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:18 Configure a credential helper to remove this warning. See 04:09:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:18 04:09:18 Login Succeeded 04:09:18 nexus3.edgexfoundry.org:10002 04:09:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:18 Configure a credential helper to remove this warning. See 04:09:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:18 04:09:18 Login Succeeded 04:09:18 nexus3.edgexfoundry.org:10003 04:09:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:18 Configure a credential helper to remove this warning. See 04:09:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:18 04:09:18 Login Succeeded 04:09:18 nexus3.edgexfoundry.org:10004 04:09:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:19 Configure a credential helper to remove this warning. See 04:09:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:19 04:09:19 Login Succeeded 04:09:19 docker.io 04:09:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:19 Configure a credential helper to remove this warning. See 04:09:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:19 04:09:19 Login Succeeded 04:09:19 ---> docker-login.sh ends [Pipeline] } 04:09:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:09:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:09:19 ========================================================= 04:09:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:09:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:09:19 + 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 . 04:09:20 Sending build context to Docker daemon 43.45MB 04:09:20 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 04:09:20 Step 2/15 : FROM ${BASE} AS builder 04:09:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:09:20 59bf1c3509f3: Pulling fs layer 04:09:20 666ba61612fd: Pulling fs layer 04:09:20 8ed8ca486205: Pulling fs layer 04:09:20 4fe6c5a15a65: Pulling fs layer 04:09:20 22a0e8bec74d: Pulling fs layer 04:09:20 ca2b28591e48: Pulling fs layer 04:09:20 a51346096db8: Pulling fs layer 04:09:20 daebc70d1ce1: Pulling fs layer 04:09:20 0e18a0eac166: Pulling fs layer 04:09:20 a51346096db8: Waiting 04:09:20 4fe6c5a15a65: Waiting 04:09:20 22a0e8bec74d: Waiting 04:09:20 ca2b28591e48: Waiting 04:09:20 daebc70d1ce1: Waiting 04:09:20 0e18a0eac166: Waiting 04:09:20 8ed8ca486205: Download complete 04:09:20 666ba61612fd: Verifying Checksum 04:09:20 666ba61612fd: Download complete 04:09:20 22a0e8bec74d: Download complete 04:09:20 ca2b28591e48: Verifying Checksum 04:09:20 ca2b28591e48: Download complete 04:09:20 59bf1c3509f3: Verifying Checksum 04:09:20 59bf1c3509f3: Download complete 04:09:20 a51346096db8: Download complete 04:09:20 daebc70d1ce1: Download complete 04:09:20 59bf1c3509f3: Pull complete 04:09:20 666ba61612fd: Pull complete 04:09:20 8ed8ca486205: Pull complete 04:09:21 0e18a0eac166: Verifying Checksum 04:09:21 0e18a0eac166: Download complete 04:09:21 4fe6c5a15a65: Verifying Checksum 04:09:21 4fe6c5a15a65: Download complete 04:09:25 4fe6c5a15a65: Pull complete 04:09:25 22a0e8bec74d: Pull complete 04:09:25 ca2b28591e48: Pull complete 04:09:25 a51346096db8: Pull complete 04:09:25 daebc70d1ce1: Pull complete 04:09:27 0e18a0eac166: Pull complete 04:09:27 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 04:09:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:09:27 ---> f018257e8ee9 04:09:27 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 04:09:29 ---> Running in d0a4fdf7ae76 04:09:29 Removing intermediate container d0a4fdf7ae76 04:09:29 ---> 512fb3edf69a 04:09:29 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 04:09:29 ---> Running in 9271b1e3223c 04:09:29 Removing intermediate container 9271b1e3223c 04:09:29 ---> 41392975b028 04:09:29 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 04:09:29 ---> Running in 9dd4403f7734 04:09:29 Removing intermediate container 9dd4403f7734 04:09:29 ---> d79818c2749d 04:09:29 Step 6/15 : LABEL Name=edgex-ui-go 04:09:29 ---> Running in a6f744b02394 04:09:29 Removing intermediate container a6f744b02394 04:09:29 ---> 4f4464017729 04:09:29 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 04:09:29 ---> Running in b72fe0ef5f3b 04:09:29 Removing intermediate container b72fe0ef5f3b 04:09:29 ---> bfd00da1ba71 04:09:29 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:09:29 ---> Running in ead76e16b042 04:09:30 Removing intermediate container ead76e16b042 04:09:30 ---> 3ee4bdb6aaa9 04:09:30 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:09:30 ---> Running in f75ebebcccbf 04:09:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:09:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:09:31 OK: 221 MiB in 52 packages 04:09:32 Removing intermediate container f75ebebcccbf 04:09:32 ---> b4573ec1491e 04:09:32 Step 10/15 : ENV GO111MODULE=on 04:09:32 ---> Running in a913f0039576 04:09:32 Removing intermediate container a913f0039576 04:09:32 ---> afe7a99084db 04:09:32 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 04:09:32 ---> Running in 9b2dba8c3934 04:09:32 Removing intermediate container 9b2dba8c3934 04:09:32 ---> 87e6a0ab699a 04:09:32 Step 12/15 : COPY go.mod vendor* ./ 04:09:32 ---> aa7b3246c647 04:09:32 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:32 ---> Running in 3da0e4b4c59a 04:09:32 Still waiting to schedule task 04:09:32 ‘prd-ubuntu20.04-docker-arm64-4c-16g-44826’ is offline 04:09:54 Removing intermediate container 3da0e4b4c59a 04:09:54 ---> 37e37407b0f3 04:09:54 Step 14/15 : COPY . . 04:09:54 ---> 71c9975cb0c2 04:09:54 Step 15/15 : RUN ${MAKE} 04:09:54 ---> Running in 0c3df5d42c3f 04:09:55 noop 04:09:55 Removing intermediate container 0c3df5d42c3f 04:09:55 ---> 38c961b4a461 04:09:55 Successfully built 38c961b4a461 04:09:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:09:56 + docker inspect -f . ci-base-image-x86_64 04:09:56 . [Pipeline] withDockerContainer 04:09:56 prd-ubuntu20.04-docker-8c-8g-44825 does not seem to be running inside a container 04:09:56 $ 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 ******** ci-base-image-x86_64 cat 04:09:56 $ docker top 48125e4eef0c5e11d15ed871acae7e9322d415e145237d04fbd214288121cf75 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:57 + go version 04:09:57 go version go1.17.6 linux/amd64 [Pipeline] } 04:09:57 $ docker stop --time=1 48125e4eef0c5e11d15ed871acae7e9322d415e145237d04fbd214288121cf75 04:09:58 $ docker rm -f 48125e4eef0c5e11d15ed871acae7e9322d415e145237d04fbd214288121cf75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:09:59 + docker inspect -f . ci-base-image-x86_64 04:09:59 . [Pipeline] withDockerContainer 04:09:59 prd-ubuntu20.04-docker-8c-8g-44825 does not seem to be running inside a container 04:09:59 $ 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 ******** ci-base-image-x86_64 cat 04:09:59 $ docker top e40e2ed225b2e8c1348a0ca39a9ed942454b746b80bf339dbfabd06a8f375613 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:10:00 + make test 04:10:00 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:10:00 ? github.com/edgexfoundry/edgex-ui-go [no test files] 04:10:04 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 04:10:04 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 04:10:04 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 04:10:04 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 04:10:04 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 04:10:04 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 04:10:04 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 04:10:04 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 04:10:04 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 04:10:04 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 04:10:04 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 04:10:04 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 04:10:04 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:10:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:10:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:10:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:10:08 $ docker stop --time=1 e40e2ed225b2e8c1348a0ca39a9ed942454b746b80bf339dbfabd06a8f375613 04:10:09 $ docker rm -f e40e2ed225b2e8c1348a0ca39a9ed942454b746b80bf339dbfabd06a8f375613 [Pipeline] // withDockerContainer [Pipeline] sh 04:10:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:10:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:10:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:10:11 + ls -al . 04:10:11 total 180 04:10:11 drwxrwxr-x 14 jenkins jenkins 4096 May 10 04:10 . 04:10:11 drwxrwxr-x 4 jenkins jenkins 4096 May 10 04:08 .. 04:10:11 drwxrwxr-x 8 jenkins jenkins 4096 May 10 04:09 .git 04:10:11 drwxrwxr-x 3 jenkins jenkins 4096 May 10 04:08 .github 04:10:11 -rw-rw-r-- 1 jenkins jenkins 155 May 10 04:08 .gitignore 04:10:11 drwxr-xr-x 3 jenkins jenkins 4096 May 10 04:09 .semver 04:10:11 -rw-rw-r-- 1 jenkins jenkins 2022 May 10 04:08 Attribution.txt 04:10:11 -rw-rw-r-- 1 jenkins jenkins 14570 May 10 04:08 CHANGELOG.md 04:10:11 -rw-rw-r-- 1 jenkins jenkins 3959 May 10 04:08 CONTRIBUTING.md 04:10:11 -rw-rw-r-- 1 jenkins jenkins 1549 May 10 04:08 Dockerfile 04:10:11 -rw-rw-r-- 1 jenkins jenkins 652 May 10 04:08 Jenkinsfile 04:10:11 -rw-rw-r-- 1 jenkins jenkins 11357 May 10 04:08 LICENSE 04:10:11 -rw-rw-r-- 1 jenkins jenkins 1212 May 10 04:08 Makefile 04:10:11 -rw-rw-r-- 1 jenkins jenkins 4398 May 10 04:08 README.md 04:10:11 -rw-rw-r-- 1 jenkins jenkins 5 May 10 04:09 VERSION 04:10:11 drwxrwxr-x 3 jenkins jenkins 4096 May 10 04:08 assets 04:10:11 drwxrwxr-x 2 jenkins jenkins 4096 May 10 04:08 bin 04:10:11 drwxrwxr-x 3 jenkins jenkins 4096 May 10 04:08 cmd 04:10:11 -rw-r--r-- 1 jenkins jenkins 10 May 10 04:10 coverage.out 04:10:11 drwxrwxr-x 2 jenkins jenkins 4096 May 10 04:08 docs 04:10:11 -rw-rw-r-- 1 jenkins jenkins 1944 May 10 04:08 go.mod 04:10:11 -rw-rw-r-- 1 jenkins jenkins 48565 May 10 04:08 go.sum 04:10:11 drwxrwxr-x 9 jenkins jenkins 4096 May 10 04:08 internal 04:10:11 drwxrwxr-x 3 jenkins jenkins 4096 May 10 04:08 pkg 04:10:11 drwxrwxr-x 4 jenkins jenkins 4096 May 10 04:08 snap 04:10:11 drwxrwxr-x 4 jenkins jenkins 4096 May 10 04:08 testing 04:10:11 -rw-rw-r-- 1 jenkins jenkins 155 May 10 04:08 version.go 04:10:11 drwxrwxr-x 4 jenkins jenkins 4096 May 10 04:08 web [Pipeline] isUnix [Pipeline] sh 04:10:11 + 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=681bfa3f169a77e5aa45c3d23b03363153c4644f --label arch=amd64 --label version=0.0.0 . 04:10:11 Sending build context to Docker daemon 43.45MB 04:10:11 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 04:10:11 Step 2/23 : FROM ${BASE} AS builder 04:10:11 ---> 38c961b4a461 04:10:11 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 04:10:11 ---> Running in ad6000db673a 04:10:12 Removing intermediate container ad6000db673a 04:10:12 ---> f689e27186e5 04:10:12 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 04:10:12 ---> Running in f2d9e20d8fe3 04:10:12 Removing intermediate container f2d9e20d8fe3 04:10:12 ---> 37d562d8b301 04:10:12 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 04:10:12 ---> Running in 209dc1ff3e91 04:10:12 Removing intermediate container 209dc1ff3e91 04:10:12 ---> 66a8e12fc285 04:10:12 Step 6/23 : LABEL Name=edgex-ui-go 04:10:12 ---> Running in c5ad3652f46f 04:10:12 Removing intermediate container c5ad3652f46f 04:10:12 ---> 0d712a24478a 04:10:12 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 04:10:12 ---> Running in 7f51348f8aa9 04:10:12 Removing intermediate container 7f51348f8aa9 04:10:12 ---> 53202ba9e6e8 04:10:12 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:10:12 ---> Running in ead7410bea07 04:10:13 Removing intermediate container ead7410bea07 04:10:13 ---> db8513322628 04:10:13 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:10:13 ---> Running in 5982fe966160 04:10:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:10:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:10:14 OK: 221 MiB in 52 packages 04:10:15 Removing intermediate container 5982fe966160 04:10:15 ---> c5d5576d7817 04:10:15 Step 10/23 : ENV GO111MODULE=on 04:10:15 ---> Running in 9f92160599b0 04:10:15 Removing intermediate container 9f92160599b0 04:10:15 ---> ca047004b049 04:10:15 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 04:10:15 ---> Running in e6f14db2211e 04:10:15 Removing intermediate container e6f14db2211e 04:10:15 ---> 2d25b64f70a2 04:10:15 Step 12/23 : COPY go.mod vendor* ./ 04:10:15 ---> 96d2ace22bbe 04:10:15 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:10:15 ---> Running in 4780456315be 04:10:16 Removing intermediate container 4780456315be 04:10:16 ---> 95a5ff3b4243 04:10:16 Step 14/23 : COPY . . 04:10:17 ---> 439aba2eeafb 04:10:17 Step 15/23 : RUN ${MAKE} 04:10:17 ---> Running in 8a555ca04b26 04:10:17 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 04:10:22 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:10:24 Removing intermediate container 8a555ca04b26 04:10:24 ---> eaf5242c6517 04:10:24 Step 16/23 : FROM alpine:3.14 04:10:24 3.14: Pulling from library/alpine 04:10:24 8663204ce13b: Pulling fs layer 04:10:24 8663204ce13b: Download complete 04:10:24 8663204ce13b: Pull complete 04:10:25 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:10:25 Status: Downloaded newer image for alpine:3.14 04:10:25 ---> e04c818066af 04:10:25 Step 17/23 : EXPOSE 4000 04:10:25 ---> Running in 6fa59f4f4aba 04:10:25 Removing intermediate container 6fa59f4f4aba 04:10:25 ---> 85006bbac173 04:10:25 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 04:10:25 ---> 5f98dd7a4572 04:10:25 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 04:10:25 ---> Running in f98f18f4f405 04:10:26 Removing intermediate container f98f18f4f405 04:10:26 ---> ce199437dc78 04:10:26 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 04:10:26 ---> Running in a38331c76f57 04:10:26 Removing intermediate container a38331c76f57 04:10:26 ---> e03cdb5767c3 04:10:26 Step 21/23 : LABEL arch=amd64 04:10:26 ---> Running in 58d64b2c4e5f 04:10:26 Removing intermediate container 58d64b2c4e5f 04:10:26 ---> d4c0e8a5436c 04:10:26 Step 22/23 : LABEL git_sha=681bfa3f169a77e5aa45c3d23b03363153c4644f 04:10:26 ---> Running in 544f65c40c63 04:10:26 Removing intermediate container 544f65c40c63 04:10:26 ---> fecec1543ff3 04:10:26 Step 23/23 : LABEL version=0.0.0 04:10:26 ---> Running in 83e291027d30 04:10:26 Removing intermediate container 83e291027d30 04:10:26 ---> 204d278f8435 04:10:26 [Warning] One or more build-args [ARCH] were not consumed 04:10:26 Successfully built 204d278f8435 04:10:26 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 04:10:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:10:27 04:10:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:10:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:10:27 latest: Pulling from edgex-lftools-log-publisher 04:10:27 5eb5b503b376: Pulling fs layer 04:10:27 5c69ac0246d0: Pulling fs layer 04:10:27 ec43610c2a17: Pulling fs layer 04:10:27 3a2ae6a8a46f: Pulling fs layer 04:10:27 33b1e0a273af: Pulling fs layer 04:10:27 5d3b04190fa2: Pulling fs layer 04:10:27 2f39f015ded8: Pulling fs layer 04:10:27 3a2ae6a8a46f: Waiting 04:10:27 33b1e0a273af: Waiting 04:10:27 5d3b04190fa2: Waiting 04:10:27 2f39f015ded8: Waiting 04:10:27 5c69ac0246d0: Download complete 04:10:27 3a2ae6a8a46f: Verifying Checksum 04:10:27 3a2ae6a8a46f: Download complete 04:10:27 33b1e0a273af: Verifying Checksum 04:10:27 33b1e0a273af: Download complete 04:10:27 5d3b04190fa2: Download complete 04:10:27 ec43610c2a17: Verifying Checksum 04:10:27 ec43610c2a17: Download complete 04:10:27 5eb5b503b376: Download complete 04:10:28 2f39f015ded8: Verifying Checksum 04:10:28 2f39f015ded8: Download complete 04:10:29 5eb5b503b376: Pull complete 04:10:29 5c69ac0246d0: Pull complete 04:10:29 ec43610c2a17: Pull complete 04:10:29 3a2ae6a8a46f: Pull complete 04:10:30 33b1e0a273af: Pull complete 04:10:30 5d3b04190fa2: Pull complete 04:10:34 2f39f015ded8: Pull complete 04:10:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:10:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:10:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:10:34 prd-ubuntu20.04-docker-8c-8g-44825 does not seem to be running inside a container 04:10:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:10:35 $ docker top 4f6beb8f97ebd8dffe6ac5b8498a2382c3ca017b42d1d8fd4e2b25ed754055a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:36 ---> job-cost.sh 04:10:36 lf-activate-venv: SKIPPING 04:10:36 INFO: No Stack... 04:10:36 INFO: Retrieving Pricing Info for: v3-standard-8 04:10:37 INFO: Archiving Costs [Pipeline] sh 04:10:37 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-525/archives/cost.csv 04:10:37 + cut -d, -f6 [Pipeline] lock 04:10:37 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-525-1-stack-cost] 04:10:37 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-525-1-stack-cost] did not exist. Created. 04:10:37 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-525-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:10:38 + echo total: 0.2199999988079071 [Pipeline] stash 04:10:38 Stashed 1 file(s) [Pipeline] } 04:10:38 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-525-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:10:38 $ docker stop --time=1 4f6beb8f97ebd8dffe6ac5b8498a2382c3ca017b42d1d8fd4e2b25ed754055a3 04:10:39 $ docker rm -f 4f6beb8f97ebd8dffe6ac5b8498a2382c3ca017b42d1d8fd4e2b25ed754055a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:12:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-44828 in /w/workspace/edgexfoundry_edgex-ui-go_PR-525 [Pipeline] { [Pipeline] ws 04:12:29 Running in /w/workspace/edgex-ui-go/1 [Pipeline] { [Pipeline] checkout 04:12:29 The recommended git tool is: git 04:12:36 using credential edgex-jenkins-ssh 04:12:36 Cloning the remote Git repository 04:12:36 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 04:12:36 > git init /w/workspace/edgex-ui-go/1 # timeout=10 04:12:36 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 04:12:36 > git --version # timeout=10 04:12:36 > git --version # 'git version 2.25.1' 04:12:36 using GIT_SSH to set credentials SSH Credentials for GitHub 04:12:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:12:39 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 04:12:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:12:39 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 04:12:40 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 04:12:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:12:40 > 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 04:12:40 Merging remotes/origin/main commit b1c49f195c002f3e52adda9c102080955489afd9 into PR head commit 681bfa3f169a77e5aa45c3d23b03363153c4644f 04:12:41 Merge succeeded, producing 681bfa3f169a77e5aa45c3d23b03363153c4644f 04:12:41 Checking out Revision 681bfa3f169a77e5aa45c3d23b03363153c4644f (PR-525) 04:12:40 > git config core.sparsecheckout # timeout=10 04:12:40 > git checkout -f 681bfa3f169a77e5aa45c3d23b03363153c4644f # timeout=10 04:12:41 > git remote # timeout=10 04:12:41 > git config --get remote.origin.url # timeout=10 04:12:41 using GIT_SSH to set credentials SSH Credentials for GitHub 04:12:41 > git merge b1c49f195c002f3e52adda9c102080955489afd9 # timeout=10 04:12:41 > git rev-parse HEAD^{commit} # timeout=10 04:12:41 > git config core.sparsecheckout # timeout=10 04:12:41 > git checkout -f 681bfa3f169a77e5aa45c3d23b03363153c4644f # timeout=10 04:12:45 Commit message: "chore(deps): Bump github.com/edgexfoundry/go-mod-registry/v2" 04:12:45 > git --version # timeout=10 04:12:45 > git --version # 'git version 2.25.1' 04:12:45 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:12:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:12:46 % Total % Received % Xferd Average Speed Time Time Time Current 04:12:46 Dload Upload Total Spent Left Speed 04:12:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 04:12:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:12:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:12:47 + sudo tee /etc/docker/daemon.new 04:12:47 { 04:12:47 "registry-mirrors": [ 04:12:47 "https://nexus3.edgexfoundry.org:10001" 04:12:47 ], 04:12:47 "bip": "10.250.0.254/24", 04:12:47 "hosts": [ 04:12:47 "tcp://0.0.0.0:5555", 04:12:47 "unix:///var/run/docker.sock" 04:12:47 ], 04:12:47 "mtu": 1458, 04:12:47 "selinux-enabled": true, 04:12:47 "seccomp-profile": "/etc/docker/seccomp.json" 04:12:47 } [Pipeline] sh 04:12:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:12:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:13:13 provisioning config files... 04:13:13 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/1@tmp/config6649803273532702907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:13:14 ---> docker-login.sh 04:13:14 nexus3.edgexfoundry.org:10001 04:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:15 Configure a credential helper to remove this warning. See 04:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:15 04:13:15 Login Succeeded 04:13:15 nexus3.edgexfoundry.org:10002 04:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:15 Configure a credential helper to remove this warning. See 04:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:15 04:13:15 Login Succeeded 04:13:15 nexus3.edgexfoundry.org:10003 04:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:16 Configure a credential helper to remove this warning. See 04:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:16 04:13:16 Login Succeeded 04:13:16 nexus3.edgexfoundry.org:10004 04:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:16 Configure a credential helper to remove this warning. See 04:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:16 04:13:16 Login Succeeded 04:13:16 docker.io 04:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:17 Configure a credential helper to remove this warning. See 04:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:17 04:13:17 Login Succeeded 04:13:17 ---> docker-login.sh ends [Pipeline] } 04:13:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:13:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:13:17 ========================================================= 04:13:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:13:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:13:18 + 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 . 04:13:19 Sending build context to Docker daemon 27.3MB 04:13:19 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 04:13:19 Step 2/15 : FROM ${BASE} AS builder 04:13:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:13:19 9b3977197b4f: Pulling fs layer 04:13:19 1a89e8eeedd5: Pulling fs layer 04:13:19 94645a83ff95: Pulling fs layer 04:13:19 3f3a8bcf1eab: Pulling fs layer 04:13:19 0c92f367c5e7: Pulling fs layer 04:13:19 3096ccb668a1: Pulling fs layer 04:13:19 e8cf19c19ddd: Pulling fs layer 04:13:19 a4caa8a26152: Pulling fs layer 04:13:19 3096ccb668a1: Waiting 04:13:19 a4caa8a26152: Waiting 04:13:19 e8cf19c19ddd: Waiting 04:13:19 3f3a8bcf1eab: Waiting 04:13:19 0c92f367c5e7: Waiting 04:13:19 94645a83ff95: Verifying Checksum 04:13:19 94645a83ff95: Download complete 04:13:19 1a89e8eeedd5: Verifying Checksum 04:13:19 1a89e8eeedd5: Download complete 04:13:19 0c92f367c5e7: Verifying Checksum 04:13:19 0c92f367c5e7: Download complete 04:13:19 3096ccb668a1: Verifying Checksum 04:13:19 3096ccb668a1: Download complete 04:13:19 9b3977197b4f: Download complete 04:13:19 e8cf19c19ddd: Verifying Checksum 04:13:19 e8cf19c19ddd: Download complete 04:13:20 9b3977197b4f: Pull complete 04:13:21 1a89e8eeedd5: Pull complete 04:13:21 94645a83ff95: Pull complete 04:13:21 a4caa8a26152: Verifying Checksum 04:13:21 a4caa8a26152: Download complete 04:13:22 3f3a8bcf1eab: Verifying Checksum 04:13:22 3f3a8bcf1eab: Download complete 04:13:34 3f3a8bcf1eab: Pull complete 04:13:34 0c92f367c5e7: Pull complete 04:13:34 3096ccb668a1: Pull complete 04:13:34 e8cf19c19ddd: Pull complete 04:13:41 a4caa8a26152: Pull complete 04:13:41 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 04:13:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:13:41 ---> 725f1c02e7f9 04:13:41 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 04:13:43 ---> Running in def0dc9f17bd 04:13:43 Removing intermediate container def0dc9f17bd 04:13:43 ---> 25eb10b2b8fb 04:13:43 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 04:13:43 ---> Running in 62f5756943bd 04:13:43 Removing intermediate container 62f5756943bd 04:13:43 ---> ab1de6891240 04:13:43 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 04:13:44 ---> Running in 244026ac7214 04:13:44 Removing intermediate container 244026ac7214 04:13:44 ---> 273cf4fec59c 04:13:44 Step 6/15 : LABEL Name=edgex-ui-go 04:13:44 ---> Running in 26d1812550b1 04:13:44 Removing intermediate container 26d1812550b1 04:13:44 ---> 93ffdb21b7f2 04:13:44 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 04:13:44 ---> Running in 09c4c8b382ed 04:13:45 Removing intermediate container 09c4c8b382ed 04:13:45 ---> abb4dad16789 04:13:45 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:13:45 ---> Running in fe2473f76898 04:13:47 Removing intermediate container fe2473f76898 04:13:47 ---> cdef7c59e1fa 04:13:47 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:13:47 ---> Running in 78be6078b51e 04:13:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:13:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:13:49 OK: 220 MiB in 52 packages 04:13:50 Removing intermediate container 78be6078b51e 04:13:50 ---> eb57682b9e16 04:13:50 Step 10/15 : ENV GO111MODULE=on 04:13:50 ---> Running in bd7a6d36c755 04:13:51 Removing intermediate container bd7a6d36c755 04:13:51 ---> eafdd56e4fe4 04:13:51 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 04:13:51 ---> Running in 9660af67830c 04:13:51 Removing intermediate container 9660af67830c 04:13:51 ---> 14b2227df656 04:13:51 Step 12/15 : COPY go.mod vendor* ./ 04:13:52 ---> c387c673b827 04:13:52 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:13:52 ---> Running in 3676777123f8 04:15:14 Removing intermediate container 3676777123f8 04:15:14 ---> c66f064959ce 04:15:14 Step 14/15 : COPY . . 04:15:14 ---> 4e2f867e0e94 04:15:14 Step 15/15 : RUN ${MAKE} 04:15:14 ---> Running in 9e73b3c5153d 04:15:14 noop 04:15:14 Removing intermediate container 9e73b3c5153d 04:15:14 ---> 3232a4499a95 04:15:14 Successfully built 3232a4499a95 04:15:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:15:14 + docker inspect -f . ci-base-image-arm64 04:15:14 . [Pipeline] withDockerContainer 04:15:14 prd-ubuntu20.04-docker-arm64-4c-16g-44828 does not seem to be running inside a container 04:15:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@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 ******** ci-base-image-arm64 cat 04:15:16 $ docker top 19ed542f59a8809f5e8549cef5cecc54c0323362687e745096aa894fea4defd5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:15:17 + go version 04:15:17 go version go1.17.6 linux/arm64 [Pipeline] } 04:15:17 $ docker stop --time=1 19ed542f59a8809f5e8549cef5cecc54c0323362687e745096aa894fea4defd5 04:15:18 $ docker rm -f 19ed542f59a8809f5e8549cef5cecc54c0323362687e745096aa894fea4defd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:15:19 + docker inspect -f . ci-base-image-arm64 04:15:19 . [Pipeline] withDockerContainer 04:15:20 prd-ubuntu20.04-docker-arm64-4c-16g-44828 does not seem to be running inside a container 04:15:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@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 ******** ci-base-image-arm64 cat 04:15:21 $ docker top 78d67d7bbc3b6040733f1312fbfa020d6c0a4c482e861c33818f6f7905b4d55b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:15:22 + make test 04:15:22 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:15:23 ? github.com/edgexfoundry/edgex-ui-go [no test files] 04:16:11 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 04:16:11 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 04:16:11 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 04:16:11 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 04:16:11 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 04:16:11 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 04:16:11 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 04:16:11 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 04:16:11 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 04:16:11 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 04:16:11 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 04:16:11 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 04:16:11 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:16:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:16:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:16:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:16:21 $ docker stop --time=1 78d67d7bbc3b6040733f1312fbfa020d6c0a4c482e861c33818f6f7905b4d55b 04:16:23 $ docker rm -f 78d67d7bbc3b6040733f1312fbfa020d6c0a4c482e861c33818f6f7905b4d55b [Pipeline] // withDockerContainer [Pipeline] sh 04:16:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:16:24 Warning: overwriting stash ‘coverage-report’ 04:16:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:16:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:16:25 + ls -al . 04:16:25 total 176 04:16:25 drwxrwxr-x 13 jenkins jenkins 4096 May 10 04:15 . 04:16:25 drwxrwxr-x 4 jenkins jenkins 4096 May 10 04:12 .. 04:16:25 drwxrwxr-x 8 jenkins jenkins 4096 May 10 04:12 .git 04:16:25 drwxrwxr-x 3 jenkins jenkins 4096 May 10 04:12 .github 04:16:25 -rw-rw-r-- 1 jenkins jenkins 155 May 10 04:12 .gitignore 04:16:25 -rw-rw-r-- 1 jenkins jenkins 2022 May 10 04:12 Attribution.txt 04:16:25 -rw-rw-r-- 1 jenkins jenkins 14570 May 10 04:12 CHANGELOG.md 04:16:25 -rw-rw-r-- 1 jenkins jenkins 3959 May 10 04:12 CONTRIBUTING.md 04:16:25 -rw-rw-r-- 1 jenkins jenkins 1549 May 10 04:12 Dockerfile 04:16:25 -rw-rw-r-- 1 jenkins jenkins 652 May 10 04:12 Jenkinsfile 04:16:25 -rw-rw-r-- 1 jenkins jenkins 11357 May 10 04:12 LICENSE 04:16:25 -rw-rw-r-- 1 jenkins jenkins 1212 May 10 04:12 Makefile 04:16:25 -rw-rw-r-- 1 jenkins jenkins 4398 May 10 04:12 README.md 04:16:25 -rw-rw-r-- 1 jenkins jenkins 5 May 10 04:09 VERSION 04:16:25 drwxrwxr-x 3 jenkins jenkins 4096 May 10 04:12 assets 04:16:25 drwxrwxr-x 2 jenkins jenkins 4096 May 10 04:12 bin 04:16:25 drwxrwxr-x 3 jenkins jenkins 4096 May 10 04:12 cmd 04:16:25 -rw-r--r-- 1 jenkins jenkins 10 May 10 04:15 coverage.out 04:16:25 drwxrwxr-x 2 jenkins jenkins 4096 May 10 04:12 docs 04:16:25 -rw-rw-r-- 1 jenkins jenkins 1944 May 10 04:12 go.mod 04:16:25 -rw-rw-r-- 1 jenkins jenkins 48565 May 10 04:12 go.sum 04:16:25 drwxrwxr-x 9 jenkins jenkins 4096 May 10 04:12 internal 04:16:25 drwxrwxr-x 3 jenkins jenkins 4096 May 10 04:12 pkg 04:16:25 drwxrwxr-x 4 jenkins jenkins 4096 May 10 04:12 snap 04:16:25 drwxrwxr-x 4 jenkins jenkins 4096 May 10 04:12 testing 04:16:25 -rw-rw-r-- 1 jenkins jenkins 155 May 10 04:12 version.go 04:16:25 drwxrwxr-x 4 jenkins jenkins 4096 May 10 04:12 web [Pipeline] isUnix [Pipeline] sh 04:16:25 + 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=681bfa3f169a77e5aa45c3d23b03363153c4644f --label arch=arm64 --label version=0.0.0 . 04:16:26 Sending build context to Docker daemon 27.3MB 04:16:26 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 04:16:26 Step 2/23 : FROM ${BASE} AS builder 04:16:26 ---> 3232a4499a95 04:16:26 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 04:16:27 ---> Running in 70edad73854c 04:16:27 Removing intermediate container 70edad73854c 04:16:27 ---> 7d2c2af27568 04:16:27 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 04:16:27 ---> Running in bdfff79d47ff 04:16:27 Removing intermediate container bdfff79d47ff 04:16:27 ---> b95b66d36135 04:16:27 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 04:16:27 ---> Running in 0009c072b5a5 04:16:28 Removing intermediate container 0009c072b5a5 04:16:28 ---> c48f3afc0fe0 04:16:28 Step 6/23 : LABEL Name=edgex-ui-go 04:16:28 ---> Running in 4ccbf982e91c 04:16:28 Removing intermediate container 4ccbf982e91c 04:16:28 ---> 417e58385ac9 04:16:28 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 04:16:28 ---> Running in b6bad6f7af5b 04:16:29 Removing intermediate container b6bad6f7af5b 04:16:29 ---> 1b67431e08c6 04:16:29 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:16:29 ---> Running in 12110d8eb191 04:16:30 Removing intermediate container 12110d8eb191 04:16:30 ---> f7d99eb86342 04:16:30 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:16:30 ---> Running in e6371f48a47f 04:16:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:16:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:16:33 OK: 220 MiB in 52 packages 04:16:34 Removing intermediate container e6371f48a47f 04:16:34 ---> c411a19bedf1 04:16:34 Step 10/23 : ENV GO111MODULE=on 04:16:34 ---> Running in f678500bb991 04:16:34 Removing intermediate container f678500bb991 04:16:34 ---> ea7bc85256ec 04:16:34 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 04:16:34 ---> Running in 02b7dd83d8f0 04:16:34 Removing intermediate container 02b7dd83d8f0 04:16:34 ---> 4a6fdc5576b3 04:16:34 Step 12/23 : COPY go.mod vendor* ./ 04:16:35 ---> 22a9eddb204b 04:16:35 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:16:35 ---> Running in 61100d498795 04:16:37 Removing intermediate container 61100d498795 04:16:37 ---> 5e64e0cd0d86 04:16:37 Step 14/23 : COPY . . 04:16:40 ---> 6d792addee93 04:16:40 Step 15/23 : RUN ${MAKE} 04:16:40 ---> Running in eabb65504f80 04:16:42 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 04:17:14 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:17:17 Removing intermediate container eabb65504f80 04:17:17 ---> 2206584a98eb 04:17:17 Step 16/23 : FROM alpine:3.14 04:17:18 3.14: Pulling from library/alpine 04:17:18 455c02918c45: Pulling fs layer 04:17:18 455c02918c45: Verifying Checksum 04:17:18 455c02918c45: Download complete 04:17:18 455c02918c45: Pull complete 04:17:18 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:17:18 Status: Downloaded newer image for alpine:3.14 04:17:18 ---> ac73e934f311 04:17:18 Step 17/23 : EXPOSE 4000 04:17:18 ---> Running in 72cc1a6f8804 04:17:19 Removing intermediate container 72cc1a6f8804 04:17:19 ---> 90e38aad10b2 04:17:19 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 04:17:20 ---> 174efbec176e 04:17:20 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 04:17:20 ---> Running in 7df9d85f26f4 04:17:20 Removing intermediate container 7df9d85f26f4 04:17:20 ---> 179bb1511ed7 04:17:20 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 04:17:20 ---> Running in 7f3791f67c68 04:17:21 Removing intermediate container 7f3791f67c68 04:17:21 ---> 1ab9297b7d48 04:17:21 Step 21/23 : LABEL arch=arm64 04:17:21 ---> Running in d7e82328d63a 04:17:21 Removing intermediate container d7e82328d63a 04:17:21 ---> c22b8d05e02f 04:17:21 Step 22/23 : LABEL git_sha=681bfa3f169a77e5aa45c3d23b03363153c4644f 04:17:21 ---> Running in 5b4309244ce9 04:17:22 Removing intermediate container 5b4309244ce9 04:17:22 ---> da90bec60956 04:17:22 Step 23/23 : LABEL version=0.0.0 04:17:22 ---> Running in bd378760788e 04:17:22 Removing intermediate container bd378760788e 04:17:22 ---> 24587e4290d1 04:17:22 [Warning] One or more build-args [ARCH] were not consumed 04:17:22 Successfully built 24587e4290d1 04:17:22 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 04:17:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:23 04:17:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:17:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:24 arm64: Pulling from edgex-lftools-log-publisher 04:17:24 8998bd30e6a1: Pulling fs layer 04:17:24 04944245beec: Pulling fs layer 04:17:24 699f458cf7ca: Pulling fs layer 04:17:24 765212b225bb: Pulling fs layer 04:17:24 f23df028b6ca: Pulling fs layer 04:17:24 d65c8cfc05b1: Pulling fs layer 04:17:24 2437ff75d9bd: Pulling fs layer 04:17:24 765212b225bb: Waiting 04:17:24 f23df028b6ca: Waiting 04:17:24 d65c8cfc05b1: Waiting 04:17:24 2437ff75d9bd: Waiting 04:17:24 04944245beec: Verifying Checksum 04:17:24 04944245beec: Download complete 04:17:24 765212b225bb: Download complete 04:17:24 f23df028b6ca: Download complete 04:17:24 d65c8cfc05b1: Verifying Checksum 04:17:24 d65c8cfc05b1: Download complete 04:17:24 699f458cf7ca: Verifying Checksum 04:17:24 699f458cf7ca: Download complete 04:17:24 8998bd30e6a1: Download complete 04:17:27 2437ff75d9bd: Verifying Checksum 04:17:27 2437ff75d9bd: Download complete 04:17:28 8998bd30e6a1: Pull complete 04:17:29 04944245beec: Pull complete 04:17:30 699f458cf7ca: Pull complete 04:17:31 765212b225bb: Pull complete 04:17:31 f23df028b6ca: Pull complete 04:17:32 d65c8cfc05b1: Pull complete 04:17:47 2437ff75d9bd: Pull complete 04:17:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:17:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:17:47 prd-ubuntu20.04-docker-arm64-4c-16g-44828 does not seem to be running inside a container 04:17:47 $ 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/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:17:50 $ docker top 34e3e053f82b1bd227aaaef592b450697afd06d26a7af2c67cdaf61815d3fe33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:51 ---> job-cost.sh 04:17:51 lf-activate-venv: SKIPPING 04:17:51 INFO: No Stack... 04:17:51 INFO: Retrieving Pricing Info for: v3-standard-4 04:17:52 INFO: Archiving Costs [Pipeline] sh 04:17:52 + cat /w/workspace/edgex-ui-go/1/archives/cost.csv 04:17:52 + cut -d, -f6 [Pipeline] lock 04:17:53 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-525-1-stack-cost] 04:17:53 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-525-1-stack-cost] did not exist. Created. 04:17:53 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-525-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:17:53 /w/workspace/edgex-ui-go/1@tmp/durable-a268f6a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:17:54 + echo total: 0.10999999940395355 [Pipeline] stash 04:17:54 Warning: overwriting stash ‘stack-cost’ 04:17:54 Stashed 1 file(s) [Pipeline] } 04:17:54 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-525-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:17:54 $ docker stop --time=1 34e3e053f82b1bd227aaaef592b450697afd06d26a7af2c67cdaf61815d3fe33 04:17:56 $ docker rm -f 34e3e053f82b1bd227aaaef592b450697afd06d26a7af2c67cdaf61815d3fe33 [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 04:17:57 provisioning config files... 04:17:57 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/config5162988531309376012tmp [Pipeline] { [Pipeline] sh 04:17:57 + set +x 04:17:57 + curl -s https://codecov.io/bash 04:17:57 + bash -s -- 04:17:57 04:17:57 _____ _ 04:17:57 / ____| | | 04:17:57 | | ___ __| | ___ ___ _____ __ 04:17:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:17:57 | |___| (_) | (_| | __/ (_| (_) \ V / 04:17:57 \_____\___/ \__,_|\___|\___\___/ \_/ 04:17:57 Bash-1.0.6 04:17:57 04:17:57 04:17:57 ==> git version 2.25.1 found 04:17:57 ==> 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 04:17:57 Release-Date: 2020-01-08 04:17:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:17:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:17:57 ==> Jenkins CI detected. 04:17:57 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-525 04:17:57 project root: . 04:17:57 --> token set from env 04:17:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:17:57 ==> Running gcov in . (disable via -X gcov) 04:17:57 ==> Python coveragepy not found 04:17:57 ==> Searching for coverage reports in: 04:17:57 + . 04:17:57 -> Found 1 reports 04:17:57 ==> Detecting git/mercurial file structure 04:17:57 ==> Reading reports 04:17:57 + ./coverage.out bytes=10 04:17:57 ==> Appending adjustments 04:17:57 https://docs.codecov.io/docs/fixing-reports 04:17:57 + Found adjustments 04:17:57 ==> Gzipping contents 04:17:57 8.0K /tmp/codecov.9VIU9j.gz 04:17:57 ==> Uploading reports 04:17:57 url: https://codecov.io 04:17:57 query: branch=PR-525&commit=681bfa3f169a77e5aa45c3d23b03363153c4644f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-525%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=525&job=&cmd_args= 04:17:57 -> Pinging Codecov 04:17:57 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=681bfa3f169a77e5aa45c3d23b03363153c4644f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-525%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=525&job=&cmd_args= 04:17:58 -> Uploading to 04:17:58 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/FB506323287CE973F263BFD2A0EB1F37/681bfa3f169a77e5aa45c3d23b03363153c4644f/245d1430-6726-45ba-b378-8df2a0d271d4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T041757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3410dbf05d0156e81b271367c2b9a0270d01ddce904b5af947d9d83190c76064 04:17:58 % Total % Received % Xferd Average Speed Time Time Time Current 04:17:58 Dload Upload Total Spent Left Speed 04:17:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4378 0 0 100 4378 0 16773 --:--:-- --:--:-- --:--:-- 16773 04:17:58 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/681bfa3f169a77e5aa45c3d23b03363153c4644f [Pipeline] } 04:17:58 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 04:18:00 + [ -d /w/workspace/edgexfoundry_edgex-ui-go_PR-525/archives ] 04:18:00 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-525/archives 04:18:00 total 16 04:18:00 drwxr-xr-x 3 root root 4096 May 10 04:10 . 04:18:00 drwxrwxr-x 15 jenkins jenkins 4096 May 10 04:10 .. 04:18:00 drwxr-xr-x 2 root root 4096 May 10 04:10 cost 04:18:00 -rw-r--r-- 1 root root 82 May 10 04:10 cost.csv 04:18:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-525/archives 04:18:00 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-525/archives 04:18:00 total 16 04:18:00 drwxr-xr-x 3 jenkins jenkins 4096 May 10 04:10 . 04:18:00 drwxrwxr-x 15 jenkins jenkins 4096 May 10 04:10 .. 04:18:00 drwxr-xr-x 2 jenkins jenkins 4096 May 10 04:10 cost 04:18:00 -rw-r--r-- 1 jenkins jenkins 82 May 10 04:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:18:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:18:01 ---> package-listing.sh 04:18:01 ++ facter osfamily 04:18:01 ++ tr '[:upper:]' '[:lower:]' 04:18:01 + OS_FAMILY=debian 04:18:01 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-525 04:18:01 + START_PACKAGES=/tmp/packages_start.txt 04:18:01 + END_PACKAGES=/tmp/packages_end.txt 04:18:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:18:01 + PACKAGES=/tmp/packages_start.txt 04:18:01 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-525 ']' 04:18:01 + PACKAGES=/tmp/packages_end.txt 04:18:01 + case "${OS_FAMILY}" in 04:18:01 + dpkg -l 04:18:01 + grep '^ii' 04:18:01 + '[' -f /tmp/packages_start.txt ']' 04:18:01 + '[' -f /tmp/packages_end.txt ']' 04:18:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:18:01 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-525 ']' 04:18:01 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-525/archives/ 04:18:01 + 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 04:18:01 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 04:18:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:18:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:02 . [Pipeline] withDockerContainer 04:18:02 prd-ubuntu20.04-docker-8c-8g-44825 does not seem to be running inside a container 04:18:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:18:02 $ docker top c0e57d3c8433e1b1fbce339cae7f1ddc4cdc08f84d17d15c3c863cce0815c8a6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:18:03 + touch /tmp/pre-build-complete [Pipeline] sh 04:18:03 + mkdir -p /var/log/sysstat [Pipeline] sh 04:18:03 + ls /var/log/sa-host 04:18:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:04 provisioning config files... 04:18:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-525@tmp/config386516192571882868tmp [Pipeline] { [Pipeline] echo 04:18:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:18:04 ---> create-netrc.sh [Pipeline] } 04:18:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:18:04 ---> python-tools-install.sh [Pipeline] echo 04:18:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:18:05 ---> sudo-logs.sh 04:18:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:18:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:18:05 ---> job-cost.sh 04:18:05 lf-activate-venv: SKIPPING 04:18:05 DEBUG: total: 0.2199999988079071 04:18:05 INFO: Retrieving Stack Cost... 04:18:05 INFO: Retrieving Pricing Info for: v3-standard-8 04:18:06 INFO: Archiving Costs [Pipeline] echo 04:18:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:18:06 ---> logs-deploy.sh 04:18:06 lf-activate-venv: SKIPPING 04:18:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-525/1 04:18:06 INFO: archiving workspace using pattern(s): 04:18:07 Archives upload complete. 04:18:07 INFO: archiving logs to Nexus