Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d+a6a695fe0832c83638180736bbe712fc51e8f859 (fc6fc8159ba1a251fd8925770cd7b7b158f89480) 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-ssh14733180659768399538.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-ssh10499087158206570976.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-508/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-508/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10061420776804952294.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-ssh16071153412257264775.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-508/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-508/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh809295874797061238.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10474’ Running on prd-ubuntu20.04-docker-8c-8g-10478 in /w/workspace/edgexfoundry_edgex-ui-go_PR-508 [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-508 # 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 a6a695fe0832c83638180736bbe712fc51e8f859 into PR head commit 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d Merge succeeded, producing 3c6b22c5e29c0996daf93d516caf35f30e5bd6ff Checking out Revision 3c6b22c5e29c0996daf93d516caf35f30e5bd6ff (PR-508) > 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/508/head:refs/remotes/origin/PR-508 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d # 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 a6a695fe0832c83638180736bbe712fc51e8f859 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3c6b22c5e29c0996daf93d516caf35f30e5bd6ff # timeout=10 Commit message: "Merge commit 'a6a695fe0832c83638180736bbe712fc51e8f859' into HEAD" > git rev-list --no-walk 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:08:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:08:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:08:24 ========================================================= 18:08:24 EdgeX Global Pipelines Version Info 18:08:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:08:25 ------------------- 18:08:25 stable info: 18:08:25 ------------------- 18:08:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:08:25 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 18:08:25 Message: update stable to v1.0.221 18:08:26 ------------------- 18:08:26 experimental info: 18:08:26 ------------------- 18:08:26 Commited By: **** collab-it+edgex@linuxfoundation.org 18:08:26 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 18:08:26 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-508 [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-508 [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-508 [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3c6b22c5e29c0996daf93d516caf35f30e5bd6ff [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3c6b22c [Pipeline] echo 18:08:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:08:26 provisioning config files... 18:08:26 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/config889757745360967154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:26 ---> docker-login.sh 18:08:26 nexus3.edgexfoundry.org:10001 18:08:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:27 Configure a credential helper to remove this warning. See 18:08:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:27 18:08:27 Login Succeeded 18:08:27 nexus3.edgexfoundry.org:10002 18:08:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:27 Configure a credential helper to remove this warning. See 18:08:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:27 18:08:27 Login Succeeded 18:08:27 nexus3.edgexfoundry.org:10003 18:08:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:27 Configure a credential helper to remove this warning. See 18:08:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:27 18:08:27 Login Succeeded 18:08:27 nexus3.edgexfoundry.org:10004 18:08:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:27 Configure a credential helper to remove this warning. See 18:08:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:27 18:08:27 Login Succeeded 18:08:27 docker.io 18:08:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:28 Configure a credential helper to remove this warning. See 18:08:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:28 18:08:28 Login Succeeded 18:08:28 ---> docker-login.sh ends [Pipeline] } 18:08:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:08:28 + git rev-list -1 --merges 3c6b22c5e29c0996daf93d516caf35f30e5bd6ff~1..3c6b22c5e29c0996daf93d516caf35f30e5bd6ff [Pipeline] echo 18:08:28 -----------> git rev-list -1 --merges 3c6b22c5e29c0996daf93d516caf35f30e5bd6ff~1..3c6b22c5e29c0996daf93d516caf35f30e5bd6ff 3c6b22c5e29c0996daf93d516caf35f30e5bd6ff 18:08:28 3c6b22c5e29c0996daf93d516caf35f30e5bd6ff [false] [Pipeline] sh 18:08:29 + git log --format=format:%s -1 3c6b22c5e29c0996daf93d516caf35f30e5bd6ff [Pipeline] echo 18:08:29 ========================================================= 18:08:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:08:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:08:29 + git log --format=format:%s -1 3c6b22c5e29c0996daf93d516caf35f30e5bd6ff [Pipeline] echo 18:08:29 [semverPrep] GIT_COMMIT: 3c6b22c5e29c0996daf93d516caf35f30e5bd6ff, Commit Message: Merge commit 'a6a695fe0832c83638180736bbe712fc51e8f859' into HEAD [Pipeline] echo 18:08:29 [semverPrep] This is not a build commit. [Pipeline] sh 18:08:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:08:29 + grep -v github /etc/ssh/ssh_known_hosts 18:08:29 + [ -e /tmp/ssh_known_hosts ] 18:08:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:08:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:08:29 + sudo tee -a /etc/ssh/ssh_known_hosts 18:08:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:08:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:08:30 18:08:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:08:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:08:30 latest: Pulling from edgex-devops/git-semver 18:08:30 a0d0a0d46f8b: Pulling fs layer 18:08:30 3e5f54012d9b: Pulling fs layer 18:08:30 4c7163046ea9: Pulling fs layer 18:08:30 0c2d73faf560: Pulling fs layer 18:08:30 0c2d73faf560: Waiting 18:08:30 3e5f54012d9b: Verifying Checksum 18:08:30 3e5f54012d9b: Download complete 18:08:30 a0d0a0d46f8b: Download complete 18:08:30 0c2d73faf560: Verifying Checksum 18:08:30 0c2d73faf560: Download complete 18:08:30 4c7163046ea9: Verifying Checksum 18:08:30 4c7163046ea9: Download complete 18:08:30 a0d0a0d46f8b: Pull complete 18:08:30 3e5f54012d9b: Pull complete 18:08:31 4c7163046ea9: Pull complete 18:08:31 0c2d73faf560: Pull complete 18:08:31 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:08:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:08:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:08:31 prd-ubuntu20.04-docker-8c-8g-10478 does not seem to be running inside a container 18:08:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-508 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508:/w/workspace/edgexfoundry_edgex-ui-go_PR-508:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:08:32 $ docker top bb1c7c81b331aec7b03bc61407d02edc19344ca0075de6ebbeb8ab9afab5a7fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:08:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:08:32 [ssh-agent] Looking for ssh-agent implementation... 18:08:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:08:32 $ docker exec bb1c7c81b331aec7b03bc61407d02edc19344ca0075de6ebbeb8ab9afab5a7fd ssh-agent 18:08:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfbhicH/agent.13 18:08:32 SSH_AGENT_PID=19 18:08:32 Running ssh-add (command line suppressed) 18:08:33 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/private_key_1214471259390593353.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/private_key_1214471259390593353.key) 18:08:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:08:33 + git tag --points-at HEAD [Pipeline] } 18:08:33 $ docker exec --env ******** --env ******** bb1c7c81b331aec7b03bc61407d02edc19344ca0075de6ebbeb8ab9afab5a7fd ssh-agent -k 18:08:33 unset SSH_AUTH_SOCK; 18:08:33 unset SSH_AGENT_PID; 18:08:33 echo Agent pid 19 killed; 18:08:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:08:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:08:33 [ssh-agent] Looking for ssh-agent implementation... 18:08:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:08:33 $ docker exec bb1c7c81b331aec7b03bc61407d02edc19344ca0075de6ebbeb8ab9afab5a7fd ssh-agent 18:08:33 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeiOpFa/agent.55 18:08:33 SSH_AGENT_PID=61 18:08:33 Running ssh-add (command line suppressed) 18:08:33 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/private_key_2946631802314545472.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/private_key_2946631802314545472.key) 18:08:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:08:34 + git semver init 18:08:34 # -> Open(): unable to determine branch for HEAD 18:08:34 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-508/.git 18:08:34 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-508 18:08:34 # $SEMVER_REMOTE_NAME = origin 18:08:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:08:34 # $SEMVER_USER_NAME = edgex-jenkins 18:08:34 # $SEMVER_BRANCH = PR-508 18:08:34 # $SEMVER_TEMP = /tmp/semver-288235753 18:08:34 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 18:08:36 # '/tmp/semver-288235753' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-508/.semver' 18:08:36 # -> Force: false 18:08:36 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-508/.semver [Pipeline] } 18:08:36 $ docker exec --env ******** --env ******** bb1c7c81b331aec7b03bc61407d02edc19344ca0075de6ebbeb8ab9afab5a7fd ssh-agent -k 18:08:36 unset SSH_AUTH_SOCK; 18:08:36 unset SSH_AGENT_PID; 18:08:36 echo Agent pid 61 killed; 18:08:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:08:37 + git semver [Pipeline] } 18:08:37 $ docker stop --time=1 bb1c7c81b331aec7b03bc61407d02edc19344ca0075de6ebbeb8ab9afab5a7fd 18:08:38 $ docker rm -f bb1c7c81b331aec7b03bc61407d02edc19344ca0075de6ebbeb8ab9afab5a7fd [Pipeline] // withDockerContainer [Pipeline] sh 18:08:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:08:39 Stashed 1 file(s) [Pipeline] echo 18:08:39 [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 18:08:39 provisioning config files... 18:08:39 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/config6820920866560803550tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:39 ---> docker-login.sh 18:08:39 nexus3.edgexfoundry.org:10001 18:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:39 Configure a credential helper to remove this warning. See 18:08:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:39 18:08:39 Login Succeeded 18:08:39 nexus3.edgexfoundry.org:10002 18:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:39 Configure a credential helper to remove this warning. See 18:08:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:39 18:08:39 Login Succeeded 18:08:39 nexus3.edgexfoundry.org:10003 18:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:39 Configure a credential helper to remove this warning. See 18:08:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:39 18:08:39 Login Succeeded 18:08:39 nexus3.edgexfoundry.org:10004 18:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:40 Configure a credential helper to remove this warning. See 18:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:40 18:08:40 Login Succeeded 18:08:40 docker.io 18:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:40 Configure a credential helper to remove this warning. See 18:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:40 18:08:40 Login Succeeded 18:08:40 ---> docker-login.sh ends [Pipeline] } 18:08:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:08:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:08:40 ========================================================= 18:08:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:08:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:08:40 + 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 . 18:08:41 Sending build context to Docker daemon 43.18MB 18:08:41 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 18:08:41 Step 2/15 : FROM ${BASE} AS builder 18:08:41 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:08:41 59bf1c3509f3: Pulling fs layer 18:08:41 666ba61612fd: Pulling fs layer 18:08:41 8ed8ca486205: Pulling fs layer 18:08:41 4fe6c5a15a65: Pulling fs layer 18:08:41 22a0e8bec74d: Pulling fs layer 18:08:41 640e595b4fbd: Pulling fs layer 18:08:41 763cafe07f6e: Pulling fs layer 18:08:41 0c0b528cf693: Pulling fs layer 18:08:41 10935f4eaf8b: Pulling fs layer 18:08:41 4fe6c5a15a65: Waiting 18:08:41 22a0e8bec74d: Waiting 18:08:41 763cafe07f6e: Waiting 18:08:41 640e595b4fbd: Waiting 18:08:41 0c0b528cf693: Waiting 18:08:41 10935f4eaf8b: Waiting 18:08:41 8ed8ca486205: Verifying Checksum 18:08:41 8ed8ca486205: Download complete 18:08:41 666ba61612fd: Download complete 18:08:41 22a0e8bec74d: Verifying Checksum 18:08:41 22a0e8bec74d: Download complete 18:08:41 640e595b4fbd: Verifying Checksum 18:08:41 640e595b4fbd: Download complete 18:08:41 59bf1c3509f3: Verifying Checksum 18:08:41 59bf1c3509f3: Download complete 18:08:41 763cafe07f6e: Verifying Checksum 18:08:41 763cafe07f6e: Download complete 18:08:41 0c0b528cf693: Verifying Checksum 18:08:41 0c0b528cf693: Download complete 18:08:41 59bf1c3509f3: Pull complete 18:08:41 666ba61612fd: Pull complete 18:08:41 8ed8ca486205: Pull complete 18:08:41 10935f4eaf8b: Download complete 18:08:41 4fe6c5a15a65: Verifying Checksum 18:08:41 4fe6c5a15a65: Download complete 18:08:46 4fe6c5a15a65: Pull complete 18:08:46 22a0e8bec74d: Pull complete 18:08:46 640e595b4fbd: Pull complete 18:08:46 763cafe07f6e: Pull complete 18:08:46 0c0b528cf693: Pull complete 18:08:48 10935f4eaf8b: Pull complete 18:08:48 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 18:08:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:08:48 ---> 99d49a6021b9 18:08:48 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 18:08:49 ---> Running in 997a388dc129 18:08:49 Removing intermediate container 997a388dc129 18:08:49 ---> 87de96a1a58b 18:08:49 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 18:08:49 ---> Running in 65d6bab7b1f7 18:08:49 Removing intermediate container 65d6bab7b1f7 18:08:49 ---> 66016aba89b5 18:08:49 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 18:08:49 ---> Running in 949cb6ad4941 18:08:49 Removing intermediate container 949cb6ad4941 18:08:49 ---> 98a59537ef3c 18:08:49 Step 6/15 : LABEL Name=edgex-ui-go 18:08:49 ---> Running in 8be770feaa0a 18:08:49 Removing intermediate container 8be770feaa0a 18:08:49 ---> ed4591d60fef 18:08:49 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 18:08:49 ---> Running in 9228b4465e50 18:08:49 Removing intermediate container 9228b4465e50 18:08:49 ---> a2e6f3f27d77 18:08:49 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:08:49 ---> Running in ec64e5bc34fc 18:08:50 Removing intermediate container ec64e5bc34fc 18:08:50 ---> 9fc67e2338c9 18:08:50 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:08:50 ---> Running in 70553cfe1a00 18:08:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:08:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:08:51 OK: 221 MiB in 52 packages 18:08:52 Removing intermediate container 70553cfe1a00 18:08:52 ---> 3e16a1d418e2 18:08:52 Step 10/15 : ENV GO111MODULE=on 18:08:52 ---> Running in 32d0cad23e51 18:08:52 Removing intermediate container 32d0cad23e51 18:08:52 ---> 77b8cc6f2a82 18:08:52 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 18:08:52 ---> Running in c0a941c69e4f 18:08:52 Removing intermediate container c0a941c69e4f 18:08:52 ---> d15912266d2b 18:08:52 Step 12/15 : COPY go.mod vendor* ./ 18:08:52 ---> 6fc53719ac92 18:08:52 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:08:52 ---> Running in 23edf93e43e6 18:08:54 Still waiting to schedule task 18:08:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-10475’ is offline 18:09:19 Removing intermediate container 23edf93e43e6 18:09:19 ---> 038e3d66881f 18:09:19 Step 14/15 : COPY . . 18:09:19 ---> 8013d0b932a4 18:09:19 Step 15/15 : RUN ${MAKE} 18:09:19 ---> Running in bfc053af6654 18:09:19 noop 18:09:19 Removing intermediate container bfc053af6654 18:09:19 ---> 1a500d912475 18:09:19 Successfully built 1a500d912475 18:09:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:09:19 + docker inspect -f . ci-base-image-x86_64 18:09:19 . [Pipeline] withDockerContainer 18:09:19 prd-ubuntu20.04-docker-8c-8g-10478 does not seem to be running inside a container 18:09:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-508 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508:/w/workspace/edgexfoundry_edgex-ui-go_PR-508:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:09:20 $ docker top 137396daaca9006d4c1b4e2c4938a5aca471d81358354865143c4e4368ba80f4 -eo pid,comm [Pipeline] { [Pipeline] sh 18:09:20 + go version 18:09:20 go version go1.17.6 linux/amd64 [Pipeline] } 18:09:20 $ docker stop --time=1 137396daaca9006d4c1b4e2c4938a5aca471d81358354865143c4e4368ba80f4 18:09:22 $ docker rm -f 137396daaca9006d4c1b4e2c4938a5aca471d81358354865143c4e4368ba80f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:09:22 + docker inspect -f . ci-base-image-x86_64 18:09:22 . [Pipeline] withDockerContainer 18:09:22 prd-ubuntu20.04-docker-8c-8g-10478 does not seem to be running inside a container 18:09:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-508 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508:/w/workspace/edgexfoundry_edgex-ui-go_PR-508:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:09:22 $ docker top 7fbe799a291a3dab8358e1045e3dec17c05b1b7cbf1761f136a0d3f25e71b5a7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:09:23 + make test 18:09:23 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:09:23 ? github.com/edgexfoundry/edgex-ui-go [no test files] 18:09:28 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 18:09:28 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 18:09:28 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 18:09:28 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 18:09:28 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 18:09:28 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 18:09:28 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 18:09:28 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 18:09:28 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 18:09:28 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 18:09:28 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 18:09:28 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 18:09:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:09:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:09:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 18:09:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:09:31 $ docker stop --time=1 7fbe799a291a3dab8358e1045e3dec17c05b1b7cbf1761f136a0d3f25e71b5a7 18:09:33 $ docker rm -f 7fbe799a291a3dab8358e1045e3dec17c05b1b7cbf1761f136a0d3f25e71b5a7 [Pipeline] // withDockerContainer [Pipeline] sh 18:09:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:09:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:09:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:09:34 + ls -al . 18:09:34 total 160 18:09:34 drwxrwxr-x 14 jenkins jenkins 4096 Apr 1 18:09 . 18:09:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:08 .. 18:09:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 18:08 .git 18:09:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 18:08 .github 18:09:34 -rw-rw-r-- 1 jenkins jenkins 155 Apr 1 18:08 .gitignore 18:09:34 drwx------ 3 jenkins jenkins 4096 Apr 1 18:08 .semver 18:09:34 -rw-rw-r-- 1 jenkins jenkins 3959 Apr 1 18:08 CONTRIBUTING.md 18:09:34 -rw-rw-r-- 1 jenkins jenkins 1549 Apr 1 18:08 Dockerfile 18:09:34 -rw-rw-r-- 1 jenkins jenkins 652 Apr 1 18:08 Jenkinsfile 18:09:34 -rw-rw-r-- 1 jenkins jenkins 11357 Apr 1 18:08 LICENSE 18:09:34 -rw-rw-r-- 1 jenkins jenkins 1212 Apr 1 18:08 Makefile 18:09:34 -rw-rw-r-- 1 jenkins jenkins 4450 Apr 1 18:08 README.md 18:09:34 -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 18:08 VERSION 18:09:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:08 assets 18:09:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 18:08 bin 18:09:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:08 cmd 18:09:34 -rw-r--r-- 1 jenkins jenkins 10 Apr 1 18:09 coverage.out 18:09:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 18:08 docs 18:09:34 -rw-rw-r-- 1 jenkins jenkins 1944 Apr 1 18:08 go.mod 18:09:34 -rw-rw-r-- 1 jenkins jenkins 48565 Apr 1 18:08 go.sum 18:09:34 drwxrwxr-x 9 jenkins jenkins 4096 Apr 1 18:08 internal 18:09:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:08 pkg 18:09:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:08 snap 18:09:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:08 testing 18:09:34 -rw-rw-r-- 1 jenkins jenkins 155 Apr 1 18:08 version.go 18:09:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:08 web [Pipeline] isUnix [Pipeline] sh 18:09:34 + 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=3c6b22c5e29c0996daf93d516caf35f30e5bd6ff --label arch=amd64 --label version=0.0.0 . 18:09:34 Sending build context to Docker daemon 43.18MB 18:09:34 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 18:09:34 Step 2/23 : FROM ${BASE} AS builder 18:09:34 ---> 1a500d912475 18:09:34 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 18:09:35 ---> Running in c51052fb1814 18:09:35 Removing intermediate container c51052fb1814 18:09:35 ---> 672065b09d75 18:09:35 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 18:09:35 ---> Running in 8d72f51c494c 18:09:35 Removing intermediate container 8d72f51c494c 18:09:35 ---> fc259fc349c4 18:09:35 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 18:09:35 ---> Running in 57685752c5ec 18:09:35 Removing intermediate container 57685752c5ec 18:09:35 ---> 6a25608574fc 18:09:35 Step 6/23 : LABEL Name=edgex-ui-go 18:09:35 ---> Running in 29d8be9b6847 18:09:35 Removing intermediate container 29d8be9b6847 18:09:35 ---> 862b4f858862 18:09:35 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 18:09:35 ---> Running in b3c7d8beec5d 18:09:35 Removing intermediate container b3c7d8beec5d 18:09:35 ---> 8170c6c87190 18:09:35 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:09:35 ---> Running in 0717369c70f1 18:09:36 Removing intermediate container 0717369c70f1 18:09:36 ---> 2b3efff97f18 18:09:36 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:09:36 ---> Running in ed4458c5d766 18:09:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:09:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:09:38 OK: 221 MiB in 52 packages 18:09:38 Removing intermediate container ed4458c5d766 18:09:38 ---> e090e1aa1fa9 18:09:38 Step 10/23 : ENV GO111MODULE=on 18:09:38 ---> Running in 4b0aa02badd5 18:09:38 Removing intermediate container 4b0aa02badd5 18:09:38 ---> bb7d1b50254c 18:09:38 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 18:09:38 ---> Running in 2063c4d69b58 18:09:38 Removing intermediate container 2063c4d69b58 18:09:38 ---> a9eca1bdb2ce 18:09:38 Step 12/23 : COPY go.mod vendor* ./ 18:09:39 ---> 204d0f60ed73 18:09:39 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:09:39 ---> Running in 38d2c4fe4eed 18:09:39 Removing intermediate container 38d2c4fe4eed 18:09:39 ---> 3a6cb16b73e4 18:09:39 Step 14/23 : COPY . . 18:09:41 ---> cc15809b0086 18:09:41 Step 15/23 : RUN ${MAKE} 18:09:41 ---> Running in 7ed089539350 18:09:41 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 18:09:46 CGO_ENABLED=0 GO111MODULE=on go build ./... 18:09:48 Removing intermediate container 7ed089539350 18:09:48 ---> da588e31ef09 18:09:48 Step 16/23 : FROM alpine:3.14 18:09:48 3.14: Pulling from library/alpine 18:09:48 cfab2db72209: Pulling fs layer 18:09:49 cfab2db72209: Verifying Checksum 18:09:49 cfab2db72209: Download complete 18:09:49 cfab2db72209: Pull complete 18:09:49 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 18:09:49 Status: Downloaded newer image for alpine:3.14 18:09:49 ---> 84b07dd2d1fd 18:09:49 Step 17/23 : EXPOSE 4000 18:09:49 ---> Running in 81f0e539312d 18:09:49 Removing intermediate container 81f0e539312d 18:09:49 ---> 14b8efa24c7e 18:09:49 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 18:09:50 ---> d0c4242c9570 18:09:50 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 18:09:50 ---> Running in 03546c5fd5e8 18:09:50 Removing intermediate container 03546c5fd5e8 18:09:50 ---> c1b7c3728875 18:09:50 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 18:09:50 ---> Running in cc0dbfc314a6 18:09:50 Removing intermediate container cc0dbfc314a6 18:09:50 ---> 17b45889b07a 18:09:50 Step 21/23 : LABEL arch=amd64 18:09:50 ---> Running in 478de9d94997 18:09:50 Removing intermediate container 478de9d94997 18:09:50 ---> 5852875f067c 18:09:50 Step 22/23 : LABEL git_sha=3c6b22c5e29c0996daf93d516caf35f30e5bd6ff 18:09:50 ---> Running in 91eb82050d17 18:09:50 Removing intermediate container 91eb82050d17 18:09:50 ---> 7755e6a89ff7 18:09:50 Step 23/23 : LABEL version=0.0.0 18:09:50 ---> Running in 927846a12921 18:09:50 Removing intermediate container 927846a12921 18:09:50 ---> a93dc29135ea 18:09:50 [Warning] One or more build-args [ARCH] were not consumed 18:09:50 Successfully built a93dc29135ea 18:09:50 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 18:09:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:09:51 18:09:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:09:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:09:51 latest: Pulling from edgex-lftools-log-publisher 18:09:51 5eb5b503b376: Pulling fs layer 18:09:51 5c69ac0246d0: Pulling fs layer 18:09:51 ec43610c2a17: Pulling fs layer 18:09:51 3a2ae6a8a46f: Pulling fs layer 18:09:51 33b1e0a273af: Pulling fs layer 18:09:51 5d3b04190fa2: Pulling fs layer 18:09:51 2f39f015ded8: Pulling fs layer 18:09:51 3a2ae6a8a46f: Waiting 18:09:51 33b1e0a273af: Waiting 18:09:51 5d3b04190fa2: Waiting 18:09:51 2f39f015ded8: Waiting 18:09:51 5c69ac0246d0: Download complete 18:09:51 3a2ae6a8a46f: Download complete 18:09:51 33b1e0a273af: Verifying Checksum 18:09:51 33b1e0a273af: Download complete 18:09:51 5d3b04190fa2: Download complete 18:09:51 ec43610c2a17: Verifying Checksum 18:09:51 ec43610c2a17: Download complete 18:09:51 5eb5b503b376: Verifying Checksum 18:09:51 5eb5b503b376: Download complete 18:09:52 2f39f015ded8: Download complete 18:09:53 5eb5b503b376: Pull complete 18:09:53 5c69ac0246d0: Pull complete 18:09:53 ec43610c2a17: Pull complete 18:09:53 3a2ae6a8a46f: Pull complete 18:09:54 33b1e0a273af: Pull complete 18:09:54 5d3b04190fa2: Pull complete 18:09:58 2f39f015ded8: Pull complete 18:09:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:09:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:09:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:09:58 prd-ubuntu20.04-docker-8c-8g-10478 does not seem to be running inside a container 18:09:58 $ 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-508 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508:/w/workspace/edgexfoundry_edgex-ui-go_PR-508:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@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 18:10:00 $ docker top 6c07da78c0f10b27ee83a4997ac3660c79e61123af8bd3e7b3abf5d0795a8d9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:10:01 ---> job-cost.sh 18:10:01 lf-activate-venv: SKIPPING 18:10:01 INFO: No Stack... 18:10:01 INFO: Retrieving Pricing Info for: v3-standard-8 18:10:02 INFO: Archiving Costs [Pipeline] sh 18:10:02 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives/cost.csv 18:10:02 + cut -d, -f6 [Pipeline] lock 18:10:02 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-508-2-stack-cost] 18:10:02 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-508-2-stack-cost] did not exist. Created. 18:10:02 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-508-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:10:02 + echo total: 0.2199999988079071 [Pipeline] stash 18:10:02 Stashed 1 file(s) [Pipeline] } 18:10:02 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-508-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:10:03 $ docker stop --time=1 6c07da78c0f10b27ee83a4997ac3660c79e61123af8bd3e7b3abf5d0795a8d9e 18:10:04 $ docker rm -f 6c07da78c0f10b27ee83a4997ac3660c79e61123af8bd3e7b3abf5d0795a8d9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:10:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10480 in /w/workspace/edgexfoundry_edgex-ui-go_PR-508 [Pipeline] { [Pipeline] ws 18:10:28 Running in /w/workspace/edgex-ui-go/2 [Pipeline] { [Pipeline] checkout 18:10:29 The recommended git tool is: git 18:10:36 using credential edgex-jenkins-ssh 18:10:36 Cloning the remote Git repository 18:10:36 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 18:10:37 > git init /w/workspace/edgex-ui-go/2 # timeout=10 18:10:37 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 18:10:37 > git --version # timeout=10 18:10:37 > git --version # 'git version 2.25.1' 18:10:37 using GIT_SSH to set credentials SSH Credentials for GitHub 18:10:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:10:41 Merging remotes/origin/main commit a6a695fe0832c83638180736bbe712fc51e8f859 into PR head commit 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d 18:10:40 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 18:10:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:10:40 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 18:10:40 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 18:10:40 using GIT_SSH to set credentials SSH Credentials for GitHub 18:10:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/508/head:refs/remotes/origin/PR-508 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:10:41 > git config core.sparsecheckout # timeout=10 18:10:41 > git checkout -f 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d # timeout=10 18:10:42 Merge succeeded, producing f821a1c392757b4d967b0661a03a00bffbb378c7 18:10:42 Checking out Revision f821a1c392757b4d967b0661a03a00bffbb378c7 (PR-508) 18:10:41 > git remote # timeout=10 18:10:41 > git config --get remote.origin.url # timeout=10 18:10:42 using GIT_SSH to set credentials SSH Credentials for GitHub 18:10:42 > git merge a6a695fe0832c83638180736bbe712fc51e8f859 # timeout=10 18:10:42 > git rev-parse HEAD^{commit} # timeout=10 18:10:42 > git config core.sparsecheckout # timeout=10 18:10:42 > git checkout -f f821a1c392757b4d967b0661a03a00bffbb378c7 # timeout=10 18:10:46 Commit message: "Merge commit 'a6a695fe0832c83638180736bbe712fc51e8f859' into HEAD" 18:10:46 > git rev-list --no-walk 2337fb0b6b03b6ca21e67cbe70007cc7d2c6a60d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:10:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:10:47 % Total % Received % Xferd Average Speed Time Time Time Current 18:10:47 Dload Upload Total Spent Left Speed 18:10:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46261 0 --:--:-- --:--:-- --:--:-- 46261 [Pipeline] sh 18:10:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:10:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.jsonsudo 18:10:48 tee /etc/docker/daemon.new 18:10:48 { 18:10:48 "registry-mirrors": [ 18:10:48 "https://nexus3.edgexfoundry.org:10001" 18:10:48 ], 18:10:48 "bip": "10.250.0.254/24", 18:10:48 "hosts": [ 18:10:48 "tcp://0.0.0.0:5555", 18:10:48 "unix:///var/run/docker.sock" 18:10:48 ], 18:10:48 "mtu": 1458, 18:10:48 "selinux-enabled": true, 18:10:48 "seccomp-profile": "/etc/docker/seccomp.json" 18:10:48 } [Pipeline] sh 18:10:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:10:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:11:07 provisioning config files... 18:11:07 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/2@tmp/config3809353902724588053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:08 ---> docker-login.sh 18:11:08 nexus3.edgexfoundry.org:10001 18:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:09 Configure a credential helper to remove this warning. See 18:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:09 18:11:09 Login Succeeded 18:11:09 nexus3.edgexfoundry.org:10002 18:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:09 Configure a credential helper to remove this warning. See 18:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:09 18:11:09 Login Succeeded 18:11:09 nexus3.edgexfoundry.org:10003 18:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:10 Configure a credential helper to remove this warning. See 18:11:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:10 18:11:10 Login Succeeded 18:11:10 nexus3.edgexfoundry.org:10004 18:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:10 Configure a credential helper to remove this warning. See 18:11:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:10 18:11:10 Login Succeeded 18:11:10 docker.io 18:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:11 Configure a credential helper to remove this warning. See 18:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:11 18:11:11 Login Succeeded 18:11:11 ---> docker-login.sh ends [Pipeline] } 18:11:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:11:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:11:11 ========================================================= 18:11:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:11:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:11:12 + 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 . 18:11:13 Sending build context to Docker daemon 27.07MB 18:11:13 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 18:11:13 Step 2/15 : FROM ${BASE} AS builder 18:11:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:11:13 9b3977197b4f: Pulling fs layer 18:11:13 1a89e8eeedd5: Pulling fs layer 18:11:13 94645a83ff95: Pulling fs layer 18:11:13 3f3a8bcf1eab: Pulling fs layer 18:11:13 0c92f367c5e7: Pulling fs layer 18:11:13 f7c0051592d6: Pulling fs layer 18:11:13 a227ed2f7395: Pulling fs layer 18:11:13 7b1c46037f91: Pulling fs layer 18:11:13 3f3a8bcf1eab: Waiting 18:11:13 0c92f367c5e7: Waiting 18:11:13 f7c0051592d6: Waiting 18:11:13 a227ed2f7395: Waiting 18:11:13 7b1c46037f91: Waiting 18:11:13 94645a83ff95: Download complete 18:11:13 1a89e8eeedd5: Verifying Checksum 18:11:13 1a89e8eeedd5: Download complete 18:11:13 0c92f367c5e7: Verifying Checksum 18:11:13 0c92f367c5e7: Download complete 18:11:13 f7c0051592d6: Verifying Checksum 18:11:13 f7c0051592d6: Download complete 18:11:13 9b3977197b4f: Verifying Checksum 18:11:13 9b3977197b4f: Download complete 18:11:13 a227ed2f7395: Verifying Checksum 18:11:13 a227ed2f7395: Download complete 18:11:14 9b3977197b4f: Pull complete 18:11:15 1a89e8eeedd5: Pull complete 18:11:15 94645a83ff95: Pull complete 18:11:15 7b1c46037f91: Verifying Checksum 18:11:15 7b1c46037f91: Download complete 18:11:16 3f3a8bcf1eab: Verifying Checksum 18:11:16 3f3a8bcf1eab: Download complete 18:11:29 3f3a8bcf1eab: Pull complete 18:11:29 0c92f367c5e7: Pull complete 18:11:29 f7c0051592d6: Pull complete 18:11:29 a227ed2f7395: Pull complete 18:11:36 7b1c46037f91: Pull complete 18:11:36 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 18:11:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:11:36 ---> f79e39bc4007 18:11:36 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 18:11:37 ---> Running in 28565ba4a869 18:11:37 Removing intermediate container 28565ba4a869 18:11:37 ---> e83dd6ed8981 18:11:37 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 18:11:37 ---> Running in 71acb0c3534d 18:11:38 Removing intermediate container 71acb0c3534d 18:11:38 ---> 3871c0afbad2 18:11:38 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 18:11:38 ---> Running in 160f2d14deb6 18:11:38 Removing intermediate container 160f2d14deb6 18:11:38 ---> 0139a5adcf47 18:11:38 Step 6/15 : LABEL Name=edgex-ui-go 18:11:38 ---> Running in a09262171311 18:11:38 Removing intermediate container a09262171311 18:11:38 ---> 3f3860ad22ef 18:11:38 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 18:11:38 ---> Running in 3586f709cde7 18:11:39 Removing intermediate container 3586f709cde7 18:11:39 ---> 59e8076a1d04 18:11:39 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:11:39 ---> Running in 738c62828e71 18:11:41 Removing intermediate container 738c62828e71 18:11:41 ---> bf3de267a353 18:11:41 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:11:41 ---> Running in 691bf3f8a1e1 18:11:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:11:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:11:44 OK: 220 MiB in 52 packages 18:11:45 Removing intermediate container 691bf3f8a1e1 18:11:45 ---> 53891e113273 18:11:45 Step 10/15 : ENV GO111MODULE=on 18:11:45 ---> Running in b20775f4a850 18:11:45 Removing intermediate container b20775f4a850 18:11:45 ---> 64eb79d82d6c 18:11:45 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 18:11:45 ---> Running in 273c6929f5bb 18:11:46 Removing intermediate container 273c6929f5bb 18:11:46 ---> c26a4fb13437 18:11:46 Step 12/15 : COPY go.mod vendor* ./ 18:11:46 ---> 1fb8ea979328 18:11:46 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:11:46 ---> Running in aefd4fdaf760 18:13:08 Removing intermediate container aefd4fdaf760 18:13:08 ---> df514497e1c3 18:13:08 Step 14/15 : COPY . . 18:13:08 ---> e77f17c3cd17 18:13:08 Step 15/15 : RUN ${MAKE} 18:13:08 ---> Running in a3af02cba8ca 18:13:08 noop 18:13:08 Removing intermediate container a3af02cba8ca 18:13:08 ---> 64de1f92456a 18:13:08 Successfully built 64de1f92456a 18:13:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:13:09 + docker inspect -f . ci-base-image-arm64 18:13:09 . [Pipeline] withDockerContainer 18:13:09 prd-ubuntu20.04-docker-arm64-4c-16g-10480 does not seem to be running inside a container 18:13:09 $ 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 ******** ci-base-image-arm64 cat 18:13:10 $ docker top 3598f1ca3b71066b821232ee7d6f68b02bfe846f38090176d2fb3076d6be6b77 -eo pid,comm [Pipeline] { [Pipeline] sh 18:13:11 + go version 18:13:11 go version go1.17.6 linux/arm64 [Pipeline] } 18:13:11 $ docker stop --time=1 3598f1ca3b71066b821232ee7d6f68b02bfe846f38090176d2fb3076d6be6b77 18:13:13 $ docker rm -f 3598f1ca3b71066b821232ee7d6f68b02bfe846f38090176d2fb3076d6be6b77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:13:14 + docker inspect -f . ci-base-image-arm64 18:13:14 . [Pipeline] withDockerContainer 18:13:14 prd-ubuntu20.04-docker-arm64-4c-16g-10480 does not seem to be running inside a container 18:13:14 $ 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 ******** ci-base-image-arm64 cat 18:13:15 $ docker top 02dadf57d4bccdc9e2cc375dec676c7941fbe72274cb288153a956e557081f1e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:13:16 + make test 18:13:16 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:13:18 ? github.com/edgexfoundry/edgex-ui-go [no test files] 18:13:57 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 18:13:57 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 18:13:57 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 18:13:57 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 18:13:57 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 18:13:57 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 18:13:57 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 18:13:57 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 18:13:57 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 18:13:57 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 18:13:57 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 18:13:57 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 18:13:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:14:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:14:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 18:14:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:14:15 $ docker stop --time=1 02dadf57d4bccdc9e2cc375dec676c7941fbe72274cb288153a956e557081f1e 18:14:17 $ docker rm -f 02dadf57d4bccdc9e2cc375dec676c7941fbe72274cb288153a956e557081f1e [Pipeline] // withDockerContainer [Pipeline] sh 18:14:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:14:18 Warning: overwriting stash ‘coverage-report’ 18:14:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:14:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:14:19 + ls -al . 18:14:19 total 156 18:14:19 drwxrwxr-x 13 jenkins jenkins 4096 Apr 1 18:13 . 18:14:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:10 .. 18:14:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 18:10 .git 18:14:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 18:10 .github 18:14:19 -rw-rw-r-- 1 jenkins jenkins 155 Apr 1 18:10 .gitignore 18:14:19 -rw-rw-r-- 1 jenkins jenkins 3959 Apr 1 18:10 CONTRIBUTING.md 18:14:19 -rw-rw-r-- 1 jenkins jenkins 1549 Apr 1 18:10 Dockerfile 18:14:19 -rw-rw-r-- 1 jenkins jenkins 652 Apr 1 18:10 Jenkinsfile 18:14:19 -rw-rw-r-- 1 jenkins jenkins 11357 Apr 1 18:10 LICENSE 18:14:19 -rw-rw-r-- 1 jenkins jenkins 1212 Apr 1 18:10 Makefile 18:14:19 -rw-rw-r-- 1 jenkins jenkins 4450 Apr 1 18:10 README.md 18:14:19 -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 18:08 VERSION 18:14:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:10 assets 18:14:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 18:10 bin 18:14:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:10 cmd 18:14:19 -rw-r--r-- 1 jenkins jenkins 10 Apr 1 18:13 coverage.out 18:14:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 18:10 docs 18:14:19 -rw-rw-r-- 1 jenkins jenkins 1944 Apr 1 18:10 go.mod 18:14:19 -rw-rw-r-- 1 jenkins jenkins 48565 Apr 1 18:10 go.sum 18:14:19 drwxrwxr-x 9 jenkins jenkins 4096 Apr 1 18:10 internal 18:14:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:10 pkg 18:14:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:10 snap 18:14:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:10 testing 18:14:19 -rw-rw-r-- 1 jenkins jenkins 155 Apr 1 18:10 version.go 18:14:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:10 web [Pipeline] isUnix [Pipeline] sh 18:14:19 + 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=f821a1c392757b4d967b0661a03a00bffbb378c7 --label arch=arm64 --label version=0.0.0 . 18:14:20 Sending build context to Docker daemon 27.07MB 18:14:20 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 18:14:20 Step 2/23 : FROM ${BASE} AS builder 18:14:20 ---> 64de1f92456a 18:14:20 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 18:14:20 ---> Running in 2889ab719116 18:14:21 Removing intermediate container 2889ab719116 18:14:21 ---> 3075f3f074ca 18:14:21 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 18:14:21 ---> Running in 0090fdda3396 18:14:21 Removing intermediate container 0090fdda3396 18:14:21 ---> 4a135b4de7f5 18:14:21 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 18:14:21 ---> Running in 6560304ada43 18:14:22 Removing intermediate container 6560304ada43 18:14:22 ---> 13c456b6ce7b 18:14:22 Step 6/23 : LABEL Name=edgex-ui-go 18:14:22 ---> Running in f93ba7c213cd 18:14:22 Removing intermediate container f93ba7c213cd 18:14:22 ---> 43af47b05ec6 18:14:22 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 18:14:22 ---> Running in 6f7d395601f9 18:14:22 Removing intermediate container 6f7d395601f9 18:14:22 ---> a3b646d9f98b 18:14:22 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:14:23 ---> Running in 742f67ec9465 18:14:25 Removing intermediate container 742f67ec9465 18:14:25 ---> b49bd5a8bd72 18:14:25 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:14:25 ---> Running in a2ff09526255 18:14:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:14:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:14:27 OK: 220 MiB in 52 packages 18:14:28 Removing intermediate container a2ff09526255 18:14:28 ---> 06d9f988f936 18:14:28 Step 10/23 : ENV GO111MODULE=on 18:14:28 ---> Running in 04325c225e22 18:14:28 Removing intermediate container 04325c225e22 18:14:28 ---> 5710510b0338 18:14:28 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 18:14:28 ---> Running in 64bd101991c0 18:14:29 Removing intermediate container 64bd101991c0 18:14:29 ---> 2f77d84af0aa 18:14:29 Step 12/23 : COPY go.mod vendor* ./ 18:14:30 ---> 5cc951238871 18:14:30 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:14:30 ---> Running in 5828bd9de52f 18:14:32 Removing intermediate container 5828bd9de52f 18:14:32 ---> 35dd3bd8c8fd 18:14:32 Step 14/23 : COPY . . 18:14:35 ---> 61ec2727853f 18:14:35 Step 15/23 : RUN ${MAKE} 18:14:35 ---> Running in 180b3d44d448 18:14:36 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 18:15:15 CGO_ENABLED=0 GO111MODULE=on go build ./... 18:15:15 Removing intermediate container 180b3d44d448 18:15:15 ---> f6b46f52f3fb 18:15:15 Step 16/23 : FROM alpine:3.14 18:15:15 3.14: Pulling from library/alpine 18:15:15 810d54c7e01b: Pulling fs layer 18:15:16 810d54c7e01b: Download complete 18:15:16 810d54c7e01b: Pull complete 18:15:16 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 18:15:16 Status: Downloaded newer image for alpine:3.14 18:15:16 ---> cc3d11fa2d52 18:15:16 Step 17/23 : EXPOSE 4000 18:15:16 ---> Running in b74e2c546c72 18:15:17 Removing intermediate container b74e2c546c72 18:15:17 ---> 5a65e85ddabf 18:15:17 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 18:15:18 ---> cbd6c72fff43 18:15:18 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 18:15:18 ---> Running in 81152973d24c 18:15:19 Removing intermediate container 81152973d24c 18:15:19 ---> eace2d60f894 18:15:19 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 18:15:19 ---> Running in c65dac9257c3 18:15:19 Removing intermediate container c65dac9257c3 18:15:19 ---> b6bb63a14d3c 18:15:19 Step 21/23 : LABEL arch=arm64 18:15:19 ---> Running in fa79c948f2b7 18:15:19 Removing intermediate container fa79c948f2b7 18:15:19 ---> fd7f454aad05 18:15:19 Step 22/23 : LABEL git_sha=f821a1c392757b4d967b0661a03a00bffbb378c7 18:15:19 ---> Running in 6b4833878af7 18:15:20 Removing intermediate container 6b4833878af7 18:15:20 ---> 0bef6e33f0c2 18:15:20 Step 23/23 : LABEL version=0.0.0 18:15:20 ---> Running in ba9527226c65 18:15:20 Removing intermediate container ba9527226c65 18:15:20 ---> c8c7ece0dd07 18:15:20 [Warning] One or more build-args [ARCH] were not consumed 18:15:20 Successfully built c8c7ece0dd07 18:15:20 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 18:15:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:15:21 18:15:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:15:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:15:21 arm64: Pulling from edgex-lftools-log-publisher 18:15:21 8998bd30e6a1: Pulling fs layer 18:15:21 04944245beec: Pulling fs layer 18:15:21 699f458cf7ca: Pulling fs layer 18:15:21 765212b225bb: Pulling fs layer 18:15:21 f23df028b6ca: Pulling fs layer 18:15:21 d65c8cfc05b1: Pulling fs layer 18:15:21 2437ff75d9bd: Pulling fs layer 18:15:21 765212b225bb: Waiting 18:15:21 f23df028b6ca: Waiting 18:15:21 d65c8cfc05b1: Waiting 18:15:21 2437ff75d9bd: Waiting 18:15:21 04944245beec: Download complete 18:15:21 765212b225bb: Download complete 18:15:21 f23df028b6ca: Verifying Checksum 18:15:21 f23df028b6ca: Download complete 18:15:21 d65c8cfc05b1: Verifying Checksum 18:15:21 d65c8cfc05b1: Download complete 18:15:22 699f458cf7ca: Verifying Checksum 18:15:22 699f458cf7ca: Download complete 18:15:22 8998bd30e6a1: Verifying Checksum 18:15:22 8998bd30e6a1: Download complete 18:15:25 2437ff75d9bd: Verifying Checksum 18:15:25 2437ff75d9bd: Download complete 18:15:27 8998bd30e6a1: Pull complete 18:15:27 04944245beec: Pull complete 18:15:29 699f458cf7ca: Pull complete 18:15:29 765212b225bb: Pull complete 18:15:30 f23df028b6ca: Pull complete 18:15:30 d65c8cfc05b1: Pull complete 18:15:45 2437ff75d9bd: Pull complete 18:15:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:15:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:15:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:15:45 prd-ubuntu20.04-docker-arm64-4c-16g-10480 does not seem to be running inside a container 18:15:45 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:15:48 $ docker top 58f7295701527fef929cedadc519ccf843ba1fcc5b9bcaa5a861f133cdfa5524 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:15:49 ---> job-cost.sh 18:15:49 lf-activate-venv: SKIPPING 18:15:49 INFO: No Stack... 18:15:50 INFO: Retrieving Pricing Info for: v3-standard-4 18:15:51 INFO: Archiving Costs [Pipeline] sh 18:15:51 + cat /w/workspace/edgex-ui-go/2/archives/cost.csv 18:15:51 + cut -d, -f6 [Pipeline] lock 18:15:51 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-508-2-stack-cost] 18:15:51 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-508-2-stack-cost] did not exist. Created. 18:15:51 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-508-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:15:52 /w/workspace/edgex-ui-go/2@tmp/durable-eff94a2a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:15:53 + echo total: 0.10999999940395355 [Pipeline] stash 18:15:53 Warning: overwriting stash ‘stack-cost’ 18:15:53 Stashed 1 file(s) [Pipeline] } 18:15:53 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-508-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:15:53 $ docker stop --time=1 58f7295701527fef929cedadc519ccf843ba1fcc5b9bcaa5a861f133cdfa5524 18:15:54 $ docker rm -f 58f7295701527fef929cedadc519ccf843ba1fcc5b9bcaa5a861f133cdfa5524 [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 18:15:55 provisioning config files... 18:15:55 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/config5279329335132753962tmp [Pipeline] { [Pipeline] sh 18:15:55 + set +x 18:15:55 + curl -s https://codecov.io/bash 18:15:55 + bash -s -- 18:15:55 18:15:55 _____ _ 18:15:55 / ____| | | 18:15:55 | | ___ __| | ___ ___ _____ __ 18:15:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:15:55 | |___| (_) | (_| | __/ (_| (_) \ V / 18:15:55 \_____\___/ \__,_|\___|\___\___/ \_/ 18:15:55 Bash-1.0.6 18:15:55 18:15:55 18:15:55 ==> git version 2.25.1 found 18:15:55 ==> 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 18:15:55 Release-Date: 2020-01-08 18:15:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:15:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:15:55 ==> Jenkins CI detected. 18:15:55 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-508 18:15:55 project root: . 18:15:55 --> token set from env 18:15:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:15:55 ==> Running gcov in . (disable via -X gcov) 18:15:55 ==> Python coveragepy not found 18:15:55 ==> Searching for coverage reports in: 18:15:55 + . 18:15:55 -> Found 1 reports 18:15:55 ==> Detecting git/mercurial file structure 18:15:55 ==> Reading reports 18:15:55 + ./coverage.out bytes=10 18:15:55 ==> Appending adjustments 18:15:55 https://docs.codecov.io/docs/fixing-reports 18:15:56 + Found adjustments 18:15:56 ==> Gzipping contents 18:15:56 4.0K /tmp/codecov.eSQ36A.gz 18:15:56 ==> Uploading reports 18:15:56 url: https://codecov.io 18:15:56 query: branch=PR-508&commit=3c6b22c5e29c0996daf93d516caf35f30e5bd6ff&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-508%2F2%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=508&job=&cmd_args= 18:15:56 -> Pinging Codecov 18:15:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-508&commit=3c6b22c5e29c0996daf93d516caf35f30e5bd6ff&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-508%2F2%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=508&job=&cmd_args= 18:15:56 -> Uploading to 18:15:56 https://storage.googleapis.com/codecov/v4/raw/2022-04-01/FB506323287CE973F263BFD2A0EB1F37/3c6b22c5e29c0996daf93d516caf35f30e5bd6ff/8228cb88-e60b-45d1-a5c7-a60643b0a8a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220401T181556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ae9a93437a891011ac9ead7df9453c7d2af0b01f1cda62e0639c349fe8c70d0a 18:15:56 % Total % Received % Xferd Average Speed Time Time Time Current 18:15:56 Dload Upload Total Spent Left Speed 18:15:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4059 0 0 100 4059 0 16366 --:--:-- --:--:-- --:--:-- 16301 18:15:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/3c6b22c5e29c0996daf93d516caf35f30e5bd6ff [Pipeline] } 18:15:56 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 18:15:57 + [ -d /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives ] 18:15:57 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives 18:15:57 total 16 18:15:57 drwxr-xr-x 3 root root 4096 Apr 1 18:10 . 18:15:57 drwxrwxr-x 15 jenkins jenkins 4096 Apr 1 18:10 .. 18:15:57 drwxr-xr-x 2 root root 4096 Apr 1 18:10 cost 18:15:57 -rw-r--r-- 1 root root 82 Apr 1 18:10 cost.csv 18:15:57 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives 18:15:57 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives 18:15:57 total 16 18:15:57 drwxr-xr-x 3 jenkins jenkins 4096 Apr 1 18:10 . 18:15:57 drwxrwxr-x 15 jenkins jenkins 4096 Apr 1 18:10 .. 18:15:57 drwxr-xr-x 2 jenkins jenkins 4096 Apr 1 18:10 cost 18:15:57 -rw-r--r-- 1 jenkins jenkins 82 Apr 1 18:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:15:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:15:58 ---> package-listing.sh 18:15:58 ++ facter osfamily 18:15:58 ++ tr '[:upper:]' '[:lower:]' 18:15:58 + OS_FAMILY=debian 18:15:58 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-508 18:15:58 + START_PACKAGES=/tmp/packages_start.txt 18:15:58 + END_PACKAGES=/tmp/packages_end.txt 18:15:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:15:58 + PACKAGES=/tmp/packages_start.txt 18:15:58 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-508 ']' 18:15:58 + PACKAGES=/tmp/packages_end.txt 18:15:58 + case "${OS_FAMILY}" in 18:15:58 + dpkg -l 18:15:58 + grep '^ii' 18:15:58 + '[' -f /tmp/packages_start.txt ']' 18:15:58 + '[' -f /tmp/packages_end.txt ']' 18:15:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:15:58 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-508 ']' 18:15:58 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives/ 18:15:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives/ [Pipeline] echo 18:15:58 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-508/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:15:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:15:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:15:59 . [Pipeline] withDockerContainer 18:15:59 prd-ubuntu20.04-docker-8c-8g-10478 does not seem to be running inside a container 18:15:59 $ 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-508/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-508 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508:/w/workspace/edgexfoundry_edgex-ui-go_PR-508:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@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 18:15:59 $ docker top 3b4fe0eb349deb8011430c4845de4bbd139a70e8fe862111c6f5bdd09170485b -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:00 + touch /tmp/pre-build-complete [Pipeline] sh 18:16:00 + mkdir -p /var/log/sysstat [Pipeline] sh 18:16:00 + ls /var/log/sa-host 18:16:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:16:00 provisioning config files... 18:16:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/config8727325370718923855tmp [Pipeline] { [Pipeline] echo 18:16:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:16:01 ---> create-netrc.sh [Pipeline] } 18:16:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:16:01 ---> python-tools-install.sh [Pipeline] echo 18:16:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:16:01 ---> sudo-logs.sh 18:16:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:16:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:16:02 ---> job-cost.sh 18:16:02 lf-activate-venv: SKIPPING 18:16:02 DEBUG: total: 0.2199999988079071 18:16:02 INFO: Retrieving Stack Cost... 18:16:02 INFO: Retrieving Pricing Info for: v3-standard-8 18:16:02 INFO: Archiving Costs [Pipeline] echo 18:16:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:16:03 ---> logs-deploy.sh 18:16:03 lf-activate-venv: SKIPPING 18:16:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-508/2 18:16:03 INFO: archiving workspace using pattern(s): 18:16:04 Archives upload complete. 18:16:04 INFO: archiving logs to Nexus