Pull request #506 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of badboy-huaqiao for edgexfoundry/edgex-ui-go Obtained Jenkinsfile from 19881818842a6673a7985b193c0b87a70229625c+26b26d55d40a99fe9ff9e4cc5ede3c8b1c832f29 (6b19bb30b9afc0b13f62072693bdff6c4a21c6db) 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-ssh11938867168800040138.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh7118749553417964607.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-506/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-506/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12780394485332577101.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-506/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10985295062678348162.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh14842085617574422261.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-506/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-506/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6857499032864772748.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 c72b16708d6eed9a08be464a432ce22db7d90667 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-8983 in /w/workspace/edgexfoundry_edgex-ui-go_PR-506 [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-506 # 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/506/head:refs/remotes/origin/PR-506 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 26b26d55d40a99fe9ff9e4cc5ede3c8b1c832f29 into PR head commit 19881818842a6673a7985b193c0b87a70229625c Merge succeeded, producing 19881818842a6673a7985b193c0b87a70229625c Checking out Revision 19881818842a6673a7985b193c0b87a70229625c (PR-506) > git config core.sparsecheckout # timeout=10 > git checkout -f 19881818842a6673a7985b193c0b87a70229625c # 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 26b26d55d40a99fe9ff9e4cc5ede3c8b1c832f29 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 19881818842a6673a7985b193c0b87a70229625c # timeout=10 Commit message: "fix: bug result in failing to add or update one stuff and remove dead code" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:54:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:54:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:54:20 ========================================================= 04:54:20 EdgeX Global Pipelines Version Info 04:54:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:54:21 ------------------- 04:54:21 stable info: 04:54:21 ------------------- 04:54:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:54:21 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 04:54:21 Message: update stable to v1.0.221 04:54:21 ------------------- 04:54:21 experimental info: 04:54:21 ------------------- 04:54:21 Commited By: **** collab-it+edgex@linuxfoundation.org 04:54:21 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 04:54:21 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:54:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:54:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-506 [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-506 [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-506 [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 19881818842a6673a7985b193c0b87a70229625c [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1988181 [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:54:23 provisioning config files... 04:54:23 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp/config964045597197340475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:23 ---> docker-login.sh 04:54:23 nexus3.edgexfoundry.org:10001 04:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:24 Configure a credential helper to remove this warning. See 04:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:24 04:54:24 Login Succeeded 04:54:24 nexus3.edgexfoundry.org:10002 04:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:24 Configure a credential helper to remove this warning. See 04:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:24 04:54:24 Login Succeeded 04:54:24 nexus3.edgexfoundry.org:10003 04:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:24 Configure a credential helper to remove this warning. See 04:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:24 04:54:24 Login Succeeded 04:54:24 nexus3.edgexfoundry.org:10004 04:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:24 Configure a credential helper to remove this warning. See 04:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:24 04:54:24 Login Succeeded 04:54:24 docker.io 04:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:24 Configure a credential helper to remove this warning. See 04:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:24 04:54:24 Login Succeeded 04:54:24 ---> docker-login.sh ends [Pipeline] } 04:54:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:54:25 + git rev-list -1 --merges 19881818842a6673a7985b193c0b87a70229625c~1..19881818842a6673a7985b193c0b87a70229625c [Pipeline] echo 04:54:25 -----------> git rev-list -1 --merges 19881818842a6673a7985b193c0b87a70229625c~1..19881818842a6673a7985b193c0b87a70229625c 19881818842a6673a7985b193c0b87a70229625c [false] [Pipeline] sh 04:54:26 + git log --format=format:%s -1 19881818842a6673a7985b193c0b87a70229625c [Pipeline] echo 04:54:26 ========================================================= 04:54:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:54:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:26 + git log --format=format:%s -1 19881818842a6673a7985b193c0b87a70229625c [Pipeline] echo 04:54:26 [semverPrep] GIT_COMMIT: 19881818842a6673a7985b193c0b87a70229625c, Commit Message: fix: bug result in failing to add or update one stuff and remove dead code [Pipeline] echo 04:54:26 [semverPrep] This is not a build commit. [Pipeline] sh 04:54:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:54:27 + grep -v github /etc/ssh/ssh_known_hosts 04:54:27 + [ -e /tmp/ssh_known_hosts ] 04:54:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:54:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:54:27 + sudo tee -a /etc/ssh/ssh_known_hosts 04:54:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:54:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:54:27 04:54:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:54:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:54:27 latest: Pulling from edgex-devops/git-semver 04:54:27 a0d0a0d46f8b: Pulling fs layer 04:54:27 3e5f54012d9b: Pulling fs layer 04:54:27 4c7163046ea9: Pulling fs layer 04:54:27 0c2d73faf560: Pulling fs layer 04:54:27 0c2d73faf560: Waiting 04:54:27 3e5f54012d9b: Download complete 04:54:27 a0d0a0d46f8b: Download complete 04:54:27 0c2d73faf560: Verifying Checksum 04:54:27 0c2d73faf560: Download complete 04:54:27 4c7163046ea9: Verifying Checksum 04:54:27 4c7163046ea9: Download complete 04:54:28 a0d0a0d46f8b: Pull complete 04:54:28 3e5f54012d9b: Pull complete 04:54:28 4c7163046ea9: Pull complete 04:54:28 0c2d73faf560: Pull complete 04:54:28 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:54:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:54:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:54:28 prd-ubuntu20.04-docker-8c-8g-8983 does not seem to be running inside a container 04:54:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-506 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-506:/w/workspace/edgexfoundry_edgex-ui-go_PR-506:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-506@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:10004/edgex-devops/git-semver:latest cat 04:54:29 $ docker top 45d189bf1c0a2d0bb1869aacabcfd3cb5dd75da8a4827c06365e11922a4ede82 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:54:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:54:29 [ssh-agent] Looking for ssh-agent implementation... 04:54:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:54:29 $ docker exec 45d189bf1c0a2d0bb1869aacabcfd3cb5dd75da8a4827c06365e11922a4ede82 ssh-agent 04:54:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmEepMJ/agent.14 04:54:30 SSH_AGENT_PID=20 04:54:30 Running ssh-add (command line suppressed) 04:54:30 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp/private_key_7392230130957775561.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp/private_key_7392230130957775561.key) 04:54:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:54:30 + git tag --points-at HEAD [Pipeline] } 04:54:30 $ docker exec --env ******** --env ******** 45d189bf1c0a2d0bb1869aacabcfd3cb5dd75da8a4827c06365e11922a4ede82 ssh-agent -k 04:54:30 unset SSH_AUTH_SOCK; 04:54:30 unset SSH_AGENT_PID; 04:54:30 echo Agent pid 20 killed; 04:54:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:54:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:54:30 [ssh-agent] Looking for ssh-agent implementation... 04:54:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:54:30 $ docker exec 45d189bf1c0a2d0bb1869aacabcfd3cb5dd75da8a4827c06365e11922a4ede82 ssh-agent 04:54:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNFnKoo/agent.52 04:54:31 SSH_AGENT_PID=58 04:54:31 Running ssh-add (command line suppressed) 04:54:31 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp/private_key_3312221304246060252.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp/private_key_3312221304246060252.key) 04:54:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:54:31 + git semver init 04:54:31 # -> Open(): unable to determine branch for HEAD 04:54:31 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-506/.git 04:54:31 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-506 04:54:31 # $SEMVER_REMOTE_NAME = origin 04:54:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:54:31 # $SEMVER_USER_NAME = edgex-jenkins 04:54:31 # $SEMVER_BRANCH = PR-506 04:54:31 # $SEMVER_TEMP = /tmp/semver-033255532 04:54:31 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 04:54:34 # '/tmp/semver-033255532' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-506/.semver' 04:54:34 # -> Force: false 04:54:34 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-506/.semver [Pipeline] } 04:54:34 $ docker exec --env ******** --env ******** 45d189bf1c0a2d0bb1869aacabcfd3cb5dd75da8a4827c06365e11922a4ede82 ssh-agent -k 04:54:34 unset SSH_AUTH_SOCK; 04:54:34 unset SSH_AGENT_PID; 04:54:34 echo Agent pid 58 killed; 04:54:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:54:34 + git semver [Pipeline] } 04:54:34 $ docker stop --time=1 45d189bf1c0a2d0bb1869aacabcfd3cb5dd75da8a4827c06365e11922a4ede82 04:54:36 $ docker rm -f 45d189bf1c0a2d0bb1869aacabcfd3cb5dd75da8a4827c06365e11922a4ede82 [Pipeline] // withDockerContainer [Pipeline] sh 04:54:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:54:36 Stashed 1 file(s) [Pipeline] echo 04:54:36 [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:54:37 provisioning config files... 04:54:37 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp/config2602253935916336606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:37 ---> docker-login.sh 04:54:37 nexus3.edgexfoundry.org:10001 04:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:37 Configure a credential helper to remove this warning. See 04:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:37 04:54:37 Login Succeeded 04:54:37 nexus3.edgexfoundry.org:10002 04:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:38 Configure a credential helper to remove this warning. See 04:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:38 04:54:38 Login Succeeded 04:54:38 nexus3.edgexfoundry.org:10003 04:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:38 Configure a credential helper to remove this warning. See 04:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:38 04:54:38 Login Succeeded 04:54:38 nexus3.edgexfoundry.org:10004 04:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:38 Configure a credential helper to remove this warning. See 04:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:38 04:54:38 Login Succeeded 04:54:38 docker.io 04:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:38 Configure a credential helper to remove this warning. See 04:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:38 04:54:38 Login Succeeded 04:54:38 ---> docker-login.sh ends [Pipeline] } 04:54:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:54:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:54:38 ========================================================= 04:54:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:54:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:54:39 + 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:54:39 Sending build context to Docker daemon 43.5MB 04:54:39 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 04:54:39 Step 2/15 : FROM ${BASE} AS builder 04:54:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:54:39 59bf1c3509f3: Pulling fs layer 04:54:39 666ba61612fd: Pulling fs layer 04:54:39 8ed8ca486205: Pulling fs layer 04:54:39 4fe6c5a15a65: Pulling fs layer 04:54:39 22a0e8bec74d: Pulling fs layer 04:54:39 640e595b4fbd: Pulling fs layer 04:54:39 763cafe07f6e: Pulling fs layer 04:54:39 0c0b528cf693: Pulling fs layer 04:54:39 10935f4eaf8b: Pulling fs layer 04:54:39 4fe6c5a15a65: Waiting 04:54:39 0c0b528cf693: Waiting 04:54:39 22a0e8bec74d: Waiting 04:54:39 640e595b4fbd: Waiting 04:54:39 763cafe07f6e: Waiting 04:54:39 8ed8ca486205: Download complete 04:54:39 666ba61612fd: Download complete 04:54:39 22a0e8bec74d: Verifying Checksum 04:54:39 22a0e8bec74d: Download complete 04:54:39 640e595b4fbd: Download complete 04:54:39 59bf1c3509f3: Verifying Checksum 04:54:39 59bf1c3509f3: Download complete 04:54:39 763cafe07f6e: Verifying Checksum 04:54:39 763cafe07f6e: Download complete 04:54:39 0c0b528cf693: Verifying Checksum 04:54:39 0c0b528cf693: Download complete 04:54:39 59bf1c3509f3: Pull complete 04:54:39 666ba61612fd: Pull complete 04:54:39 8ed8ca486205: Pull complete 04:54:40 10935f4eaf8b: Verifying Checksum 04:54:40 10935f4eaf8b: Download complete 04:54:40 4fe6c5a15a65: Verifying Checksum 04:54:40 4fe6c5a15a65: Download complete 04:54:44 4fe6c5a15a65: Pull complete 04:54:44 22a0e8bec74d: Pull complete 04:54:44 640e595b4fbd: Pull complete 04:54:44 763cafe07f6e: Pull complete 04:54:44 0c0b528cf693: Pull complete 04:54:47 10935f4eaf8b: Pull complete 04:54:47 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 04:54:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:54:47 ---> 99d49a6021b9 04:54:47 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 04:54:48 ---> Running in f701d4d7795e 04:54:48 Removing intermediate container f701d4d7795e 04:54:48 ---> 5b8769c8aab0 04:54:48 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 04:54:48 ---> Running in c0455573e018 04:54:48 Removing intermediate container c0455573e018 04:54:48 ---> b9584aad0f72 04:54:48 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 04:54:48 ---> Running in 7d52fd172298 04:54:48 Removing intermediate container 7d52fd172298 04:54:48 ---> 4ad4f6b4208f 04:54:48 Step 6/15 : LABEL Name=edgex-ui-go 04:54:48 ---> Running in b7fa735bfed6 04:54:49 Removing intermediate container b7fa735bfed6 04:54:49 ---> 59755e5a42ee 04:54:49 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 04:54:49 ---> Running in 58cfb995ebe5 04:54:49 Removing intermediate container 58cfb995ebe5 04:54:49 ---> 95f9ad198d1d 04:54:49 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:54:49 ---> Running in a1198450d8d4 04:54:49 Removing intermediate container a1198450d8d4 04:54:49 ---> cd281a077f2d 04:54:49 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:54:49 ---> Running in 0b899aae3463 04:54:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:54:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:54:51 OK: 221 MiB in 52 packages 04:54:51 Removing intermediate container 0b899aae3463 04:54:51 ---> c26644f64254 04:54:51 Step 10/15 : ENV GO111MODULE=on 04:54:51 ---> Running in 5430cd30d12d 04:54:51 Removing intermediate container 5430cd30d12d 04:54:51 ---> c1222c1ea58e 04:54:51 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 04:54:51 ---> Running in b955b4f8cb0a 04:54:51 Removing intermediate container b955b4f8cb0a 04:54:51 ---> 7a9666934985 04:54:51 Step 12/15 : COPY go.mod vendor* ./ 04:54:51 ---> 7eb06b7bb3d2 04:54:51 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:51 ---> Running in 5a258572e5e7 04:54:52 Still waiting to schedule task 04:54:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:55:18 Removing intermediate container 5a258572e5e7 04:55:18 ---> 5bd92f3b33ef 04:55:18 Step 14/15 : COPY . . 04:55:19 ---> 4705f50817fa 04:55:19 Step 15/15 : RUN ${MAKE} 04:55:19 ---> Running in c026cd7050b4 04:55:19 noop 04:55:20 Removing intermediate container c026cd7050b4 04:55:20 ---> e22ff838c463 04:55:20 Successfully built e22ff838c463 04:55:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:55:20 + docker inspect -f . ci-base-image-x86_64 04:55:20 . [Pipeline] withDockerContainer 04:55:20 prd-ubuntu20.04-docker-8c-8g-8983 does not seem to be running inside a container 04:55:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-506 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-506:/w/workspace/edgexfoundry_edgex-ui-go_PR-506:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:55:20 $ docker top 01576b21ab1a12b53730ca6575738d59063b7b44aaa9f682a59ce3ca1d00b23f -eo pid,comm [Pipeline] { [Pipeline] sh 04:55:21 + go version 04:55:21 go version go1.17.6 linux/amd64 [Pipeline] } 04:55:21 $ docker stop --time=1 01576b21ab1a12b53730ca6575738d59063b7b44aaa9f682a59ce3ca1d00b23f 04:55:22 $ docker rm -f 01576b21ab1a12b53730ca6575738d59063b7b44aaa9f682a59ce3ca1d00b23f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:55:23 + docker inspect -f . ci-base-image-x86_64 04:55:23 . [Pipeline] withDockerContainer 04:55:23 prd-ubuntu20.04-docker-8c-8g-8983 does not seem to be running inside a container 04:55:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-506 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-506:/w/workspace/edgexfoundry_edgex-ui-go_PR-506:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:55:23 $ docker top a3e9521302db3ff516cf194b18da4a677f4ece9aa3ffd6c7175836914c129f8e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:55:24 + make test 04:55:24 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:55:24 ? github.com/edgexfoundry/edgex-ui-go [no test files] 04:55:30 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 04:55:30 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 04:55:30 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 04:55:30 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 04:55:30 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 04:55:30 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 04:55:30 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 04:55:30 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 04:55:30 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 04:55:30 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 04:55:30 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 04:55:30 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 04:55:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:55:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:55:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:55:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:55:33 $ docker stop --time=1 a3e9521302db3ff516cf194b18da4a677f4ece9aa3ffd6c7175836914c129f8e 04:55:34 $ docker rm -f a3e9521302db3ff516cf194b18da4a677f4ece9aa3ffd6c7175836914c129f8e [Pipeline] // withDockerContainer [Pipeline] sh 04:55:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:55:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:55:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:55:36 + ls -al . 04:55:36 total 160 04:55:36 drwxrwxr-x 14 jenkins jenkins 4096 Mar 24 04:55 . 04:55:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 04:54 .. 04:55:36 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 04:54 .git 04:55:36 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 04:54 .github 04:55:36 -rw-rw-r-- 1 jenkins jenkins 155 Mar 24 04:54 .gitignore 04:55:36 drwx------ 3 jenkins jenkins 4096 Mar 24 04:54 .semver 04:55:36 -rw-rw-r-- 1 jenkins jenkins 3959 Mar 24 04:54 CONTRIBUTING.md 04:55:36 -rw-rw-r-- 1 jenkins jenkins 1549 Mar 24 04:54 Dockerfile 04:55:36 -rw-rw-r-- 1 jenkins jenkins 652 Mar 24 04:54 Jenkinsfile 04:55:36 -rw-rw-r-- 1 jenkins jenkins 11357 Mar 24 04:54 LICENSE 04:55:36 -rw-rw-r-- 1 jenkins jenkins 1212 Mar 24 04:54 Makefile 04:55:36 -rw-rw-r-- 1 jenkins jenkins 4450 Mar 24 04:54 README.md 04:55:36 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 04:54 VERSION 04:55:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 04:54 assets 04:55:36 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 04:54 bin 04:55:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 04:54 cmd 04:55:36 -rw-r--r-- 1 jenkins jenkins 10 Mar 24 04:55 coverage.out 04:55:36 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 04:54 docs 04:55:36 -rw-rw-r-- 1 jenkins jenkins 1944 Mar 24 04:54 go.mod 04:55:36 -rw-rw-r-- 1 jenkins jenkins 48565 Mar 24 04:54 go.sum 04:55:36 drwxrwxr-x 9 jenkins jenkins 4096 Mar 24 04:54 internal 04:55:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 04:54 pkg 04:55:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 04:54 snap 04:55:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 04:54 testing 04:55:36 -rw-rw-r-- 1 jenkins jenkins 155 Mar 24 04:54 version.go 04:55:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 04:54 web [Pipeline] isUnix [Pipeline] sh 04:55:37 + 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=19881818842a6673a7985b193c0b87a70229625c --label arch=amd64 --label version=0.0.0 . 04:55:37 Sending build context to Docker daemon 43.5MB 04:55:37 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 04:55:37 Step 2/23 : FROM ${BASE} AS builder 04:55:37 ---> e22ff838c463 04:55:37 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 04:55:37 ---> Running in ee6bd972ba8c 04:55:37 Removing intermediate container ee6bd972ba8c 04:55:37 ---> e97318e2d5c8 04:55:37 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 04:55:37 ---> Running in 0b8bced39c6c 04:55:37 Removing intermediate container 0b8bced39c6c 04:55:37 ---> d83cd42e24e4 04:55:37 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 04:55:37 ---> Running in 5973ada8d596 04:55:37 Removing intermediate container 5973ada8d596 04:55:37 ---> 71853b200a84 04:55:37 Step 6/23 : LABEL Name=edgex-ui-go 04:55:37 ---> Running in be1188053a66 04:55:37 Removing intermediate container be1188053a66 04:55:37 ---> ff442b1679d7 04:55:37 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 04:55:37 ---> Running in 4d5e58f53463 04:55:38 Removing intermediate container 4d5e58f53463 04:55:38 ---> 0b841f3dfd63 04:55:38 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:55:38 ---> Running in d0e6c1a09aed 04:55:38 Removing intermediate container d0e6c1a09aed 04:55:38 ---> f0a5716f2fa4 04:55:38 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:38 ---> Running in be839f139956 04:55:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:55:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:55:40 OK: 221 MiB in 52 packages 04:55:40 Removing intermediate container be839f139956 04:55:40 ---> f0ada5875a34 04:55:40 Step 10/23 : ENV GO111MODULE=on 04:55:40 ---> Running in 2fb4949a7165 04:55:40 Removing intermediate container 2fb4949a7165 04:55:40 ---> 6e7416c41c54 04:55:40 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 04:55:40 ---> Running in ffffb1142378 04:55:40 Removing intermediate container ffffb1142378 04:55:40 ---> 3c99833b718e 04:55:40 Step 12/23 : COPY go.mod vendor* ./ 04:55:41 ---> 39a6b4ab764b 04:55:41 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:41 ---> Running in 0e9d560b64f8 04:55:41 Removing intermediate container 0e9d560b64f8 04:55:41 ---> 1a0aff67006e 04:55:41 Step 14/23 : COPY . . 04:55:43 ---> 3ff20d5305fe 04:55:43 Step 15/23 : RUN ${MAKE} 04:55:43 ---> Running in 55b2cd5a63ac 04:55:43 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:55:48 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:55:49 Removing intermediate container 55b2cd5a63ac 04:55:49 ---> 728c6ad49b11 04:55:49 Step 16/23 : FROM alpine:3.14 04:55:50 3.14: Pulling from library/alpine 04:55:50 36ccefbf3d8a: Pulling fs layer 04:55:51 36ccefbf3d8a: Verifying Checksum 04:55:51 36ccefbf3d8a: Download complete 04:55:51 36ccefbf3d8a: Pull complete 04:55:51 Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 04:55:51 Status: Downloaded newer image for alpine:3.14 04:55:51 ---> a33ac4f1069a 04:55:51 Step 17/23 : EXPOSE 4000 04:55:51 ---> Running in 68745a1c6ec1 04:55:51 Removing intermediate container 68745a1c6ec1 04:55:51 ---> e8d20fad755e 04:55:51 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:55:51 ---> df6a00cfe7b2 04:55:51 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 04:55:51 ---> Running in 798a88a460c6 04:55:51 Removing intermediate container 798a88a460c6 04:55:51 ---> 1994611f79d8 04:55:51 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 04:55:51 ---> Running in c70dc95fe6ca 04:55:51 Removing intermediate container c70dc95fe6ca 04:55:51 ---> 4c4b60fa0fa9 04:55:51 Step 21/23 : LABEL arch=amd64 04:55:51 ---> Running in 1648acfe8368 04:55:52 Removing intermediate container 1648acfe8368 04:55:52 ---> 44bceb45aa90 04:55:52 Step 22/23 : LABEL git_sha=19881818842a6673a7985b193c0b87a70229625c 04:55:52 ---> Running in 56cb2ec5292a 04:55:52 Removing intermediate container 56cb2ec5292a 04:55:52 ---> 4215faf2600e 04:55:52 Step 23/23 : LABEL version=0.0.0 04:55:52 ---> Running in 3f6af205e87d 04:55:52 Removing intermediate container 3f6af205e87d 04:55:52 ---> eff6386be249 04:55:52 [Warning] One or more build-args [ARCH] were not consumed 04:55:52 Successfully built eff6386be249 04:55:52 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:55:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:55:53 04:55:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:55:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:55:53 latest: Pulling from edgex-lftools-log-publisher 04:55:53 5eb5b503b376: Pulling fs layer 04:55:53 5c69ac0246d0: Pulling fs layer 04:55:53 ec43610c2a17: Pulling fs layer 04:55:53 3a2ae6a8a46f: Pulling fs layer 04:55:53 33b1e0a273af: Pulling fs layer 04:55:53 5d3b04190fa2: Pulling fs layer 04:55:53 2f39f015ded8: Pulling fs layer 04:55:53 33b1e0a273af: Waiting 04:55:53 5d3b04190fa2: Waiting 04:55:53 2f39f015ded8: Waiting 04:55:53 3a2ae6a8a46f: Waiting 04:55:53 5c69ac0246d0: Verifying Checksum 04:55:53 5c69ac0246d0: Download complete 04:55:53 3a2ae6a8a46f: Verifying Checksum 04:55:53 3a2ae6a8a46f: Download complete 04:55:53 ec43610c2a17: Verifying Checksum 04:55:53 ec43610c2a17: Download complete 04:55:53 5d3b04190fa2: Verifying Checksum 04:55:53 5d3b04190fa2: Download complete 04:55:53 33b1e0a273af: Verifying Checksum 04:55:53 33b1e0a273af: Download complete 04:55:53 5eb5b503b376: Download complete 04:55:54 2f39f015ded8: Verifying Checksum 04:55:54 2f39f015ded8: Download complete 04:55:54 5eb5b503b376: Pull complete 04:55:55 5c69ac0246d0: Pull complete 04:55:55 ec43610c2a17: Pull complete 04:55:55 3a2ae6a8a46f: Pull complete 04:55:55 33b1e0a273af: Pull complete 04:55:55 5d3b04190fa2: Pull complete 04:56:01 2f39f015ded8: Pull complete 04:56:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:56:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:56:01 prd-ubuntu20.04-docker-8c-8g-8983 does not seem to be running inside a container 04:56:01 $ 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-506 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-506:/w/workspace/edgexfoundry_edgex-ui-go_PR-506:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:56:02 $ docker top 0eaf85626a478a6293f6add646024b7d4c2eb5a6115ae1cd1034b51527ed92d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:56:03 ---> job-cost.sh 04:56:03 lf-activate-venv: SKIPPING 04:56:03 INFO: No Stack... 04:56:03 INFO: Retrieving Pricing Info for: v3-standard-8 04:56:04 INFO: Archiving Costs [Pipeline] sh 04:56:04 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-506/archives/cost.csv 04:56:04 + cut -d, -f6 [Pipeline] lock 04:56:04 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-506-1-stack-cost] 04:56:04 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-506-1-stack-cost] did not exist. Created. 04:56:04 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-506-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:56:05 + echo total: 0.2199999988079071 [Pipeline] stash 04:56:05 Stashed 1 file(s) [Pipeline] } 04:56:05 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-506-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:56:05 $ docker stop --time=1 0eaf85626a478a6293f6add646024b7d4c2eb5a6115ae1cd1034b51527ed92d5 04:56:06 $ docker rm -f 0eaf85626a478a6293f6add646024b7d4c2eb5a6115ae1cd1034b51527ed92d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:56:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8984 in /w/workspace/edgexfoundry_edgex-ui-go_PR-506 [Pipeline] { [Pipeline] ws 04:56:28 Running in /w/workspace/edgex-ui-go/1 [Pipeline] { [Pipeline] checkout 04:56:28 The recommended git tool is: git 04:56:36 using credential edgex-jenkins-ssh 04:56:36 Cloning the remote Git repository 04:56:36 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 04:56:36 > git init /w/workspace/edgex-ui-go/1 # timeout=10 04:56:36 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 04:56:36 > git --version # timeout=10 04:56:36 > git --version # 'git version 2.25.1' 04:56:36 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:56:39 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 04:56:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:56:40 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 04:56:40 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 04:56:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:56:40 Merging remotes/origin/main commit 26b26d55d40a99fe9ff9e4cc5ede3c8b1c832f29 into PR head commit 19881818842a6673a7985b193c0b87a70229625c 04:56:41 Merge succeeded, producing 19881818842a6673a7985b193c0b87a70229625c 04:56:41 Checking out Revision 19881818842a6673a7985b193c0b87a70229625c (PR-506) 04:56:40 > git config core.sparsecheckout # timeout=10 04:56:40 > git checkout -f 19881818842a6673a7985b193c0b87a70229625c # timeout=10 04:56:41 > git remote # timeout=10 04:56:41 > git config --get remote.origin.url # timeout=10 04:56:41 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:41 > git merge 26b26d55d40a99fe9ff9e4cc5ede3c8b1c832f29 # timeout=10 04:56:41 > git rev-parse HEAD^{commit} # timeout=10 04:56:41 > git config core.sparsecheckout # timeout=10 04:56:41 > git checkout -f 19881818842a6673a7985b193c0b87a70229625c # timeout=10 04:56:46 Commit message: "fix: bug result in failing to add or update one stuff and remove dead code" 04:56:46 > git --version # timeout=10 04:56:46 > git --version # 'git version 2.25.1' 04:56:46 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:56:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:56:47 % Total % Received % Xferd Average Speed Time Time Time Current 04:56:47 Dload Upload Total Spent Left Speed 04:56:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48536 0 --:--:-- --:--:-- --:--:-- 48536 [Pipeline] sh 04:56:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:56:48 + sudo tee /etc/docker/daemon.new 04:56:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:56:48 { 04:56:48 "registry-mirrors": [ 04:56:48 "https://nexus3.edgexfoundry.org:10001" 04:56:48 ], 04:56:48 "bip": "10.250.0.254/24", 04:56:48 "hosts": [ 04:56:48 "tcp://0.0.0.0:5555", 04:56:48 "unix:///var/run/docker.sock" 04:56:48 ], 04:56:48 "mtu": 1458, 04:56:48 "selinux-enabled": true, 04:56:48 "seccomp-profile": "/etc/docker/seccomp.json" 04:56:48 } [Pipeline] sh 04:56:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:56:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:57:07 provisioning config files... 04:57:07 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/1@tmp/config8692925055541502615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:07 ---> docker-login.sh 04:57:07 nexus3.edgexfoundry.org:10001 04:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:08 Configure a credential helper to remove this warning. See 04:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:08 04:57:08 Login Succeeded 04:57:08 nexus3.edgexfoundry.org:10002 04:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:09 Configure a credential helper to remove this warning. See 04:57:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:09 04:57:09 Login Succeeded 04:57:09 nexus3.edgexfoundry.org:10003 04:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:09 Configure a credential helper to remove this warning. See 04:57:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:09 04:57:09 Login Succeeded 04:57:09 nexus3.edgexfoundry.org:10004 04:57:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:10 Configure a credential helper to remove this warning. See 04:57:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:10 04:57:10 Login Succeeded 04:57:10 docker.io 04:57:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:11 Configure a credential helper to remove this warning. See 04:57:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:11 04:57:11 Login Succeeded 04:57:11 ---> docker-login.sh ends [Pipeline] } 04:57:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:57:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:57:11 ========================================================= 04:57:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:57:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:57:11 + 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:57:12 Sending build context to Docker daemon 27.49MB 04:57:12 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 04:57:12 Step 2/15 : FROM ${BASE} AS builder 04:57:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:57:13 9b3977197b4f: Pulling fs layer 04:57:13 1a89e8eeedd5: Pulling fs layer 04:57:13 94645a83ff95: Pulling fs layer 04:57:13 3f3a8bcf1eab: Pulling fs layer 04:57:13 0c92f367c5e7: Pulling fs layer 04:57:13 f7c0051592d6: Pulling fs layer 04:57:13 a227ed2f7395: Pulling fs layer 04:57:13 7b1c46037f91: Pulling fs layer 04:57:13 f7c0051592d6: Waiting 04:57:13 a227ed2f7395: Waiting 04:57:13 7b1c46037f91: Waiting 04:57:13 0c92f367c5e7: Waiting 04:57:13 3f3a8bcf1eab: Waiting 04:57:13 94645a83ff95: Verifying Checksum 04:57:13 94645a83ff95: Download complete 04:57:13 1a89e8eeedd5: Download complete 04:57:13 0c92f367c5e7: Verifying Checksum 04:57:13 0c92f367c5e7: Download complete 04:57:13 f7c0051592d6: Verifying Checksum 04:57:13 f7c0051592d6: Download complete 04:57:13 9b3977197b4f: Download complete 04:57:13 a227ed2f7395: Verifying Checksum 04:57:13 a227ed2f7395: Download complete 04:57:14 9b3977197b4f: Pull complete 04:57:14 1a89e8eeedd5: Pull complete 04:57:15 94645a83ff95: Pull complete 04:57:15 7b1c46037f91: Verifying Checksum 04:57:15 7b1c46037f91: Download complete 04:57:16 3f3a8bcf1eab: Verifying Checksum 04:57:16 3f3a8bcf1eab: Download complete 04:57:28 3f3a8bcf1eab: Pull complete 04:57:28 0c92f367c5e7: Pull complete 04:57:28 f7c0051592d6: Pull complete 04:57:28 a227ed2f7395: Pull complete 04:57:35 7b1c46037f91: Pull complete 04:57:35 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 04:57:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:57:35 ---> f79e39bc4007 04:57:35 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 04:57:36 ---> Running in 8f4fdf19585d 04:57:36 Removing intermediate container 8f4fdf19585d 04:57:36 ---> 20526371d006 04:57:36 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 04:57:36 ---> Running in 12dfebbf1ec6 04:57:36 Removing intermediate container 12dfebbf1ec6 04:57:36 ---> 9c44886616d3 04:57:36 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 04:57:36 ---> Running in bfa7ed32d39c 04:57:36 Removing intermediate container bfa7ed32d39c 04:57:36 ---> c6b3e444d8c4 04:57:36 Step 6/15 : LABEL Name=edgex-ui-go 04:57:37 ---> Running in 02adf50f8b47 04:57:37 Removing intermediate container 02adf50f8b47 04:57:37 ---> bddaa6f05504 04:57:37 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 04:57:37 ---> Running in 9e48483e4c03 04:57:37 Removing intermediate container 9e48483e4c03 04:57:37 ---> caa1f6069eff 04:57:37 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:57:37 ---> Running in 326952f55299 04:57:39 Removing intermediate container 326952f55299 04:57:39 ---> ae25a2796624 04:57:39 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:57:39 ---> Running in 5a91bb9b546e 04:57:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:57:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:57:42 OK: 220 MiB in 52 packages 04:57:43 Removing intermediate container 5a91bb9b546e 04:57:43 ---> 3d6984ba7fa8 04:57:43 Step 10/15 : ENV GO111MODULE=on 04:57:43 ---> Running in ad9ff52afbe5 04:57:43 Removing intermediate container ad9ff52afbe5 04:57:43 ---> 46708d2ec858 04:57:43 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 04:57:43 ---> Running in f460d9c5a5bd 04:57:43 Removing intermediate container f460d9c5a5bd 04:57:43 ---> e463fa147b6f 04:57:43 Step 12/15 : COPY go.mod vendor* ./ 04:57:45 ---> 26e496fbde69 04:57:45 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:57:45 ---> Running in e3deb9883990 04:59:07 Removing intermediate container e3deb9883990 04:59:07 ---> d690f54b302a 04:59:07 Step 14/15 : COPY . . 04:59:07 ---> e0ad9f89630b 04:59:07 Step 15/15 : RUN ${MAKE} 04:59:07 ---> Running in c0e2a8024378 04:59:07 noop 04:59:07 Removing intermediate container c0e2a8024378 04:59:07 ---> 75053c031c89 04:59:07 Successfully built 75053c031c89 04:59:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:59:08 + docker inspect -f . ci-base-image-arm64 04:59:08 . [Pipeline] withDockerContainer 04:59:08 prd-ubuntu20.04-docker-arm64-4c-16g-8984 does not seem to be running inside a container 04:59:08 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 04:59:09 $ docker top f636f642a52f08aa55a64c069128636e7679d274c28030efa4b745147261b93e -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:10 + go version 04:59:10 go version go1.17.6 linux/arm64 [Pipeline] } 04:59:10 $ docker stop --time=1 f636f642a52f08aa55a64c069128636e7679d274c28030efa4b745147261b93e 04:59:12 $ docker rm -f f636f642a52f08aa55a64c069128636e7679d274c28030efa4b745147261b93e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:59:13 + docker inspect -f . ci-base-image-arm64 04:59:13 . [Pipeline] withDockerContainer 04:59:13 prd-ubuntu20.04-docker-arm64-4c-16g-8984 does not seem to be running inside a container 04:59:13 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 04:59:14 $ docker top ad04e006ffa5d8682c47de563afe832a58aad3abb5cf9572d4ed0a17fa6f4af4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:59:15 + make test 04:59:15 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:59:17 ? github.com/edgexfoundry/edgex-ui-go [no test files] 04:59:56 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 04:59:56 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 04:59:56 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 04:59:56 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 04:59:56 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 04:59:56 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 04:59:56 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 04:59:56 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 04:59:56 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 04:59:56 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 04:59:56 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 04:59:56 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 04:59:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:00:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:00:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 05:00:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:00:11 $ docker stop --time=1 ad04e006ffa5d8682c47de563afe832a58aad3abb5cf9572d4ed0a17fa6f4af4 05:00:13 $ docker rm -f ad04e006ffa5d8682c47de563afe832a58aad3abb5cf9572d4ed0a17fa6f4af4 [Pipeline] // withDockerContainer [Pipeline] sh 05:00:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:00:14 Warning: overwriting stash ‘coverage-report’ 05:00:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:00:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:00:15 + ls -al . 05:00:15 total 156 05:00:15 drwxrwxr-x 13 jenkins jenkins 4096 Mar 24 04:59 . 05:00:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 04:56 .. 05:00:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 04:56 .git 05:00:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 04:56 .github 05:00:15 -rw-rw-r-- 1 jenkins jenkins 155 Mar 24 04:56 .gitignore 05:00:15 -rw-rw-r-- 1 jenkins jenkins 3959 Mar 24 04:56 CONTRIBUTING.md 05:00:15 -rw-rw-r-- 1 jenkins jenkins 1549 Mar 24 04:56 Dockerfile 05:00:15 -rw-rw-r-- 1 jenkins jenkins 652 Mar 24 04:56 Jenkinsfile 05:00:15 -rw-rw-r-- 1 jenkins jenkins 11357 Mar 24 04:56 LICENSE 05:00:15 -rw-rw-r-- 1 jenkins jenkins 1212 Mar 24 04:56 Makefile 05:00:15 -rw-rw-r-- 1 jenkins jenkins 4450 Mar 24 04:56 README.md 05:00:15 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 04:54 VERSION 05:00:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 04:56 assets 05:00:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 04:56 bin 05:00:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 04:56 cmd 05:00:15 -rw-r--r-- 1 jenkins jenkins 10 Mar 24 04:59 coverage.out 05:00:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 04:56 docs 05:00:15 -rw-rw-r-- 1 jenkins jenkins 1944 Mar 24 04:56 go.mod 05:00:15 -rw-rw-r-- 1 jenkins jenkins 48565 Mar 24 04:56 go.sum 05:00:15 drwxrwxr-x 9 jenkins jenkins 4096 Mar 24 04:56 internal 05:00:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 04:56 pkg 05:00:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 04:56 snap 05:00:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 04:56 testing 05:00:15 -rw-rw-r-- 1 jenkins jenkins 155 Mar 24 04:56 version.go 05:00:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 04:56 web [Pipeline] isUnix [Pipeline] sh 05:00:16 + 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=19881818842a6673a7985b193c0b87a70229625c --label arch=arm64 --label version=0.0.0 . 05:00:17 Sending build context to Docker daemon 27.49MB 05:00:17 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 05:00:17 Step 2/23 : FROM ${BASE} AS builder 05:00:17 ---> 75053c031c89 05:00:17 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 05:00:17 ---> Running in 272a66052340 05:00:18 Removing intermediate container 272a66052340 05:00:18 ---> 6254d53fee85 05:00:18 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 05:00:18 ---> Running in f653f3a73070 05:00:18 Removing intermediate container f653f3a73070 05:00:18 ---> e6042dacac45 05:00:18 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 05:00:18 ---> Running in bf06933f76e9 05:00:19 Removing intermediate container bf06933f76e9 05:00:19 ---> 343340d7ca5d 05:00:19 Step 6/23 : LABEL Name=edgex-ui-go 05:00:19 ---> Running in 042c6a916138 05:00:19 Removing intermediate container 042c6a916138 05:00:19 ---> 2e6b8aea0542 05:00:19 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 05:00:19 ---> Running in 30675bb0b945 05:00:19 Removing intermediate container 30675bb0b945 05:00:19 ---> 51900221c35c 05:00:19 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:00:19 ---> Running in 5f35997689d7 05:00:21 Removing intermediate container 5f35997689d7 05:00:21 ---> df886415c4be 05:00:21 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:00:21 ---> Running in 2eace2ddbb90 05:00:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:00:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:00:24 OK: 220 MiB in 52 packages 05:00:24 Removing intermediate container 2eace2ddbb90 05:00:24 ---> 35767cd0fdb5 05:00:24 Step 10/23 : ENV GO111MODULE=on 05:00:24 ---> Running in 628d218325d6 05:00:25 Removing intermediate container 628d218325d6 05:00:25 ---> d746819a651c 05:00:25 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 05:00:25 ---> Running in f90c21afa80c 05:00:25 Removing intermediate container f90c21afa80c 05:00:25 ---> 4244f4f2387c 05:00:25 Step 12/23 : COPY go.mod vendor* ./ 05:00:26 ---> 233317e8c338 05:00:26 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:00:26 ---> Running in 0f82131dba65 05:00:29 Removing intermediate container 0f82131dba65 05:00:29 ---> 7ecb29e2adf1 05:00:29 Step 14/23 : COPY . . 05:00:31 ---> 6ffe1e0c6f12 05:00:31 Step 15/23 : RUN ${MAKE} 05:00:31 ---> Running in ad3a5eb4f14f 05:00:32 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 05:01:05 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:01:08 Removing intermediate container ad3a5eb4f14f 05:01:08 ---> b7e1dcccc826 05:01:08 Step 16/23 : FROM alpine:3.14 05:01:09 3.14: Pulling from library/alpine 05:01:09 93a1719cf261: Pulling fs layer 05:01:09 93a1719cf261: Verifying Checksum 05:01:09 93a1719cf261: Download complete 05:01:09 93a1719cf261: Pull complete 05:01:09 Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 05:01:09 Status: Downloaded newer image for alpine:3.14 05:01:09 ---> 71a2028e5025 05:01:09 Step 17/23 : EXPOSE 4000 05:01:10 ---> Running in 616502ef2b73 05:01:10 Removing intermediate container 616502ef2b73 05:01:10 ---> 3bcebd964c01 05:01:10 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 05:01:11 ---> b7a3d0021ce7 05:01:11 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 05:01:11 ---> Running in c070738b1b87 05:01:11 Removing intermediate container c070738b1b87 05:01:11 ---> 22c636539498 05:01:11 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 05:01:12 ---> Running in dcd9e04e1a25 05:01:12 Removing intermediate container dcd9e04e1a25 05:01:12 ---> b73f0c201e3c 05:01:12 Step 21/23 : LABEL arch=arm64 05:01:12 ---> Running in 418ee2bf49d5 05:01:12 Removing intermediate container 418ee2bf49d5 05:01:12 ---> e3fd3de235fc 05:01:12 Step 22/23 : LABEL git_sha=19881818842a6673a7985b193c0b87a70229625c 05:01:12 ---> Running in ff504a278181 05:01:13 Removing intermediate container ff504a278181 05:01:13 ---> e1b85847eb75 05:01:13 Step 23/23 : LABEL version=0.0.0 05:01:13 ---> Running in ea83f3f925c0 05:01:13 Removing intermediate container ea83f3f925c0 05:01:13 ---> ce15fa86a435 05:01:13 [Warning] One or more build-args [ARCH] were not consumed 05:01:13 Successfully built ce15fa86a435 05:01:13 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 05:01:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:01:14 05:01:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:01:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:01:14 arm64: Pulling from edgex-lftools-log-publisher 05:01:14 8998bd30e6a1: Pulling fs layer 05:01:14 04944245beec: Pulling fs layer 05:01:14 699f458cf7ca: Pulling fs layer 05:01:14 765212b225bb: Pulling fs layer 05:01:14 f23df028b6ca: Pulling fs layer 05:01:14 d65c8cfc05b1: Pulling fs layer 05:01:14 2437ff75d9bd: Pulling fs layer 05:01:14 f23df028b6ca: Waiting 05:01:14 765212b225bb: Waiting 05:01:14 d65c8cfc05b1: Waiting 05:01:14 2437ff75d9bd: Waiting 05:01:14 04944245beec: Verifying Checksum 05:01:14 04944245beec: Download complete 05:01:14 765212b225bb: Verifying Checksum 05:01:14 765212b225bb: Download complete 05:01:14 f23df028b6ca: Verifying Checksum 05:01:14 f23df028b6ca: Download complete 05:01:14 d65c8cfc05b1: Verifying Checksum 05:01:14 d65c8cfc05b1: Download complete 05:01:15 699f458cf7ca: Verifying Checksum 05:01:15 699f458cf7ca: Download complete 05:01:15 8998bd30e6a1: Verifying Checksum 05:01:15 8998bd30e6a1: Download complete 05:01:18 2437ff75d9bd: Verifying Checksum 05:01:18 2437ff75d9bd: Download complete 05:01:20 8998bd30e6a1: Pull complete 05:01:20 04944245beec: Pull complete 05:01:21 699f458cf7ca: Pull complete 05:01:22 765212b225bb: Pull complete 05:01:22 f23df028b6ca: Pull complete 05:01:22 d65c8cfc05b1: Pull complete 05:01:37 2437ff75d9bd: Pull complete 05:01:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:01:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:01:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:01:38 prd-ubuntu20.04-docker-arm64-4c-16g-8984 does not seem to be running inside a container 05:01:38 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:01:40 $ docker top 284c6ec32e27d451c19f735bb93e51c6fa4a69ba12e4f3ca0d8acb02c34a3820 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:41 ---> job-cost.sh 05:01:41 lf-activate-venv: SKIPPING 05:01:41 INFO: No Stack... 05:01:42 INFO: Retrieving Pricing Info for: v3-standard-4 05:01:43 INFO: Archiving Costs [Pipeline] sh 05:01:43 + cat /w/workspace/edgex-ui-go/1/archives/cost.csv 05:01:43 + cut -d, -f6 [Pipeline] lock 05:01:43 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-506-1-stack-cost] 05:01:43 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-506-1-stack-cost] did not exist. Created. 05:01:43 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-506-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:01:44 /w/workspace/edgex-ui-go/1@tmp/durable-442190de/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:01:45 + echo total: 0.10999999940395355 [Pipeline] stash 05:01:45 Warning: overwriting stash ‘stack-cost’ 05:01:45 Stashed 1 file(s) [Pipeline] } 05:01:45 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-506-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:01:45 $ docker stop --time=1 284c6ec32e27d451c19f735bb93e51c6fa4a69ba12e4f3ca0d8acb02c34a3820 05:01:47 $ docker rm -f 284c6ec32e27d451c19f735bb93e51c6fa4a69ba12e4f3ca0d8acb02c34a3820 [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 05:01:48 provisioning config files... 05:01:48 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp/config2165025412888126250tmp [Pipeline] { [Pipeline] sh 05:01:48 + set +x 05:01:48 + curl -s https://codecov.io/bash 05:01:48 + bash -s -- 05:01:48 05:01:48 _____ _ 05:01:48 / ____| | | 05:01:48 | | ___ __| | ___ ___ _____ __ 05:01:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:01:48 | |___| (_) | (_| | __/ (_| (_) \ V / 05:01:48 \_____\___/ \__,_|\___|\___\___/ \_/ 05:01:48 Bash-1.0.6 05:01:48 05:01:48 05:01:48 ==> git version 2.25.1 found 05:01:48 ==> 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 05:01:48 Release-Date: 2020-01-08 05:01:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:01:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:01:48 ==> Jenkins CI detected. 05:01:48 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-506 05:01:48 project root: . 05:01:48 --> token set from env 05:01:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:01:48 ==> Running gcov in . (disable via -X gcov) 05:01:48 ==> Python coveragepy not found 05:01:48 ==> Searching for coverage reports in: 05:01:48 + . 05:01:48 -> Found 1 reports 05:01:48 ==> Detecting git/mercurial file structure 05:01:48 ==> Reading reports 05:01:48 + ./coverage.out bytes=10 05:01:48 ==> Appending adjustments 05:01:48 https://docs.codecov.io/docs/fixing-reports 05:01:48 + Found adjustments 05:01:48 ==> Gzipping contents 05:01:48 4.0K /tmp/codecov.ZyqhP2.gz 05:01:48 ==> Uploading reports 05:01:48 url: https://codecov.io 05:01:48 query: branch=PR-506&commit=19881818842a6673a7985b193c0b87a70229625c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-506%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=506&job=&cmd_args= 05:01:48 -> Pinging Codecov 05:01:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-506&commit=19881818842a6673a7985b193c0b87a70229625c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-506%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=506&job=&cmd_args= 05:01:49 -> Uploading to 05:01:49 https://storage.googleapis.com/codecov/v4/raw/2022-03-24/FB506323287CE973F263BFD2A0EB1F37/19881818842a6673a7985b193c0b87a70229625c/7fa5b226-e343-48fc-abcf-906069b262d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220324T050149Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1cc7bbcc4d5ff4cd7f11d30770c5070cbb75c50d7c4b9e1ed2fc6a020288fcff 05:01:49 % Total % Received % Xferd Average Speed Time Time Time Current 05:01:49 Dload Upload Total Spent Left Speed 05:01:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4052 0 0 100 4052 0 15766 --:--:-- --:--:-- --:--:-- 15766 05:01:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/19881818842a6673a7985b193c0b87a70229625c [Pipeline] } 05:01:49 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 05:01:51 + [ -d /w/workspace/edgexfoundry_edgex-ui-go_PR-506/archives ] 05:01:51 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-506/archives 05:01:51 total 16 05:01:51 drwxr-xr-x 3 root root 4096 Mar 24 04:56 . 05:01:51 drwxrwxr-x 15 jenkins jenkins 4096 Mar 24 04:56 .. 05:01:51 drwxr-xr-x 2 root root 4096 Mar 24 04:56 cost 05:01:51 -rw-r--r-- 1 root root 82 Mar 24 04:56 cost.csv 05:01:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-506/archives 05:01:51 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-506/archives 05:01:51 total 16 05:01:51 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 04:56 . 05:01:51 drwxrwxr-x 15 jenkins jenkins 4096 Mar 24 04:56 .. 05:01:51 drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 04:56 cost 05:01:51 -rw-r--r-- 1 jenkins jenkins 82 Mar 24 04:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:01:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:01:52 ---> package-listing.sh 05:01:52 ++ facter osfamily 05:01:52 ++ tr '[:upper:]' '[:lower:]' 05:01:52 + OS_FAMILY=debian 05:01:52 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-506 05:01:52 + START_PACKAGES=/tmp/packages_start.txt 05:01:52 + END_PACKAGES=/tmp/packages_end.txt 05:01:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:01:52 + PACKAGES=/tmp/packages_start.txt 05:01:52 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-506 ']' 05:01:52 + PACKAGES=/tmp/packages_end.txt 05:01:52 + case "${OS_FAMILY}" in 05:01:52 + dpkg -l 05:01:52 + grep '^ii' 05:01:52 + '[' -f /tmp/packages_start.txt ']' 05:01:52 + '[' -f /tmp/packages_end.txt ']' 05:01:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:01:52 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-506 ']' 05:01:52 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-506/archives/ 05:01:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-506/archives/ [Pipeline] echo 05:01:52 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-506/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:01:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:01:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:01:53 . [Pipeline] withDockerContainer 05:01:53 prd-ubuntu20.04-docker-8c-8g-8983 does not seem to be running inside a container 05:01:53 $ 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-506/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-506 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-506:/w/workspace/edgexfoundry_edgex-ui-go_PR-506:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-506@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:latest cat 05:01:54 $ docker top 0c6160e12437fd37c740e869633f0402b911fe4680600e0a8af7d9312845c106 -eo pid,comm [Pipeline] { [Pipeline] sh 05:01:54 + touch /tmp/pre-build-complete [Pipeline] sh 05:01:54 + mkdir -p /var/log/sysstat [Pipeline] sh 05:01:55 + ls /var/log/sa-host 05:01:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:01:55 provisioning config files... 05:01:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-506@tmp/config7666345221337840134tmp [Pipeline] { [Pipeline] echo 05:01:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:01:55 ---> create-netrc.sh [Pipeline] } 05:01:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:01:56 ---> python-tools-install.sh [Pipeline] echo 05:01:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:01:56 ---> sudo-logs.sh 05:01:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:01:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:01:56 ---> job-cost.sh 05:01:56 lf-activate-venv: SKIPPING 05:01:56 DEBUG: total: 0.2199999988079071 05:01:56 INFO: Retrieving Stack Cost... 05:01:57 INFO: Retrieving Pricing Info for: v3-standard-8 05:01:57 INFO: Archiving Costs [Pipeline] echo 05:01:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:01:58 ---> logs-deploy.sh 05:01:58 lf-activate-venv: SKIPPING 05:01:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-506/1 05:01:58 INFO: archiving workspace using pattern(s): 05:01:59 Archives upload complete. 05:01:59 INFO: archiving logs to Nexus