Pull request #514 updated 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 813c360ca325af316d6a4c9b63767711f7c00ebe+61e021de92dc5d27c5c2e098210b469bf1a31456 (7db4151a53a2440cefd2df5c82c032292c8564ed) 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-ssh2384427982174419771.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-ssh7886157410673891286.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-514/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-514/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8695879593267790978.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 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-ssh11072807050477124026.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-514/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-514/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6532112808909569235.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:edgex-ui-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-ui-go-settings PROJECT: edgex-ui-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: edgex-ui DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20686 in /w/workspace/edgexfoundry_edgex-ui-go_PR-514 [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-514 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Merging remotes/origin/main commit 61e021de92dc5d27c5c2e098210b469bf1a31456 into PR head commit 813c360ca325af316d6a4c9b63767711f7c00ebe Merge succeeded, producing 813c360ca325af316d6a4c9b63767711f7c00ebe Checking out Revision 813c360ca325af316d6a4c9b63767711f7c00ebe (PR-514) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/514/head:refs/remotes/origin/PR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 813c360ca325af316d6a4c9b63767711f7c00ebe # 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 61e021de92dc5d27c5c2e098210b469bf1a31456 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 813c360ca325af316d6a4c9b63767711f7c00ebe # timeout=10 Commit message: "feat: add attribution.txt file including all open source projects referenced by edgex-ui-go" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:05:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:05:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:05:32 ========================================================= 15:05:32 EdgeX Global Pipelines Version Info 15:05:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2a578c4c20547992001bb126bfe8a96781a183b3 # timeout=10 15:05:33 ------------------- 15:05:33 stable info: 15:05:33 ------------------- 15:05:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:05:33 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:05:33 Message: update stable to v1.0.221 15:05:33 ------------------- 15:05:33 experimental info: 15:05:33 ------------------- 15:05:33 Commited By: **** collab-it+edgex@linuxfoundation.org 15:05:33 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:05:33 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-514 [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-514 [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-514 [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 813c360ca325af316d6a4c9b63767711f7c00ebe [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 813c360 [Pipeline] echo 15:05:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:05:34 provisioning config files... 15:05:34 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp/config1824770505672366088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:05:34 ---> docker-login.sh 15:05:34 nexus3.edgexfoundry.org:10001 15:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:35 Configure a credential helper to remove this warning. See 15:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:35 15:05:35 Login Succeeded 15:05:35 nexus3.edgexfoundry.org:10002 15:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:35 Configure a credential helper to remove this warning. See 15:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:35 15:05:35 Login Succeeded 15:05:35 nexus3.edgexfoundry.org:10003 15:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:35 Configure a credential helper to remove this warning. See 15:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:35 15:05:35 Login Succeeded 15:05:35 nexus3.edgexfoundry.org:10004 15:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:35 Configure a credential helper to remove this warning. See 15:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:35 15:05:35 Login Succeeded 15:05:35 docker.io 15:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:36 Configure a credential helper to remove this warning. See 15:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:36 15:05:36 Login Succeeded 15:05:36 ---> docker-login.sh ends [Pipeline] } 15:05:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:05:36 + git rev-list -1 --merges 813c360ca325af316d6a4c9b63767711f7c00ebe~1..813c360ca325af316d6a4c9b63767711f7c00ebe [Pipeline] echo 15:05:36 -----------> git rev-list -1 --merges 813c360ca325af316d6a4c9b63767711f7c00ebe~1..813c360ca325af316d6a4c9b63767711f7c00ebe 813c360ca325af316d6a4c9b63767711f7c00ebe [false] [Pipeline] sh 15:05:37 + git log --format=format:%s -1 813c360ca325af316d6a4c9b63767711f7c00ebe [Pipeline] echo 15:05:37 ========================================================= 15:05:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:05:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:05:37 + git log --format=format:%s -1 813c360ca325af316d6a4c9b63767711f7c00ebe [Pipeline] echo 15:05:37 [semverPrep] GIT_COMMIT: 813c360ca325af316d6a4c9b63767711f7c00ebe, Commit Message: feat: add attribution.txt file including all open source projects referenced by edgex-ui-go [Pipeline] echo 15:05:37 [semverPrep] This is not a build commit. [Pipeline] sh 15:05:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:05:37 + grep -v github /etc/ssh/ssh_known_hosts 15:05:37 + [ -e /tmp/ssh_known_hosts ] 15:05:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:05:37 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 15:05:37 -a /etc/ssh/ssh_known_hosts 15:05:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:05:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:05:38 15:05:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:05:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:05:38 latest: Pulling from edgex-devops/git-semver 15:05:38 a0d0a0d46f8b: Pulling fs layer 15:05:38 3e5f54012d9b: Pulling fs layer 15:05:38 4c7163046ea9: Pulling fs layer 15:05:38 0c2d73faf560: Pulling fs layer 15:05:38 0c2d73faf560: Waiting 15:05:38 3e5f54012d9b: Download complete 15:05:38 a0d0a0d46f8b: Verifying Checksum 15:05:38 a0d0a0d46f8b: Download complete 15:05:38 0c2d73faf560: Verifying Checksum 15:05:38 0c2d73faf560: Download complete 15:05:38 4c7163046ea9: Verifying Checksum 15:05:38 4c7163046ea9: Download complete 15:05:38 a0d0a0d46f8b: Pull complete 15:05:39 3e5f54012d9b: Pull complete 15:05:39 4c7163046ea9: Pull complete 15:05:39 0c2d73faf560: Pull complete 15:05:39 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:05:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:05:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:05:39 prd-ubuntu20.04-docker-8c-8g-20686 does not seem to be running inside a container 15:05:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-514 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-514:/w/workspace/edgexfoundry_edgex-ui-go_PR-514:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-514@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:10004/edgex-devops/git-semver:latest cat 15:05:40 $ docker top 11392114e2e818c34ac8370bab2a9d6cff0c13313cf65fdf2e8543d6283171a1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:05:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:05:40 [ssh-agent] Looking for ssh-agent implementation... 15:05:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:05:40 $ docker exec 11392114e2e818c34ac8370bab2a9d6cff0c13313cf65fdf2e8543d6283171a1 ssh-agent 15:05:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIcLnMi/agent.13 15:05:40 SSH_AGENT_PID=20 15:05:40 Running ssh-add (command line suppressed) 15:05:41 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp/private_key_1663174300442582984.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp/private_key_1663174300442582984.key) 15:05:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:05:41 + git tag --points-at HEAD [Pipeline] } 15:05:41 $ docker exec --env ******** --env ******** 11392114e2e818c34ac8370bab2a9d6cff0c13313cf65fdf2e8543d6283171a1 ssh-agent -k 15:05:41 unset SSH_AUTH_SOCK; 15:05:41 unset SSH_AGENT_PID; 15:05:41 echo Agent pid 20 killed; 15:05:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:05:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:05:41 [ssh-agent] Looking for ssh-agent implementation... 15:05:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:05:41 $ docker exec 11392114e2e818c34ac8370bab2a9d6cff0c13313cf65fdf2e8543d6283171a1 ssh-agent 15:05:41 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBgCMGP/agent.52 15:05:41 SSH_AGENT_PID=59 15:05:41 Running ssh-add (command line suppressed) 15:05:41 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp/private_key_4297104903792499760.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp/private_key_4297104903792499760.key) 15:05:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:05:42 + git semver init 15:05:42 # -> Open(): unable to determine branch for HEAD 15:05:42 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-514/.git 15:05:42 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-514 15:05:42 # $SEMVER_REMOTE_NAME = origin 15:05:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:05:42 # $SEMVER_USER_NAME = edgex-jenkins 15:05:42 # $SEMVER_BRANCH = PR-514 15:05:42 # $SEMVER_TEMP = /tmp/semver-634205552 15:05:42 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 15:05:44 # '/tmp/semver-634205552' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-514/.semver' 15:05:44 # -> Force: false 15:05:44 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-514/.semver [Pipeline] } 15:05:44 $ docker exec --env ******** --env ******** 11392114e2e818c34ac8370bab2a9d6cff0c13313cf65fdf2e8543d6283171a1 ssh-agent -k 15:05:44 unset SSH_AUTH_SOCK; 15:05:44 unset SSH_AGENT_PID; 15:05:44 echo Agent pid 59 killed; 15:05:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:05:45 + git semver [Pipeline] } 15:05:45 $ docker stop --time=1 11392114e2e818c34ac8370bab2a9d6cff0c13313cf65fdf2e8543d6283171a1 15:05:46 $ docker rm -f 11392114e2e818c34ac8370bab2a9d6cff0c13313cf65fdf2e8543d6283171a1 [Pipeline] // withDockerContainer [Pipeline] sh 15:05:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:05:47 Stashed 1 file(s) [Pipeline] echo 15:05:47 [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 15:05:47 provisioning config files... 15:05:47 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp/config9149228677638551882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:05:47 ---> docker-login.sh 15:05:47 nexus3.edgexfoundry.org:10001 15:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:47 Configure a credential helper to remove this warning. See 15:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:47 15:05:47 Login Succeeded 15:05:47 nexus3.edgexfoundry.org:10002 15:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:48 Configure a credential helper to remove this warning. See 15:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:48 15:05:48 Login Succeeded 15:05:48 nexus3.edgexfoundry.org:10003 15:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:48 Configure a credential helper to remove this warning. See 15:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:48 15:05:48 Login Succeeded 15:05:48 nexus3.edgexfoundry.org:10004 15:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:48 Configure a credential helper to remove this warning. See 15:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:48 15:05:48 Login Succeeded 15:05:48 docker.io 15:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:48 Configure a credential helper to remove this warning. See 15:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:48 15:05:48 Login Succeeded 15:05:48 ---> docker-login.sh ends [Pipeline] } 15:05:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:05:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:05:48 ========================================================= 15:05:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:05:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:05: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 . 15:05:49 Sending build context to Docker daemon 43.18MB 15:05:49 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 15:05:49 Step 2/15 : FROM ${BASE} AS builder 15:05:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:05:49 59bf1c3509f3: Pulling fs layer 15:05:49 666ba61612fd: Pulling fs layer 15:05:49 8ed8ca486205: Pulling fs layer 15:05:49 4fe6c5a15a65: Pulling fs layer 15:05:49 22a0e8bec74d: Pulling fs layer 15:05:49 640e595b4fbd: Pulling fs layer 15:05:49 763cafe07f6e: Pulling fs layer 15:05:49 0c0b528cf693: Pulling fs layer 15:05:49 10935f4eaf8b: Pulling fs layer 15:05:49 640e595b4fbd: Waiting 15:05:49 763cafe07f6e: Waiting 15:05:49 0c0b528cf693: Waiting 15:05:49 10935f4eaf8b: Waiting 15:05:49 4fe6c5a15a65: Waiting 15:05:49 22a0e8bec74d: Waiting 15:05:49 8ed8ca486205: Download complete 15:05:49 666ba61612fd: Download complete 15:05:49 22a0e8bec74d: Verifying Checksum 15:05:49 22a0e8bec74d: Download complete 15:05:49 640e595b4fbd: Verifying Checksum 15:05:49 640e595b4fbd: Download complete 15:05:49 59bf1c3509f3: Download complete 15:05:49 763cafe07f6e: Verifying Checksum 15:05:49 763cafe07f6e: Download complete 15:05:49 0c0b528cf693: Download complete 15:05:49 59bf1c3509f3: Pull complete 15:05:49 666ba61612fd: Pull complete 15:05:49 8ed8ca486205: Pull complete 15:05:49 10935f4eaf8b: Verifying Checksum 15:05:49 10935f4eaf8b: Download complete 15:05:49 4fe6c5a15a65: Verifying Checksum 15:05:49 4fe6c5a15a65: Download complete 15:05:54 4fe6c5a15a65: Pull complete 15:05:54 22a0e8bec74d: Pull complete 15:05:54 640e595b4fbd: Pull complete 15:05:54 763cafe07f6e: Pull complete 15:05:54 0c0b528cf693: Pull complete 15:05:56 10935f4eaf8b: Pull complete 15:05:56 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 15:05:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:05:56 ---> 99d49a6021b9 15:05:56 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 15:05:58 ---> Running in c56fdcc7e70a 15:05:58 Removing intermediate container c56fdcc7e70a 15:05:58 ---> 44c1c19d43c2 15:05:58 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 15:05:58 ---> Running in ec6c72a2f009 15:05:58 Removing intermediate container ec6c72a2f009 15:05:58 ---> 8490145036a1 15:05:58 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 15:05:58 ---> Running in 2e080ea4fb08 15:05:58 Removing intermediate container 2e080ea4fb08 15:05:58 ---> 19319f10ffe5 15:05:58 Step 6/15 : LABEL Name=edgex-ui-go 15:05:58 ---> Running in 7e631f29ad0f 15:05:58 Removing intermediate container 7e631f29ad0f 15:05:58 ---> 89dada47072b 15:05:58 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 15:05:58 ---> Running in a866ecfa17f1 15:05:58 Removing intermediate container a866ecfa17f1 15:05:58 ---> fddbb26fac85 15:05:58 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:05:58 ---> Running in 5763987e52da 15:05:59 Removing intermediate container 5763987e52da 15:05:59 ---> 57f491149904 15:05:59 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:05:59 ---> Running in 12185cddc0f5 15:05:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:06:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:06:00 OK: 221 MiB in 52 packages 15:06:01 Removing intermediate container 12185cddc0f5 15:06:01 ---> b14cf673dba4 15:06:01 Step 10/15 : ENV GO111MODULE=on 15:06:01 ---> Running in 5aefe6017feb 15:06:01 Removing intermediate container 5aefe6017feb 15:06:01 ---> 0ca9212b11c2 15:06:01 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 15:06:01 ---> Running in a100d7d203b8 15:06:01 Removing intermediate container a100d7d203b8 15:06:01 ---> 3fa081b7f2c1 15:06:01 Step 12/15 : COPY go.mod vendor* ./ 15:06:01 ---> 6f1cd510ac31 15:06:01 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:06:01 ---> Running in aedf431739f2 15:06:02 Still waiting to schedule task 15:06:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:06:28 Removing intermediate container aedf431739f2 15:06:28 ---> 157b0737df39 15:06:28 Step 14/15 : COPY . . 15:06:28 ---> c186367f72b4 15:06:28 Step 15/15 : RUN ${MAKE} 15:06:28 ---> Running in 0e808e42ce36 15:06:28 noop 15:06:28 Removing intermediate container 0e808e42ce36 15:06:28 ---> 914f5644f5d5 15:06:28 Successfully built 914f5644f5d5 15:06:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:06:28 + docker inspect -f . ci-base-image-x86_64 15:06:28 . [Pipeline] withDockerContainer 15:06:28 prd-ubuntu20.04-docker-8c-8g-20686 does not seem to be running inside a container 15:06:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-514 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-514:/w/workspace/edgexfoundry_edgex-ui-go_PR-514:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:06:29 $ docker top 2ef0ee54266c08855316731a9b0470682a11b27b412991e88de63ba0b1688e01 -eo pid,comm [Pipeline] { [Pipeline] sh 15:06:29 + go version 15:06:29 go version go1.17.6 linux/amd64 [Pipeline] } 15:06:29 $ docker stop --time=1 2ef0ee54266c08855316731a9b0470682a11b27b412991e88de63ba0b1688e01 15:06:31 $ docker rm -f 2ef0ee54266c08855316731a9b0470682a11b27b412991e88de63ba0b1688e01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:06:31 + docker inspect -f . ci-base-image-x86_64 15:06:31 . [Pipeline] withDockerContainer 15:06:31 prd-ubuntu20.04-docker-8c-8g-20686 does not seem to be running inside a container 15:06:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-514 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-514:/w/workspace/edgexfoundry_edgex-ui-go_PR-514:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:06:31 $ docker top 3829bfd7cd4c07b5662745dc826ca7e27e7041b4a0a2369d485e41ba1040afb8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:06:32 + make test 15:06:32 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:06:32 ? github.com/edgexfoundry/edgex-ui-go [no test files] 15:06:38 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 15:06:38 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 15:06:38 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 15:06:38 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 15:06:38 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 15:06:38 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 15:06:38 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 15:06:38 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 15:06:38 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 15:06:38 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 15:06:38 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 15:06:38 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 15:06:38 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:06:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:06:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 15:06:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:06:39 $ docker stop --time=1 3829bfd7cd4c07b5662745dc826ca7e27e7041b4a0a2369d485e41ba1040afb8 15:06:41 $ docker rm -f 3829bfd7cd4c07b5662745dc826ca7e27e7041b4a0a2369d485e41ba1040afb8 [Pipeline] // withDockerContainer [Pipeline] sh 15:06:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:06:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:06:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:06:43 + ls -al . 15:06:43 total 164 15:06:43 drwxrwxr-x 14 jenkins jenkins 4096 Apr 12 15:06 . 15:06:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 15:05 .. 15:06:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 15:05 .git 15:06:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 15:05 .github 15:06:43 -rw-rw-r-- 1 jenkins jenkins 155 Apr 12 15:05 .gitignore 15:06:43 drwx------ 3 jenkins jenkins 4096 Apr 12 15:05 .semver 15:06:43 -rw-rw-r-- 1 jenkins jenkins 2022 Apr 12 15:05 Attribution.txt 15:06:43 -rw-rw-r-- 1 jenkins jenkins 3959 Apr 12 15:05 CONTRIBUTING.md 15:06:43 -rw-rw-r-- 1 jenkins jenkins 1549 Apr 12 15:05 Dockerfile 15:06:43 -rw-rw-r-- 1 jenkins jenkins 652 Apr 12 15:05 Jenkinsfile 15:06:43 -rw-rw-r-- 1 jenkins jenkins 11357 Apr 12 15:05 LICENSE 15:06:43 -rw-rw-r-- 1 jenkins jenkins 1212 Apr 12 15:05 Makefile 15:06:43 -rw-rw-r-- 1 jenkins jenkins 4450 Apr 12 15:05 README.md 15:06:43 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 15:05 VERSION 15:06:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 15:05 assets 15:06:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 15:05 bin 15:06:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 15:05 cmd 15:06:43 -rw-r--r-- 1 jenkins jenkins 10 Apr 12 15:06 coverage.out 15:06:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 15:05 docs 15:06:43 -rw-rw-r-- 1 jenkins jenkins 1944 Apr 12 15:05 go.mod 15:06:43 -rw-rw-r-- 1 jenkins jenkins 48565 Apr 12 15:05 go.sum 15:06:43 drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 15:05 internal 15:06:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 15:05 pkg 15:06:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 15:05 snap 15:06:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 15:05 testing 15:06:43 -rw-rw-r-- 1 jenkins jenkins 155 Apr 12 15:05 version.go 15:06:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 15:05 web [Pipeline] isUnix [Pipeline] sh 15:06:43 + 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=813c360ca325af316d6a4c9b63767711f7c00ebe --label arch=amd64 --label version=0.0.0 . 15:06:44 Sending build context to Docker daemon 43.18MB 15:06:44 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 15:06:44 Step 2/23 : FROM ${BASE} AS builder 15:06:44 ---> 914f5644f5d5 15:06:44 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 15:06:44 ---> Running in 530834e5a9f0 15:06:44 Removing intermediate container 530834e5a9f0 15:06:44 ---> a32e2df78447 15:06:44 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 15:06:44 ---> Running in 394b93d56736 15:06:44 Removing intermediate container 394b93d56736 15:06:44 ---> df1bf81b86e1 15:06:44 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 15:06:44 ---> Running in 3856c83b92ac 15:06:44 Removing intermediate container 3856c83b92ac 15:06:44 ---> e4045d5820ee 15:06:44 Step 6/23 : LABEL Name=edgex-ui-go 15:06:44 ---> Running in b307102285d1 15:06:44 Removing intermediate container b307102285d1 15:06:44 ---> 07cd9840f8d5 15:06:44 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 15:06:44 ---> Running in b8b2141a9d47 15:06:44 Removing intermediate container b8b2141a9d47 15:06:44 ---> 9dd79f4809c8 15:06:44 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:06:44 ---> Running in 18637c7d1c4e 15:06:45 Removing intermediate container 18637c7d1c4e 15:06:45 ---> 8f66f7b23b23 15:06:45 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:06:45 ---> Running in f7db1112f38c 15:06:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:06:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:06:47 OK: 221 MiB in 52 packages 15:06:47 Removing intermediate container f7db1112f38c 15:06:47 ---> 420c9d9254e8 15:06:47 Step 10/23 : ENV GO111MODULE=on 15:06:47 ---> Running in f07b77426f91 15:06:47 Removing intermediate container f07b77426f91 15:06:47 ---> 6ee0ff3e1d10 15:06:47 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 15:06:47 ---> Running in e623aafc2197 15:06:47 Removing intermediate container e623aafc2197 15:06:47 ---> 8cd64e02c4f5 15:06:47 Step 12/23 : COPY go.mod vendor* ./ 15:06:47 ---> c53517ff00fc 15:06:47 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:06:47 ---> Running in 00be2a7f47c7 15:06:48 Removing intermediate container 00be2a7f47c7 15:06:48 ---> 78466d9a6917 15:06:48 Step 14/23 : COPY . . 15:06:49 ---> 844f3a5fe949 15:06:49 Step 15/23 : RUN ${MAKE} 15:06:49 ---> Running in 28cf49fe56e1 15:06:49 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 15:06:55 CGO_ENABLED=0 GO111MODULE=on go build ./... 15:06:56 Removing intermediate container 28cf49fe56e1 15:06:56 ---> 66712d362fd9 15:06:56 Step 16/23 : FROM alpine:3.14 15:06:57 3.14: Pulling from library/alpine 15:06:57 8663204ce13b: Pulling fs layer 15:06:57 8663204ce13b: Verifying Checksum 15:06:57 8663204ce13b: Download complete 15:06:57 8663204ce13b: Pull complete 15:06:57 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:06:57 Status: Downloaded newer image for alpine:3.14 15:06:57 ---> e04c818066af 15:06:57 Step 17/23 : EXPOSE 4000 15:06:57 ---> Running in a8dc657612cf 15:06:57 Removing intermediate container a8dc657612cf 15:06:57 ---> 689415927b54 15:06:57 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 15:06:58 ---> 7b95149400d5 15:06:58 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 15:06:58 ---> Running in e41484353487 15:06:58 Removing intermediate container e41484353487 15:06:58 ---> 578542b0dcd0 15:06:58 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 15:06:58 ---> Running in c99ec58644e2 15:06:58 Removing intermediate container c99ec58644e2 15:06:58 ---> 77da3f9a9daf 15:06:58 Step 21/23 : LABEL arch=amd64 15:06:59 ---> Running in 31c76875d623 15:06:59 Removing intermediate container 31c76875d623 15:06:59 ---> 63288acd1ccf 15:06:59 Step 22/23 : LABEL git_sha=813c360ca325af316d6a4c9b63767711f7c00ebe 15:06:59 ---> Running in c89e1ecc91a5 15:06:59 Removing intermediate container c89e1ecc91a5 15:06:59 ---> 718c389a4887 15:06:59 Step 23/23 : LABEL version=0.0.0 15:06:59 ---> Running in 8663c4c9e05b 15:06:59 Removing intermediate container 8663c4c9e05b 15:06:59 ---> f0c7a7213838 15:06:59 [Warning] One or more build-args [ARCH] were not consumed 15:06:59 Successfully built f0c7a7213838 15:06:59 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 15:06:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:06:59 15:06:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:07:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:07:00 latest: Pulling from edgex-lftools-log-publisher 15:07:00 5eb5b503b376: Pulling fs layer 15:07:00 5c69ac0246d0: Pulling fs layer 15:07:00 ec43610c2a17: Pulling fs layer 15:07:00 3a2ae6a8a46f: Pulling fs layer 15:07:00 33b1e0a273af: Pulling fs layer 15:07:00 5d3b04190fa2: Pulling fs layer 15:07:00 2f39f015ded8: Pulling fs layer 15:07:00 33b1e0a273af: Waiting 15:07:00 3a2ae6a8a46f: Waiting 15:07:00 5d3b04190fa2: Waiting 15:07:00 2f39f015ded8: Waiting 15:07:00 5c69ac0246d0: Download complete 15:07:00 3a2ae6a8a46f: Verifying Checksum 15:07:00 3a2ae6a8a46f: Download complete 15:07:00 33b1e0a273af: Verifying Checksum 15:07:00 33b1e0a273af: Download complete 15:07:00 5d3b04190fa2: Download complete 15:07:00 ec43610c2a17: Verifying Checksum 15:07:00 ec43610c2a17: Download complete 15:07:00 5eb5b503b376: Verifying Checksum 15:07:00 5eb5b503b376: Download complete 15:07:01 2f39f015ded8: Download complete 15:07:01 5eb5b503b376: Pull complete 15:07:01 5c69ac0246d0: Pull complete 15:07:02 ec43610c2a17: Pull complete 15:07:02 3a2ae6a8a46f: Pull complete 15:07:02 33b1e0a273af: Pull complete 15:07:02 5d3b04190fa2: Pull complete 15:07:06 2f39f015ded8: Pull complete 15:07:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:07:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:07:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:07:07 prd-ubuntu20.04-docker-8c-8g-20686 does not seem to be running inside a container 15:07:07 $ 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-514 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-514:/w/workspace/edgexfoundry_edgex-ui-go_PR-514:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:07:09 $ docker top 6623b92027c363384fae87fc870dd00c4f34c76be2cb2dd0da2ad5ef7119745a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:07:09 ---> job-cost.sh 15:07:09 lf-activate-venv: SKIPPING 15:07:09 INFO: No Stack... 15:07:10 INFO: Retrieving Pricing Info for: v3-standard-8 15:07:10 INFO: Archiving Costs [Pipeline] sh 15:07:10 + + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-514/archives/cost.csv 15:07:10 cut -d, -f6 [Pipeline] lock 15:07:10 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-514-2-stack-cost] 15:07:10 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-514-2-stack-cost] did not exist. Created. 15:07:10 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-514-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:07:11 + echo total: 0.2199999988079071 [Pipeline] stash 15:07:11 Stashed 1 file(s) [Pipeline] } 15:07:11 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-514-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:07:11 $ docker stop --time=1 6623b92027c363384fae87fc870dd00c4f34c76be2cb2dd0da2ad5ef7119745a 15:07:12 $ docker rm -f 6623b92027c363384fae87fc870dd00c4f34c76be2cb2dd0da2ad5ef7119745a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:07:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20687 in /w/workspace/edgexfoundry_edgex-ui-go_PR-514 [Pipeline] { [Pipeline] ws 15:07:41 Running in /w/workspace/edgex-ui-go/2 [Pipeline] { [Pipeline] checkout 15:07:41 The recommended git tool is: git 15:07:49 using credential edgex-jenkins-ssh 15:07:49 Cloning the remote Git repository 15:07:49 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 15:07:49 > git init /w/workspace/edgex-ui-go/2 # timeout=10 15:07:49 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 15:07:49 > git --version # timeout=10 15:07:49 > git --version # 'git version 2.25.1' 15:07:49 using GIT_SSH to set credentials SSH Credentials for GitHub 15:07:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:07:53 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 15:07:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:07:53 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 15:07:53 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 15:07:53 using GIT_SSH to set credentials SSH Credentials for GitHub 15:07:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/514/head:refs/remotes/origin/PR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:07:53 Merging remotes/origin/main commit 61e021de92dc5d27c5c2e098210b469bf1a31456 into PR head commit 813c360ca325af316d6a4c9b63767711f7c00ebe 15:07:54 Merge succeeded, producing 813c360ca325af316d6a4c9b63767711f7c00ebe 15:07:54 Checking out Revision 813c360ca325af316d6a4c9b63767711f7c00ebe (PR-514) 15:07:53 > git config core.sparsecheckout # timeout=10 15:07:53 > git checkout -f 813c360ca325af316d6a4c9b63767711f7c00ebe # timeout=10 15:07:54 > git remote # timeout=10 15:07:54 > git config --get remote.origin.url # timeout=10 15:07:54 using GIT_SSH to set credentials SSH Credentials for GitHub 15:07:54 > git merge 61e021de92dc5d27c5c2e098210b469bf1a31456 # timeout=10 15:07:54 > git rev-parse HEAD^{commit} # timeout=10 15:07:54 > git config core.sparsecheckout # timeout=10 15:07:54 > git checkout -f 813c360ca325af316d6a4c9b63767711f7c00ebe # timeout=10 15:07:58 Commit message: "feat: add attribution.txt file including all open source projects referenced by edgex-ui-go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:07:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:07:59 % Total % Received % Xferd Average Speed Time Time Time Current 15:07:59 Dload Upload Total Spent Left Speed 15:08:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 27038 0 --:--:-- --:--:-- --:--:-- 27038 100 11843 100 11843 0 0 26977 0 --:--:-- --:--:-- --:--:-- 26915 [Pipeline] sh 15:08:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:08:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:08:01 + sudo tee /etc/docker/daemon.new 15:08:01 { 15:08:01 "registry-mirrors": [ 15:08:01 "https://nexus3.edgexfoundry.org:10001" 15:08:01 ], 15:08:01 "bip": "10.250.0.254/24", 15:08:01 "hosts": [ 15:08:01 "tcp://0.0.0.0:5555", 15:08:01 "unix:///var/run/docker.sock" 15:08:01 ], 15:08:01 "mtu": 1458, 15:08:01 "selinux-enabled": true, 15:08:01 "seccomp-profile": "/etc/docker/seccomp.json" 15:08:01 } [Pipeline] sh 15:08:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:08:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:08:20 provisioning config files... 15:08:20 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/2@tmp/config5329701341440198154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:20 ---> docker-login.sh 15:08:20 nexus3.edgexfoundry.org:10001 15:08:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:21 Configure a credential helper to remove this warning. See 15:08:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:21 15:08:21 Login Succeeded 15:08:21 nexus3.edgexfoundry.org:10002 15:08:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:21 Configure a credential helper to remove this warning. See 15:08:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:21 15:08:21 Login Succeeded 15:08:21 nexus3.edgexfoundry.org:10003 15:08:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:22 Configure a credential helper to remove this warning. See 15:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:22 15:08:22 Login Succeeded 15:08:22 nexus3.edgexfoundry.org:10004 15:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:22 Configure a credential helper to remove this warning. See 15:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:22 15:08:22 Login Succeeded 15:08:22 docker.io 15:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:23 Configure a credential helper to remove this warning. See 15:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:23 15:08:23 Login Succeeded 15:08:23 ---> docker-login.sh ends [Pipeline] } 15:08:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:08:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:08:23 ========================================================= 15:08:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:08:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:08:24 + 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 . 15:08:25 Sending build context to Docker daemon 27.08MB 15:08:25 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 15:08:25 Step 2/15 : FROM ${BASE} AS builder 15:08:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:08:25 9b3977197b4f: Pulling fs layer 15:08:25 1a89e8eeedd5: Pulling fs layer 15:08:25 94645a83ff95: Pulling fs layer 15:08:25 3f3a8bcf1eab: Pulling fs layer 15:08:25 0c92f367c5e7: Pulling fs layer 15:08:25 f7c0051592d6: Pulling fs layer 15:08:25 3f3a8bcf1eab: Waiting 15:08:25 0c92f367c5e7: Waiting 15:08:25 a227ed2f7395: Pulling fs layer 15:08:25 7b1c46037f91: Pulling fs layer 15:08:25 7b1c46037f91: Waiting 15:08:25 f7c0051592d6: Waiting 15:08:25 a227ed2f7395: Waiting 15:08:25 94645a83ff95: Verifying Checksum 15:08:25 94645a83ff95: Download complete 15:08:25 1a89e8eeedd5: Verifying Checksum 15:08:25 1a89e8eeedd5: Download complete 15:08:25 0c92f367c5e7: Verifying Checksum 15:08:25 0c92f367c5e7: Download complete 15:08:25 f7c0051592d6: Verifying Checksum 15:08:25 f7c0051592d6: Download complete 15:08:25 9b3977197b4f: Verifying Checksum 15:08:25 9b3977197b4f: Download complete 15:08:25 a227ed2f7395: Verifying Checksum 15:08:25 a227ed2f7395: Download complete 15:08:26 9b3977197b4f: Pull complete 15:08:26 1a89e8eeedd5: Pull complete 15:08:26 94645a83ff95: Pull complete 15:08:27 7b1c46037f91: Download complete 15:08:27 3f3a8bcf1eab: Verifying Checksum 15:08:27 3f3a8bcf1eab: Download complete 15:08:40 3f3a8bcf1eab: Pull complete 15:08:40 0c92f367c5e7: Pull complete 15:08:40 f7c0051592d6: Pull complete 15:08:40 a227ed2f7395: Pull complete 15:08:47 7b1c46037f91: Pull complete 15:08:47 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 15:08:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:08:47 ---> f79e39bc4007 15:08:47 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 15:08:48 ---> Running in c7bca1a52e05 15:08:48 Removing intermediate container c7bca1a52e05 15:08:48 ---> f6c349373983 15:08:48 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 15:08:48 ---> Running in 3f333dfa5b86 15:08:48 Removing intermediate container 3f333dfa5b86 15:08:48 ---> ea44c2686727 15:08:48 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 15:08:48 ---> Running in 9a7a0cee57f9 15:08:49 Removing intermediate container 9a7a0cee57f9 15:08:49 ---> a4ad0165ad86 15:08:49 Step 6/15 : LABEL Name=edgex-ui-go 15:08:49 ---> Running in c63c39fa8ec9 15:08:49 Removing intermediate container c63c39fa8ec9 15:08:49 ---> fa2c68b5ee82 15:08:49 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 15:08:49 ---> Running in 6b0671ca4298 15:08:49 Removing intermediate container 6b0671ca4298 15:08:49 ---> e4dd8c32301c 15:08:49 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:08:49 ---> Running in b9026131186e 15:08:51 Removing intermediate container b9026131186e 15:08:51 ---> 8b9be39c1ba8 15:08:51 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:08:51 ---> Running in f7392efecf53 15:08:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:08:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:08:54 OK: 220 MiB in 52 packages 15:08:55 Removing intermediate container f7392efecf53 15:08:55 ---> 8a1f4cf6f2e1 15:08:55 Step 10/15 : ENV GO111MODULE=on 15:08:55 ---> Running in dc436868fa71 15:08:56 Removing intermediate container dc436868fa71 15:08:56 ---> e89161e6dbae 15:08:56 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 15:08:56 ---> Running in 8f30863bb273 15:08:57 Removing intermediate container 8f30863bb273 15:08:57 ---> 05995f59db52 15:08:57 Step 12/15 : COPY go.mod vendor* ./ 15:08:58 ---> c5cb824703b5 15:08:58 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:08:58 ---> Running in e24e631f9332 15:10:20 Removing intermediate container e24e631f9332 15:10:20 ---> c064dc54f902 15:10:20 Step 14/15 : COPY . . 15:10:20 ---> 3303320b8b5a 15:10:20 Step 15/15 : RUN ${MAKE} 15:10:20 ---> Running in 362f65942298 15:10:20 noop 15:10:20 Removing intermediate container 362f65942298 15:10:20 ---> 005c0ba6d0e2 15:10:20 Successfully built 005c0ba6d0e2 15:10:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:10:20 + docker inspect -f . ci-base-image-arm64 15:10:20 . [Pipeline] withDockerContainer 15:10:20 prd-ubuntu20.04-docker-arm64-4c-16g-20687 does not seem to be running inside a container 15:10:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/2 -v /w/workspace/edgex-ui-go/2:/w/workspace/edgex-ui-go/2:rw,z -v /w/workspace/edgex-ui-go/2@tmp:/w/workspace/edgex-ui-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:10:22 $ docker top 0818be82284de20c7c8020aa36a83d57f2c14ab5778f83632672b4824b841120 -eo pid,comm [Pipeline] { [Pipeline] sh 15:10:23 + go version 15:10:23 go version go1.17.6 linux/arm64 [Pipeline] } 15:10:23 $ docker stop --time=1 0818be82284de20c7c8020aa36a83d57f2c14ab5778f83632672b4824b841120 15:10:24 $ docker rm -f 0818be82284de20c7c8020aa36a83d57f2c14ab5778f83632672b4824b841120 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:10:25 + docker inspect -f . ci-base-image-arm64 15:10:25 . [Pipeline] withDockerContainer 15:10:25 prd-ubuntu20.04-docker-arm64-4c-16g-20687 does not seem to be running inside a container 15:10:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/2 -v /w/workspace/edgex-ui-go/2:/w/workspace/edgex-ui-go/2:rw,z -v /w/workspace/edgex-ui-go/2@tmp:/w/workspace/edgex-ui-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:10:26 $ docker top eaa3a605c7b393bd0c14b864b84b0eaf395d766babb0fd4ebe9a9b9908b41dfd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:10:27 + make test 15:10:27 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:10:29 ? github.com/edgexfoundry/edgex-ui-go [no test files] 15:11:08 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 15:11:08 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 15:11:08 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 15:11:08 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 15:11:08 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 15:11:08 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 15:11:08 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 15:11:08 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 15:11:08 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 15:11:08 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 15:11:08 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 15:11:08 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 15:11:08 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:11:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:11:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 15:11:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:11:26 $ docker stop --time=1 eaa3a605c7b393bd0c14b864b84b0eaf395d766babb0fd4ebe9a9b9908b41dfd 15:11:28 $ docker rm -f eaa3a605c7b393bd0c14b864b84b0eaf395d766babb0fd4ebe9a9b9908b41dfd [Pipeline] // withDockerContainer [Pipeline] sh 15:11:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:11:29 Warning: overwriting stash ‘coverage-report’ 15:11:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:11:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:11:30 + ls -al . 15:11:30 total 160 15:11:30 drwxrwxr-x 13 jenkins jenkins 4096 Apr 12 15:10 . 15:11:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 15:07 .. 15:11:30 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 15:07 .git 15:11:30 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 15:07 .github 15:11:30 -rw-rw-r-- 1 jenkins jenkins 155 Apr 12 15:07 .gitignore 15:11:30 -rw-rw-r-- 1 jenkins jenkins 2022 Apr 12 15:07 Attribution.txt 15:11:30 -rw-rw-r-- 1 jenkins jenkins 3959 Apr 12 15:07 CONTRIBUTING.md 15:11:30 -rw-rw-r-- 1 jenkins jenkins 1549 Apr 12 15:07 Dockerfile 15:11:30 -rw-rw-r-- 1 jenkins jenkins 652 Apr 12 15:07 Jenkinsfile 15:11:30 -rw-rw-r-- 1 jenkins jenkins 11357 Apr 12 15:07 LICENSE 15:11:30 -rw-rw-r-- 1 jenkins jenkins 1212 Apr 12 15:07 Makefile 15:11:30 -rw-rw-r-- 1 jenkins jenkins 4450 Apr 12 15:07 README.md 15:11:30 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 15:05 VERSION 15:11:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 15:07 assets 15:11:30 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 15:07 bin 15:11:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 15:07 cmd 15:11:30 -rw-r--r-- 1 jenkins jenkins 10 Apr 12 15:10 coverage.out 15:11:30 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 15:07 docs 15:11:30 -rw-rw-r-- 1 jenkins jenkins 1944 Apr 12 15:07 go.mod 15:11:30 -rw-rw-r-- 1 jenkins jenkins 48565 Apr 12 15:07 go.sum 15:11:30 drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 15:07 internal 15:11:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 15:07 pkg 15:11:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 15:07 snap 15:11:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 15:07 testing 15:11:30 -rw-rw-r-- 1 jenkins jenkins 155 Apr 12 15:07 version.go 15:11:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 15:07 web [Pipeline] isUnix [Pipeline] sh 15:11:30 + 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=813c360ca325af316d6a4c9b63767711f7c00ebe --label arch=arm64 --label version=0.0.0 . 15:11:31 Sending build context to Docker daemon 27.08MB 15:11:31 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 15:11:31 Step 2/23 : FROM ${BASE} AS builder 15:11:31 ---> 005c0ba6d0e2 15:11:31 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 15:11:32 ---> Running in fdc9a5aee059 15:11:32 Removing intermediate container fdc9a5aee059 15:11:32 ---> 286888bfbec1 15:11:32 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 15:11:32 ---> Running in 2e5b19051e12 15:11:32 Removing intermediate container 2e5b19051e12 15:11:32 ---> 617104f7c710 15:11:32 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 15:11:32 ---> Running in 00ce47ada2d9 15:11:32 Removing intermediate container 00ce47ada2d9 15:11:32 ---> 0c99da359a9a 15:11:32 Step 6/23 : LABEL Name=edgex-ui-go 15:11:33 ---> Running in 17cefc87f5c2 15:11:33 Removing intermediate container 17cefc87f5c2 15:11:33 ---> 659e6065f94d 15:11:33 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 15:11:33 ---> Running in 1e9531f330f0 15:11:33 Removing intermediate container 1e9531f330f0 15:11:33 ---> 055f4eb05b1a 15:11:33 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:11:34 ---> Running in 9302948520d0 15:11:35 Removing intermediate container 9302948520d0 15:11:35 ---> 7beff0c0c3d7 15:11:35 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:11:35 ---> Running in 14d1c3845588 15:11:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:11:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:11:38 OK: 220 MiB in 52 packages 15:11:39 Removing intermediate container 14d1c3845588 15:11:39 ---> 3b735e485bd5 15:11:39 Step 10/23 : ENV GO111MODULE=on 15:11:39 ---> Running in 3fa32985447f 15:11:39 Removing intermediate container 3fa32985447f 15:11:39 ---> 3b9f359a6faf 15:11:39 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 15:11:39 ---> Running in 372bab8fa036 15:11:39 Removing intermediate container 372bab8fa036 15:11:39 ---> 150df3f5bf74 15:11:39 Step 12/23 : COPY go.mod vendor* ./ 15:11:40 ---> 596d6593792c 15:11:40 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:11:40 ---> Running in 0e4740ac5b4b 15:11:42 Removing intermediate container 0e4740ac5b4b 15:11:42 ---> 79aad728e7bf 15:11:42 Step 14/23 : COPY . . 15:11:45 ---> 182c4b1c7f02 15:11:45 Step 15/23 : RUN ${MAKE} 15:11:45 ---> Running in 11188f4908a9 15:11:46 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 15:12:19 CGO_ENABLED=0 GO111MODULE=on go build ./... 15:12:21 Removing intermediate container 11188f4908a9 15:12:21 ---> 4d9901e91faf 15:12:21 Step 16/23 : FROM alpine:3.14 15:12:22 3.14: Pulling from library/alpine 15:12:22 455c02918c45: Pulling fs layer 15:12:23 455c02918c45: Verifying Checksum 15:12:23 455c02918c45: Download complete 15:12:23 455c02918c45: Pull complete 15:12:23 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:12:23 Status: Downloaded newer image for alpine:3.14 15:12:23 ---> ac73e934f311 15:12:23 Step 17/23 : EXPOSE 4000 15:12:23 ---> Running in ca67f8dab0fc 15:12:24 Removing intermediate container ca67f8dab0fc 15:12:24 ---> cb611a69f8bc 15:12:24 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 15:12:25 ---> 92e3cad84647 15:12:25 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 15:12:25 ---> Running in 064f35c12496 15:12:25 Removing intermediate container 064f35c12496 15:12:25 ---> 1bf93c79d083 15:12:25 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 15:12:25 ---> Running in 779562e68577 15:12:26 Removing intermediate container 779562e68577 15:12:26 ---> a25b5941011d 15:12:26 Step 21/23 : LABEL arch=arm64 15:12:26 ---> Running in 972c2708a138 15:12:26 Removing intermediate container 972c2708a138 15:12:26 ---> 4a5836ea5671 15:12:26 Step 22/23 : LABEL git_sha=813c360ca325af316d6a4c9b63767711f7c00ebe 15:12:26 ---> Running in 9298c7f735cd 15:12:26 Removing intermediate container 9298c7f735cd 15:12:26 ---> 6a7d147395a7 15:12:26 Step 23/23 : LABEL version=0.0.0 15:12:27 ---> Running in 1b04e12748ff 15:12:27 Removing intermediate container 1b04e12748ff 15:12:27 ---> 6461be8c5389 15:12:27 [Warning] One or more build-args [ARCH] were not consumed 15:12:27 Successfully built 6461be8c5389 15:12:27 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 15:12:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:12:27 15:12:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:12:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:12:28 arm64: Pulling from edgex-lftools-log-publisher 15:12:28 8998bd30e6a1: Pulling fs layer 15:12:28 04944245beec: Pulling fs layer 15:12:28 699f458cf7ca: Pulling fs layer 15:12:28 765212b225bb: Pulling fs layer 15:12:28 f23df028b6ca: Pulling fs layer 15:12:28 d65c8cfc05b1: Pulling fs layer 15:12:28 2437ff75d9bd: Pulling fs layer 15:12:28 f23df028b6ca: Waiting 15:12:28 d65c8cfc05b1: Waiting 15:12:28 2437ff75d9bd: Waiting 15:12:28 765212b225bb: Waiting 15:12:28 04944245beec: Verifying Checksum 15:12:28 04944245beec: Download complete 15:12:28 765212b225bb: Verifying Checksum 15:12:28 765212b225bb: Download complete 15:12:28 f23df028b6ca: Verifying Checksum 15:12:28 f23df028b6ca: Download complete 15:12:28 d65c8cfc05b1: Download complete 15:12:28 699f458cf7ca: Verifying Checksum 15:12:28 699f458cf7ca: Download complete 15:12:29 8998bd30e6a1: Download complete 15:12:31 2437ff75d9bd: Verifying Checksum 15:12:31 2437ff75d9bd: Download complete 15:12:33 8998bd30e6a1: Pull complete 15:12:33 04944245beec: Pull complete 15:12:35 699f458cf7ca: Pull complete 15:12:35 765212b225bb: Pull complete 15:12:36 f23df028b6ca: Pull complete 15:12:36 d65c8cfc05b1: Pull complete 15:12:51 2437ff75d9bd: Pull complete 15:12:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:12:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:12:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:12:52 prd-ubuntu20.04-docker-arm64-4c-16g-20687 does not seem to be running inside a container 15:12:52 $ 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/2 -v /w/workspace/edgex-ui-go/2:/w/workspace/edgex-ui-go/2:rw,z -v /w/workspace/edgex-ui-go/2@tmp:/w/workspace/edgex-ui-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:12:54 $ docker top cc2855755ac2b922737f8dcb00dcb501d0845696f765d281850293884aede388 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:12:55 ---> job-cost.sh 15:12:55 lf-activate-venv: SKIPPING 15:12:55 INFO: No Stack... 15:12:56 INFO: Retrieving Pricing Info for: v3-standard-4 15:12:56 INFO: Archiving Costs [Pipeline] sh 15:12:57 + + catcut /w/workspace/edgex-ui-go/2/archives/cost.csv -d, 15:12:57 -f6 [Pipeline] lock 15:12:57 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-514-2-stack-cost] 15:12:57 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-514-2-stack-cost] did not exist. Created. 15:12:57 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-514-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:12:58 /w/workspace/edgex-ui-go/2@tmp/durable-33e6291b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:12:58 + echo total: 0.10999999940395355 [Pipeline] stash 15:12:58 Warning: overwriting stash ‘stack-cost’ 15:12:58 Stashed 1 file(s) [Pipeline] } 15:12:58 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-514-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:12:58 $ docker stop --time=1 cc2855755ac2b922737f8dcb00dcb501d0845696f765d281850293884aede388 15:13:00 $ docker rm -f cc2855755ac2b922737f8dcb00dcb501d0845696f765d281850293884aede388 [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 15:13:01 provisioning config files... 15:13:01 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp/config6909146458915109012tmp [Pipeline] { [Pipeline] sh 15:13:01 + set +x 15:13:01 + curl -s https://codecov.io/bash 15:13:01 + bash -s -- 15:13:01 15:13:01 _____ _ 15:13:01 / ____| | | 15:13:01 | | ___ __| | ___ ___ _____ __ 15:13:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:13:01 | |___| (_) | (_| | __/ (_| (_) \ V / 15:13:01 \_____\___/ \__,_|\___|\___\___/ \_/ 15:13:01 Bash-1.0.6 15:13:01 15:13:01 15:13:01 ==> git version 2.25.1 found 15:13:01 ==> 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 15:13:01 Release-Date: 2020-01-08 15:13:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:13:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:13:01 ==> Jenkins CI detected. 15:13:01 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-514 15:13:01 project root: . 15:13:01 --> token set from env 15:13:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:13:01 ==> Running gcov in . (disable via -X gcov) 15:13:01 ==> Python coveragepy not found 15:13:01 ==> Searching for coverage reports in: 15:13:01 + . 15:13:01 -> Found 1 reports 15:13:01 ==> Detecting git/mercurial file structure 15:13:01 ==> Reading reports 15:13:01 + ./coverage.out bytes=10 15:13:01 ==> Appending adjustments 15:13:01 https://docs.codecov.io/docs/fixing-reports 15:13:01 + Found adjustments 15:13:01 ==> Gzipping contents 15:13:01 4.0K /tmp/codecov.AMIAr3.gz 15:13:01 ==> Uploading reports 15:13:01 url: https://codecov.io 15:13:01 query: branch=PR-514&commit=813c360ca325af316d6a4c9b63767711f7c00ebe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-514%2F2%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=514&job=&cmd_args= 15:13:01 -> Pinging Codecov 15:13:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-514&commit=813c360ca325af316d6a4c9b63767711f7c00ebe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-514%2F2%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=514&job=&cmd_args= 15:13:01 -> Uploading to 15:13:01 https://storage.googleapis.com/codecov/v4/raw/2022-04-12/FB506323287CE973F263BFD2A0EB1F37/813c360ca325af316d6a4c9b63767711f7c00ebe/29c994c7-ad0f-4168-b7d3-2ffb4c8b45cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220412T151301Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f93aa81b41b5e217f9adbbaa59f5953c0be816914c7daa172f505bda4a511fa 15:13:01 % Total % Received % Xferd Average Speed Time Time Time Current 15:13:01 Dload Upload Total Spent Left Speed 15:13:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4059 0 0 100 4059 0 16772 --:--:-- --:--:-- --:--:-- 16772 15:13:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/813c360ca325af316d6a4c9b63767711f7c00ebe [Pipeline] } 15:13:02 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 15:13:02 + [ -d /w/workspace/edgexfoundry_edgex-ui-go_PR-514/archives ] 15:13:02 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-514/archives 15:13:02 total 16 15:13:02 drwxr-xr-x 3 root root 4096 Apr 12 15:07 . 15:13:02 drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 15:07 .. 15:13:02 drwxr-xr-x 2 root root 4096 Apr 12 15:07 cost 15:13:02 -rw-r--r-- 1 root root 82 Apr 12 15:07 cost.csv 15:13:02 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-514/archives 15:13:02 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-514/archives 15:13:02 total 16 15:13:02 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 15:07 . 15:13:02 drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 15:07 .. 15:13:02 drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 15:07 cost 15:13:02 -rw-r--r-- 1 jenkins jenkins 82 Apr 12 15:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:13:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:13:04 ---> package-listing.sh 15:13:04 ++ facter osfamily 15:13:04 ++ tr '[:upper:]' '[:lower:]' 15:13:04 + OS_FAMILY=debian 15:13:04 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-514 15:13:04 + START_PACKAGES=/tmp/packages_start.txt 15:13:04 + END_PACKAGES=/tmp/packages_end.txt 15:13:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:13:04 + PACKAGES=/tmp/packages_start.txt 15:13:04 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-514 ']' 15:13:04 + PACKAGES=/tmp/packages_end.txt 15:13:04 + case "${OS_FAMILY}" in 15:13:04 + dpkg -l 15:13:04 + grep '^ii' 15:13:04 + '[' -f /tmp/packages_start.txt ']' 15:13:04 + '[' -f /tmp/packages_end.txt ']' 15:13:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:13:04 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-514 ']' 15:13:04 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-514/archives/ 15:13:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-514/archives/ [Pipeline] echo 15:13:04 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-514/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:13:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:13:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:13:05 . [Pipeline] withDockerContainer 15:13:05 prd-ubuntu20.04-docker-8c-8g-20686 does not seem to be running inside a container 15:13:05 $ 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-514/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-514 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-514:/w/workspace/edgexfoundry_edgex-ui-go_PR-514:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:13:05 $ docker top a8d7f9040e858ec2c092d81782512badea93a6a19b7651db54a7495516ef1d5f -eo pid,comm [Pipeline] { [Pipeline] sh 15:13:05 + touch /tmp/pre-build-complete [Pipeline] sh 15:13:06 + mkdir -p /var/log/sysstat [Pipeline] sh 15:13:06 + ls /var/log/sa-host 15:13:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:13:06 provisioning config files... 15:13:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-514@tmp/config8610942348190746794tmp [Pipeline] { [Pipeline] echo 15:13:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:13:06 ---> create-netrc.sh [Pipeline] } 15:13:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:13:07 ---> python-tools-install.sh [Pipeline] echo 15:13:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:13:07 ---> sudo-logs.sh 15:13:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:13:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:13:07 ---> job-cost.sh 15:13:07 lf-activate-venv: SKIPPING 15:13:07 DEBUG: total: 0.2199999988079071 15:13:07 INFO: Retrieving Stack Cost... 15:13:08 INFO: Retrieving Pricing Info for: v3-standard-8 15:13:08 INFO: Archiving Costs [Pipeline] echo 15:13:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:13:08 ---> logs-deploy.sh 15:13:08 lf-activate-venv: SKIPPING 15:13:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-514/2 15:13:08 INFO: archiving workspace using pattern(s): 15:13:09 Archives upload complete. 15:13:09 INFO: archiving logs to Nexus