Pull request #507 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 d376048168253692306016dbde5d052d0ac71a23+a297faecba2e479c84256204d88875266373bb25 (735bab9c3268537329efa25684879002e926510c) 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-ssh15576027723041408878.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-ssh11078175411891646220.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-507/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-507/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17195333874210099460.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-507/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6403493872388706525.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-ssh11114426713932583159.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-507/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-507/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16581689782867906740.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9404 in /w/workspace/edgexfoundry_edgex-ui-go_PR-507 [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-507 # 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 Merging remotes/origin/main commit a297faecba2e479c84256204d88875266373bb25 into PR head commit d376048168253692306016dbde5d052d0ac71a23 Merge succeeded, producing d376048168253692306016dbde5d052d0ac71a23 Checking out Revision d376048168253692306016dbde5d052d0ac71a23 (PR-507) > 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/507/head:refs/remotes/origin/PR-507 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d376048168253692306016dbde5d052d0ac71a23 # 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 a297faecba2e479c84256204d88875266373bb25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d376048168253692306016dbde5d052d0ac71a23 # timeout=10 Commit message: "feat: add security response header and cache control header and remove Authorization request header under unsecure mode" 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 07:20:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:20:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:20:29 ========================================================= 07:20:29 EdgeX Global Pipelines Version Info 07:20:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:20:30 ------------------- 07:20:30 stable info: 07:20:30 ------------------- 07:20:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:20:30 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:20:30 Message: update stable to v1.0.221 07:20:30 ------------------- 07:20:30 experimental info: 07:20:30 ------------------- 07:20:30 Commited By: **** collab-it+edgex@linuxfoundation.org 07:20:30 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:20:30 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 07:20:30 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-507 [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-507 [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-507 [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d376048168253692306016dbde5d052d0ac71a23 [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d376048 [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:20:32 provisioning config files... 07:20:32 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/config8780917350823898890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:32 ---> docker-login.sh 07:20:32 nexus3.edgexfoundry.org:10001 07:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:33 Configure a credential helper to remove this warning. See 07:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:33 07:20:33 Login Succeeded 07:20:33 nexus3.edgexfoundry.org:10002 07:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:33 Configure a credential helper to remove this warning. See 07:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:33 07:20:33 Login Succeeded 07:20:33 nexus3.edgexfoundry.org:10003 07:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:33 Configure a credential helper to remove this warning. See 07:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:33 07:20:33 Login Succeeded 07:20:33 nexus3.edgexfoundry.org:10004 07:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:33 Configure a credential helper to remove this warning. See 07:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:33 07:20:33 Login Succeeded 07:20:33 docker.io 07:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:34 Configure a credential helper to remove this warning. See 07:20:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:34 07:20:34 Login Succeeded 07:20:34 ---> docker-login.sh ends [Pipeline] } 07:20:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:20:35 + git rev-list -1 --merges d376048168253692306016dbde5d052d0ac71a23~1..d376048168253692306016dbde5d052d0ac71a23 [Pipeline] echo 07:20:35 -----------> git rev-list -1 --merges d376048168253692306016dbde5d052d0ac71a23~1..d376048168253692306016dbde5d052d0ac71a23 d376048168253692306016dbde5d052d0ac71a23 [false] [Pipeline] sh 07:20:35 + git log --format=format:%s -1 d376048168253692306016dbde5d052d0ac71a23 [Pipeline] echo 07:20:35 ========================================================= 07:20:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:20:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:20:35 + git log --format=format:%s -1 d376048168253692306016dbde5d052d0ac71a23 [Pipeline] echo 07:20:35 [semverPrep] GIT_COMMIT: d376048168253692306016dbde5d052d0ac71a23, Commit Message: feat: add security response header and cache control header and remove Authorization request header under unsecure mode [Pipeline] echo 07:20:36 [semverPrep] This is not a build commit. [Pipeline] sh 07:20:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:20:36 + grep -v github /etc/ssh/ssh_known_hosts 07:20:36 + [ -e /tmp/ssh_known_hosts ] 07:20:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:20:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:20:36 + sudo tee -a /etc/ssh/ssh_known_hosts 07:20:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:20:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:20:36 07:20:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:20:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:20:37 latest: Pulling from edgex-devops/git-semver 07:20:37 a0d0a0d46f8b: Pulling fs layer 07:20:37 3e5f54012d9b: Pulling fs layer 07:20:37 4c7163046ea9: Pulling fs layer 07:20:37 0c2d73faf560: Pulling fs layer 07:20:37 0c2d73faf560: Waiting 07:20:37 3e5f54012d9b: Download complete 07:20:37 a0d0a0d46f8b: Verifying Checksum 07:20:37 a0d0a0d46f8b: Download complete 07:20:37 0c2d73faf560: Verifying Checksum 07:20:37 4c7163046ea9: Verifying Checksum 07:20:37 4c7163046ea9: Download complete 07:20:37 a0d0a0d46f8b: Pull complete 07:20:37 3e5f54012d9b: Pull complete 07:20:37 4c7163046ea9: Pull complete 07:20:38 0c2d73faf560: Pull complete 07:20:38 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:20:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:20:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:20:38 prd-ubuntu20.04-docker-8c-8g-9404 does not seem to be running inside a container 07:20:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-507 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507:/w/workspace/edgexfoundry_edgex-ui-go_PR-507:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@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 07:20:38 $ docker top 61643f4d5a907775a16f45bc93fe9e8623c76da96f6c51d14dde432a1019a540 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:20:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:20:39 [ssh-agent] Looking for ssh-agent implementation... 07:20:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:20:39 $ docker exec 61643f4d5a907775a16f45bc93fe9e8623c76da96f6c51d14dde432a1019a540 ssh-agent 07:20:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbaIipb/agent.13 07:20:39 SSH_AGENT_PID=19 07:20:39 Running ssh-add (command line suppressed) 07:20:39 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/private_key_7328107543090109730.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/private_key_7328107543090109730.key) 07:20:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:20:39 + git tag --points-at HEAD [Pipeline] } 07:20:39 $ docker exec --env ******** --env ******** 61643f4d5a907775a16f45bc93fe9e8623c76da96f6c51d14dde432a1019a540 ssh-agent -k 07:20:39 unset SSH_AUTH_SOCK; 07:20:39 unset SSH_AGENT_PID; 07:20:39 echo Agent pid 19 killed; 07:20:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:20:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:20:40 [ssh-agent] Looking for ssh-agent implementation... 07:20:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:20:40 $ docker exec 61643f4d5a907775a16f45bc93fe9e8623c76da96f6c51d14dde432a1019a540 ssh-agent 07:20:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMjAKBd/agent.51 07:20:40 SSH_AGENT_PID=58 07:20:40 Running ssh-add (command line suppressed) 07:20:40 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/private_key_657006502415956590.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/private_key_657006502415956590.key) 07:20:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:20:40 + git semver init 07:20:40 # -> Open(): unable to determine branch for HEAD 07:20:40 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-507/.git 07:20:40 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-507 07:20:40 # $SEMVER_REMOTE_NAME = origin 07:20:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:20:40 # $SEMVER_USER_NAME = edgex-jenkins 07:20:40 # $SEMVER_BRANCH = PR-507 07:20:40 # $SEMVER_TEMP = /tmp/semver-499713907 07:20:40 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 07:20:43 # '/tmp/semver-499713907' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-507/.semver' 07:20:43 # -> Force: false 07:20:43 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-507/.semver [Pipeline] } 07:20:43 $ docker exec --env ******** --env ******** 61643f4d5a907775a16f45bc93fe9e8623c76da96f6c51d14dde432a1019a540 ssh-agent -k 07:20:43 unset SSH_AUTH_SOCK; 07:20:43 unset SSH_AGENT_PID; 07:20:43 echo Agent pid 58 killed; 07:20:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:20:43 + git semver [Pipeline] } 07:20:43 $ docker stop --time=1 61643f4d5a907775a16f45bc93fe9e8623c76da96f6c51d14dde432a1019a540 07:20:45 $ docker rm -f 61643f4d5a907775a16f45bc93fe9e8623c76da96f6c51d14dde432a1019a540 [Pipeline] // withDockerContainer [Pipeline] sh 07:20:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:20:46 Stashed 1 file(s) [Pipeline] echo 07:20:46 [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 07:20:46 provisioning config files... 07:20:46 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/config8534563256292033421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:47 ---> docker-login.sh 07:20:47 nexus3.edgexfoundry.org:10001 07:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:47 Configure a credential helper to remove this warning. See 07:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:47 07:20:47 Login Succeeded 07:20:47 nexus3.edgexfoundry.org:10002 07:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:47 Configure a credential helper to remove this warning. See 07:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:47 07:20:47 Login Succeeded 07:20:47 nexus3.edgexfoundry.org:10003 07:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:47 Configure a credential helper to remove this warning. See 07:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:47 07:20:47 Login Succeeded 07:20:47 nexus3.edgexfoundry.org:10004 07:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:47 Configure a credential helper to remove this warning. See 07:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:47 07:20:47 Login Succeeded 07:20:47 docker.io 07:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:47 Configure a credential helper to remove this warning. See 07:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:47 07:20:47 Login Succeeded 07:20:47 ---> docker-login.sh ends [Pipeline] } 07:20:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:20:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:20:48 ========================================================= 07:20:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:20:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:20:48 + 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 . 07:20:48 Sending build context to Docker daemon 43.44MB 07:20:48 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 07:20:48 Step 2/15 : FROM ${BASE} AS builder 07:20:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:20:48 59bf1c3509f3: Pulling fs layer 07:20:48 666ba61612fd: Pulling fs layer 07:20:48 8ed8ca486205: Pulling fs layer 07:20:48 4fe6c5a15a65: Pulling fs layer 07:20:48 22a0e8bec74d: Pulling fs layer 07:20:48 640e595b4fbd: Pulling fs layer 07:20:48 763cafe07f6e: Pulling fs layer 07:20:48 0c0b528cf693: Pulling fs layer 07:20:48 10935f4eaf8b: Pulling fs layer 07:20:48 4fe6c5a15a65: Waiting 07:20:48 763cafe07f6e: Waiting 07:20:48 0c0b528cf693: Waiting 07:20:48 22a0e8bec74d: Waiting 07:20:48 10935f4eaf8b: Waiting 07:20:48 640e595b4fbd: Waiting 07:20:48 8ed8ca486205: Download complete 07:20:48 666ba61612fd: Download complete 07:20:48 22a0e8bec74d: Verifying Checksum 07:20:48 22a0e8bec74d: Download complete 07:20:48 640e595b4fbd: Verifying Checksum 07:20:48 640e595b4fbd: Download complete 07:20:48 59bf1c3509f3: Verifying Checksum 07:20:48 59bf1c3509f3: Download complete 07:20:48 763cafe07f6e: Download complete 07:20:48 0c0b528cf693: Verifying Checksum 07:20:48 0c0b528cf693: Download complete 07:20:49 59bf1c3509f3: Pull complete 07:20:49 666ba61612fd: Pull complete 07:20:49 8ed8ca486205: Pull complete 07:20:49 10935f4eaf8b: Verifying Checksum 07:20:49 10935f4eaf8b: Download complete 07:20:49 4fe6c5a15a65: Verifying Checksum 07:20:49 4fe6c5a15a65: Download complete 07:20:53 4fe6c5a15a65: Pull complete 07:20:53 22a0e8bec74d: Pull complete 07:20:53 640e595b4fbd: Pull complete 07:20:53 763cafe07f6e: Pull complete 07:20:53 0c0b528cf693: Pull complete 07:20:55 10935f4eaf8b: Pull complete 07:20:55 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 07:20:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:20:55 ---> 99d49a6021b9 07:20:55 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:20:57 ---> Running in d7c2c4941b86 07:20:57 Removing intermediate container d7c2c4941b86 07:20:57 ---> 949c1299e52c 07:20:57 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 07:20:57 ---> Running in b948078f7343 07:20:57 Removing intermediate container b948078f7343 07:20:57 ---> a3253b30814b 07:20:57 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 07:20:57 ---> Running in cd2b348c7977 07:20:57 Removing intermediate container cd2b348c7977 07:20:57 ---> fc5fd901eb2b 07:20:57 Step 6/15 : LABEL Name=edgex-ui-go 07:20:57 ---> Running in 1f3fb10d7948 07:20:57 Removing intermediate container 1f3fb10d7948 07:20:57 ---> 70a1f3b9face 07:20:57 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:20:57 ---> Running in 0031d0f8b5d0 07:20:57 Removing intermediate container 0031d0f8b5d0 07:20:57 ---> 84a7b7dc453e 07:20:57 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:20:57 ---> Running in 1347856e8915 07:20:58 Removing intermediate container 1347856e8915 07:20:58 ---> c09272ca9239 07:20:58 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:20:58 ---> Running in b53d480014eb 07:20:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:20:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:20:59 OK: 221 MiB in 52 packages 07:21:00 Removing intermediate container b53d480014eb 07:21:00 ---> 8ede670b41cf 07:21:00 Step 10/15 : ENV GO111MODULE=on 07:21:00 ---> Running in e61a0d86e049 07:21:00 Removing intermediate container e61a0d86e049 07:21:00 ---> b4dc30273382 07:21:00 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:21:00 ---> Running in 9050a59ab796 07:21:00 Removing intermediate container 9050a59ab796 07:21:00 ---> e2162b26b62e 07:21:00 Step 12/15 : COPY go.mod vendor* ./ 07:21:00 ---> eca9b725fa0f 07:21:00 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:21:00 ---> Running in f721c37c1f3a 07:21:01 Still waiting to schedule task 07:21:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:21:27 Removing intermediate container f721c37c1f3a 07:21:27 ---> c1aab3819937 07:21:27 Step 14/15 : COPY . . 07:21:27 ---> bb7cf56e96f9 07:21:27 Step 15/15 : RUN ${MAKE} 07:21:27 ---> Running in 2e2a08456e2e 07:21:28 noop 07:21:28 Removing intermediate container 2e2a08456e2e 07:21:28 ---> a485857fd07c 07:21:28 Successfully built a485857fd07c 07:21:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:21:29 + docker inspect -f . ci-base-image-x86_64 07:21:29 . [Pipeline] withDockerContainer 07:21:29 prd-ubuntu20.04-docker-8c-8g-9404 does not seem to be running inside a container 07:21:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-507 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507:/w/workspace/edgexfoundry_edgex-ui-go_PR-507:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@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 07:21:29 $ docker top a7257d2a948c0ea4b1e44188842e318e824dcc79fa2155fe8974b2e5281d6d93 -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:30 + go version 07:21:30 go version go1.17.6 linux/amd64 [Pipeline] } 07:21:30 $ docker stop --time=1 a7257d2a948c0ea4b1e44188842e318e824dcc79fa2155fe8974b2e5281d6d93 07:21:31 $ docker rm -f a7257d2a948c0ea4b1e44188842e318e824dcc79fa2155fe8974b2e5281d6d93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:21:32 + docker inspect -f . ci-base-image-x86_64 07:21:32 . [Pipeline] withDockerContainer 07:21:32 prd-ubuntu20.04-docker-8c-8g-9404 does not seem to be running inside a container 07:21:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-507 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507:/w/workspace/edgexfoundry_edgex-ui-go_PR-507:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@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 07:21:32 $ docker top ad6d1634cd7e92aa887f872acf0512874bc2e5df95b09a7bc46ba10ceb7b3545 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:21:33 + make test 07:21:33 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:21:33 ? github.com/edgexfoundry/edgex-ui-go [no test files] 07:21:38 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 07:21:38 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 07:21:38 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 07:21:38 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 07:21:38 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 07:21:38 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 07:21:38 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 07:21:38 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 07:21:38 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 07:21:38 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 07:21:38 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 07:21:38 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 07:21:38 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:21:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:21:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 07:21:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:21:41 $ docker stop --time=1 ad6d1634cd7e92aa887f872acf0512874bc2e5df95b09a7bc46ba10ceb7b3545 07:21:42 $ docker rm -f ad6d1634cd7e92aa887f872acf0512874bc2e5df95b09a7bc46ba10ceb7b3545 [Pipeline] // withDockerContainer [Pipeline] sh 07:21:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:21:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:21:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:21:44 + ls -al . 07:21:44 total 160 07:21:44 drwxrwxr-x 14 jenkins jenkins 4096 Mar 30 07:21 . 07:21:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 07:20 .. 07:21:44 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 07:20 .git 07:21:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 07:20 .github 07:21:44 -rw-rw-r-- 1 jenkins jenkins 155 Mar 30 07:20 .gitignore 07:21:44 drwx------ 3 jenkins jenkins 4096 Mar 30 07:20 .semver 07:21:44 -rw-rw-r-- 1 jenkins jenkins 3959 Mar 30 07:20 CONTRIBUTING.md 07:21:44 -rw-rw-r-- 1 jenkins jenkins 1549 Mar 30 07:20 Dockerfile 07:21:44 -rw-rw-r-- 1 jenkins jenkins 652 Mar 30 07:20 Jenkinsfile 07:21:44 -rw-rw-r-- 1 jenkins jenkins 11357 Mar 30 07:20 LICENSE 07:21:44 -rw-rw-r-- 1 jenkins jenkins 1212 Mar 30 07:20 Makefile 07:21:44 -rw-rw-r-- 1 jenkins jenkins 4450 Mar 30 07:20 README.md 07:21:44 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 07:20 VERSION 07:21:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 07:20 assets 07:21:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 07:20 bin 07:21:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 07:20 cmd 07:21:44 -rw-r--r-- 1 jenkins jenkins 10 Mar 30 07:21 coverage.out 07:21:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 07:20 docs 07:21:44 -rw-rw-r-- 1 jenkins jenkins 1944 Mar 30 07:20 go.mod 07:21:44 -rw-rw-r-- 1 jenkins jenkins 48565 Mar 30 07:20 go.sum 07:21:44 drwxrwxr-x 9 jenkins jenkins 4096 Mar 30 07:20 internal 07:21:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 07:20 pkg 07:21:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 07:20 snap 07:21:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 07:20 testing 07:21:44 -rw-rw-r-- 1 jenkins jenkins 155 Mar 30 07:20 version.go 07:21:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 07:20 web [Pipeline] isUnix [Pipeline] sh 07:21:45 + 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=d376048168253692306016dbde5d052d0ac71a23 --label arch=amd64 --label version=0.0.0 . 07:21:45 Sending build context to Docker daemon 43.44MB 07:21:45 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 07:21:45 Step 2/23 : FROM ${BASE} AS builder 07:21:45 ---> a485857fd07c 07:21:45 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:21:45 ---> Running in 5552bc889e0a 07:21:45 Removing intermediate container 5552bc889e0a 07:21:45 ---> 81443d7d5d50 07:21:45 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 07:21:45 ---> Running in 957761dea4d0 07:21:46 Removing intermediate container 957761dea4d0 07:21:46 ---> bad6e3c0cb46 07:21:46 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 07:21:46 ---> Running in 07f467ac4866 07:21:46 Removing intermediate container 07f467ac4866 07:21:46 ---> 51831a1b7dfc 07:21:46 Step 6/23 : LABEL Name=edgex-ui-go 07:21:46 ---> Running in 759de44c0a46 07:21:46 Removing intermediate container 759de44c0a46 07:21:46 ---> 3384efa845dc 07:21:46 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:21:46 ---> Running in b58f54f9424c 07:21:46 Removing intermediate container b58f54f9424c 07:21:46 ---> 6676f320bdec 07:21:46 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:21:46 ---> Running in a3f9c1b093c2 07:21:46 Removing intermediate container a3f9c1b093c2 07:21:46 ---> 035781ae9935 07:21:46 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:21:46 ---> Running in b370534a9e26 07:21:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:21:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:21:48 OK: 221 MiB in 52 packages 07:21:48 Removing intermediate container b370534a9e26 07:21:48 ---> c0e4a373d4a2 07:21:48 Step 10/23 : ENV GO111MODULE=on 07:21:48 ---> Running in 206205113f37 07:21:48 Removing intermediate container 206205113f37 07:21:48 ---> 7cc099b45d0b 07:21:48 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:21:48 ---> Running in ca5b8a47f052 07:21:48 Removing intermediate container ca5b8a47f052 07:21:48 ---> d7dc7c477861 07:21:48 Step 12/23 : COPY go.mod vendor* ./ 07:21:49 ---> af5151876303 07:21:49 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:21:49 ---> Running in 8d1e8c6d0b67 07:21:49 Removing intermediate container 8d1e8c6d0b67 07:21:49 ---> 8c18cf657674 07:21:49 Step 14/23 : COPY . . 07:21:51 ---> a466bc35a781 07:21:51 Step 15/23 : RUN ${MAKE} 07:21:51 ---> Running in 4e8e0ba37412 07:21:51 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-ui-go.Version=0.0.0" -o cmd/edgex-ui-server/edgex-ui-server ./cmd/edgex-ui-server 07:21:56 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:21:57 Removing intermediate container 4e8e0ba37412 07:21:57 ---> 4d2f99f78387 07:21:57 Step 16/23 : FROM alpine:3.14 07:21:58 3.14: Pulling from library/alpine 07:21:58 cfab2db72209: Pulling fs layer 07:21:58 cfab2db72209: Verifying Checksum 07:21:58 cfab2db72209: Download complete 07:21:58 cfab2db72209: Pull complete 07:21:58 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 07:21:58 Status: Downloaded newer image for alpine:3.14 07:21:58 ---> 84b07dd2d1fd 07:21:58 Step 17/23 : EXPOSE 4000 07:21:58 ---> Running in 26ba3132e616 07:21:59 Removing intermediate container 26ba3132e616 07:21:59 ---> cac644b1e310 07:21:59 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:21:59 ---> 56d6cff4f788 07:21:59 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:21:59 ---> Running in 88e271cd6c95 07:21:59 Removing intermediate container 88e271cd6c95 07:21:59 ---> a3810cd06860 07:21:59 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 07:21:59 ---> Running in d8db60d8599f 07:21:59 Removing intermediate container d8db60d8599f 07:21:59 ---> b5f263f4b3e9 07:21:59 Step 21/23 : LABEL arch=amd64 07:21:59 ---> Running in 50d1e9c09336 07:21:59 Removing intermediate container 50d1e9c09336 07:21:59 ---> e057d460f167 07:21:59 Step 22/23 : LABEL git_sha=d376048168253692306016dbde5d052d0ac71a23 07:21:59 ---> Running in dec511d29d21 07:22:00 Removing intermediate container dec511d29d21 07:22:00 ---> 7f146914f363 07:22:00 Step 23/23 : LABEL version=0.0.0 07:22:00 ---> Running in 7b469af4c0a3 07:22:00 Removing intermediate container 7b469af4c0a3 07:22:00 ---> 0f285d3dfd79 07:22:00 [Warning] One or more build-args [ARCH] were not consumed 07:22:00 Successfully built 0f285d3dfd79 07:22:00 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 07:22:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:01 07:22:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:22:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:01 latest: Pulling from edgex-lftools-log-publisher 07:22:01 5eb5b503b376: Pulling fs layer 07:22:01 5c69ac0246d0: Pulling fs layer 07:22:01 ec43610c2a17: Pulling fs layer 07:22:01 3a2ae6a8a46f: Pulling fs layer 07:22:01 33b1e0a273af: Pulling fs layer 07:22:01 5d3b04190fa2: Pulling fs layer 07:22:01 2f39f015ded8: Pulling fs layer 07:22:01 3a2ae6a8a46f: Waiting 07:22:01 33b1e0a273af: Waiting 07:22:01 5d3b04190fa2: Waiting 07:22:01 2f39f015ded8: Waiting 07:22:01 5c69ac0246d0: Download complete 07:22:01 3a2ae6a8a46f: Download complete 07:22:01 33b1e0a273af: Verifying Checksum 07:22:01 33b1e0a273af: Download complete 07:22:01 ec43610c2a17: Verifying Checksum 07:22:01 ec43610c2a17: Download complete 07:22:01 5d3b04190fa2: Verifying Checksum 07:22:01 5d3b04190fa2: Download complete 07:22:01 5eb5b503b376: Verifying Checksum 07:22:01 5eb5b503b376: Download complete 07:22:02 2f39f015ded8: Download complete 07:22:02 5eb5b503b376: Pull complete 07:22:03 5c69ac0246d0: Pull complete 07:22:03 ec43610c2a17: Pull complete 07:22:03 3a2ae6a8a46f: Pull complete 07:22:03 33b1e0a273af: Pull complete 07:22:03 5d3b04190fa2: Pull complete 07:22:08 2f39f015ded8: Pull complete 07:22:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:22:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:22:08 prd-ubuntu20.04-docker-8c-8g-9404 does not seem to be running inside a container 07:22:08 $ 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-507 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507:/w/workspace/edgexfoundry_edgex-ui-go_PR-507:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:22:10 $ docker top 5455e6b59e7d6a6f98679aa101b8b6ac488d72d0e77f3d5a4ff9fe312de8deb3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:10 ---> job-cost.sh 07:22:10 lf-activate-venv: SKIPPING 07:22:10 INFO: No Stack... 07:22:10 INFO: Retrieving Pricing Info for: v3-standard-8 07:22:11 INFO: Archiving Costs [Pipeline] sh 07:22:11 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-507/archives/cost.csv 07:22:11 + cut -d, -f6 [Pipeline] lock 07:22:11 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-507-1-stack-cost] 07:22:11 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-507-1-stack-cost] did not exist. Created. 07:22:11 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-507-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:22:12 + echo total: 0.2199999988079071 [Pipeline] stash 07:22:12 Stashed 1 file(s) [Pipeline] } 07:22:12 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-507-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:22:12 $ docker stop --time=1 5455e6b59e7d6a6f98679aa101b8b6ac488d72d0e77f3d5a4ff9fe312de8deb3 07:22:13 $ docker rm -f 5455e6b59e7d6a6f98679aa101b8b6ac488d72d0e77f3d5a4ff9fe312de8deb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:22:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9405 in /w/workspace/edgexfoundry_edgex-ui-go_PR-507 [Pipeline] { [Pipeline] ws 07:22:38 Running in /w/workspace/edgex-ui-go/1 [Pipeline] { [Pipeline] checkout 07:22:38 The recommended git tool is: git 07:22:46 using credential edgex-jenkins-ssh 07:22:46 Cloning the remote Git repository 07:22:46 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 07:22:46 > git init /w/workspace/edgex-ui-go/1 # timeout=10 07:22:46 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 07:22:46 > git --version # timeout=10 07:22:46 > git --version # 'git version 2.25.1' 07:22:46 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:50 Merging remotes/origin/main commit a297faecba2e479c84256204d88875266373bb25 into PR head commit d376048168253692306016dbde5d052d0ac71a23 07:22:49 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 07:22:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:49 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 07:22:49 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 07:22:49 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:22:50 > git config core.sparsecheckout # timeout=10 07:22:50 > git checkout -f d376048168253692306016dbde5d052d0ac71a23 # timeout=10 07:22:51 Merge succeeded, producing d376048168253692306016dbde5d052d0ac71a23 07:22:51 Checking out Revision d376048168253692306016dbde5d052d0ac71a23 (PR-507) 07:22:51 > git remote # timeout=10 07:22:51 > git config --get remote.origin.url # timeout=10 07:22:51 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:51 > git merge a297faecba2e479c84256204d88875266373bb25 # timeout=10 07:22:51 > git rev-parse HEAD^{commit} # timeout=10 07:22:51 > git config core.sparsecheckout # timeout=10 07:22:51 > git checkout -f d376048168253692306016dbde5d052d0ac71a23 # timeout=10 07:22:55 Commit message: "feat: add security response header and cache control header and remove Authorization request header under unsecure mode" 07:22:55 > git --version # timeout=10 07:22:55 > git --version # 'git version 2.25.1' 07:22:55 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:22:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:22:56 % Total % Received % Xferd Average Speed Time Time Time Current 07:22:56 Dload Upload Total Spent Left Speed 07:22:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47183 0 --:--:-- --:--:-- --:--:-- 47183 [Pipeline] sh 07:22:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:22:57 + sudo tee /etc/docker/daemon.new 07:22:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:22:57 { 07:22:57 "registry-mirrors": [ 07:22:57 "https://nexus3.edgexfoundry.org:10001" 07:22:57 ], 07:22:57 "bip": "10.250.0.254/24", 07:22:57 "hosts": [ 07:22:57 "tcp://0.0.0.0:5555", 07:22:57 "unix:///var/run/docker.sock" 07:22:57 ], 07:22:57 "mtu": 1458, 07:22:57 "selinux-enabled": true, 07:22:57 "seccomp-profile": "/etc/docker/seccomp.json" 07:22:57 } [Pipeline] sh 07:22:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:22:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:23:16 provisioning config files... 07:23:16 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/1@tmp/config195968242326930844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:17 ---> docker-login.sh 07:23:17 nexus3.edgexfoundry.org:10001 07:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:18 Configure a credential helper to remove this warning. See 07:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:18 07:23:18 Login Succeeded 07:23:18 nexus3.edgexfoundry.org:10002 07:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:18 Configure a credential helper to remove this warning. See 07:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:18 07:23:18 Login Succeeded 07:23:18 nexus3.edgexfoundry.org:10003 07:23:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:19 Configure a credential helper to remove this warning. See 07:23:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:19 07:23:19 Login Succeeded 07:23:19 nexus3.edgexfoundry.org:10004 07:23:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:19 Configure a credential helper to remove this warning. See 07:23:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:19 07:23:19 Login Succeeded 07:23:19 docker.io 07:23:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:20 Configure a credential helper to remove this warning. See 07:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:20 07:23:20 Login Succeeded 07:23:20 ---> docker-login.sh ends [Pipeline] } 07:23:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:23:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:23:20 ========================================================= 07:23:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 07:23:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:23:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 07:23:22 Sending build context to Docker daemon 27.35MB 07:23:22 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 07:23:22 Step 2/15 : FROM ${BASE} AS builder 07:23:22 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:23:22 9b3977197b4f: Pulling fs layer 07:23:22 1a89e8eeedd5: Pulling fs layer 07:23:22 94645a83ff95: Pulling fs layer 07:23:22 3f3a8bcf1eab: Pulling fs layer 07:23:22 0c92f367c5e7: Pulling fs layer 07:23:22 f7c0051592d6: Pulling fs layer 07:23:22 a227ed2f7395: Pulling fs layer 07:23:22 7b1c46037f91: Pulling fs layer 07:23:22 0c92f367c5e7: Waiting 07:23:22 f7c0051592d6: Waiting 07:23:22 3f3a8bcf1eab: Waiting 07:23:22 a227ed2f7395: Waiting 07:23:22 7b1c46037f91: Waiting 07:23:22 94645a83ff95: Verifying Checksum 07:23:22 94645a83ff95: Download complete 07:23:22 1a89e8eeedd5: Download complete 07:23:22 0c92f367c5e7: Verifying Checksum 07:23:22 0c92f367c5e7: Download complete 07:23:22 f7c0051592d6: Verifying Checksum 07:23:22 f7c0051592d6: Download complete 07:23:22 9b3977197b4f: Verifying Checksum 07:23:22 9b3977197b4f: Download complete 07:23:22 a227ed2f7395: Verifying Checksum 07:23:22 a227ed2f7395: Download complete 07:23:23 9b3977197b4f: Pull complete 07:23:23 1a89e8eeedd5: Pull complete 07:23:24 94645a83ff95: Pull complete 07:23:24 7b1c46037f91: Verifying Checksum 07:23:24 7b1c46037f91: Download complete 07:23:25 3f3a8bcf1eab: Verifying Checksum 07:23:25 3f3a8bcf1eab: Download complete 07:23:37 3f3a8bcf1eab: Pull complete 07:23:37 0c92f367c5e7: Pull complete 07:23:37 f7c0051592d6: Pull complete 07:23:37 a227ed2f7395: Pull complete 07:23:44 7b1c46037f91: Pull complete 07:23:44 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 07:23:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:23:44 ---> f79e39bc4007 07:23:44 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:23:45 ---> Running in 2ddd97c52811 07:23:45 Removing intermediate container 2ddd97c52811 07:23:45 ---> e7bbf87b453a 07:23:45 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 07:23:45 ---> Running in 58952b66b8ad 07:23:46 Removing intermediate container 58952b66b8ad 07:23:46 ---> 4fc3361b359e 07:23:46 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 07:23:46 ---> Running in 47b5ff8eab5d 07:23:46 Removing intermediate container 47b5ff8eab5d 07:23:46 ---> dc04bdc913b6 07:23:46 Step 6/15 : LABEL Name=edgex-ui-go 07:23:46 ---> Running in a34230c8661a 07:23:46 Removing intermediate container a34230c8661a 07:23:46 ---> 4a9b0b038aa0 07:23:46 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:23:46 ---> Running in 12cbb46f4aa0 07:23:47 Removing intermediate container 12cbb46f4aa0 07:23:47 ---> b422b00d6b4a 07:23:47 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:23:47 ---> Running in 11dd1fdd13e0 07:23:49 Removing intermediate container 11dd1fdd13e0 07:23:49 ---> d67d85100aa6 07:23:49 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:23:49 ---> Running in e1419bd5b24d 07:23:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:23:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:23:51 OK: 220 MiB in 52 packages 07:23:53 Removing intermediate container e1419bd5b24d 07:23:53 ---> 62fe99859bb9 07:23:53 Step 10/15 : ENV GO111MODULE=on 07:23:53 ---> Running in 01f99f7b531d 07:23:54 Removing intermediate container 01f99f7b531d 07:23:54 ---> 25f66ccee2a1 07:23:54 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:23:54 ---> Running in 759fc9647b63 07:23:54 Removing intermediate container 759fc9647b63 07:23:54 ---> 17b99c8f55f6 07:23:54 Step 12/15 : COPY go.mod vendor* ./ 07:23:55 ---> 67df9a699559 07:23:55 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:23:55 ---> Running in c69bb592b912 07:25:17 Removing intermediate container c69bb592b912 07:25:17 ---> c115c2b01249 07:25:17 Step 14/15 : COPY . . 07:25:17 ---> dcbe7cef8b18 07:25:17 Step 15/15 : RUN ${MAKE} 07:25:17 ---> Running in a1aa71f6f779 07:25:17 noop 07:25:17 Removing intermediate container a1aa71f6f779 07:25:17 ---> bbb245b6c46c 07:25:17 Successfully built bbb245b6c46c 07:25:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:25:17 + docker inspect -f . ci-base-image-arm64 07:25:17 . [Pipeline] withDockerContainer 07:25:17 prd-ubuntu20.04-docker-arm64-4c-16g-9405 does not seem to be running inside a container 07:25:18 $ 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 07:25:19 $ docker top 5ced6cf8389699d88a12eed7c99bc846599c380c0feb1c64ba8585456d5b5f80 -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:20 + go version 07:25:20 go version go1.17.6 linux/arm64 [Pipeline] } 07:25:20 $ docker stop --time=1 5ced6cf8389699d88a12eed7c99bc846599c380c0feb1c64ba8585456d5b5f80 07:25:21 $ docker rm -f 5ced6cf8389699d88a12eed7c99bc846599c380c0feb1c64ba8585456d5b5f80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:25:22 + docker inspect -f . ci-base-image-arm64 07:25:22 . [Pipeline] withDockerContainer 07:25:23 prd-ubuntu20.04-docker-arm64-4c-16g-9405 does not seem to be running inside a container 07:25:23 $ 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 07:25:24 $ docker top ba53101578fe47900dfa46f1570b743ba86eb1db6e1beaa6139ee4c8884ba17f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:25:25 + make test 07:25:25 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:25:26 ? github.com/edgexfoundry/edgex-ui-go [no test files] 07:26:05 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 07:26:05 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 07:26:05 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 07:26:05 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 07:26:05 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 07:26:05 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 07:26:05 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 07:26:05 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 07:26:05 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 07:26:05 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 07:26:05 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 07:26:05 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 07:26:05 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:26:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:26:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 07:26:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:26:23 $ docker stop --time=1 ba53101578fe47900dfa46f1570b743ba86eb1db6e1beaa6139ee4c8884ba17f 07:26:25 $ docker rm -f ba53101578fe47900dfa46f1570b743ba86eb1db6e1beaa6139ee4c8884ba17f [Pipeline] // withDockerContainer [Pipeline] sh 07:26:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:26:26 Warning: overwriting stash ‘coverage-report’ 07:26:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:26:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:26:27 + ls -al . 07:26:27 total 156 07:26:27 drwxrwxr-x 13 jenkins jenkins 4096 Mar 30 07:25 . 07:26:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 07:22 .. 07:26:27 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 07:22 .git 07:26:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 07:22 .github 07:26:27 -rw-rw-r-- 1 jenkins jenkins 155 Mar 30 07:22 .gitignore 07:26:27 -rw-rw-r-- 1 jenkins jenkins 3959 Mar 30 07:22 CONTRIBUTING.md 07:26:27 -rw-rw-r-- 1 jenkins jenkins 1549 Mar 30 07:22 Dockerfile 07:26:27 -rw-rw-r-- 1 jenkins jenkins 652 Mar 30 07:22 Jenkinsfile 07:26:27 -rw-rw-r-- 1 jenkins jenkins 11357 Mar 30 07:22 LICENSE 07:26:27 -rw-rw-r-- 1 jenkins jenkins 1212 Mar 30 07:22 Makefile 07:26:27 -rw-rw-r-- 1 jenkins jenkins 4450 Mar 30 07:22 README.md 07:26:27 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 07:20 VERSION 07:26:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 07:22 assets 07:26:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 07:22 bin 07:26:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 07:22 cmd 07:26:27 -rw-r--r-- 1 jenkins jenkins 10 Mar 30 07:25 coverage.out 07:26:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 07:22 docs 07:26:27 -rw-rw-r-- 1 jenkins jenkins 1944 Mar 30 07:22 go.mod 07:26:27 -rw-rw-r-- 1 jenkins jenkins 48565 Mar 30 07:22 go.sum 07:26:27 drwxrwxr-x 9 jenkins jenkins 4096 Mar 30 07:22 internal 07:26:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 07:22 pkg 07:26:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 07:22 snap 07:26:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 07:22 testing 07:26:27 -rw-rw-r-- 1 jenkins jenkins 155 Mar 30 07:22 version.go 07:26:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 07:22 web [Pipeline] isUnix [Pipeline] sh 07:26:28 + 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=d376048168253692306016dbde5d052d0ac71a23 --label arch=arm64 --label version=0.0.0 . 07:26:29 Sending build context to Docker daemon 27.35MB 07:26:29 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 07:26:29 Step 2/23 : FROM ${BASE} AS builder 07:26:29 ---> bbb245b6c46c 07:26:29 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:26:29 ---> Running in 258c3e74264b 07:26:29 Removing intermediate container 258c3e74264b 07:26:29 ---> cfcabac8cd26 07:26:29 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 07:26:29 ---> Running in 5f9a8e59bf45 07:26:30 Removing intermediate container 5f9a8e59bf45 07:26:30 ---> 32b2a696e47c 07:26:30 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 07:26:30 ---> Running in 5a4092de5c1d 07:26:30 Removing intermediate container 5a4092de5c1d 07:26:30 ---> ec1b86d2cf7c 07:26:30 Step 6/23 : LABEL Name=edgex-ui-go 07:26:30 ---> Running in f6a1fad00c73 07:26:30 Removing intermediate container f6a1fad00c73 07:26:30 ---> 20dce076fb9e 07:26:30 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:26:30 ---> Running in fe1ab44dc008 07:26:31 Removing intermediate container fe1ab44dc008 07:26:31 ---> 74db78214f43 07:26:31 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:26:31 ---> Running in 8e1db748e4f7 07:26:33 Removing intermediate container 8e1db748e4f7 07:26:33 ---> 176743b26dc7 07:26:33 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:26:33 ---> Running in 6568a6ae199f 07:26:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:26:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:26:35 OK: 220 MiB in 52 packages 07:26:36 Removing intermediate container 6568a6ae199f 07:26:36 ---> d3f665684332 07:26:36 Step 10/23 : ENV GO111MODULE=on 07:26:36 ---> Running in f9d2e1050c15 07:26:36 Removing intermediate container f9d2e1050c15 07:26:36 ---> 7b55c42082ec 07:26:36 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:26:36 ---> Running in aabdd12b43e2 07:26:37 Removing intermediate container aabdd12b43e2 07:26:37 ---> 203b08055f73 07:26:37 Step 12/23 : COPY go.mod vendor* ./ 07:26:37 ---> e299407436b9 07:26:37 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:26:37 ---> Running in 0e9cc785e1c1 07:26:40 Removing intermediate container 0e9cc785e1c1 07:26:40 ---> b3907a97beea 07:26:40 Step 14/23 : COPY . . 07:26:42 ---> 6101da36b183 07:26:42 Step 15/23 : RUN ${MAKE} 07:26:42 ---> Running in 6379fe8a720b 07:26: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 07:27:16 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:27:19 Removing intermediate container 6379fe8a720b 07:27:19 ---> 9868aa255c52 07:27:19 Step 16/23 : FROM alpine:3.14 07:27:19 3.14: Pulling from library/alpine 07:27:19 810d54c7e01b: Pulling fs layer 07:27:20 810d54c7e01b: Verifying Checksum 07:27:20 810d54c7e01b: Download complete 07:27:20 810d54c7e01b: Pull complete 07:27:20 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 07:27:20 Status: Downloaded newer image for alpine:3.14 07:27:20 ---> cc3d11fa2d52 07:27:20 Step 17/23 : EXPOSE 4000 07:27:21 ---> Running in c0958d0fa664 07:27:21 Removing intermediate container c0958d0fa664 07:27:21 ---> 56f15fa59b97 07:27:21 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:27:22 ---> 7120d6533e7c 07:27:22 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:27:22 ---> Running in 4121aba76b76 07:27:23 Removing intermediate container 4121aba76b76 07:27:23 ---> 19b96bdf0091 07:27:23 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 07:27:23 ---> Running in cd0fc0638f91 07:27:23 Removing intermediate container cd0fc0638f91 07:27:23 ---> 29f3bfe67ee3 07:27:23 Step 21/23 : LABEL arch=arm64 07:27:23 ---> Running in 75353c5c1e88 07:27:23 Removing intermediate container 75353c5c1e88 07:27:23 ---> 715100ca4b7f 07:27:23 Step 22/23 : LABEL git_sha=d376048168253692306016dbde5d052d0ac71a23 07:27:23 ---> Running in ae8a91566b38 07:27:24 Removing intermediate container ae8a91566b38 07:27:24 ---> 1ff7b95918f8 07:27:24 Step 23/23 : LABEL version=0.0.0 07:27:24 ---> Running in 1df4b7f3d1fb 07:27:24 Removing intermediate container 1df4b7f3d1fb 07:27:24 ---> 6db103e76dff 07:27:24 [Warning] One or more build-args [ARCH] were not consumed 07:27:24 Successfully built 6db103e76dff 07:27:24 Successfully tagged edgex-ui-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:27:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:27:25 07:27:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:27:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:27:26 arm64: Pulling from edgex-lftools-log-publisher 07:27:26 8998bd30e6a1: Pulling fs layer 07:27:26 04944245beec: Pulling fs layer 07:27:26 699f458cf7ca: Pulling fs layer 07:27:26 765212b225bb: Pulling fs layer 07:27:26 f23df028b6ca: Pulling fs layer 07:27:26 d65c8cfc05b1: Pulling fs layer 07:27:26 2437ff75d9bd: Pulling fs layer 07:27:26 765212b225bb: Waiting 07:27:26 f23df028b6ca: Waiting 07:27:26 d65c8cfc05b1: Waiting 07:27:26 2437ff75d9bd: Waiting 07:27:26 04944245beec: Download complete 07:27:26 765212b225bb: Verifying Checksum 07:27:26 765212b225bb: Download complete 07:27:26 f23df028b6ca: Verifying Checksum 07:27:26 f23df028b6ca: Download complete 07:27:26 d65c8cfc05b1: Verifying Checksum 07:27:26 d65c8cfc05b1: Download complete 07:27:26 699f458cf7ca: Verifying Checksum 07:27:26 699f458cf7ca: Download complete 07:27:26 8998bd30e6a1: Verifying Checksum 07:27:26 8998bd30e6a1: Download complete 07:27:28 2437ff75d9bd: Verifying Checksum 07:27:28 2437ff75d9bd: Download complete 07:27:31 8998bd30e6a1: Pull complete 07:27:31 04944245beec: Pull complete 07:27:33 699f458cf7ca: Pull complete 07:27:33 765212b225bb: Pull complete 07:27:34 f23df028b6ca: Pull complete 07:27:34 d65c8cfc05b1: Pull complete 07:27:49 2437ff75d9bd: Pull complete 07:27:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:27:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:27:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:27:49 prd-ubuntu20.04-docker-arm64-4c-16g-9405 does not seem to be running inside a container 07:27:49 $ 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 07:27:52 $ docker top 9d431327a8a361a776af8fd9c9f24889b5c1e209f33a31ed934cda758a7ecba2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:27:53 ---> job-cost.sh 07:27:53 lf-activate-venv: SKIPPING 07:27:53 INFO: No Stack... 07:27:53 INFO: Retrieving Pricing Info for: v3-standard-4 07:27:54 INFO: Archiving Costs [Pipeline] sh 07:27:55 + cat /w/workspace/edgex-ui-go/1/archives/cost.csv 07:27:55 + cut -d, -f6 [Pipeline] lock 07:27:55 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-507-1-stack-cost] 07:27:55 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-507-1-stack-cost] did not exist. Created. 07:27:55 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-507-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:27:55 /w/workspace/edgex-ui-go/1@tmp/durable-b440dad0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:27:56 + echo total: 0.10999999940395355 [Pipeline] stash 07:27:56 Warning: overwriting stash ‘stack-cost’ 07:27:56 Stashed 1 file(s) [Pipeline] } 07:27:56 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-507-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:27:56 $ docker stop --time=1 9d431327a8a361a776af8fd9c9f24889b5c1e209f33a31ed934cda758a7ecba2 07:27:58 $ docker rm -f 9d431327a8a361a776af8fd9c9f24889b5c1e209f33a31ed934cda758a7ecba2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:27:59 provisioning config files... 07:27:59 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/config5717888354553858111tmp [Pipeline] { [Pipeline] sh 07:27:59 + set +x 07:27:59 + curl -s https://codecov.io/bash 07:27:59 + bash -s -- 07:27:59 07:27:59 _____ _ 07:27:59 / ____| | | 07:27:59 | | ___ __| | ___ ___ _____ __ 07:27:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:27:59 | |___| (_) | (_| | __/ (_| (_) \ V / 07:27:59 \_____\___/ \__,_|\___|\___\___/ \_/ 07:27:59 Bash-1.0.6 07:27:59 07:27:59 07:27:59 ==> git version 2.25.1 found 07:27:59 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:27:59 Release-Date: 2020-01-08 07:27:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:27:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:27:59 ==> Jenkins CI detected. 07:27:59 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-507 07:27:59 project root: . 07:27:59 --> token set from env 07:27:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:27:59 ==> Running gcov in . (disable via -X gcov) 07:27:59 ==> Python coveragepy not found 07:27:59 ==> Searching for coverage reports in: 07:27:59 + . 07:27:59 -> Found 1 reports 07:28:00 ==> Detecting git/mercurial file structure 07:28:00 ==> Reading reports 07:28:00 + ./coverage.out bytes=10 07:28:00 ==> Appending adjustments 07:28:00 https://docs.codecov.io/docs/fixing-reports 07:28:00 + Found adjustments 07:28:00 ==> Gzipping contents 07:28:00 4.0K /tmp/codecov.0qEc8P.gz 07:28:00 ==> Uploading reports 07:28:00 url: https://codecov.io 07:28:00 query: branch=PR-507&commit=d376048168253692306016dbde5d052d0ac71a23&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-507%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=507&job=&cmd_args= 07:28:00 -> Pinging Codecov 07:28:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-507&commit=d376048168253692306016dbde5d052d0ac71a23&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-507%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=507&job=&cmd_args= 07:28:00 -> Uploading to 07:28:00 https://storage.googleapis.com/codecov/v4/raw/2022-03-30/FB506323287CE973F263BFD2A0EB1F37/d376048168253692306016dbde5d052d0ac71a23/ce2b41ab-9226-40c6-a7ac-754c22257bde.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220330%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220330T072800Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=49dd9557b45967b17c7d69d3a919adbf00f6f1fad264acbda75e929ff6b33ccc 07:28:00 % Total % Received % Xferd Average Speed Time Time Time Current 07:28:00 Dload Upload Total Spent Left Speed 07:28:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4057 0 0 100 4057 0 18357 --:--:-- --:--:-- --:--:-- 18274 100 4057 0 0 100 4057 0 16764 --:--:-- --:--:-- --:--:-- 16695 07:28:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/d376048168253692306016dbde5d052d0ac71a23 [Pipeline] } 07:28:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:28:02 + [ -d /w/workspace/edgexfoundry_edgex-ui-go_PR-507/archives ] 07:28:02 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-507/archives 07:28:02 total 16 07:28:02 drwxr-xr-x 3 root root 4096 Mar 30 07:22 . 07:28:02 drwxrwxr-x 15 jenkins jenkins 4096 Mar 30 07:22 .. 07:28:02 drwxr-xr-x 2 root root 4096 Mar 30 07:22 cost 07:28:02 -rw-r--r-- 1 root root 82 Mar 30 07:22 cost.csv 07:28:02 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-507/archives 07:28:02 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-507/archives 07:28:02 total 16 07:28:02 drwxr-xr-x 3 jenkins jenkins 4096 Mar 30 07:22 . 07:28:02 drwxrwxr-x 15 jenkins jenkins 4096 Mar 30 07:22 .. 07:28:02 drwxr-xr-x 2 jenkins jenkins 4096 Mar 30 07:22 cost 07:28:02 -rw-r--r-- 1 jenkins jenkins 82 Mar 30 07:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:28:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:28:03 ---> package-listing.sh 07:28:03 ++ facter osfamily 07:28:03 ++ tr '[:upper:]' '[:lower:]' 07:28:03 + OS_FAMILY=debian 07:28:03 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-507 07:28:03 + START_PACKAGES=/tmp/packages_start.txt 07:28:03 + END_PACKAGES=/tmp/packages_end.txt 07:28:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:28:03 + PACKAGES=/tmp/packages_start.txt 07:28:03 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-507 ']' 07:28:03 + PACKAGES=/tmp/packages_end.txt 07:28:03 + case "${OS_FAMILY}" in 07:28:03 + dpkg -l 07:28:03 + grep '^ii' 07:28:03 + '[' -f /tmp/packages_start.txt ']' 07:28:03 + '[' -f /tmp/packages_end.txt ']' 07:28:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:28:03 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-507 ']' 07:28:03 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-507/archives/ 07:28:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-507/archives/ [Pipeline] echo 07:28:03 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-507/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:28:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:28:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:28:04 . [Pipeline] withDockerContainer 07:28:04 prd-ubuntu20.04-docker-8c-8g-9404 does not seem to be running inside a container 07:28:04 $ 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-507/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-507 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507:/w/workspace/edgexfoundry_edgex-ui-go_PR-507:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@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 07:28:05 $ docker top f6d73e7805a3b6b14445783457a4fe2f67fbf81d72da4e52da4bd45c13964a04 -eo pid,comm [Pipeline] { [Pipeline] sh 07:28:05 + touch /tmp/pre-build-complete [Pipeline] sh 07:28:05 + mkdir -p /var/log/sysstat [Pipeline] sh 07:28:06 + ls /var/log/sa-host 07:28:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:28:06 provisioning config files... 07:28:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-507@tmp/config5461532798087071661tmp [Pipeline] { [Pipeline] echo 07:28:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:28:06 ---> create-netrc.sh [Pipeline] } 07:28:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:28:07 ---> python-tools-install.sh [Pipeline] echo 07:28:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:28:07 ---> sudo-logs.sh 07:28:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:28:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:28:08 ---> job-cost.sh 07:28:08 lf-activate-venv: SKIPPING 07:28:08 DEBUG: total: 0.2199999988079071 07:28:08 INFO: Retrieving Stack Cost... 07:28:08 INFO: Retrieving Pricing Info for: v3-standard-8 07:28:08 INFO: Archiving Costs [Pipeline] echo 07:28:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:28:09 ---> logs-deploy.sh 07:28:09 lf-activate-venv: SKIPPING 07:28:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-507/1 07:28:09 INFO: archiving workspace using pattern(s): 07:28:10 Archives upload complete. 07:28:10 INFO: archiving logs to Nexus