Pull request #493 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e4619c402faae416981be553a7d6960b6c6e0fa6+35561512fbe252ca1f9b71503ce66d4cd1b1291c (c8911c4f304d08fe229137c667d0e03d15b60f88) 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-ssh2324531125160118027.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-ssh228022688648506517.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-493/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-493/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15093360420539232818.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-493/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13963180258993515545.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9628453518427638222.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-493/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-493/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6085024759958819812.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 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 ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-3657’ is offline Running on prd-centos7-docker-4c-2g-3658 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-ssh8311913900480954248.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-ssh5280536048179351075.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 35561512fbe252ca1f9b71503ce66d4cd1b1291c into PR head commit e4619c402faae416981be553a7d6960b6c6e0fa6 Merge succeeded, producing e4619c402faae416981be553a7d6960b6c6e0fa6 Checking out Revision e4619c402faae416981be553a7d6960b6c6e0fa6 (PR-493) > git config core.sparsecheckout # timeout=10 > git checkout -f e4619c402faae416981be553a7d6960b6c6e0fa6 # 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-ssh7277865110496636062.key > git merge 35561512fbe252ca1f9b71503ce66d4cd1b1291c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4619c402faae416981be553a7d6960b6c6e0fa6 # timeout=10 Commit message: "chore(deps): Bump nanoid from 3.1.25 to 3.2.0 in /web" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:02:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:02:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:02:02 ========================================================= 04:02:02 EdgeX Global Pipelines Version Info 04:02:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:02:03 ------------------- 04:02:03 stable info: 04:02:03 ------------------- 04:02:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:02:03 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 04:02:03 Message: update stable to v1.0.219 04:02:04 ------------------- 04:02:04 experimental info: 04:02:04 ------------------- 04:02:04 Commited By: **** collab-it+edgex@linuxfoundation.org 04:02:04 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 04:02:04 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:02:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 04:02:04 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 04:02:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:02:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:02:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:02:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:02:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:02:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:02:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:02:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:02:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-493 [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-493 [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-493 [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4619c402faae416981be553a7d6960b6c6e0fa6 [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4619c4 [Pipeline] echo 04:02:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:02:05 provisioning config files... 04:02:05 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/config3665344162329305331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:02:06 ---> docker-login.sh 04:02:06 nexus3.edgexfoundry.org:10001 04:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:06 Configure a credential helper to remove this warning. See 04:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:06 04:02:06 Login Succeeded 04:02:06 nexus3.edgexfoundry.org:10002 04:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:06 Configure a credential helper to remove this warning. See 04:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:06 04:02:06 Login Succeeded 04:02:06 nexus3.edgexfoundry.org:10003 04:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:06 Configure a credential helper to remove this warning. See 04:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:06 04:02:06 Login Succeeded 04:02:06 nexus3.edgexfoundry.org:10004 04:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:06 Configure a credential helper to remove this warning. See 04:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:06 04:02:06 Login Succeeded 04:02:06 docker.io 04:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:07 Configure a credential helper to remove this warning. See 04:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:07 04:02:07 Login Succeeded 04:02:07 ---> docker-login.sh ends [Pipeline] } 04:02:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:02:08 + git rev-list -1 --merges e4619c402faae416981be553a7d6960b6c6e0fa6~1..e4619c402faae416981be553a7d6960b6c6e0fa6 [Pipeline] echo 04:02:08 -----------> git rev-list -1 --merges e4619c402faae416981be553a7d6960b6c6e0fa6~1..e4619c402faae416981be553a7d6960b6c6e0fa6 e4619c402faae416981be553a7d6960b6c6e0fa6 [false] [Pipeline] sh 04:02:08 + git log --format=format:%s -1 e4619c402faae416981be553a7d6960b6c6e0fa6 [Pipeline] echo 04:02:08 ========================================================= 04:02:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:02:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:02:08 + git log --format=format:%s -1 e4619c402faae416981be553a7d6960b6c6e0fa6 [Pipeline] echo 04:02:08 [semverPrep] GIT_COMMIT: e4619c402faae416981be553a7d6960b6c6e0fa6, Commit Message: chore(deps): Bump nanoid from 3.1.25 to 3.2.0 in /web [Pipeline] echo 04:02:09 [semverPrep] This is not a build commit. [Pipeline] sh 04:02:09 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:02:09 + grep -v github /etc/ssh/ssh_known_hosts 04:02:09 + '[' -e /tmp/ssh_known_hosts ']' 04:02:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:02:09 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 04:02:09 + sudo tee -a /etc/ssh/ssh_known_hosts 04:02:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:02:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:02:09 04:02:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:02:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:02:10 latest: Pulling from edgex-devops/git-semver 04:02:10 a0d0a0d46f8b: Pulling fs layer 04:02:10 3e5f54012d9b: Pulling fs layer 04:02:10 4c7163046ea9: Pulling fs layer 04:02:10 0c2d73faf560: Pulling fs layer 04:02:10 0c2d73faf560: Waiting 04:02:10 3e5f54012d9b: Verifying Checksum 04:02:10 3e5f54012d9b: Download complete 04:02:10 a0d0a0d46f8b: Verifying Checksum 04:02:10 a0d0a0d46f8b: Download complete 04:02:10 0c2d73faf560: Verifying Checksum 04:02:10 0c2d73faf560: Download complete 04:02:10 4c7163046ea9: Verifying Checksum 04:02:10 4c7163046ea9: Download complete 04:02:10 a0d0a0d46f8b: Pull complete 04:02:10 3e5f54012d9b: Pull complete 04:02:10 4c7163046ea9: Pull complete 04:02:10 0c2d73faf560: Pull complete 04:02:10 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:02:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:02:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:02:11 prd-centos7-docker-4c-2g-3658 does not seem to be running inside a container 04:02:11 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:02:11 $ docker top 1a57c07cb2fb42b74460ad672665edee8655dec3f61f0a2eed1307fd745ba386 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:02:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:02:11 [ssh-agent] Looking for ssh-agent implementation... 04:02:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:02:12 $ docker exec 1a57c07cb2fb42b74460ad672665edee8655dec3f61f0a2eed1307fd745ba386 ssh-agent 04:02:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjfOFoA/agent.13 04:02:12 SSH_AGENT_PID=19 04:02:12 Running ssh-add (command line suppressed) 04:02:12 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/private_key_2307700781297060058.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/private_key_2307700781297060058.key) 04:02:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:02:12 + git tag --points-at HEAD [Pipeline] } 04:02:12 $ docker exec --env ******** --env ******** 1a57c07cb2fb42b74460ad672665edee8655dec3f61f0a2eed1307fd745ba386 ssh-agent -k 04:02:12 unset SSH_AUTH_SOCK; 04:02:12 unset SSH_AGENT_PID; 04:02:12 echo Agent pid 19 killed; 04:02:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:02:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:02:12 [ssh-agent] Looking for ssh-agent implementation... 04:02:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:02:12 $ docker exec 1a57c07cb2fb42b74460ad672665edee8655dec3f61f0a2eed1307fd745ba386 ssh-agent 04:02:13 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdlDJCO/agent.52 04:02:13 SSH_AGENT_PID=59 04:02:13 Running ssh-add (command line suppressed) 04:02:13 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/private_key_5350663062449654033.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/private_key_5350663062449654033.key) 04:02:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:02:13 + git semver init 04:02:13 # -> Open(): unable to determine branch for HEAD 04:02:13 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-493/.git 04:02:13 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-493 04:02:13 # $SEMVER_REMOTE_NAME = origin 04:02:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:02:13 # $SEMVER_USER_NAME = edgex-jenkins 04:02:13 # $SEMVER_BRANCH = PR-493 04:02:13 # $SEMVER_TEMP = /tmp/semver-594669579 04:02:13 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 04:02:16 # '/tmp/semver-594669579' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-493/.semver' 04:02:16 # -> Force: false 04:02:16 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-493/.semver [Pipeline] } 04:02:16 $ docker exec --env ******** --env ******** 1a57c07cb2fb42b74460ad672665edee8655dec3f61f0a2eed1307fd745ba386 ssh-agent -k 04:02:16 unset SSH_AUTH_SOCK; 04:02:16 unset SSH_AGENT_PID; 04:02:16 echo Agent pid 59 killed; 04:02:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:02:16 + git semver [Pipeline] } 04:02:16 $ docker stop --time=1 1a57c07cb2fb42b74460ad672665edee8655dec3f61f0a2eed1307fd745ba386 04:02:17 $ docker rm -f 1a57c07cb2fb42b74460ad672665edee8655dec3f61f0a2eed1307fd745ba386 [Pipeline] // withDockerContainer [Pipeline] sh 04:02:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:02:18 Stashed 1 file(s) [Pipeline] echo 04:02:18 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:02:19 provisioning config files... 04:02:19 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/config5324350140820349188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:02:19 ---> docker-login.sh 04:02:19 nexus3.edgexfoundry.org:10001 04:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:19 Configure a credential helper to remove this warning. See 04:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:19 04:02:19 Login Succeeded 04:02:19 nexus3.edgexfoundry.org:10002 04:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:19 Configure a credential helper to remove this warning. See 04:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:19 04:02:19 Login Succeeded 04:02:19 nexus3.edgexfoundry.org:10003 04:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:19 Configure a credential helper to remove this warning. See 04:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:19 04:02:19 Login Succeeded 04:02:19 nexus3.edgexfoundry.org:10004 04:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:19 Configure a credential helper to remove this warning. See 04:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:19 04:02:19 Login Succeeded 04:02:19 docker.io 04:02:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:20 Configure a credential helper to remove this warning. See 04:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:20 04:02:20 Login Succeeded 04:02:20 ---> docker-login.sh ends [Pipeline] } 04:02:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:02:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:02:20 ========================================================= 04:02:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:02:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:02:21 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 04:02:21 Sending build context to Docker daemon 40.73MB 04:02:21 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 04:02:21 Step 2/15 : FROM ${BASE} AS builder 04:02:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:02:21 59bf1c3509f3: Pulling fs layer 04:02:21 666ba61612fd: Pulling fs layer 04:02:21 8ed8ca486205: Pulling fs layer 04:02:21 4fe6c5a15a65: Pulling fs layer 04:02:21 22a0e8bec74d: Pulling fs layer 04:02:21 f965cba54748: Pulling fs layer 04:02:21 861ffc35075e: Pulling fs layer 04:02:21 4b385c91608e: Pulling fs layer 04:02:21 560528eb2ebb: Pulling fs layer 04:02:21 4fe6c5a15a65: Waiting 04:02:21 22a0e8bec74d: Waiting 04:02:21 f965cba54748: Waiting 04:02:21 861ffc35075e: Waiting 04:02:21 4b385c91608e: Waiting 04:02:21 560528eb2ebb: Waiting 04:02:21 8ed8ca486205: Verifying Checksum 04:02:21 8ed8ca486205: Download complete 04:02:21 666ba61612fd: Verifying Checksum 04:02:21 22a0e8bec74d: Verifying Checksum 04:02:21 22a0e8bec74d: Download complete 04:02:21 f965cba54748: Verifying Checksum 04:02:21 f965cba54748: Download complete 04:02:21 59bf1c3509f3: Verifying Checksum 04:02:21 59bf1c3509f3: Download complete 04:02:21 861ffc35075e: Verifying Checksum 04:02:21 861ffc35075e: Download complete 04:02:21 4b385c91608e: Verifying Checksum 04:02:21 4b385c91608e: Download complete 04:02:22 4fe6c5a15a65: Verifying Checksum 04:02:22 4fe6c5a15a65: Download complete 04:02:22 59bf1c3509f3: Pull complete 04:02:22 560528eb2ebb: Verifying Checksum 04:02:22 560528eb2ebb: Download complete 04:02:22 666ba61612fd: Pull complete 04:02:22 8ed8ca486205: Pull complete 04:02:26 4fe6c5a15a65: Pull complete 04:02:26 22a0e8bec74d: Pull complete 04:02:26 f965cba54748: Pull complete 04:02:26 861ffc35075e: Pull complete 04:02:26 4b385c91608e: Pull complete 04:02:28 560528eb2ebb: Pull complete 04:02:28 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 04:02:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:02:28 ---> dd4a08f94e63 04:02:28 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 04:02:30 ---> Running in f4effb9d2842 04:02:30 Removing intermediate container f4effb9d2842 04:02:30 ---> 6cb754c6e0fc 04:02:30 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 04:02:30 ---> Running in 2efe19439b77 04:02:30 Removing intermediate container 2efe19439b77 04:02:30 ---> 11b388968ef4 04:02:30 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 04:02:30 ---> Running in 953da09aa199 04:02:30 Removing intermediate container 953da09aa199 04:02:30 ---> 4a485c539c4d 04:02:30 Step 6/15 : LABEL Name=edgex-ui-go 04:02:30 ---> Running in 5d54bed3e7fe 04:02:30 Removing intermediate container 5d54bed3e7fe 04:02:30 ---> 77712e996032 04:02:30 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 04:02:30 ---> Running in 49def69edca9 04:02:30 Removing intermediate container 49def69edca9 04:02:30 ---> 512dd6614361 04:02:30 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:02:30 ---> Running in fc215a35e318 04:02:31 Removing intermediate container fc215a35e318 04:02:31 ---> f113c6bded71 04:02:31 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:02:31 ---> Running in 17f248f131ea 04:02:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:02:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:02:32 OK: 221 MiB in 52 packages 04:02:32 Removing intermediate container 17f248f131ea 04:02:32 ---> 149ef9541646 04:02:32 Step 10/15 : ENV GO111MODULE=on 04:02:33 ---> Running in 1a6799877829 04:02:33 Removing intermediate container 1a6799877829 04:02:33 ---> 7c755df469e6 04:02:33 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 04:02:33 ---> Running in 493afea6bd17 04:02:33 Removing intermediate container 493afea6bd17 04:02:33 ---> fa2910ed410b 04:02:33 Step 12/15 : COPY go.mod vendor* ./ 04:02:33 ---> 8e9bbd0b9f95 04:02:33 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:33 ---> Running in a1d69690cd83 04:02:34 Still waiting to schedule task 04:02:34 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3656’ 04:03:05 Removing intermediate container a1d69690cd83 04:03:05 ---> b87dc5dd8dfb 04:03:05 Step 14/15 : COPY . . 04:03:05 ---> 7d9a0c486ed9 04:03:05 Step 15/15 : RUN ${MAKE} 04:03:05 ---> Running in 9b45fd540ba9 04:03:05 noop 04:03:05 Removing intermediate container 9b45fd540ba9 04:03:05 ---> 47868a2aeedd 04:03:05 Successfully built 47868a2aeedd 04:03:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:03:05 + docker inspect -f . ci-base-image-x86_64 04:03:05 . [Pipeline] withDockerContainer 04:03:05 prd-centos7-docker-4c-2g-3658 does not seem to be running inside a container 04:03:06 $ 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 ******** ci-base-image-x86_64 cat 04:03:06 $ docker top 6cc148f3349aaa419ae8753f41676b2fed2d89ed19e492eb10ecc825c6a079ff -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:06 + go version 04:03:06 go version go1.17.6 linux/amd64 [Pipeline] } 04:03:06 $ docker stop --time=1 6cc148f3349aaa419ae8753f41676b2fed2d89ed19e492eb10ecc825c6a079ff 04:03:07 $ docker rm -f 6cc148f3349aaa419ae8753f41676b2fed2d89ed19e492eb10ecc825c6a079ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:03:08 + docker inspect -f . ci-base-image-x86_64 04:03:08 . [Pipeline] withDockerContainer 04:03:08 prd-centos7-docker-4c-2g-3658 does not seem to be running inside a container 04:03:08 $ 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 ******** ci-base-image-x86_64 cat 04:03:09 $ docker top 53997c8f894dcd8d76a94605e932364fc1e518d208a090fc7436c74fd7edc632 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:03:09 + make test 04:03:09 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:03:09 ? github.com/edgexfoundry/edgex-ui-go [no test files] 04:03:22 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 04:03:22 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 04:03:22 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 04:03:22 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 04:03:22 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 04:03:22 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 04:03:22 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 04:03:22 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 04:03:22 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 04:03:22 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 04:03:22 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 04:03:22 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 04:03:22 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:03:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:03:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:03:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:03:24 $ docker stop --time=1 53997c8f894dcd8d76a94605e932364fc1e518d208a090fc7436c74fd7edc632 04:03:25 $ docker rm -f 53997c8f894dcd8d76a94605e932364fc1e518d208a090fc7436c74fd7edc632 [Pipeline] // withDockerContainer [Pipeline] sh 04:03:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:03:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:03:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:03:27 + ls -al . 04:03:27 total 112 04:03:27 drwxrwxr-x. 13 jenkins jenkins 4096 Jan 22 04:03 . 04:03:27 drwxrwxr-x. 4 jenkins jenkins 110 Jan 22 04:01 .. 04:03:27 drwxrwxr-x. 3 jenkins jenkins 20 Jan 22 04:01 assets 04:03:27 drwxrwxr-x. 2 jenkins jenkins 66 Jan 22 04:01 bin 04:03:27 drwxrwxr-x. 3 jenkins jenkins 29 Jan 22 04:01 cmd 04:03:27 -rw-rw-r--. 1 jenkins jenkins 3959 Jan 22 04:01 CONTRIBUTING.md 04:03:27 -rw-r--r--. 1 jenkins jenkins 10 Jan 22 04:03 coverage.out 04:03:27 -rw-rw-r--. 1 jenkins jenkins 1549 Jan 22 04:01 Dockerfile 04:03:27 drwxrwxr-x. 2 jenkins jenkins 23 Jan 22 04:01 docs 04:03:27 drwxrwxr-x. 8 jenkins jenkins 179 Jan 22 04:02 .git 04:03:27 drwxrwxr-x. 2 jenkins jenkins 103 Jan 22 04:01 .github 04:03:27 -rw-rw-r--. 1 jenkins jenkins 155 Jan 22 04:01 .gitignore 04:03:27 -rw-rw-r--. 1 jenkins jenkins 1944 Jan 22 04:01 go.mod 04:03:27 -rw-rw-r--. 1 jenkins jenkins 48565 Jan 22 04:01 go.sum 04:03:27 drwxrwxr-x. 9 jenkins jenkins 125 Jan 22 04:01 internal 04:03:27 -rw-rw-r--. 1 jenkins jenkins 652 Jan 22 04:01 Jenkinsfile 04:03:27 -rw-rw-r--. 1 jenkins jenkins 11357 Jan 22 04:01 LICENSE 04:03:27 -rw-rw-r--. 1 jenkins jenkins 1212 Jan 22 04:01 Makefile 04:03:27 drwxrwxr-x. 3 jenkins jenkins 19 Jan 22 04:01 pkg 04:03:27 -rw-rw-r--. 1 jenkins jenkins 4450 Jan 22 04:01 README.md 04:03:27 drwx------. 3 jenkins jenkins 56 Jan 22 04:02 .semver 04:03:27 drwxrwxr-x. 4 jenkins jenkins 71 Jan 22 04:01 snap 04:03:27 -rw-rw-r--. 1 jenkins jenkins 5 Jan 22 04:02 VERSION 04:03:27 -rw-rw-r--. 1 jenkins jenkins 155 Jan 22 04:01 version.go 04:03:27 drwxrwxr-x. 4 jenkins jenkins 4096 Jan 22 04:01 web [Pipeline] isUnix [Pipeline] sh 04:03:27 + 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=e4619c402faae416981be553a7d6960b6c6e0fa6 --label arch=amd64 --label version=0.0.0 . 04:03:27 Sending build context to Docker daemon 40.73MB 04:03:27 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 04:03:27 Step 2/23 : FROM ${BASE} AS builder 04:03:27 ---> 47868a2aeedd 04:03:27 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 04:03:27 ---> Running in 4fc60c8a3fd5 04:03:27 Removing intermediate container 4fc60c8a3fd5 04:03:27 ---> 42ac71373f66 04:03:27 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 04:03:27 ---> Running in 8484b9612b00 04:03:27 Removing intermediate container 8484b9612b00 04:03:27 ---> 3bf9d9c28993 04:03:27 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 04:03:27 ---> Running in 7d3d351636a7 04:03:28 Removing intermediate container 7d3d351636a7 04:03:28 ---> 3d8c5ee46ba4 04:03:28 Step 6/23 : LABEL Name=edgex-ui-go 04:03:28 ---> Running in 578f4b4daf6f 04:03:28 Removing intermediate container 578f4b4daf6f 04:03:28 ---> 31908d19e851 04:03:28 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 04:03:28 ---> Running in 0b102fe0b29e 04:03:28 Removing intermediate container 0b102fe0b29e 04:03:28 ---> fb3440ab4a58 04:03:28 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:03:28 ---> Running in 4988e694b0a1 04:03:28 Removing intermediate container 4988e694b0a1 04:03:28 ---> f645f9f8caad 04:03:28 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:03:28 ---> Running in 24432ecbb1e5 04:03:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:03:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:03:30 OK: 221 MiB in 52 packages 04:03:30 Removing intermediate container 24432ecbb1e5 04:03:30 ---> 729cd4c6207d 04:03:30 Step 10/23 : ENV GO111MODULE=on 04:03:30 ---> Running in ece5294f68ba 04:03:30 Removing intermediate container ece5294f68ba 04:03:30 ---> 8bcf4c81462e 04:03:30 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 04:03:30 ---> Running in e99e1c5fb6d4 04:03:30 Removing intermediate container e99e1c5fb6d4 04:03:30 ---> 39000c9e5969 04:03:30 Step 12/23 : COPY go.mod vendor* ./ 04:03:30 ---> 94e51d374031 04:03:30 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:03:30 ---> Running in a283a3186a60 04:03:31 Removing intermediate container a283a3186a60 04:03:31 ---> 36b7c1437793 04:03:31 Step 14/23 : COPY . . 04:03:32 ---> 96505e0f51a8 04:03:32 Step 15/23 : RUN ${MAKE} 04:03:32 ---> Running in 106d3ea4d017 04:03:32 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-ui-go.Version=0.0.0" -o cmd/edgex-ui-server/edgex-ui-server ./cmd/edgex-ui-server 04:03:42 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:03:42 Removing intermediate container 106d3ea4d017 04:03:42 ---> 840eb8e55eff 04:03:42 Step 16/23 : FROM alpine:3.14 04:03:42 3.14: Pulling from library/alpine 04:03:43 97518928ae5f: Pulling fs layer 04:03:43 97518928ae5f: Verifying Checksum 04:03:43 97518928ae5f: Download complete 04:03:43 97518928ae5f: Pull complete 04:03:43 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:03:43 Status: Downloaded newer image for alpine:3.14 04:03:43 ---> 0a97eee8041e 04:03:43 Step 17/23 : EXPOSE 4000 04:03:43 ---> Running in ee58f254a1c6 04:03:43 Removing intermediate container ee58f254a1c6 04:03:43 ---> c8418336b454 04:03:43 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 04:03:43 ---> c92695677050 04:03:43 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 04:03:43 ---> Running in 9704b1bb9777 04:03:44 Removing intermediate container 9704b1bb9777 04:03:44 ---> 18cdbb24507d 04:03:44 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 04:03:44 ---> Running in f842aafafbdb 04:03:44 Removing intermediate container f842aafafbdb 04:03:44 ---> 77df7e5e20cb 04:03:44 Step 21/23 : LABEL arch=amd64 04:03:44 ---> Running in b9124e3a2a39 04:03:44 Removing intermediate container b9124e3a2a39 04:03:44 ---> d624aee7219f 04:03:44 Step 22/23 : LABEL git_sha=e4619c402faae416981be553a7d6960b6c6e0fa6 04:03:44 ---> Running in 4c52f91e7af4 04:03:44 Removing intermediate container 4c52f91e7af4 04:03:44 ---> b77fe99d90c7 04:03:44 Step 23/23 : LABEL version=0.0.0 04:03:44 ---> Running in b99ebacbc3ac 04:03:44 Removing intermediate container b99ebacbc3ac 04:03:44 ---> 05a3f71cf541 04:03:44 [Warning] One or more build-args [ARCH] were not consumed 04:03:44 Successfully built 05a3f71cf541 04:03:44 Successfully tagged edgex-ui:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:03:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:03:45 04:03:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:03:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:03:45 latest: Pulling from edgex-lftools-log-publisher 04:03:45 b4d181a07f80: Pulling fs layer 04:03:45 a1111a8f2ec3: Pulling fs layer 04:03:45 ed53099fbce6: Pulling fs layer 04:03:45 dc539afda2c1: Pulling fs layer 04:03:45 77bc0d833cb6: Pulling fs layer 04:03:45 9065ff56babe: Pulling fs layer 04:03:45 d287ab97295c: Pulling fs layer 04:03:45 dc539afda2c1: Waiting 04:03:45 77bc0d833cb6: Waiting 04:03:45 9065ff56babe: Waiting 04:03:45 d287ab97295c: Waiting 04:03:45 a1111a8f2ec3: Verifying Checksum 04:03:45 a1111a8f2ec3: Download complete 04:03:45 dc539afda2c1: Verifying Checksum 04:03:45 dc539afda2c1: Download complete 04:03:45 ed53099fbce6: Verifying Checksum 04:03:45 ed53099fbce6: Download complete 04:03:45 77bc0d833cb6: Verifying Checksum 04:03:45 77bc0d833cb6: Download complete 04:03:45 9065ff56babe: Verifying Checksum 04:03:45 9065ff56babe: Download complete 04:03:45 b4d181a07f80: Verifying Checksum 04:03:45 b4d181a07f80: Download complete 04:03:46 d287ab97295c: Verifying Checksum 04:03:46 d287ab97295c: Download complete 04:03:47 b4d181a07f80: Pull complete 04:03:47 a1111a8f2ec3: Pull complete 04:03:47 ed53099fbce6: Pull complete 04:03:47 dc539afda2c1: Pull complete 04:03:48 77bc0d833cb6: Pull complete 04:03:48 9065ff56babe: Pull complete 04:03:53 d287ab97295c: Pull complete 04:03:53 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:03:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:03:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:03:53 prd-centos7-docker-4c-2g-3658 does not seem to be running inside a container 04:03:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:03:56 $ docker top 2bc351edeae67e6447f9314721ecc0360b34893076c6baee975a009c72b77dff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:03:56 ---> job-cost.sh 04:03:56 lf-activate-venv: SKIPPING 04:03:56 INFO: No Stack... 04:03:56 INFO: Retrieving Pricing Info for: v3-standard-2 04:03:57 INFO: Archiving Costs [Pipeline] sh 04:03:57 + cut -d, -f6 04:03:57 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives/cost.csv [Pipeline] lock 04:03:57 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-493-1-stack-cost] 04:03:57 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-493-1-stack-cost] did not exist. Created. 04:03:57 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-493-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:03:57 + echo total: 0.05999999865889549 [Pipeline] stash 04:03:57 Stashed 1 file(s) [Pipeline] } 04:03:57 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-493-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:03:58 $ docker stop --time=1 2bc351edeae67e6447f9314721ecc0360b34893076c6baee975a009c72b77dff 04:03:59 $ docker rm -f 2bc351edeae67e6447f9314721ecc0360b34893076c6baee975a009c72b77dff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:04:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3662 in /w/workspace/edgexfoundry_edgex-ui-go_PR-493 [Pipeline] { [Pipeline] ws 04:04:53 Running in /w/workspace/edgex-ui-go/1 [Pipeline] { [Pipeline] checkout 04:04:54 The recommended git tool is: git 04:04:59 using credential edgex-jenkins-ssh 04:04:59 Cloning the remote Git repository 04:04:59 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 04:05:00 > git init /w/workspace/edgex-ui-go/1 # timeout=10 04:05:00 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 04:05:00 > git --version # timeout=10 04:05:00 > git --version # 'git version 2.17.1' 04:05:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:05:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:05:04 Merging remotes/origin/main commit 35561512fbe252ca1f9b71503ce66d4cd1b1291c into PR head commit e4619c402faae416981be553a7d6960b6c6e0fa6 04:05:03 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 04:05:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:05:03 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 04:05:03 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 04:05:03 using GIT_SSH to set credentials SSH Credentials for GitHub 04:05:03 > 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 04:05:04 > git config core.sparsecheckout # timeout=10 04:05:04 > git checkout -f e4619c402faae416981be553a7d6960b6c6e0fa6 # timeout=10 04:05:04 Merge succeeded, producing e4619c402faae416981be553a7d6960b6c6e0fa6 04:05:04 Checking out Revision e4619c402faae416981be553a7d6960b6c6e0fa6 (PR-493) 04:05:04 > git remote # timeout=10 04:05:04 > git config --get remote.origin.url # timeout=10 04:05:04 using GIT_SSH to set credentials SSH Credentials for GitHub 04:05:04 > git merge 35561512fbe252ca1f9b71503ce66d4cd1b1291c # timeout=10 04:05:04 > git rev-parse HEAD^{commit} # timeout=10 04:05:04 > git config core.sparsecheckout # timeout=10 04:05:04 > git checkout -f e4619c402faae416981be553a7d6960b6c6e0fa6 # timeout=10 04:05:09 Commit message: "chore(deps): Bump nanoid from 3.1.25 to 3.2.0 in /web" 04:05:09 > git --version # timeout=10 04:05:09 > git --version # 'git version 2.17.1' 04:05:09 fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:05:10 % Total % Received % Xferd Average Speed Time Time Time Current 04:05:10 Dload Upload Total Spent Left Speed 04:05:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 177k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh 04:05:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:05:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:05:11 + sudo tee /etc/docker/daemon.new 04:05:11 { 04:05:11 "registry-mirrors": [ 04:05:11 "https://nexus3.edgexfoundry.org:10001" 04:05:11 ], 04:05:11 "bip": "10.250.0.254/24", 04:05:11 "hosts": [ 04:05:11 "tcp://0.0.0.0:5555", 04:05:11 "unix:///var/run/docker.sock" 04:05:11 ], 04:05:11 "mtu": 1458, 04:05:11 "selinux-enabled": true, 04:05:11 "seccomp-profile": "/etc/docker/seccomp.json" 04:05:11 } [Pipeline] sh 04:05:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:05:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:30 provisioning config files... 04:05:30 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/1@tmp/config5053643285846194378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:31 ---> docker-login.sh 04:05:31 nexus3.edgexfoundry.org:10001 04:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:32 Configure a credential helper to remove this warning. See 04:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:32 04:05:32 Login Succeeded 04:05:32 nexus3.edgexfoundry.org:10002 04:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:33 Configure a credential helper to remove this warning. See 04:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:33 04:05:33 Login Succeeded 04:05:33 nexus3.edgexfoundry.org:10003 04:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:33 Configure a credential helper to remove this warning. See 04:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:33 04:05:33 Login Succeeded 04:05:33 nexus3.edgexfoundry.org:10004 04:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:34 Configure a credential helper to remove this warning. See 04:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:34 04:05:34 Login Succeeded 04:05:34 docker.io 04:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:35 Configure a credential helper to remove this warning. See 04:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:35 04:05:35 Login Succeeded 04:05:35 ---> docker-login.sh ends [Pipeline] } 04:05:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:05:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:05:35 ========================================================= 04:05:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:05:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:05:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:05:37 Sending build context to Docker daemon 25.67MB 04:05:37 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 04:05:37 Step 2/15 : FROM ${BASE} AS builder 04:05:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:05:37 9b3977197b4f: Pulling fs layer 04:05:37 1a89e8eeedd5: Pulling fs layer 04:05:37 94645a83ff95: Pulling fs layer 04:05:37 3f3a8bcf1eab: Pulling fs layer 04:05:37 0c92f367c5e7: Pulling fs layer 04:05:37 4b8299f9d1f4: Pulling fs layer 04:05:37 9a6b49a46696: Pulling fs layer 04:05:37 cf05db05a679: Pulling fs layer 04:05:37 3f3a8bcf1eab: Waiting 04:05:37 0c92f367c5e7: Waiting 04:05:37 4b8299f9d1f4: Waiting 04:05:37 9a6b49a46696: Waiting 04:05:37 cf05db05a679: Waiting 04:05:37 94645a83ff95: Verifying Checksum 04:05:37 94645a83ff95: Download complete 04:05:37 1a89e8eeedd5: Download complete 04:05:37 0c92f367c5e7: Verifying Checksum 04:05:37 0c92f367c5e7: Download complete 04:05:37 4b8299f9d1f4: Verifying Checksum 04:05:37 4b8299f9d1f4: Download complete 04:05:37 9b3977197b4f: Download complete 04:05:37 9a6b49a46696: Verifying Checksum 04:05:37 9a6b49a46696: Download complete 04:05:37 9b3977197b4f: Pull complete 04:05:38 1a89e8eeedd5: Pull complete 04:05:39 94645a83ff95: Pull complete 04:05:39 cf05db05a679: Verifying Checksum 04:05:39 cf05db05a679: Download complete 04:05:39 3f3a8bcf1eab: Download complete 04:05:52 3f3a8bcf1eab: Pull complete 04:05:52 0c92f367c5e7: Pull complete 04:05:52 4b8299f9d1f4: Pull complete 04:05:52 9a6b49a46696: Pull complete 04:05:57 cf05db05a679: Pull complete 04:05:57 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 04:05:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:05:57 ---> 0ccda1f7e2ee 04:05:57 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 04:05:59 ---> Running in 84dd76701164 04:06:00 Removing intermediate container 84dd76701164 04:06:00 ---> b70092752710 04:06:00 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 04:06:00 ---> Running in fed0bf8da544 04:06:00 Removing intermediate container fed0bf8da544 04:06:00 ---> 1e072d581cb1 04:06:00 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 04:06:00 ---> Running in 4763c7f47926 04:06:01 Removing intermediate container 4763c7f47926 04:06:01 ---> 585c03328f19 04:06:01 Step 6/15 : LABEL Name=edgex-ui-go 04:06:01 ---> Running in b21bd7914af0 04:06:02 Removing intermediate container b21bd7914af0 04:06:02 ---> 28fdc231b6f3 04:06:02 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 04:06:02 ---> Running in 39543c313ddf 04:06:02 Removing intermediate container 39543c313ddf 04:06:02 ---> cda45ca7c2a2 04:06:02 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:02 ---> Running in 448f19476ea8 04:06:04 Removing intermediate container 448f19476ea8 04:06:04 ---> e3a21bb97439 04:06:04 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:06:05 ---> Running in 12ed90cb8f73 04:06:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:06:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:06:08 OK: 220 MiB in 52 packages 04:06:09 Removing intermediate container 12ed90cb8f73 04:06:09 ---> 28ac29fd8eba 04:06:09 Step 10/15 : ENV GO111MODULE=on 04:06:09 ---> Running in 4d0861c6f027 04:06:09 Removing intermediate container 4d0861c6f027 04:06:09 ---> 07e2248d8164 04:06:09 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 04:06:09 ---> Running in aa2cbf064eaf 04:06:10 Removing intermediate container aa2cbf064eaf 04:06:10 ---> ec7bb657778b 04:06:10 Step 12/15 : COPY go.mod vendor* ./ 04:06:11 ---> 4987ac4309a4 04:06:11 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:11 ---> Running in 98269a03b1e0 04:07:33 Removing intermediate container 98269a03b1e0 04:07:33 ---> 6e208049866b 04:07:33 Step 14/15 : COPY . . 04:07:33 ---> 97d3796e0860 04:07:33 Step 15/15 : RUN ${MAKE} 04:07:33 ---> Running in c1d4ae31632a 04:07:33 noop 04:07:33 Removing intermediate container c1d4ae31632a 04:07:33 ---> 48b561e001dc 04:07:33 Successfully built 48b561e001dc 04:07:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:07:33 + docker inspect -f . ci-base-image-arm64 04:07:33 . [Pipeline] withDockerContainer 04:07:33 prd-ubuntu18.04-docker-arm64-4c-16g-3662 does not seem to be running inside a container 04:07:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:07:35 $ docker top f22a8756bd567cca90630ed88ad757448efdc9698dd10be84333b6e1434bf234 -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:36 + go version 04:07:36 go version go1.17.6 linux/arm64 [Pipeline] } 04:07:36 $ docker stop --time=1 f22a8756bd567cca90630ed88ad757448efdc9698dd10be84333b6e1434bf234 04:07:38 $ docker rm -f f22a8756bd567cca90630ed88ad757448efdc9698dd10be84333b6e1434bf234 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:07:39 + docker inspect -f . ci-base-image-arm64 04:07:39 . [Pipeline] withDockerContainer 04:07:39 prd-ubuntu18.04-docker-arm64-4c-16g-3662 does not seem to be running inside a container 04:07:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:07:40 $ docker top b5628a9f97e7d209260f2557cc40af1a422e8cdc09c90a25cfcc770ff71c3919 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:07:42 + make test 04:07:42 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:07:43 ? github.com/edgexfoundry/edgex-ui-go [no test files] 04:08:30 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 04:08:30 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 04:08:30 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 04:08:30 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 04:08:30 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 04:08:30 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 04:08:30 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 04:08:30 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 04:08:30 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 04:08:30 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 04:08:30 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 04:08:30 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 04:08:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:08:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:08:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:08:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:08:48 $ docker stop --time=1 b5628a9f97e7d209260f2557cc40af1a422e8cdc09c90a25cfcc770ff71c3919 04:08:50 $ docker rm -f b5628a9f97e7d209260f2557cc40af1a422e8cdc09c90a25cfcc770ff71c3919 [Pipeline] // withDockerContainer [Pipeline] sh 04:08:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:08:51 Warning: overwriting stash ‘coverage-report’ 04:08:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:08:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:08:53 + ls -al . 04:08:53 total 152 04:08:53 drwxrwxr-x 12 jenkins jenkins 4096 Jan 22 04:07 . 04:08:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 04:05 .. 04:08:53 drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 04:05 .git 04:08:53 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 04:05 .github 04:08:53 -rw-rw-r-- 1 jenkins jenkins 155 Jan 22 04:05 .gitignore 04:08:53 -rw-rw-r-- 1 jenkins jenkins 3959 Jan 22 04:05 CONTRIBUTING.md 04:08:53 -rw-rw-r-- 1 jenkins jenkins 1549 Jan 22 04:05 Dockerfile 04:08:53 -rw-rw-r-- 1 jenkins jenkins 652 Jan 22 04:05 Jenkinsfile 04:08:53 -rw-rw-r-- 1 jenkins jenkins 11357 Jan 22 04:05 LICENSE 04:08:53 -rw-rw-r-- 1 jenkins jenkins 1212 Jan 22 04:05 Makefile 04:08:53 -rw-rw-r-- 1 jenkins jenkins 4450 Jan 22 04:05 README.md 04:08:53 -rw-rw-r-- 1 jenkins jenkins 5 Jan 22 04:02 VERSION 04:08:53 drwxrwxr-x 3 jenkins jenkins 4096 Jan 22 04:05 assets 04:08:53 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 04:05 bin 04:08:53 drwxrwxr-x 3 jenkins jenkins 4096 Jan 22 04:05 cmd 04:08:53 -rw-r--r-- 1 jenkins jenkins 10 Jan 22 04:07 coverage.out 04:08:53 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 04:05 docs 04:08:53 -rw-rw-r-- 1 jenkins jenkins 1944 Jan 22 04:05 go.mod 04:08:53 -rw-rw-r-- 1 jenkins jenkins 48565 Jan 22 04:05 go.sum 04:08:53 drwxrwxr-x 9 jenkins jenkins 4096 Jan 22 04:05 internal 04:08:53 drwxrwxr-x 3 jenkins jenkins 4096 Jan 22 04:05 pkg 04:08:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 04:05 snap 04:08:53 -rw-rw-r-- 1 jenkins jenkins 155 Jan 22 04:05 version.go 04:08:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 04:05 web [Pipeline] isUnix [Pipeline] sh 04:08:53 + 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=e4619c402faae416981be553a7d6960b6c6e0fa6 --label arch=arm64 --label version=0.0.0 . 04:08:54 Sending build context to Docker daemon 25.67MB 04:08:54 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 04:08:54 Step 2/23 : FROM ${BASE} AS builder 04:08:54 ---> 48b561e001dc 04:08:54 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 04:08:54 ---> Running in b0b57b709ec8 04:08:55 Removing intermediate container b0b57b709ec8 04:08:55 ---> a28a760681be 04:08:55 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 04:08:55 ---> Running in 36d958daf671 04:08:55 Removing intermediate container 36d958daf671 04:08:55 ---> fb1752bde084 04:08:55 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 04:08:55 ---> Running in ec47fa282dd4 04:08:56 Removing intermediate container ec47fa282dd4 04:08:56 ---> 5831edc02562 04:08:56 Step 6/23 : LABEL Name=edgex-ui-go 04:08:56 ---> Running in 3208b3791d42 04:08:56 Removing intermediate container 3208b3791d42 04:08:56 ---> b95f3a0e4b12 04:08:56 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 04:08:56 ---> Running in e9c25a5ec794 04:08:56 Removing intermediate container e9c25a5ec794 04:08:56 ---> 196d8185e3dd 04:08:56 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:56 ---> Running in 9c7397bb5703 04:08:58 Removing intermediate container 9c7397bb5703 04:08:58 ---> 22c185ce3ad5 04:08:58 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:08:58 ---> Running in 8634252128b5 04:08:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:09:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:09:01 OK: 220 MiB in 52 packages 04:09:02 Removing intermediate container 8634252128b5 04:09:02 ---> e6ee282f448d 04:09:02 Step 10/23 : ENV GO111MODULE=on 04:09:02 ---> Running in c878d41f1604 04:09:03 Removing intermediate container c878d41f1604 04:09:03 ---> bbcfb666b01d 04:09:03 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 04:09:03 ---> Running in cf5b14f2a913 04:09:03 Removing intermediate container cf5b14f2a913 04:09:03 ---> f554ca48a3e4 04:09:03 Step 12/23 : COPY go.mod vendor* ./ 04:09:04 ---> 2d82f376f0f1 04:09:04 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:04 ---> Running in 8ed9edc4833c 04:09:06 Removing intermediate container 8ed9edc4833c 04:09:06 ---> c410f3db4f73 04:09:06 Step 14/23 : COPY . . 04:09:10 ---> d68760acc879 04:09:10 Step 15/23 : RUN ${MAKE} 04:09:10 ---> Running in b3a548406784 04:09:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-ui-go.Version=0.0.0" -o cmd/edgex-ui-server/edgex-ui-server ./cmd/edgex-ui-server 04:09:49 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:09:49 Removing intermediate container b3a548406784 04:09:49 ---> 39b15be2ce6c 04:09:49 Step 16/23 : FROM alpine:3.14 04:09:49 3.14: Pulling from library/alpine 04:09:49 be307f383ecc: Pulling fs layer 04:09:50 be307f383ecc: Verifying Checksum 04:09:50 be307f383ecc: Download complete 04:09:50 be307f383ecc: Pull complete 04:09:50 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:09:50 Status: Downloaded newer image for alpine:3.14 04:09:50 ---> 5b8b7b635229 04:09:50 Step 17/23 : EXPOSE 4000 04:09:50 ---> Running in d12b3c498a9d 04:09:51 Removing intermediate container d12b3c498a9d 04:09:51 ---> f57396a23e20 04:09:51 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 04:09:52 ---> 9014c25484e7 04:09:52 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 04:09:52 ---> Running in aafa36ac8df6 04:09:52 Removing intermediate container aafa36ac8df6 04:09:52 ---> 5425ab2ee094 04:09:52 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 04:09:52 ---> Running in 6ad2fc7325f9 04:09:53 Removing intermediate container 6ad2fc7325f9 04:09:53 ---> 812aa75453b9 04:09:53 Step 21/23 : LABEL arch=arm64 04:09:53 ---> Running in 6d2f34742ddb 04:09:53 Removing intermediate container 6d2f34742ddb 04:09:53 ---> 6bb370d6bb96 04:09:53 Step 22/23 : LABEL git_sha=e4619c402faae416981be553a7d6960b6c6e0fa6 04:09:53 ---> Running in 38427ac7ad99 04:09:54 Removing intermediate container 38427ac7ad99 04:09:54 ---> 2100aaa8adca 04:09:54 Step 23/23 : LABEL version=0.0.0 04:09:54 ---> Running in f395e19f1beb 04:09:54 Removing intermediate container f395e19f1beb 04:09:54 ---> 3874861237d7 04:09:54 [Warning] One or more build-args [ARCH] were not consumed 04:09:54 Successfully built 3874861237d7 04:09:54 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 04:09:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:09:55 04:09:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:09:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:09:55 arm64: Pulling from edgex-lftools-log-publisher 04:09:55 448f6bf000e3: Pulling fs layer 04:09:55 f757da607395: Pulling fs layer 04:09:55 05883995daec: Pulling fs layer 04:09:55 8603b9c90790: Pulling fs layer 04:09:55 1560dd03e051: Pulling fs layer 04:09:55 27f5ce0e4adf: Pulling fs layer 04:09:55 c2d8d7efcc4b: Pulling fs layer 04:09:55 8603b9c90790: Waiting 04:09:55 27f5ce0e4adf: Waiting 04:09:55 c2d8d7efcc4b: Waiting 04:09:55 1560dd03e051: Waiting 04:09:55 f757da607395: Verifying Checksum 04:09:55 f757da607395: Download complete 04:09:55 8603b9c90790: Verifying Checksum 04:09:55 8603b9c90790: Download complete 04:09:55 1560dd03e051: Verifying Checksum 04:09:55 1560dd03e051: Download complete 04:09:55 27f5ce0e4adf: Verifying Checksum 04:09:55 27f5ce0e4adf: Download complete 04:09:55 05883995daec: Verifying Checksum 04:09:55 05883995daec: Download complete 04:09:56 448f6bf000e3: Verifying Checksum 04:09:56 448f6bf000e3: Download complete 04:09:58 c2d8d7efcc4b: Verifying Checksum 04:09:58 c2d8d7efcc4b: Download complete 04:09:59 448f6bf000e3: Pull complete 04:10:00 f757da607395: Pull complete 04:10:01 05883995daec: Pull complete 04:10:01 8603b9c90790: Pull complete 04:10:02 1560dd03e051: Pull complete 04:10:02 27f5ce0e4adf: Pull complete 04:10:17 c2d8d7efcc4b: Pull complete 04:10:17 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:10:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:10:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:10:17 prd-ubuntu18.04-docker-arm64-4c-16g-3662 does not seem to be running inside a container 04:10:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:10:21 $ docker top eaae49028ddedcc1c9eb722384090a9eec4e1069f3b8631b5ecb0aeb0f56079c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:21 ---> job-cost.sh 04:10:21 lf-activate-venv: SKIPPING 04:10:21 INFO: No Stack... 04:10:22 INFO: Retrieving Pricing Info for: v3-standard-4 04:10:22 INFO: Archiving Costs [Pipeline] sh 04:10:23 + cut -d, -f6 04:10:23 + cat /w/workspace/edgex-ui-go/1/archives/cost.csv [Pipeline] lock 04:10:23 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-493-1-stack-cost] 04:10:23 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-493-1-stack-cost] did not exist. Created. 04:10:23 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-493-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:10:24 /w/workspace/edgex-ui-go/1@tmp/durable-4f983f1c/script.sh: 1: /w/workspace/edgex-ui-go/1@tmp/durable-4f983f1c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:10:25 + echo total: 0.10999999940395355 [Pipeline] stash 04:10:25 Warning: overwriting stash ‘stack-cost’ 04:10:25 Stashed 1 file(s) [Pipeline] } 04:10:25 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-493-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:10:25 $ docker stop --time=1 eaae49028ddedcc1c9eb722384090a9eec4e1069f3b8631b5ecb0aeb0f56079c 04:10:26 $ docker rm -f eaae49028ddedcc1c9eb722384090a9eec4e1069f3b8631b5ecb0aeb0f56079c [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 04:10:27 provisioning config files... 04:10:28 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/config8773040036249533854tmp [Pipeline] { [Pipeline] sh 04:10:28 + set +x 04:10:28 + curl -s https://codecov.io/bash 04:10:28 + bash -s -- 04:10:28 04:10:28 _____ _ 04:10:28 / ____| | | 04:10:28 | | ___ __| | ___ ___ _____ __ 04:10:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:10:28 | |___| (_) | (_| | __/ (_| (_) \ V / 04:10:28 \_____\___/ \__,_|\___|\___\___/ \_/ 04:10:28 Bash-1.0.6 04:10:28 04:10:28 04:10:28 ==> git version 2.24.4 found 04:10:28 ==> 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 04:10:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:10:28 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:10:28 ==> Jenkins CI detected. 04:10:28 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-493 04:10:28 project root: . 04:10:28 --> token set from env 04:10:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:10:28 ==> Running gcov in . (disable via -X gcov) 04:10:28 ==> Python coveragepy not found 04:10:28 ==> Searching for coverage reports in: 04:10:28 + . 04:10:28 -> Found 1 reports 04:10:28 ==> Detecting git/mercurial file structure 04:10:28 ==> Reading reports 04:10:28 + ./coverage.out bytes=10 04:10:28 ==> Appending adjustments 04:10:28 https://docs.codecov.io/docs/fixing-reports 04:10:28 + Found adjustments 04:10:28 ==> Gzipping contents 04:10:28 4.0K /tmp/codecov.m0wAXJ.gz 04:10:28 ==> Uploading reports 04:10:28 url: https://codecov.io 04:10:28 query: branch=PR-493&commit=e4619c402faae416981be553a7d6960b6c6e0fa6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-493%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=493&job=&cmd_args= 04:10:28 -> Pinging Codecov 04:10:28 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=e4619c402faae416981be553a7d6960b6c6e0fa6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-493%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=493&job=&cmd_args= 04:10:28 -> Uploading to 04:10:28 https://storage.googleapis.com/codecov/v4/raw/2022-01-22/FB506323287CE973F263BFD2A0EB1F37/e4619c402faae416981be553a7d6960b6c6e0fa6/81a05d57-1a61-4a98-9fbb-91c3aaccbe62.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220122T041028Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1a898add37ebe2c9bc2cd0f2806652b890cd57c8647e60b99790b3de9e302a0b 04:10:28 % Total % Received % Xferd Average Speed Time Time Time Current 04:10:28 Dload Upload Total Spent Left Speed 04:10:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3732 0 0 100 3732 0 12747 --:--:-- --:--:-- --:--:-- 12780 04:10:29 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/e4619c402faae416981be553a7d6960b6c6e0fa6 [Pipeline] } 04:10:29 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 04:10:31 + '[' -d /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives ']' 04:10:31 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives 04:10:31 total 8 04:10:31 drwxr-xr-x. 3 root root 34 Jan 22 04:03 . 04:10:31 drwxrwxr-x. 14 jenkins jenkins 4096 Jan 22 04:03 .. 04:10:31 drwxr-xr-x. 2 root root 6 Jan 22 04:03 cost 04:10:31 -rw-r--r--. 1 root root 82 Jan 22 04:03 cost.csv 04:10:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives 04:10:31 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives 04:10:31 total 8 04:10:31 drwxr-xr-x. 3 jenkins jenkins 34 Jan 22 04:03 . 04:10:31 drwxrwxr-x. 14 jenkins jenkins 4096 Jan 22 04:03 .. 04:10:31 drwxr-xr-x. 2 jenkins jenkins 6 Jan 22 04:03 cost 04:10:31 -rw-r--r--. 1 jenkins jenkins 82 Jan 22 04:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:10:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:10:31 ---> package-listing.sh 04:10:31 ++ tr '[:upper:]' '[:lower:]' 04:10:31 ++ facter osfamily 04:10:32 + OS_FAMILY=redhat 04:10:32 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-493 04:10:32 + START_PACKAGES=/tmp/packages_start.txt 04:10:32 + END_PACKAGES=/tmp/packages_end.txt 04:10:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:10:32 + PACKAGES=/tmp/packages_start.txt 04:10:32 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-493 ']' 04:10:32 + PACKAGES=/tmp/packages_end.txt 04:10:32 + case "${OS_FAMILY}" in 04:10:32 + sort 04:10:32 + rpm -qa 04:10:32 + '[' -f /tmp/packages_start.txt ']' 04:10:32 + '[' -f /tmp/packages_end.txt ']' 04:10:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:10:32 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-493 ']' 04:10:32 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives/ 04:10:32 + 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 04:10:32 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 04:10:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:10:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:10:33 . [Pipeline] withDockerContainer 04:10:33 prd-centos7-docker-4c-2g-3658 does not seem to be running inside a container 04:10:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:10:34 $ docker top 4394aa04f30df2d6ce2259050cd3620203ead0de2459eaf0fca4209582e80c95 -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:34 + touch /tmp/pre-build-complete [Pipeline] sh 04:10:34 + mkdir -p /var/log/sysstat [Pipeline] sh 04:10:35 + ls /var/log/sa-host 04:10:35 + sadf -c /var/log/sa-host/sa17 04:10:35 file_magic: OK 04:10:35 HZ: Using current value: 100 04:10:35 file_header: OK 04:10:35 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 04:10:35 Statistics: 04:10:35 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:10:35 File successfully converted to sysstat format version 12.0.3 04:10:35 + sadf -c /var/log/sa-host/sa22 04:10:35 file_magic: OK 04:10:35 HZ: Using current value: 100 04:10:35 file_header: OK 04:10:35 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 04:10:35 Statistics: 04:10:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:10:35 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:10:35 provisioning config files... 04:10:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/config8175089229034138539tmp [Pipeline] { [Pipeline] echo 04:10:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:10:35 ---> create-netrc.sh [Pipeline] } 04:10:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:10:36 ---> python-tools-install.sh [Pipeline] echo 04:10:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:10:36 ---> sudo-logs.sh 04:10:36 Archiving 'sudo' log.. 04:10:36 sudo: unable to resolve host prd-centos7-docker-4c-2g-3658.novalocal: Name or service not known 04:10:36 sudo: unable to resolve host prd-centos7-docker-4c-2g-3658.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:10:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:10:36 ---> job-cost.sh 04:10:36 lf-activate-venv: SKIPPING 04:10:36 DEBUG: total: 0.05999999865889549 04:10:36 INFO: Retrieving Stack Cost... 04:10:37 INFO: Retrieving Pricing Info for: v3-standard-2 04:10:37 INFO: Archiving Costs [Pipeline] echo 04:10:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:10:37 ---> logs-deploy.sh 04:10:37 lf-activate-venv: SKIPPING 04:10:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-493/1 04:10:37 INFO: archiving workspace using pattern(s): 04:10:38 Archives upload complete. 04:10:38 INFO: archiving logs to Nexus