Pull request #493 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 157701551f1f4216e76e7039cd050805c01f3024+08d737650594c0e31d6fe669fc383b023950acd4 (afcae54fd8bb72fe1a19287cf6ff81a6138fb984) 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-ssh18288920967551420617.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh14671641113965682505.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-493/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-493/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5941305876031660181.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh13209565253213388059.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-493/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-493/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11668449369747649065.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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: [[centos7-docker-4c-2g, ubuntu18.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 ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3757 in /w/workspace/edgexfoundry_edgex-ui-go_PR-493 [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-493 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/jenkins-gitclient-ssh7464506050280655845.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/jenkins-gitclient-ssh6855380455170991422.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/493/head:refs/remotes/origin/PR-493 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 08d737650594c0e31d6fe669fc383b023950acd4 into PR head commit 157701551f1f4216e76e7039cd050805c01f3024 Merge succeeded, producing 157701551f1f4216e76e7039cd050805c01f3024 Checking out Revision 157701551f1f4216e76e7039cd050805c01f3024 (PR-493) > git config core.sparsecheckout # timeout=10 > git checkout -f 157701551f1f4216e76e7039cd050805c01f3024 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/jenkins-gitclient-ssh6921036072575407821.key > git merge 08d737650594c0e31d6fe669fc383b023950acd4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 157701551f1f4216e76e7039cd050805c01f3024 # timeout=10 Commit message: "Merge branch 'main' into dependabot/npm_and_yarn/web/nanoid-3.2.0" > git rev-list --no-walk af92fc3a510baf92b26249ea2e822b715f893e43 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:10:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:10:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:10:55 ========================================================= 08:10:55 EdgeX Global Pipelines Version Info 08:10:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:10:56 ------------------- 08:10:56 stable info: 08:10:56 ------------------- 08:10:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:10:56 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 08:10:56 Message: update stable to v1.0.219 08:10:56 ------------------- 08:10:56 experimental info: 08:10:56 ------------------- 08:10:56 Commited By: **** collab-it+edgex@linuxfoundation.org 08:10:56 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 08:10:56 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:10:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 08:10:56 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 08:10:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:10:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:10:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-493 [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-493 [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-493 [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 157701551f1f4216e76e7039cd050805c01f3024 [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1577015 [Pipeline] echo 08:10:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:10:57 provisioning config files... 08:10:57 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/config173867196860637264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:10:57 ---> docker-login.sh 08:10:57 nexus3.edgexfoundry.org:10001 08:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:57 Configure a credential helper to remove this warning. See 08:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:57 08:10:57 Login Succeeded 08:10:57 nexus3.edgexfoundry.org:10002 08:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:57 Configure a credential helper to remove this warning. See 08:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:57 08:10:57 Login Succeeded 08:10:57 nexus3.edgexfoundry.org:10003 08:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:57 Configure a credential helper to remove this warning. See 08:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:57 08:10:57 Login Succeeded 08:10:57 nexus3.edgexfoundry.org:10004 08:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:58 Configure a credential helper to remove this warning. See 08:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:58 08:10:58 Login Succeeded 08:10:58 docker.io 08:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:58 Configure a credential helper to remove this warning. See 08:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:58 08:10:58 Login Succeeded 08:10:58 ---> docker-login.sh ends [Pipeline] } 08:10:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:10:58 + git rev-list -1 --merges 157701551f1f4216e76e7039cd050805c01f3024~1..157701551f1f4216e76e7039cd050805c01f3024 [Pipeline] echo 08:10:58 -----------> git rev-list -1 --merges 157701551f1f4216e76e7039cd050805c01f3024~1..157701551f1f4216e76e7039cd050805c01f3024 157701551f1f4216e76e7039cd050805c01f3024 08:10:58 157701551f1f4216e76e7039cd050805c01f3024 [false] [Pipeline] sh 08:10:59 + git log --format=format:%s -1 157701551f1f4216e76e7039cd050805c01f3024 [Pipeline] echo 08:10:59 ========================================================= 08:10:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:10:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:10:59 + git log --format=format:%s -1 157701551f1f4216e76e7039cd050805c01f3024 [Pipeline] echo 08:10:59 [semverPrep] GIT_COMMIT: 157701551f1f4216e76e7039cd050805c01f3024, Commit Message: Merge branch 'main' into dependabot/npm_and_yarn/web/nanoid-3.2.0 [Pipeline] echo 08:10:59 [semverPrep] This is not a build commit. [Pipeline] sh 08:10:59 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 08:10:59 + grep -v github /etc/ssh/ssh_known_hosts 08:10:59 + '[' -e /tmp/ssh_known_hosts ']' 08:10:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:10:59 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 08:10:59 + sudo tee -a /etc/ssh/ssh_known_hosts 08:10:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:11:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:11:00 08:11:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:11:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:11:00 latest: Pulling from edgex-devops/git-semver 08:11:00 a0d0a0d46f8b: Pulling fs layer 08:11:00 3e5f54012d9b: Pulling fs layer 08:11:00 4c7163046ea9: Pulling fs layer 08:11:00 0c2d73faf560: Pulling fs layer 08:11:00 0c2d73faf560: Waiting 08:11:00 3e5f54012d9b: Verifying Checksum 08:11:00 3e5f54012d9b: Download complete 08:11:00 a0d0a0d46f8b: Verifying Checksum 08:11:00 a0d0a0d46f8b: Download complete 08:11:00 0c2d73faf560: Verifying Checksum 08:11:00 0c2d73faf560: Download complete 08:11:00 4c7163046ea9: Verifying Checksum 08:11:00 4c7163046ea9: Download complete 08:11:00 a0d0a0d46f8b: Pull complete 08:11:00 3e5f54012d9b: Pull complete 08:11:01 4c7163046ea9: Pull complete 08:11:01 0c2d73faf560: Pull complete 08:11:01 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:11:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:11:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:11:01 prd-centos7-docker-4c-2g-3757 does not seem to be running inside a container 08:11:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-493 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493:/w/workspace/edgexfoundry_edgex-ui-go_PR-493:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@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 08:11:02 $ docker top 0146ff225d41ae00018cbf47eeb364920de83c4bab9112b7fb38968d4240ace0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:11:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:11:02 [ssh-agent] Looking for ssh-agent implementation... 08:11:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:11:02 $ docker exec 0146ff225d41ae00018cbf47eeb364920de83c4bab9112b7fb38968d4240ace0 ssh-agent 08:11:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOonkGg/agent.13 08:11:02 SSH_AGENT_PID=19 08:11:02 Running ssh-add (command line suppressed) 08:11:02 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/private_key_3150102709344398805.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/private_key_3150102709344398805.key) 08:11:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:11:03 + git tag --points-at HEAD [Pipeline] } 08:11:03 $ docker exec --env ******** --env ******** 0146ff225d41ae00018cbf47eeb364920de83c4bab9112b7fb38968d4240ace0 ssh-agent -k 08:11:03 unset SSH_AUTH_SOCK; 08:11:03 unset SSH_AGENT_PID; 08:11:03 echo Agent pid 19 killed; 08:11:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:11:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:11:03 [ssh-agent] Looking for ssh-agent implementation... 08:11:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:11:03 $ docker exec 0146ff225d41ae00018cbf47eeb364920de83c4bab9112b7fb38968d4240ace0 ssh-agent 08:11:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoPeILJ/agent.53 08:11:03 SSH_AGENT_PID=60 08:11:03 Running ssh-add (command line suppressed) 08:11:03 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/private_key_5824800878141013817.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/private_key_5824800878141013817.key) 08:11:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:11:03 + git semver init 08:11:03 # -> Open(): unable to determine branch for HEAD 08:11:03 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-493/.git 08:11:03 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-493 08:11:03 # $SEMVER_REMOTE_NAME = origin 08:11:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:11:03 # $SEMVER_USER_NAME = edgex-jenkins 08:11:03 # $SEMVER_BRANCH = PR-493 08:11:03 # $SEMVER_TEMP = /tmp/semver-804821400 08:11:03 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 08:11:05 # '/tmp/semver-804821400' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-493/.semver' 08:11:05 # -> Force: false 08:11:05 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-493/.semver [Pipeline] } 08:11:05 $ docker exec --env ******** --env ******** 0146ff225d41ae00018cbf47eeb364920de83c4bab9112b7fb38968d4240ace0 ssh-agent -k 08:11:05 unset SSH_AUTH_SOCK; 08:11:05 unset SSH_AGENT_PID; 08:11:05 echo Agent pid 60 killed; 08:11:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:11:06 + git semver [Pipeline] } 08:11:06 $ docker stop --time=1 0146ff225d41ae00018cbf47eeb364920de83c4bab9112b7fb38968d4240ace0 08:11:07 $ docker rm -f 0146ff225d41ae00018cbf47eeb364920de83c4bab9112b7fb38968d4240ace0 [Pipeline] // withDockerContainer [Pipeline] sh 08:11:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:11:08 Stashed 1 file(s) [Pipeline] echo 08:11:08 [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 08:11:08 provisioning config files... 08:11:08 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/config7756474981354783828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:11:08 ---> docker-login.sh 08:11:08 nexus3.edgexfoundry.org:10001 08:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:08 Configure a credential helper to remove this warning. See 08:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:08 08:11:08 Login Succeeded 08:11:08 nexus3.edgexfoundry.org:10002 08:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:08 Configure a credential helper to remove this warning. See 08:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:08 08:11:08 Login Succeeded 08:11:08 nexus3.edgexfoundry.org:10003 08:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:08 Configure a credential helper to remove this warning. See 08:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:08 08:11:08 Login Succeeded 08:11:08 nexus3.edgexfoundry.org:10004 08:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:08 Configure a credential helper to remove this warning. See 08:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:08 08:11:08 Login Succeeded 08:11:08 docker.io 08:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:09 Configure a credential helper to remove this warning. See 08:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:09 08:11:09 Login Succeeded 08:11:09 ---> docker-login.sh ends [Pipeline] } 08:11:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:11:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:11:09 ========================================================= 08:11:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:11:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:11:09 + 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 . 08:11:10 Sending build context to Docker daemon 40.87MB 08:11:10 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 08:11:10 Step 2/15 : FROM ${BASE} AS builder 08:11:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:11:10 59bf1c3509f3: Pulling fs layer 08:11:10 666ba61612fd: Pulling fs layer 08:11:10 8ed8ca486205: Pulling fs layer 08:11:10 4fe6c5a15a65: Pulling fs layer 08:11:10 22a0e8bec74d: Pulling fs layer 08:11:10 f965cba54748: Pulling fs layer 08:11:10 861ffc35075e: Pulling fs layer 08:11:10 4b385c91608e: Pulling fs layer 08:11:10 560528eb2ebb: Pulling fs layer 08:11:10 f965cba54748: Waiting 08:11:10 861ffc35075e: Waiting 08:11:10 4fe6c5a15a65: Waiting 08:11:10 4b385c91608e: Waiting 08:11:10 22a0e8bec74d: Waiting 08:11:10 560528eb2ebb: Waiting 08:11:10 8ed8ca486205: Verifying Checksum 08:11:10 8ed8ca486205: Download complete 08:11:10 666ba61612fd: Verifying Checksum 08:11:10 666ba61612fd: Download complete 08:11:10 22a0e8bec74d: Verifying Checksum 08:11:10 22a0e8bec74d: Download complete 08:11:10 59bf1c3509f3: Verifying Checksum 08:11:10 f965cba54748: Verifying Checksum 08:11:10 f965cba54748: Download complete 08:11:10 861ffc35075e: Verifying Checksum 08:11:10 861ffc35075e: Download complete 08:11:10 4b385c91608e: Verifying Checksum 08:11:10 4b385c91608e: Download complete 08:11:10 560528eb2ebb: Verifying Checksum 08:11:10 560528eb2ebb: Download complete 08:11:10 4fe6c5a15a65: Verifying Checksum 08:11:10 4fe6c5a15a65: Download complete 08:11:10 59bf1c3509f3: Pull complete 08:11:10 666ba61612fd: Pull complete 08:11:10 8ed8ca486205: Pull complete 08:11:15 4fe6c5a15a65: Pull complete 08:11:15 22a0e8bec74d: Pull complete 08:11:15 f965cba54748: Pull complete 08:11:15 861ffc35075e: Pull complete 08:11:15 4b385c91608e: Pull complete 08:11:17 560528eb2ebb: Pull complete 08:11:17 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 08:11:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:11:17 ---> dd4a08f94e63 08:11:17 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 08:11:19 ---> Running in 75de6c334f1f 08:11:19 Removing intermediate container 75de6c334f1f 08:11:19 ---> a38d91da6a88 08:11:19 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 08:11:19 ---> Running in 35dda60895f6 08:11:19 Removing intermediate container 35dda60895f6 08:11:19 ---> d46cb2d39783 08:11:19 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 08:11:19 ---> Running in db46bfa18eee 08:11:19 Removing intermediate container db46bfa18eee 08:11:19 ---> 85b7c8bc87cd 08:11:19 Step 6/15 : LABEL Name=edgex-ui-go 08:11:19 ---> Running in e16578114b9a 08:11:19 Removing intermediate container e16578114b9a 08:11:19 ---> c5930d99382c 08:11:19 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 08:11:19 ---> Running in e140742f879b 08:11:19 Removing intermediate container e140742f879b 08:11:19 ---> 58799b01385a 08:11:19 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:11:19 ---> Running in 89e8cb0184d8 08:11:20 Removing intermediate container 89e8cb0184d8 08:11:20 ---> 7761d66c33c5 08:11:20 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:11:20 ---> Running in 3412249ce1bc 08:11:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:11:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:11:21 OK: 221 MiB in 52 packages 08:11:21 Removing intermediate container 3412249ce1bc 08:11:21 ---> f1a68429323b 08:11:21 Step 10/15 : ENV GO111MODULE=on 08:11:21 ---> Running in e1da1e52cd06 08:11:21 Removing intermediate container e1da1e52cd06 08:11:21 ---> 938db7db96e9 08:11:21 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 08:11:21 ---> Running in 721624cba654 08:11:21 Removing intermediate container 721624cba654 08:11:21 ---> 3d2a7499fce3 08:11:21 Step 12/15 : COPY go.mod vendor* ./ 08:11:22 ---> ab75b4ddd7f4 08:11:22 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:11:22 ---> Running in bd77de6da29d 08:11:23 Still waiting to schedule task 08:11:23 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3758’ is offline 08:11:48 Removing intermediate container bd77de6da29d 08:11:48 ---> 6e26f33364b8 08:11:48 Step 14/15 : COPY . . 08:11:48 ---> 2115300f6874 08:11:48 Step 15/15 : RUN ${MAKE} 08:11:48 ---> Running in 162a3d2b2fb1 08:11:48 noop 08:11:48 Removing intermediate container 162a3d2b2fb1 08:11:48 ---> c90301532a7b 08:11:48 Successfully built c90301532a7b 08:11:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:11:49 + docker inspect -f . ci-base-image-x86_64 08:11:49 . [Pipeline] withDockerContainer 08:11:49 prd-centos7-docker-4c-2g-3757 does not seem to be running inside a container 08:11:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-493 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493:/w/workspace/edgexfoundry_edgex-ui-go_PR-493:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@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 08:11:49 $ docker top c7c756300a67e2f5a734a3f73ff13ea77e03a58bb94a943b2a59624a5aba5ed3 -eo pid,comm [Pipeline] { [Pipeline] sh 08:11:50 + go version 08:11:50 go version go1.17.6 linux/amd64 [Pipeline] } 08:11:50 $ docker stop --time=1 c7c756300a67e2f5a734a3f73ff13ea77e03a58bb94a943b2a59624a5aba5ed3 08:11:51 $ docker rm -f c7c756300a67e2f5a734a3f73ff13ea77e03a58bb94a943b2a59624a5aba5ed3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:11:51 + docker inspect -f . ci-base-image-x86_64 08:11:51 . [Pipeline] withDockerContainer 08:11:51 prd-centos7-docker-4c-2g-3757 does not seem to be running inside a container 08:11:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-493 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493:/w/workspace/edgexfoundry_edgex-ui-go_PR-493:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@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 08:11:52 $ docker top 4212c8df680e766ddf5ea44201629fb5c2c3788b463a0e36646b78555caab4c3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:11:52 + make test 08:11:52 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:11:52 ? github.com/edgexfoundry/edgex-ui-go [no test files] 08:12:05 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 08:12:05 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 08:12:05 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 08:12:05 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 08:12:05 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 08:12:05 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 08:12:05 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 08:12:05 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 08:12:05 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 08:12:05 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 08:12:05 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 08:12:05 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 08:12:05 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:12:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:12:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 08:12:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:12:07 $ docker stop --time=1 4212c8df680e766ddf5ea44201629fb5c2c3788b463a0e36646b78555caab4c3 08:12:09 $ docker rm -f 4212c8df680e766ddf5ea44201629fb5c2c3788b463a0e36646b78555caab4c3 [Pipeline] // withDockerContainer [Pipeline] sh 08:12:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:12:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:12:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:12:10 + ls -al . 08:12:10 total 112 08:12:10 drwxrwxr-x. 13 jenkins jenkins 4096 Jan 24 08:11 . 08:12:10 drwxrwxr-x. 4 jenkins jenkins 110 Jan 24 08:10 .. 08:12:10 drwxrwxr-x. 3 jenkins jenkins 20 Jan 24 08:10 assets 08:12:10 drwxrwxr-x. 2 jenkins jenkins 66 Jan 24 08:10 bin 08:12:10 drwxrwxr-x. 3 jenkins jenkins 29 Jan 24 08:10 cmd 08:12:10 -rw-rw-r--. 1 jenkins jenkins 3959 Jan 24 08:10 CONTRIBUTING.md 08:12:10 -rw-r--r--. 1 jenkins jenkins 10 Jan 24 08:11 coverage.out 08:12:10 -rw-rw-r--. 1 jenkins jenkins 1549 Jan 24 08:10 Dockerfile 08:12:10 drwxrwxr-x. 2 jenkins jenkins 23 Jan 24 08:10 docs 08:12:10 drwxrwxr-x. 8 jenkins jenkins 179 Jan 24 08:10 .git 08:12:10 drwxrwxr-x. 2 jenkins jenkins 103 Jan 24 08:10 .github 08:12:10 -rw-rw-r--. 1 jenkins jenkins 155 Jan 24 08:10 .gitignore 08:12:10 -rw-rw-r--. 1 jenkins jenkins 1944 Jan 24 08:10 go.mod 08:12:10 -rw-rw-r--. 1 jenkins jenkins 48565 Jan 24 08:10 go.sum 08:12:10 drwxrwxr-x. 9 jenkins jenkins 125 Jan 24 08:10 internal 08:12:10 -rw-rw-r--. 1 jenkins jenkins 652 Jan 24 08:10 Jenkinsfile 08:12:10 -rw-rw-r--. 1 jenkins jenkins 11357 Jan 24 08:10 LICENSE 08:12:10 -rw-rw-r--. 1 jenkins jenkins 1212 Jan 24 08:10 Makefile 08:12:10 drwxrwxr-x. 3 jenkins jenkins 19 Jan 24 08:10 pkg 08:12:10 -rw-rw-r--. 1 jenkins jenkins 4450 Jan 24 08:10 README.md 08:12:10 drwx------. 3 jenkins jenkins 56 Jan 24 08:11 .semver 08:12:10 drwxrwxr-x. 4 jenkins jenkins 71 Jan 24 08:10 snap 08:12:10 -rw-rw-r--. 1 jenkins jenkins 5 Jan 24 08:11 VERSION 08:12:10 -rw-rw-r--. 1 jenkins jenkins 155 Jan 24 08:10 version.go 08:12:10 drwxrwxr-x. 4 jenkins jenkins 4096 Jan 24 08:10 web [Pipeline] isUnix [Pipeline] sh 08:12:10 + 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=157701551f1f4216e76e7039cd050805c01f3024 --label arch=amd64 --label version=0.0.0 . 08:12:10 Sending build context to Docker daemon 40.87MB 08:12:10 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 08:12:10 Step 2/23 : FROM ${BASE} AS builder 08:12:10 ---> c90301532a7b 08:12:10 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 08:12:11 ---> Running in 088edb2c94e0 08:12:11 Removing intermediate container 088edb2c94e0 08:12:11 ---> 50c7c935f257 08:12:11 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 08:12:11 ---> Running in e23441077ed4 08:12:11 Removing intermediate container e23441077ed4 08:12:11 ---> d070ba18a1ec 08:12:11 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 08:12:11 ---> Running in 6ed7ea2d76b6 08:12:11 Removing intermediate container 6ed7ea2d76b6 08:12:11 ---> 005b05c0dcec 08:12:11 Step 6/23 : LABEL Name=edgex-ui-go 08:12:11 ---> Running in afdb7b629b4f 08:12:11 Removing intermediate container afdb7b629b4f 08:12:11 ---> c67e6baf9b9c 08:12:11 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 08:12:11 ---> Running in b66d7f57f7fc 08:12:11 Removing intermediate container b66d7f57f7fc 08:12:11 ---> 7ae623235399 08:12:11 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:12:11 ---> Running in f8af6045e6ca 08:12:12 Removing intermediate container f8af6045e6ca 08:12:12 ---> 53a6aac821ca 08:12:12 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:12:12 ---> Running in 9b3c784a0083 08:12:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:12:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:12:13 OK: 221 MiB in 52 packages 08:12:13 Removing intermediate container 9b3c784a0083 08:12:13 ---> dc4c6fdd14b0 08:12:13 Step 10/23 : ENV GO111MODULE=on 08:12:13 ---> Running in 62825a0cec8d 08:12:13 Removing intermediate container 62825a0cec8d 08:12:13 ---> 347c077882ba 08:12:13 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 08:12:13 ---> Running in 0800eb7b9b46 08:12:13 Removing intermediate container 0800eb7b9b46 08:12:13 ---> 94f1b60bdd3f 08:12:13 Step 12/23 : COPY go.mod vendor* ./ 08:12:14 ---> 0083df8c6acd 08:12:14 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:12:14 ---> Running in a4f83de3a755 08:12:14 Removing intermediate container a4f83de3a755 08:12:14 ---> c5abcc141e11 08:12:14 Step 14/23 : COPY . . 08:12:15 ---> 3413534c6e6c 08:12:15 Step 15/23 : RUN ${MAKE} 08:12:15 ---> Running in f762d63f5507 08:12:16 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 08:12:24 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:12:26 Removing intermediate container f762d63f5507 08:12:26 ---> 165d4e5cd112 08:12:26 Step 16/23 : FROM alpine:3.14 08:12:26 3.14: Pulling from library/alpine 08:12:26 97518928ae5f: Pulling fs layer 08:12:26 97518928ae5f: Verifying Checksum 08:12:26 97518928ae5f: Download complete 08:12:26 97518928ae5f: Pull complete 08:12:26 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 08:12:26 Status: Downloaded newer image for alpine:3.14 08:12:26 ---> 0a97eee8041e 08:12:26 Step 17/23 : EXPOSE 4000 08:12:26 ---> Running in ed9134aa41f3 08:12:27 Removing intermediate container ed9134aa41f3 08:12:27 ---> 15cae9984277 08:12:27 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 08:12:27 ---> fa62076ec252 08:12:27 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 08:12:27 ---> Running in 9cdaeefe95bb 08:12:27 Removing intermediate container 9cdaeefe95bb 08:12:27 ---> 3888d4d7e4c7 08:12:27 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 08:12:27 ---> Running in 8bceadda135c 08:12:27 Removing intermediate container 8bceadda135c 08:12:27 ---> 8621c66e7511 08:12:27 Step 21/23 : LABEL arch=amd64 08:12:27 ---> Running in 48d5278c8cde 08:12:28 Removing intermediate container 48d5278c8cde 08:12:28 ---> 71f9c2bb1d0e 08:12:28 Step 22/23 : LABEL git_sha=157701551f1f4216e76e7039cd050805c01f3024 08:12:28 ---> Running in 7d78e7368c69 08:12:28 Removing intermediate container 7d78e7368c69 08:12:28 ---> de10be2aa8c0 08:12:28 Step 23/23 : LABEL version=0.0.0 08:12:28 ---> Running in b9bf3abe0d84 08:12:28 Removing intermediate container b9bf3abe0d84 08:12:28 ---> fe09643d8518 08:12:28 [Warning] One or more build-args [ARCH] were not consumed 08:12:28 Successfully built fe09643d8518 08:12:28 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 08:12:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:12:28 08:12:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:12:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:12:29 latest: Pulling from edgex-lftools-log-publisher 08:12:29 b4d181a07f80: Pulling fs layer 08:12:29 a1111a8f2ec3: Pulling fs layer 08:12:29 ed53099fbce6: Pulling fs layer 08:12:29 dc539afda2c1: Pulling fs layer 08:12:29 77bc0d833cb6: Pulling fs layer 08:12:29 9065ff56babe: Pulling fs layer 08:12:29 d287ab97295c: Pulling fs layer 08:12:29 77bc0d833cb6: Waiting 08:12:29 dc539afda2c1: Waiting 08:12:29 9065ff56babe: Waiting 08:12:29 d287ab97295c: Waiting 08:12:29 a1111a8f2ec3: Verifying Checksum 08:12:29 a1111a8f2ec3: Download complete 08:12:29 dc539afda2c1: Verifying Checksum 08:12:29 dc539afda2c1: Download complete 08:12:29 ed53099fbce6: Verifying Checksum 08:12:29 ed53099fbce6: Download complete 08:12:29 77bc0d833cb6: Verifying Checksum 08:12:29 77bc0d833cb6: Download complete 08:12:29 9065ff56babe: Verifying Checksum 08:12:29 9065ff56babe: Download complete 08:12:29 b4d181a07f80: Verifying Checksum 08:12:29 b4d181a07f80: Download complete 08:12:29 d287ab97295c: Verifying Checksum 08:12:29 d287ab97295c: Download complete 08:12:30 b4d181a07f80: Pull complete 08:12:30 a1111a8f2ec3: Pull complete 08:12:31 ed53099fbce6: Pull complete 08:12:31 dc539afda2c1: Pull complete 08:12:31 77bc0d833cb6: Pull complete 08:12:31 9065ff56babe: Pull complete 08:12:37 d287ab97295c: Pull complete 08:12:37 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 08:12:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:12:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:12:37 prd-centos7-docker-4c-2g-3757 does not seem to be running inside a container 08:12:37 $ 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-493 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493:/w/workspace/edgexfoundry_edgex-ui-go_PR-493:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@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 08:12:39 $ docker top 28bcde21e3578f232bde56cf2d675afa802309943118851c9e11326b45b1fea4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:12:40 ---> job-cost.sh 08:12:40 lf-activate-venv: SKIPPING 08:12:40 INFO: No Stack... 08:12:40 INFO: Retrieving Pricing Info for: v3-standard-2 08:12:40 INFO: Archiving Costs [Pipeline] sh 08:12:40 + cut -d, -f6 08:12:40 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives/cost.csv [Pipeline] lock 08:12:40 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-493-4-stack-cost] 08:12:40 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-493-4-stack-cost] did not exist. Created. 08:12:40 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-493-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:12:41 + echo total: 0.05999999865889549 [Pipeline] stash 08:12:41 Stashed 1 file(s) [Pipeline] } 08:12:41 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-493-4-stack-cost] [Pipeline] // lock [Pipeline] } 08:12:41 $ docker stop --time=1 28bcde21e3578f232bde56cf2d675afa802309943118851c9e11326b45b1fea4 08:12:42 $ docker rm -f 28bcde21e3578f232bde56cf2d675afa802309943118851c9e11326b45b1fea4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:13:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3759 in /w/workspace/edgexfoundry_edgex-ui-go_PR-493 [Pipeline] { [Pipeline] ws 08:13:32 Running in /w/workspace/edgex-ui-go/4 [Pipeline] { [Pipeline] checkout 08:13:32 The recommended git tool is: git 08:13:37 using credential edgex-jenkins-ssh 08:13:37 Cloning the remote Git repository 08:13:37 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 08:13:37 > git init /w/workspace/edgex-ui-go/4 # timeout=10 08:13:37 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 08:13:37 > git --version # timeout=10 08:13:37 > git --version # 'git version 2.17.1' 08:13:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:13:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:13:40 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 08:13:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:13:40 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 08:13:40 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 08:13:40 using GIT_SSH to set credentials SSH Credentials for GitHub 08:13:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/493/head:refs/remotes/origin/PR-493 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:13:41 Merging remotes/origin/main commit 08d737650594c0e31d6fe669fc383b023950acd4 into PR head commit 157701551f1f4216e76e7039cd050805c01f3024 08:13:41 Merge succeeded, producing 157701551f1f4216e76e7039cd050805c01f3024 08:13:41 Checking out Revision 157701551f1f4216e76e7039cd050805c01f3024 (PR-493) 08:13:41 > git config core.sparsecheckout # timeout=10 08:13:41 > git checkout -f 157701551f1f4216e76e7039cd050805c01f3024 # timeout=10 08:13:41 > git remote # timeout=10 08:13:41 > git config --get remote.origin.url # timeout=10 08:13:41 using GIT_SSH to set credentials SSH Credentials for GitHub 08:13:41 > git merge 08d737650594c0e31d6fe669fc383b023950acd4 # timeout=10 08:13:41 > git rev-parse HEAD^{commit} # timeout=10 08:13:41 > git config core.sparsecheckout # timeout=10 08:13:41 > git checkout -f 157701551f1f4216e76e7039cd050805c01f3024 # timeout=10 08:13:46 Commit message: "Merge branch 'main' into dependabot/npm_and_yarn/web/nanoid-3.2.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:13:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:13:47 % Total % Received % Xferd Average Speed Time Time Time Current 08:13:47 Dload Upload Total Spent Left Speed 08:13:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh 08:13:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:13:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:13:48 + sudo tee /etc/docker/daemon.new 08:13:48 { 08:13:48 "registry-mirrors": [ 08:13:48 "https://nexus3.edgexfoundry.org:10001" 08:13:48 ], 08:13:48 "bip": "10.250.0.254/24", 08:13:48 "hosts": [ 08:13:48 "tcp://0.0.0.0:5555", 08:13:48 "unix:///var/run/docker.sock" 08:13:48 ], 08:13:48 "mtu": 1458, 08:13:48 "selinux-enabled": true, 08:13:48 "seccomp-profile": "/etc/docker/seccomp.json" 08:13:48 } [Pipeline] sh 08:13:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:13:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:14:07 provisioning config files... 08:14:07 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/4@tmp/config6472336017347480520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:14:07 ---> docker-login.sh 08:14:07 nexus3.edgexfoundry.org:10001 08:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:08 Configure a credential helper to remove this warning. See 08:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:08 08:14:08 Login Succeeded 08:14:08 nexus3.edgexfoundry.org:10002 08:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:08 Configure a credential helper to remove this warning. See 08:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:08 08:14:08 Login Succeeded 08:14:08 nexus3.edgexfoundry.org:10003 08:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:09 Configure a credential helper to remove this warning. See 08:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:09 08:14:09 Login Succeeded 08:14:09 nexus3.edgexfoundry.org:10004 08:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:09 Configure a credential helper to remove this warning. See 08:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:09 08:14:09 Login Succeeded 08:14:09 docker.io 08:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:10 Configure a credential helper to remove this warning. See 08:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:10 08:14:10 Login Succeeded 08:14:10 ---> docker-login.sh ends [Pipeline] } 08:14:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:14:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:14:10 ========================================================= 08:14:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:14:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:14:11 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:14:12 Sending build context to Docker daemon 25.67MB 08:14:12 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 08:14:12 Step 2/15 : FROM ${BASE} AS builder 08:14:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:14:12 9b3977197b4f: Pulling fs layer 08:14:12 1a89e8eeedd5: Pulling fs layer 08:14:12 94645a83ff95: Pulling fs layer 08:14:12 3f3a8bcf1eab: Pulling fs layer 08:14:12 0c92f367c5e7: Pulling fs layer 08:14:12 4b8299f9d1f4: Pulling fs layer 08:14:12 9a6b49a46696: Pulling fs layer 08:14:12 cf05db05a679: Pulling fs layer 08:14:12 4b8299f9d1f4: Waiting 08:14:12 9a6b49a46696: Waiting 08:14:12 cf05db05a679: Waiting 08:14:12 3f3a8bcf1eab: Waiting 08:14:12 0c92f367c5e7: Waiting 08:14:12 1a89e8eeedd5: Download complete 08:14:12 94645a83ff95: Verifying Checksum 08:14:12 94645a83ff95: Download complete 08:14:12 0c92f367c5e7: Verifying Checksum 08:14:12 0c92f367c5e7: Download complete 08:14:12 4b8299f9d1f4: Download complete 08:14:12 9a6b49a46696: Verifying Checksum 08:14:12 9a6b49a46696: Download complete 08:14:12 9b3977197b4f: Download complete 08:14:13 9b3977197b4f: Pull complete 08:14:13 1a89e8eeedd5: Pull complete 08:14:13 94645a83ff95: Pull complete 08:14:14 cf05db05a679: Verifying Checksum 08:14:14 cf05db05a679: Download complete 08:14:14 3f3a8bcf1eab: Download complete 08:14:27 3f3a8bcf1eab: Pull complete 08:14:27 0c92f367c5e7: Pull complete 08:14:27 4b8299f9d1f4: Pull complete 08:14:27 9a6b49a46696: Pull complete 08:14:32 cf05db05a679: Pull complete 08:14:32 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 08:14:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:14:32 ---> 0ccda1f7e2ee 08:14:32 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 08:14:34 ---> Running in 6a27e2168fa5 08:14:34 Removing intermediate container 6a27e2168fa5 08:14:34 ---> 2e271d0f2085 08:14:34 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 08:14:34 ---> Running in 2d7ba079c620 08:14:34 Removing intermediate container 2d7ba079c620 08:14:34 ---> 3b9953d2ade2 08:14:34 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 08:14:34 ---> Running in a1982a342326 08:14:35 Removing intermediate container a1982a342326 08:14:35 ---> 316d6b69f740 08:14:35 Step 6/15 : LABEL Name=edgex-ui-go 08:14:35 ---> Running in daefc04b9ee5 08:14:35 Removing intermediate container daefc04b9ee5 08:14:35 ---> 4a3b2d2d0dd5 08:14:35 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 08:14:35 ---> Running in 66d2e38d0c8e 08:14:36 Removing intermediate container 66d2e38d0c8e 08:14:36 ---> d270007f05f0 08:14:36 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:14:36 ---> Running in c5cf84bafb6d 08:14:38 Removing intermediate container c5cf84bafb6d 08:14:38 ---> 7487092fa1e7 08:14:38 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:14:38 ---> Running in 6e7637dad6a6 08:14:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:14:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:14:41 OK: 220 MiB in 52 packages 08:14:41 Removing intermediate container 6e7637dad6a6 08:14:41 ---> 7821fc509446 08:14:41 Step 10/15 : ENV GO111MODULE=on 08:14:42 ---> Running in 810dc5a8fc19 08:14:42 Removing intermediate container 810dc5a8fc19 08:14:42 ---> 7592efdbd0db 08:14:42 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 08:14:42 ---> Running in 34e35e143680 08:14:43 Removing intermediate container 34e35e143680 08:14:43 ---> 4c81f98b58c8 08:14:43 Step 12/15 : COPY go.mod vendor* ./ 08:14:43 ---> 2db37fab9055 08:14:43 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:14:43 ---> Running in 3a8a1c36ec47 08:16:05 Removing intermediate container 3a8a1c36ec47 08:16:05 ---> fcbd0974f629 08:16:05 Step 14/15 : COPY . . 08:16:05 ---> 664ae70d1cfd 08:16:05 Step 15/15 : RUN ${MAKE} 08:16:05 ---> Running in 01fb6f6dd6f1 08:16:05 noop 08:16:05 Removing intermediate container 01fb6f6dd6f1 08:16:05 ---> 8f55d4f5af21 08:16:05 Successfully built 8f55d4f5af21 08:16:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:16:05 + docker inspect -f . ci-base-image-arm64 08:16:05 . [Pipeline] withDockerContainer 08:16:06 prd-ubuntu18.04-docker-arm64-4c-16g-3759 does not seem to be running inside a container 08:16:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/4 -v /w/workspace/edgex-ui-go/4:/w/workspace/edgex-ui-go/4:rw,z -v /w/workspace/edgex-ui-go/4@tmp:/w/workspace/edgex-ui-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:16:07 $ docker top 102f911150501bd23f7f267032b8b153e43ae5121e060e55b6d4dc003ffb8136 -eo pid,comm [Pipeline] { [Pipeline] sh 08:16:08 + go version 08:16:08 go version go1.17.6 linux/arm64 [Pipeline] } 08:16:08 $ docker stop --time=1 102f911150501bd23f7f267032b8b153e43ae5121e060e55b6d4dc003ffb8136 08:16:10 $ docker rm -f 102f911150501bd23f7f267032b8b153e43ae5121e060e55b6d4dc003ffb8136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:16:10 + docker inspect -f . ci-base-image-arm64 08:16:10 . [Pipeline] withDockerContainer 08:16:11 prd-ubuntu18.04-docker-arm64-4c-16g-3759 does not seem to be running inside a container 08:16:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/4 -v /w/workspace/edgex-ui-go/4:/w/workspace/edgex-ui-go/4:rw,z -v /w/workspace/edgex-ui-go/4@tmp:/w/workspace/edgex-ui-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:16:12 $ docker top ea67b48a23c114ad837e3c66586c2cc73d7538ba35719d6bd32646cefc7f07af -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:16:13 + make test 08:16:13 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 08:16:14 ? github.com/edgexfoundry/edgex-ui-go [no test files] 08:16:53 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 08:16:53 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 08:16:53 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 08:16:53 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 08:16:53 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 08:16:53 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 08:16:53 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 08:16:53 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 08:16:53 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 08:16:53 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 08:16:53 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 08:16:53 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 08:16:53 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:17:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:17:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 08:17:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:17:08 $ docker stop --time=1 ea67b48a23c114ad837e3c66586c2cc73d7538ba35719d6bd32646cefc7f07af 08:17:10 $ docker rm -f ea67b48a23c114ad837e3c66586c2cc73d7538ba35719d6bd32646cefc7f07af [Pipeline] // withDockerContainer [Pipeline] sh 08:17:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:17:11 Warning: overwriting stash ‘coverage-report’ 08:17:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:17:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:17:12 + ls -al . 08:17:12 total 152 08:17:12 drwxrwxr-x 12 jenkins jenkins 4096 Jan 24 08:16 . 08:17:12 drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 08:13 .. 08:17:12 drwxrwxr-x 8 jenkins jenkins 4096 Jan 24 08:13 .git 08:17:12 drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 08:13 .github 08:17:12 -rw-rw-r-- 1 jenkins jenkins 155 Jan 24 08:13 .gitignore 08:17:12 -rw-rw-r-- 1 jenkins jenkins 3959 Jan 24 08:13 CONTRIBUTING.md 08:17:12 -rw-rw-r-- 1 jenkins jenkins 1549 Jan 24 08:13 Dockerfile 08:17:12 -rw-rw-r-- 1 jenkins jenkins 652 Jan 24 08:13 Jenkinsfile 08:17:12 -rw-rw-r-- 1 jenkins jenkins 11357 Jan 24 08:13 LICENSE 08:17:12 -rw-rw-r-- 1 jenkins jenkins 1212 Jan 24 08:13 Makefile 08:17:12 -rw-rw-r-- 1 jenkins jenkins 4450 Jan 24 08:13 README.md 08:17:12 -rw-rw-r-- 1 jenkins jenkins 5 Jan 24 08:11 VERSION 08:17:12 drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 08:13 assets 08:17:12 drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 08:13 bin 08:17:12 drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 08:13 cmd 08:17:12 -rw-r--r-- 1 jenkins jenkins 10 Jan 24 08:16 coverage.out 08:17:12 drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 08:13 docs 08:17:12 -rw-rw-r-- 1 jenkins jenkins 1944 Jan 24 08:13 go.mod 08:17:12 -rw-rw-r-- 1 jenkins jenkins 48565 Jan 24 08:13 go.sum 08:17:12 drwxrwxr-x 9 jenkins jenkins 4096 Jan 24 08:13 internal 08:17:12 drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 08:13 pkg 08:17:12 drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 08:13 snap 08:17:12 -rw-rw-r-- 1 jenkins jenkins 155 Jan 24 08:13 version.go 08:17:12 drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 08:13 web [Pipeline] isUnix [Pipeline] sh 08:17:12 + 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=157701551f1f4216e76e7039cd050805c01f3024 --label arch=arm64 --label version=0.0.0 . 08:17:13 Sending build context to Docker daemon 25.67MB 08:17:13 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 08:17:13 Step 2/23 : FROM ${BASE} AS builder 08:17:13 ---> 8f55d4f5af21 08:17:13 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 08:17:13 ---> Running in 70a9a386f48e 08:17:13 Removing intermediate container 70a9a386f48e 08:17:13 ---> b34b4c0970c1 08:17:13 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 08:17:14 ---> Running in 7180fd4c7a42 08:17:14 Removing intermediate container 7180fd4c7a42 08:17:14 ---> 032b52c33772 08:17:14 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 08:17:14 ---> Running in 4681915b7c67 08:17:15 Removing intermediate container 4681915b7c67 08:17:15 ---> 8953a5b70fb2 08:17:15 Step 6/23 : LABEL Name=edgex-ui-go 08:17:15 ---> Running in 4dbda9150b9c 08:17:15 Removing intermediate container 4dbda9150b9c 08:17:15 ---> 42b0c4467bca 08:17:15 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 08:17:15 ---> Running in c099c9a78b4e 08:17:15 Removing intermediate container c099c9a78b4e 08:17:15 ---> c555fa4a1ea8 08:17:15 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:17:15 ---> Running in 3fce629c6a85 08:17:17 Removing intermediate container 3fce629c6a85 08:17:17 ---> a378a59453aa 08:17:17 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:17:17 ---> Running in 840d84a98765 08:17:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:17:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:17:20 OK: 220 MiB in 52 packages 08:17:21 Removing intermediate container 840d84a98765 08:17:21 ---> f4439f4aabf5 08:17:21 Step 10/23 : ENV GO111MODULE=on 08:17:21 ---> Running in 2ccbe9bcc237 08:17:21 Removing intermediate container 2ccbe9bcc237 08:17:21 ---> 7ed99cad98f0 08:17:21 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 08:17:21 ---> Running in 863fdc8e1bed 08:17:22 Removing intermediate container 863fdc8e1bed 08:17:22 ---> 51125f177b50 08:17:22 Step 12/23 : COPY go.mod vendor* ./ 08:17:22 ---> 6c5816e3c4be 08:17:22 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:17:22 ---> Running in 840a51480e76 08:17:25 Removing intermediate container 840a51480e76 08:17:25 ---> 45cabe0f40d2 08:17:25 Step 14/23 : COPY . . 08:17:27 ---> 734c9d02166e 08:17:27 Step 15/23 : RUN ${MAKE} 08:17:27 ---> Running in 4e0efcbdffd5 08:17:28 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 08:18:00 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:18:02 Removing intermediate container 4e0efcbdffd5 08:18:02 ---> cae277f8ed05 08:18:02 Step 16/23 : FROM alpine:3.14 08:18:03 3.14: Pulling from library/alpine 08:18:03 be307f383ecc: Pulling fs layer 08:18:03 be307f383ecc: Verifying Checksum 08:18:03 be307f383ecc: Download complete 08:18:04 be307f383ecc: Pull complete 08:18:04 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 08:18:04 Status: Downloaded newer image for alpine:3.14 08:18:04 ---> 5b8b7b635229 08:18:04 Step 17/23 : EXPOSE 4000 08:18:04 ---> Running in a501470c70a4 08:18:04 Removing intermediate container a501470c70a4 08:18:04 ---> 01ecd3f15696 08:18:04 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 08:18:05 ---> 0bc8fbccdc30 08:18:05 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 08:18:06 ---> Running in 3baac3b374c0 08:18:06 Removing intermediate container 3baac3b374c0 08:18:06 ---> 44c06c1ec78c 08:18:06 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 08:18:06 ---> Running in 5930b0bf48af 08:18:06 Removing intermediate container 5930b0bf48af 08:18:06 ---> dbfcf59dc33c 08:18:06 Step 21/23 : LABEL arch=arm64 08:18:06 ---> Running in 76a22711a627 08:18:07 Removing intermediate container 76a22711a627 08:18:07 ---> 8662ea26b3d3 08:18:07 Step 22/23 : LABEL git_sha=157701551f1f4216e76e7039cd050805c01f3024 08:18:07 ---> Running in c094923a3ca7 08:18:07 Removing intermediate container c094923a3ca7 08:18:07 ---> e6fbd2c1c8f4 08:18:07 Step 23/23 : LABEL version=0.0.0 08:18:07 ---> Running in 9687e4b362bb 08:18:08 Removing intermediate container 9687e4b362bb 08:18:08 ---> 889096839d94 08:18:08 [Warning] One or more build-args [ARCH] were not consumed 08:18:08 Successfully built 889096839d94 08:18:08 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 08:18:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:18:08 08:18:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:18:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:18:09 arm64: Pulling from edgex-lftools-log-publisher 08:18:09 448f6bf000e3: Pulling fs layer 08:18:09 f757da607395: Pulling fs layer 08:18:09 05883995daec: Pulling fs layer 08:18:09 8603b9c90790: Pulling fs layer 08:18:09 1560dd03e051: Pulling fs layer 08:18:09 27f5ce0e4adf: Pulling fs layer 08:18:09 c2d8d7efcc4b: Pulling fs layer 08:18:09 1560dd03e051: Waiting 08:18:09 27f5ce0e4adf: Waiting 08:18:09 8603b9c90790: Waiting 08:18:09 c2d8d7efcc4b: Waiting 08:18:09 f757da607395: Verifying Checksum 08:18:09 f757da607395: Download complete 08:18:09 8603b9c90790: Verifying Checksum 08:18:09 8603b9c90790: Download complete 08:18:09 1560dd03e051: Verifying Checksum 08:18:09 1560dd03e051: Download complete 08:18:09 27f5ce0e4adf: Verifying Checksum 08:18:09 27f5ce0e4adf: Download complete 08:18:09 05883995daec: Verifying Checksum 08:18:09 05883995daec: Download complete 08:18:09 448f6bf000e3: Verifying Checksum 08:18:09 448f6bf000e3: Download complete 08:18:12 c2d8d7efcc4b: Verifying Checksum 08:18:12 c2d8d7efcc4b: Download complete 08:18:13 448f6bf000e3: Pull complete 08:18:13 f757da607395: Pull complete 08:18:15 05883995daec: Pull complete 08:18:15 8603b9c90790: Pull complete 08:18:16 1560dd03e051: Pull complete 08:18:16 27f5ce0e4adf: Pull complete 08:18:31 c2d8d7efcc4b: Pull complete 08:18:31 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 08:18:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:18:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:18:31 prd-ubuntu18.04-docker-arm64-4c-16g-3759 does not seem to be running inside a container 08:18:32 $ 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/4 -v /w/workspace/edgex-ui-go/4:/w/workspace/edgex-ui-go/4:rw,z -v /w/workspace/edgex-ui-go/4@tmp:/w/workspace/edgex-ui-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:18:34 $ docker top e87a083a7be4257d874b5b51f63fc8d30d1f9194f1af833ec1b6490bf47d4270 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:18:35 ---> job-cost.sh 08:18:35 lf-activate-venv: SKIPPING 08:18:35 INFO: No Stack... 08:18:35 INFO: Retrieving Pricing Info for: v3-standard-4 08:18:35 INFO: Archiving Costs [Pipeline] sh 08:18:36 + cat /w/workspace/edgex-ui-go/4/archives/cost.csv 08:18:36 + cut -d, -f6 [Pipeline] lock 08:18:36 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-493-4-stack-cost] 08:18:36 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-493-4-stack-cost] did not exist. Created. 08:18:36 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-493-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:18:37 /w/workspace/edgex-ui-go/4@tmp/durable-14b45896/script.sh: 1: /w/workspace/edgex-ui-go/4@tmp/durable-14b45896/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 08:18:37 + echo total: 0.10999999940395355 [Pipeline] stash 08:18:37 Warning: overwriting stash ‘stack-cost’ 08:18:38 Stashed 1 file(s) [Pipeline] } 08:18:38 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-493-4-stack-cost] [Pipeline] // lock [Pipeline] } 08:18:38 $ docker stop --time=1 e87a083a7be4257d874b5b51f63fc8d30d1f9194f1af833ec1b6490bf47d4270 08:18:39 $ docker rm -f e87a083a7be4257d874b5b51f63fc8d30d1f9194f1af833ec1b6490bf47d4270 [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 08:18:40 provisioning config files... 08:18:40 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/config2243256772199604822tmp [Pipeline] { [Pipeline] sh 08:18:40 + set +x 08:18:40 + curl -s https://codecov.io/bash 08:18:40 + bash -s -- 08:18:40 08:18:40 _____ _ 08:18:40 / ____| | | 08:18:40 | | ___ __| | ___ ___ _____ __ 08:18:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:18:40 | |___| (_) | (_| | __/ (_| (_) \ V / 08:18:40 \_____\___/ \__,_|\___|\___\___/ \_/ 08:18:40 Bash-1.0.6 08:18:40 08:18:40 08:18:40 ==> git version 2.24.4 found 08:18:40 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 08:18:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:18:40 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:18:40 ==> Jenkins CI detected. 08:18:40 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-493 08:18:40 project root: . 08:18:40 --> token set from env 08:18:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:18:40 ==> Running gcov in . (disable via -X gcov) 08:18:40 ==> Python coveragepy not found 08:18:40 ==> Searching for coverage reports in: 08:18:40 + . 08:18:40 -> Found 1 reports 08:18:40 ==> Detecting git/mercurial file structure 08:18:40 ==> Reading reports 08:18:40 + ./coverage.out bytes=10 08:18:40 ==> Appending adjustments 08:18:40 https://docs.codecov.io/docs/fixing-reports 08:18:40 + Found adjustments 08:18:40 ==> Gzipping contents 08:18:40 4.0K /tmp/codecov.VfHVIc.gz 08:18:40 ==> Uploading reports 08:18:40 url: https://codecov.io 08:18:40 query: branch=PR-493&commit=157701551f1f4216e76e7039cd050805c01f3024&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-493%2F4%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=493&job=&cmd_args= 08:18:40 -> Pinging Codecov 08:18:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-493&commit=157701551f1f4216e76e7039cd050805c01f3024&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-493%2F4%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=493&job=&cmd_args= 08:18:40 -> Uploading to 08:18:40 https://storage.googleapis.com/codecov/v4/raw/2022-01-24/FB506323287CE973F263BFD2A0EB1F37/157701551f1f4216e76e7039cd050805c01f3024/22bd4ae5-8e16-4b42-9150-e430c746d7b1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220124%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220124T081840Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1d0b72357fc3209a9938bbe986e244278821d5bd15f5af51220862ba7120ce9 08:18:40 % Total % Received % Xferd Average Speed Time Time Time Current 08:18:40 Dload Upload Total Spent Left Speed 08:18:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3732 0 0 100 3732 0 11921 --:--:-- --:--:-- --:--:-- 11961 08:18:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/157701551f1f4216e76e7039cd050805c01f3024 [Pipeline] } 08:18:41 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 08:18:41 + '[' -d /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives ']' 08:18:41 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives 08:18:41 total 8 08:18:41 drwxr-xr-x. 3 root root 34 Jan 24 08:12 . 08:18:41 drwxrwxr-x. 14 jenkins jenkins 4096 Jan 24 08:12 .. 08:18:41 drwxr-xr-x. 2 root root 6 Jan 24 08:12 cost 08:18:41 -rw-r--r--. 1 root root 82 Jan 24 08:12 cost.csv 08:18:41 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives 08:18:41 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives 08:18:41 total 8 08:18:41 drwxr-xr-x. 3 jenkins jenkins 34 Jan 24 08:12 . 08:18:41 drwxrwxr-x. 14 jenkins jenkins 4096 Jan 24 08:12 .. 08:18:41 drwxr-xr-x. 2 jenkins jenkins 6 Jan 24 08:12 cost 08:18:41 -rw-r--r--. 1 jenkins jenkins 82 Jan 24 08:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:18:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:18:42 ---> package-listing.sh 08:18:42 ++ facter osfamily 08:18:42 ++ tr '[:upper:]' '[:lower:]' 08:18:43 + OS_FAMILY=redhat 08:18:43 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-493 08:18:43 + START_PACKAGES=/tmp/packages_start.txt 08:18:43 + END_PACKAGES=/tmp/packages_end.txt 08:18:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:18:43 + PACKAGES=/tmp/packages_start.txt 08:18:43 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-493 ']' 08:18:43 + PACKAGES=/tmp/packages_end.txt 08:18:43 + case "${OS_FAMILY}" in 08:18:43 + sort 08:18:43 + rpm -qa 08:18:43 + '[' -f /tmp/packages_start.txt ']' 08:18:43 + '[' -f /tmp/packages_end.txt ']' 08:18:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:18:43 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-493 ']' 08:18:43 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives/ 08:18:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives/ [Pipeline] echo 08:18:43 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:18:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:18:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:18:44 . [Pipeline] withDockerContainer 08:18:44 prd-centos7-docker-4c-2g-3757 does not seem to be running inside a container 08:18:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493/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-493 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493:/w/workspace/edgexfoundry_edgex-ui-go_PR-493:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@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 08:18:44 $ docker top 8b82d33d5fef7f6c52e9d83341e8523a41f26f734049cbd89115a5ef96730aec -eo pid,comm [Pipeline] { [Pipeline] sh 08:18:45 + touch /tmp/pre-build-complete [Pipeline] sh 08:18:45 + mkdir -p /var/log/sysstat [Pipeline] sh 08:18:45 + ls /var/log/sa-host 08:18:45 + sadf -c /var/log/sa-host/sa17 08:18:45 file_magic: OK 08:18:45 HZ: Using current value: 100 08:18:45 file_header: OK 08:18:45 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:18:45 Statistics: 08:18:45 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:18:45 File successfully converted to sysstat format version 12.0.3 08:18:45 + sadf -c /var/log/sa-host/sa24 08:18:45 file_magic: OK 08:18:45 HZ: Using current value: 100 08:18:45 file_header: OK 08:18:45 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:18:45 Statistics: 08:18:45 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:18:45 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:18:45 provisioning config files... 08:18:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/config1439262800370431266tmp [Pipeline] { [Pipeline] echo 08:18:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:18:46 ---> create-netrc.sh [Pipeline] } 08:18:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:18:46 ---> python-tools-install.sh [Pipeline] echo 08:18:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:18:46 ---> sudo-logs.sh 08:18:46 Archiving 'sudo' log.. 08:18:46 sudo: unable to resolve host prd-centos7-docker-4c-2g-3757.novalocal: Name or service not known 08:18:46 sudo: unable to resolve host prd-centos7-docker-4c-2g-3757.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 08:18:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:18:47 ---> job-cost.sh 08:18:47 lf-activate-venv: SKIPPING 08:18:47 DEBUG: total: 0.05999999865889549 08:18:47 INFO: Retrieving Stack Cost... 08:18:47 INFO: Retrieving Pricing Info for: v3-standard-2 08:18:47 INFO: Archiving Costs [Pipeline] echo 08:18:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:18:48 ---> logs-deploy.sh 08:18:48 lf-activate-venv: SKIPPING 08:18:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-493/4 08:18:48 INFO: archiving workspace using pattern(s): 08:18:48 Archives upload complete. 08:18:48 INFO: archiving logs to Nexus