Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f17a959956fc561d4771619dc1a45ddee013e59e+b5c3ad01f67977970fed420537dc3b570bb51b0a (089cddc09324958708959a017d7f9fcc43ecef8f) 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-ssh14668012442188065380.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5044777043827126512.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-179/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-179/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6686301614919190515.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5823285438339773746.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-179/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-179/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5072206774441425764.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-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: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-33414’ Running on prd-ubuntu20.04-docker-8c-8g-33419 in /w/workspace/gexfoundry_device-rest-go_PR-179 [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/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-179 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b5c3ad01f67977970fed420537dc3b570bb51b0a into PR head commit f17a959956fc561d4771619dc1a45ddee013e59e Merge succeeded, producing 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 Checking out Revision 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 (PR-179) > git config core.sparsecheckout # timeout=10 > git checkout -f f17a959956fc561d4771619dc1a45ddee013e59e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b5c3ad01f67977970fed420537dc3b570bb51b0a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 # timeout=10 Commit message: "Merge commit 'b5c3ad01f67977970fed420537dc3b570bb51b0a' into HEAD" > git rev-list --no-walk f17a959956fc561d4771619dc1a45ddee013e59e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:08:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:08:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:08:42 ========================================================= 03:08:42 EdgeX Global Pipelines Version Info 03:08:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:08:43 ------------------- 03:08:43 stable info: 03:08:43 ------------------- 03:08:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:08:43 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 03:08:43 Message: update stable to v1.0.221 03:08:43 ------------------- 03:08:43 experimental info: 03:08:43 ------------------- 03:08:43 Commited By: **** collab-it+edgex@linuxfoundation.org 03:08:43 Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 03:08:43 Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:08:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:08:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:08:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:08:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:08:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:08:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:08:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:08:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:08:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo 03:08:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo 03:08:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo 03:08:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 [Pipeline] echo 03:08:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d41c3f [Pipeline] echo 03:08:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:08:44 provisioning config files... 03:08:44 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/config3910876756130204351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:08:44 ---> docker-login.sh 03:08:44 nexus3.edgexfoundry.org:10001 03:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:08:45 Configure a credential helper to remove this warning. See 03:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:08:45 03:08:45 Login Succeeded 03:08:45 nexus3.edgexfoundry.org:10002 03:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:08:45 Configure a credential helper to remove this warning. See 03:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:08:45 03:08:45 Login Succeeded 03:08:45 nexus3.edgexfoundry.org:10003 03:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:08:45 Configure a credential helper to remove this warning. See 03:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:08:45 03:08:45 Login Succeeded 03:08:45 nexus3.edgexfoundry.org:10004 03:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:08:45 Configure a credential helper to remove this warning. See 03:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:08:45 03:08:45 Login Succeeded 03:08:45 docker.io 03:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:08:45 Configure a credential helper to remove this warning. See 03:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:08:45 03:08:45 Login Succeeded 03:08:45 ---> docker-login.sh ends [Pipeline] } 03:08:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:08:46 + git rev-list -1 --merges 5d41c3f0f111f37fe79223fccc840247fb9fd6c2~1..5d41c3f0f111f37fe79223fccc840247fb9fd6c2 [Pipeline] echo 03:08:46 -----------> git rev-list -1 --merges 5d41c3f0f111f37fe79223fccc840247fb9fd6c2~1..5d41c3f0f111f37fe79223fccc840247fb9fd6c2 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 03:08:46 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 [false] [Pipeline] sh 03:08:46 + git log --format=format:%s -1 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 [Pipeline] echo 03:08:46 ========================================================= 03:08:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:08:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:08:46 + git log --format=format:%s -1 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 [Pipeline] echo 03:08:46 [semverPrep] GIT_COMMIT: 5d41c3f0f111f37fe79223fccc840247fb9fd6c2, Commit Message: Merge commit 'b5c3ad01f67977970fed420537dc3b570bb51b0a' into HEAD [Pipeline] echo 03:08:46 [semverPrep] This is not a build commit. [Pipeline] sh 03:08:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:08:47 + grep -v github /etc/ssh/ssh_known_hosts 03:08:47 + [ -e /tmp/ssh_known_hosts ] 03:08:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:08:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:08:47 + sudo tee -a /etc/ssh/ssh_known_hosts 03:08:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:08:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:08:47 03:08:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:08:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:08:48 latest: Pulling from edgex-devops/git-semver 03:08:48 a0d0a0d46f8b: Pulling fs layer 03:08:48 3e5f54012d9b: Pulling fs layer 03:08:48 4c7163046ea9: Pulling fs layer 03:08:48 0c2d73faf560: Pulling fs layer 03:08:48 0c2d73faf560: Waiting 03:08:48 3e5f54012d9b: Download complete 03:08:48 a0d0a0d46f8b: Download complete 03:08:48 0c2d73faf560: Verifying Checksum 03:08:48 0c2d73faf560: Download complete 03:08:48 4c7163046ea9: Verifying Checksum 03:08:48 4c7163046ea9: Download complete 03:08:48 a0d0a0d46f8b: Pull complete 03:08:48 3e5f54012d9b: Pull complete 03:08:48 4c7163046ea9: Pull complete 03:08:49 0c2d73faf560: Pull complete 03:08:49 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 03:08:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:08:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:08:49 prd-ubuntu20.04-docker-8c-8g-33419 does not seem to be running inside a container 03:08:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:08:50 $ docker top 12e39850e7aa1a1b715db26775c13da11421e251e42c67a522a6152dc18116cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:08:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:08:50 [ssh-agent] Looking for ssh-agent implementation... 03:08:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:08:50 $ docker exec 12e39850e7aa1a1b715db26775c13da11421e251e42c67a522a6152dc18116cb ssh-agent 03:08:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXObcIPl/agent.14 03:08:50 SSH_AGENT_PID=21 03:08:50 Running ssh-add (command line suppressed) 03:08:51 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_2049854766312008217.key (/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_2049854766312008217.key) 03:08:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:08:51 + git tag --points-at HEAD [Pipeline] } 03:08:51 $ docker exec --env ******** --env ******** 12e39850e7aa1a1b715db26775c13da11421e251e42c67a522a6152dc18116cb ssh-agent -k 03:08:51 unset SSH_AUTH_SOCK; 03:08:51 unset SSH_AGENT_PID; 03:08:51 echo Agent pid 21 killed; 03:08:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:08:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:08:51 [ssh-agent] Looking for ssh-agent implementation... 03:08:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:08:51 $ docker exec 12e39850e7aa1a1b715db26775c13da11421e251e42c67a522a6152dc18116cb ssh-agent 03:08:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXecJKKC/agent.54 03:08:51 SSH_AGENT_PID=61 03:08:51 Running ssh-add (command line suppressed) 03:08:51 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_4216716903471177664.key (/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_4216716903471177664.key) 03:08:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:08:52 + git semver init 03:08:52 # -> Open(): unable to determine branch for HEAD 03:08:52 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-179/.git 03:08:52 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-179 03:08:52 # $SEMVER_REMOTE_NAME = origin 03:08:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:08:52 # $SEMVER_USER_NAME = edgex-jenkins 03:08:52 # $SEMVER_BRANCH = PR-179 03:08:52 # $SEMVER_TEMP = /tmp/semver-340315670 03:08:52 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 03:08:53 # '/tmp/semver-340315670' -> '/w/workspace/gexfoundry_device-rest-go_PR-179/.semver' 03:08:53 # -> Force: false 03:08:53 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-179/.semver [Pipeline] } 03:08:53 $ docker exec --env ******** --env ******** 12e39850e7aa1a1b715db26775c13da11421e251e42c67a522a6152dc18116cb ssh-agent -k 03:08:53 unset SSH_AUTH_SOCK; 03:08:53 unset SSH_AGENT_PID; 03:08:53 echo Agent pid 61 killed; 03:08:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:08:54 + git semver [Pipeline] } 03:08:54 $ docker stop --time=1 12e39850e7aa1a1b715db26775c13da11421e251e42c67a522a6152dc18116cb 03:08:55 $ docker rm -f 12e39850e7aa1a1b715db26775c13da11421e251e42c67a522a6152dc18116cb [Pipeline] // withDockerContainer [Pipeline] sh 03:08:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:08:56 Stashed 1 file(s) [Pipeline] echo 03:08:56 [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 03:08:56 provisioning config files... 03:08:56 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/config5355130715877494574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:08:56 ---> docker-login.sh 03:08:56 nexus3.edgexfoundry.org:10001 03:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:08:56 Configure a credential helper to remove this warning. See 03:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:08:56 03:08:56 Login Succeeded 03:08:56 nexus3.edgexfoundry.org:10002 03:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:08:56 Configure a credential helper to remove this warning. See 03:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:08:56 03:08:56 Login Succeeded 03:08:56 nexus3.edgexfoundry.org:10003 03:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:08:56 Configure a credential helper to remove this warning. See 03:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:08:56 03:08:56 Login Succeeded 03:08:56 nexus3.edgexfoundry.org:10004 03:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:08:57 Configure a credential helper to remove this warning. See 03:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:08:57 03:08:57 Login Succeeded 03:08:57 docker.io 03:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:08:57 Configure a credential helper to remove this warning. See 03:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:08:57 03:08:57 Login Succeeded 03:08:57 ---> docker-login.sh ends [Pipeline] } 03:08:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:08:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:08:57 ========================================================= 03:08:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:08:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:08:57 + 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 . 03:08:57 Sending build context to Docker daemon 10.58MB 03:08:57 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:08:57 Step 2/12 : FROM ${BASE} AS builder 03:08:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:08:57 59bf1c3509f3: Pulling fs layer 03:08:57 666ba61612fd: Pulling fs layer 03:08:57 8ed8ca486205: Pulling fs layer 03:08:57 4fe6c5a15a65: Pulling fs layer 03:08:57 22a0e8bec74d: Pulling fs layer 03:08:57 ca2b28591e48: Pulling fs layer 03:08:57 a51346096db8: Pulling fs layer 03:08:57 daebc70d1ce1: Pulling fs layer 03:08:57 0e18a0eac166: Pulling fs layer 03:08:57 daebc70d1ce1: Waiting 03:08:57 0e18a0eac166: Waiting 03:08:57 4fe6c5a15a65: Waiting 03:08:57 a51346096db8: Waiting 03:08:57 22a0e8bec74d: Waiting 03:08:58 8ed8ca486205: Verifying Checksum 03:08:58 8ed8ca486205: Download complete 03:08:58 666ba61612fd: Download complete 03:08:58 22a0e8bec74d: Verifying Checksum 03:08:58 22a0e8bec74d: Download complete 03:08:58 ca2b28591e48: Verifying Checksum 03:08:58 a51346096db8: Download complete 03:08:58 59bf1c3509f3: Verifying Checksum 03:08:58 59bf1c3509f3: Download complete 03:08:58 daebc70d1ce1: Verifying Checksum 03:08:58 daebc70d1ce1: Download complete 03:08:58 59bf1c3509f3: Pull complete 03:08:58 666ba61612fd: Pull complete 03:08:58 8ed8ca486205: Pull complete 03:08:58 0e18a0eac166: Verifying Checksum 03:08:58 0e18a0eac166: Download complete 03:08:58 4fe6c5a15a65: Verifying Checksum 03:08:58 4fe6c5a15a65: Download complete 03:09:02 4fe6c5a15a65: Pull complete 03:09:02 22a0e8bec74d: Pull complete 03:09:02 ca2b28591e48: Pull complete 03:09:02 a51346096db8: Pull complete 03:09:02 daebc70d1ce1: Pull complete 03:09:04 0e18a0eac166: Pull complete 03:09:04 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 03:09:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:09:04 ---> f018257e8ee9 03:09:04 Step 3/12 : ARG MAKE='make build' 03:09:07 ---> Running in 07e2b3448353 03:09:07 Removing intermediate container 07e2b3448353 03:09:07 ---> 75263d6d5495 03:09:07 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:09:07 ---> Running in c3bba72bea15 03:09:07 Removing intermediate container c3bba72bea15 03:09:07 ---> 2793d4853167 03:09:07 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 03:09:07 ---> Running in 8f9e986dd69c 03:09:07 Removing intermediate container 8f9e986dd69c 03:09:07 ---> ea489e82ce99 03:09:07 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:09:07 ---> Running in 3ef6fc5d757d 03:09:07 Removing intermediate container 3ef6fc5d757d 03:09:07 ---> 15c2f77e5ca2 03:09:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:09:07 ---> Running in 1effbb15a9aa 03:09:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:09:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:09:09 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:09:09 (2/4) Installing libedit (20210910.3.1-r0) 03:09:09 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:09:09 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:09:09 Executing busybox-1.34.1-r3.trigger 03:09:09 OK: 224 MiB in 56 packages 03:09:10 Removing intermediate container 1effbb15a9aa 03:09:10 ---> 630641a670d5 03:09:10 Step 8/12 : WORKDIR /device-rest-go 03:09:10 ---> Running in ea2e3d147d1e 03:09:10 Removing intermediate container ea2e3d147d1e 03:09:10 ---> fcdceb761b9d 03:09:10 Step 9/12 : COPY go.mod vendor* ./ 03:09:10 ---> 6dee71d94bb3 03:09:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:09:10 ---> Running in 0813e86d7c46 03:09:11 Still waiting to schedule task 03:09:11 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-33415’ 03:09:25 Removing intermediate container 0813e86d7c46 03:09:25 ---> 3f47c5b39884 03:09:25 Step 11/12 : COPY . . 03:09:25 ---> 3ed53f542e77 03:09:25 Step 12/12 : RUN $MAKE 03:09:25 ---> Running in 8df2f79ca53c 03:09:25 noop 03:09:26 Removing intermediate container 8df2f79ca53c 03:09:26 ---> 91e8e7d040e1 03:09:26 Successfully built 91e8e7d040e1 03:09:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:09:26 + docker inspect -f . ci-base-image-x86_64 03:09:26 . [Pipeline] withDockerContainer 03:09:26 prd-ubuntu20.04-docker-8c-8g-33419 does not seem to be running inside a container 03:09:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:09:26 $ docker top 72636af648189f54e0de8397e829276add86d7e3b23226aaf8679756cef65b7b -eo pid,comm [Pipeline] { [Pipeline] sh 03:09:27 + go version 03:09:27 go version go1.17.6 linux/amd64 [Pipeline] } 03:09:27 $ docker stop --time=1 72636af648189f54e0de8397e829276add86d7e3b23226aaf8679756cef65b7b 03:09:28 $ docker rm -f 72636af648189f54e0de8397e829276add86d7e3b23226aaf8679756cef65b7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:09:29 + docker inspect -f . ci-base-image-x86_64 03:09:29 . [Pipeline] withDockerContainer 03:09:29 prd-ubuntu20.04-docker-8c-8g-33419 does not seem to be running inside a container 03:09:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:09:29 $ docker top 081c39e9edf56ab4e5406356163f2dd6e54272a646fe9a99203d88b4bb6e9163 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:09:29 + make test 03:09:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:09:30 ? github.com/edgexfoundry/device-rest-go [no test files] 03:09:40 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:09:40 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements 03:09:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:09:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:09:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:09:49 ./bin/test-attribution-txt.sh 03:09:49 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 03:09:49 make: *** [Makefile:46: test] Error 1 [Pipeline] } 03:09:49 $ docker stop --time=1 081c39e9edf56ab4e5406356163f2dd6e54272a646fe9a99203d88b4bb6e9163 03:09:52 $ docker rm -f 081c39e9edf56ab4e5406356163f2dd6e54272a646fe9a99203d88b4bb6e9163 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:09:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:09:53 03:09:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:09:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:09:53 latest: Pulling from edgex-lftools-log-publisher 03:09:53 5eb5b503b376: Pulling fs layer 03:09:53 5c69ac0246d0: Pulling fs layer 03:09:53 ec43610c2a17: Pulling fs layer 03:09:53 3a2ae6a8a46f: Pulling fs layer 03:09:53 33b1e0a273af: Pulling fs layer 03:09:53 5d3b04190fa2: Pulling fs layer 03:09:53 2f39f015ded8: Pulling fs layer 03:09:53 33b1e0a273af: Waiting 03:09:53 3a2ae6a8a46f: Waiting 03:09:53 5d3b04190fa2: Waiting 03:09:53 2f39f015ded8: Waiting 03:09:53 5c69ac0246d0: Download complete 03:09:53 3a2ae6a8a46f: Download complete 03:09:53 33b1e0a273af: Verifying Checksum 03:09:53 33b1e0a273af: Download complete 03:09:53 5d3b04190fa2: Verifying Checksum 03:09:53 5d3b04190fa2: Download complete 03:09:53 ec43610c2a17: Verifying Checksum 03:09:53 ec43610c2a17: Download complete 03:09:53 5eb5b503b376: Verifying Checksum 03:09:53 5eb5b503b376: Download complete 03:09:54 2f39f015ded8: Download complete 03:09:54 5eb5b503b376: Pull complete 03:09:55 5c69ac0246d0: Pull complete 03:09:55 ec43610c2a17: Pull complete 03:09:55 3a2ae6a8a46f: Pull complete 03:09:56 33b1e0a273af: Pull complete 03:09:56 5d3b04190fa2: Pull complete 03:10:00 2f39f015ded8: Pull complete 03:10:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:10:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:10:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:10:00 prd-ubuntu20.04-docker-8c-8g-33419 does not seem to be running inside a container 03:10:00 $ 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/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:10:04 $ docker top c4b290ca0a24c85e2f76254f6d8703f96dc0ee6946ead20f0a8c29c43f8d0269 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:10:05 ---> job-cost.sh 03:10:05 lf-activate-venv: SKIPPING 03:10:05 INFO: No Stack... 03:10:05 INFO: Retrieving Pricing Info for: v3-standard-8 03:10:05 INFO: Archiving Costs [Pipeline] sh 03:10:06 + cat /w/workspace/gexfoundry_device-rest-go_PR-179/archives/cost.csv 03:10:06 + cut -d, -f6 [Pipeline] lock 03:10:06 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] 03:10:06 Resource [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] did not exist. Created. 03:10:06 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:10:06 + echo total: 0.2199999988079071 [Pipeline] stash 03:10:06 Stashed 1 file(s) [Pipeline] } 03:10:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:10:06 $ docker stop --time=1 c4b290ca0a24c85e2f76254f6d8703f96dc0ee6946ead20f0a8c29c43f8d0269 03:10:07 $ docker rm -f c4b290ca0a24c85e2f76254f6d8703f96dc0ee6946ead20f0a8c29c43f8d0269 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:10:07 Failed in branch amd64 03:12:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33421 in /w/workspace/gexfoundry_device-rest-go_PR-179 [Pipeline] { [Pipeline] ws 03:12:26 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 03:12:27 The recommended git tool is: git 03:12:34 using credential edgex-jenkins-ssh 03:12:34 Cloning the remote Git repository 03:12:34 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:12:34 > git init /w/workspace/device-rest-go/2 # timeout=10 03:12:34 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:12:34 > git --version # timeout=10 03:12:34 > git --version # 'git version 2.25.1' 03:12:34 using GIT_SSH to set credentials SSH Credentials for GitHub 03:12:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:12:37 Merging remotes/origin/main commit b5c3ad01f67977970fed420537dc3b570bb51b0a into PR head commit f17a959956fc561d4771619dc1a45ddee013e59e 03:12:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:12:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:12:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:12:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:12:36 using GIT_SSH to set credentials SSH Credentials for GitHub 03:12:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:12:37 > git config core.sparsecheckout # timeout=10 03:12:37 > git checkout -f f17a959956fc561d4771619dc1a45ddee013e59e # timeout=10 03:12:37 > git remote # timeout=10 03:12:37 > git config --get remote.origin.url # timeout=10 03:12:37 using GIT_SSH to set credentials SSH Credentials for GitHub 03:12:37 > git merge b5c3ad01f67977970fed420537dc3b570bb51b0a # timeout=10 03:12:37 > git rev-parse HEAD^{commit} # timeout=10 03:12:37 Merge succeeded, producing 1705afaf18abdff98b08bef17ba1da451609369e 03:12:37 Checking out Revision 1705afaf18abdff98b08bef17ba1da451609369e (PR-179) 03:12:37 > git config core.sparsecheckout # timeout=10 03:12:37 > git checkout -f 1705afaf18abdff98b08bef17ba1da451609369e # timeout=10 03:12:41 Commit message: "Merge commit 'b5c3ad01f67977970fed420537dc3b570bb51b0a' into HEAD" 03:12:41 > git rev-list --no-walk f17a959956fc561d4771619dc1a45ddee013e59e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:12:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:12:42 % Total % Received % Xferd Average Speed Time Time Time Current 03:12:42 Dload Upload Total Spent Left Speed 03:12:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 210k [Pipeline] sh 03:12:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:12:43 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:12:43 sudo tee /etc/docker/daemon.new 03:12:43 { 03:12:43 "registry-mirrors": [ 03:12:43 "https://nexus3.edgexfoundry.org:10001" 03:12:43 ], 03:12:43 "bip": "10.250.0.254/24", 03:12:43 "hosts": [ 03:12:43 "tcp://0.0.0.0:5555", 03:12:43 "unix:///var/run/docker.sock" 03:12:43 ], 03:12:43 "mtu": 1458, 03:12:43 "selinux-enabled": true, 03:12:43 "seccomp-profile": "/etc/docker/seccomp.json" 03:12:43 } [Pipeline] sh 03:12:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:12:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:13:02 provisioning config files... 03:13:02 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3070361965609069533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:13:03 ---> docker-login.sh 03:13:03 nexus3.edgexfoundry.org:10001 03:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:04 Configure a credential helper to remove this warning. See 03:13:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:04 03:13:04 Login Succeeded 03:13:04 nexus3.edgexfoundry.org:10002 03:13:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:04 Configure a credential helper to remove this warning. See 03:13:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:04 03:13:04 Login Succeeded 03:13:04 nexus3.edgexfoundry.org:10003 03:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:05 Configure a credential helper to remove this warning. See 03:13:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:05 03:13:05 Login Succeeded 03:13:05 nexus3.edgexfoundry.org:10004 03:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:05 Configure a credential helper to remove this warning. See 03:13:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:05 03:13:05 Login Succeeded 03:13:05 docker.io 03:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:06 Configure a credential helper to remove this warning. See 03:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:06 03:13:06 Login Succeeded 03:13:06 ---> docker-login.sh ends [Pipeline] } 03:13:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:13:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:13:07 ========================================================= 03:13:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:13:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:13:07 + 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 . 03:13:07 Sending build context to Docker daemon 129.5kB 03:13:08 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:13:08 Step 2/12 : FROM ${BASE} AS builder 03:13:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:13:08 9b3977197b4f: Pulling fs layer 03:13:08 1a89e8eeedd5: Pulling fs layer 03:13:08 94645a83ff95: Pulling fs layer 03:13:08 3f3a8bcf1eab: Pulling fs layer 03:13:08 0c92f367c5e7: Pulling fs layer 03:13:08 3096ccb668a1: Pulling fs layer 03:13:08 e8cf19c19ddd: Pulling fs layer 03:13:08 a4caa8a26152: Pulling fs layer 03:13:08 3f3a8bcf1eab: Waiting 03:13:08 0c92f367c5e7: Waiting 03:13:08 3096ccb668a1: Waiting 03:13:08 e8cf19c19ddd: Waiting 03:13:08 a4caa8a26152: Waiting 03:13:08 94645a83ff95: Verifying Checksum 03:13:08 94645a83ff95: Download complete 03:13:08 1a89e8eeedd5: Download complete 03:13:08 0c92f367c5e7: Verifying Checksum 03:13:08 0c92f367c5e7: Download complete 03:13:08 3096ccb668a1: Verifying Checksum 03:13:08 3096ccb668a1: Download complete 03:13:08 9b3977197b4f: Verifying Checksum 03:13:08 9b3977197b4f: Download complete 03:13:08 e8cf19c19ddd: Verifying Checksum 03:13:08 e8cf19c19ddd: Download complete 03:13:09 9b3977197b4f: Pull complete 03:13:09 1a89e8eeedd5: Pull complete 03:13:10 94645a83ff95: Pull complete 03:13:10 a4caa8a26152: Verifying Checksum 03:13:10 a4caa8a26152: Download complete 03:13:11 3f3a8bcf1eab: Verifying Checksum 03:13:11 3f3a8bcf1eab: Download complete 03:13:23 3f3a8bcf1eab: Pull complete 03:13:23 0c92f367c5e7: Pull complete 03:13:23 3096ccb668a1: Pull complete 03:13:24 e8cf19c19ddd: Pull complete 03:13:30 a4caa8a26152: Pull complete 03:13:30 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 03:13:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:13:30 ---> 725f1c02e7f9 03:13:30 Step 3/12 : ARG MAKE='make build' 03:13:31 ---> Running in ed215384b9d0 03:13:31 Removing intermediate container ed215384b9d0 03:13:31 ---> c9b53a811bce 03:13:31 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:13:31 ---> Running in a570d4af7944 03:13:31 Removing intermediate container a570d4af7944 03:13:31 ---> 61a311a9cd46 03:13:31 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 03:13:31 ---> Running in c9bd08991f3a 03:13:32 Removing intermediate container c9bd08991f3a 03:13:32 ---> ce3086c2e2d1 03:13:32 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:13:32 ---> Running in 176967a3727e 03:13:35 Removing intermediate container 176967a3727e 03:13:35 ---> 7ce59e7038ef 03:13:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:13:35 ---> Running in 87871ff83303 03:13:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:13:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:13:38 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:13:38 (2/4) Installing libedit (20210910.3.1-r0) 03:13:38 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:13:38 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:13:39 Executing busybox-1.34.1-r3.trigger 03:13:39 OK: 224 MiB in 56 packages 03:13:40 Removing intermediate container 87871ff83303 03:13:40 ---> 16393065c22b 03:13:40 Step 8/12 : WORKDIR /device-rest-go 03:13:40 ---> Running in 8275416a90cb 03:13:40 Removing intermediate container 8275416a90cb 03:13:40 ---> ffe503f5d54a 03:13:40 Step 9/12 : COPY go.mod vendor* ./ 03:13:40 ---> b6d4a2807cc4 03:13:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:13:41 ---> Running in 1bb4debbaef7 03:14:28 Removing intermediate container 1bb4debbaef7 03:14:28 ---> 2e7de0f33358 03:14:28 Step 11/12 : COPY . . 03:14:28 ---> 8f2c39a246f5 03:14:28 Step 12/12 : RUN $MAKE 03:14:28 ---> Running in 3751327c1d8b 03:14:29 noop 03:14:30 Removing intermediate container 3751327c1d8b 03:14:30 ---> 96eeb754a822 03:14:30 Successfully built 96eeb754a822 03:14:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:14:30 + docker inspect -f . ci-base-image-arm64 03:14:30 . [Pipeline] withDockerContainer 03:14:31 prd-ubuntu20.04-docker-arm64-4c-16g-33421 does not seem to be running inside a container 03:14:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:14:32 $ docker top 6b18f08db46e4d1c23176398baa76127eb4add3fe181ce53d14b0141eb26604f -eo pid,comm [Pipeline] { [Pipeline] sh 03:14:33 + go version 03:14:33 go version go1.17.6 linux/arm64 [Pipeline] } 03:14:33 $ docker stop --time=1 6b18f08db46e4d1c23176398baa76127eb4add3fe181ce53d14b0141eb26604f 03:14:35 $ docker rm -f 6b18f08db46e4d1c23176398baa76127eb4add3fe181ce53d14b0141eb26604f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:14:35 + docker inspect -f . ci-base-image-arm64 03:14:35 . [Pipeline] withDockerContainer 03:14:35 prd-ubuntu20.04-docker-arm64-4c-16g-33421 does not seem to be running inside a container 03:14:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:14:37 $ docker top 2ec1f72200a0720dd19e95b84d07c88dc79e7beca0fb703c14782b0cd4ba6f88 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:14:38 + make test 03:14:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:14:40 ? github.com/edgexfoundry/device-rest-go [no test files] 03:16:17 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:16:17 ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 55.2% of statements 03:16:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:16:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:16:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:16:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:16:35 ./bin/test-attribution-txt.sh 03:16:35 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 03:16:36 make: *** [Makefile:46: test] Error 1 [Pipeline] } 03:16:36 $ docker stop --time=1 2ec1f72200a0720dd19e95b84d07c88dc79e7beca0fb703c14782b0cd4ba6f88 03:16:38 $ docker rm -f 2ec1f72200a0720dd19e95b84d07c88dc79e7beca0fb703c14782b0cd4ba6f88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:16:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:16:39 03:16:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:16:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:16:39 arm64: Pulling from edgex-lftools-log-publisher 03:16:39 8998bd30e6a1: Pulling fs layer 03:16:39 04944245beec: Pulling fs layer 03:16:39 699f458cf7ca: Pulling fs layer 03:16:39 765212b225bb: Pulling fs layer 03:16:39 f23df028b6ca: Pulling fs layer 03:16:39 d65c8cfc05b1: Pulling fs layer 03:16:39 2437ff75d9bd: Pulling fs layer 03:16:39 765212b225bb: Waiting 03:16:39 f23df028b6ca: Waiting 03:16:39 d65c8cfc05b1: Waiting 03:16:39 2437ff75d9bd: Waiting 03:16:39 04944245beec: Verifying Checksum 03:16:39 04944245beec: Download complete 03:16:39 765212b225bb: Download complete 03:16:39 f23df028b6ca: Verifying Checksum 03:16:39 f23df028b6ca: Download complete 03:16:39 d65c8cfc05b1: Verifying Checksum 03:16:39 d65c8cfc05b1: Download complete 03:16:39 699f458cf7ca: Verifying Checksum 03:16:39 699f458cf7ca: Download complete 03:16:40 8998bd30e6a1: Download complete 03:16:42 2437ff75d9bd: Verifying Checksum 03:16:42 2437ff75d9bd: Download complete 03:16:44 8998bd30e6a1: Pull complete 03:16:44 04944245beec: Pull complete 03:16:46 699f458cf7ca: Pull complete 03:16:46 765212b225bb: Pull complete 03:16:47 f23df028b6ca: Pull complete 03:16:47 d65c8cfc05b1: Pull complete 03:17:02 2437ff75d9bd: Pull complete 03:17:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:17:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:17:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:17:03 prd-ubuntu20.04-docker-arm64-4c-16g-33421 does not seem to be running inside a container 03:17:03 $ 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/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:17:06 $ docker top f8c9e7b316bf19e51d79cd4370257c7c136ba281a521accccedee2ee1f755200 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:17:07 ---> job-cost.sh 03:17:07 lf-activate-venv: SKIPPING 03:17:07 INFO: No Stack... 03:17:07 INFO: Retrieving Pricing Info for: v3-standard-4 03:17:08 INFO: Archiving Costs [Pipeline] sh 03:17:09 + + cat /w/workspace/device-rest-go/2/archives/cost.csv 03:17:09 cut -d, -f6 [Pipeline] lock 03:17:09 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] 03:17:09 Resource [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] did not exist. Created. 03:17:09 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:17:10 /w/workspace/device-rest-go/2@tmp/durable-91b6a93e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:17:10 + echo total: 0.10999999940395355 [Pipeline] stash 03:17:10 Warning: overwriting stash ‘stack-cost’ 03:17:11 Stashed 1 file(s) [Pipeline] } 03:17:11 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:17:11 $ docker stop --time=1 f8c9e7b316bf19e51d79cd4370257c7c136ba281a521accccedee2ee1f755200 03:17:12 $ docker rm -f f8c9e7b316bf19e51d79cd4370257c7c136ba281a521accccedee2ee1f755200 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:17:13 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:17:13 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-179/archives ] 03:17:13 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-179/archives 03:17:13 total 16 03:17:13 drwxr-xr-x 3 root root 4096 Apr 27 03:10 . 03:17:13 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 03:10 .. 03:17:13 drwxr-xr-x 2 root root 4096 Apr 27 03:10 cost 03:17:13 -rw-r--r-- 1 root root 85 Apr 27 03:10 cost.csv 03:17:13 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-179/archives 03:17:13 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-179/archives 03:17:13 total 16 03:17:13 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 03:10 . 03:17:13 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 03:10 .. 03:17:13 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 03:10 cost 03:17:13 -rw-r--r-- 1 jenkins jenkins 85 Apr 27 03:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:17:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:17:15 ---> package-listing.sh 03:17:15 ++ facter osfamily 03:17:15 ++ tr '[:upper:]' '[:lower:]' 03:17:15 + OS_FAMILY=debian 03:17:15 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-179 03:17:15 + START_PACKAGES=/tmp/packages_start.txt 03:17:15 + END_PACKAGES=/tmp/packages_end.txt 03:17:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:17:15 + PACKAGES=/tmp/packages_start.txt 03:17:15 + '[' /w/workspace/gexfoundry_device-rest-go_PR-179 ']' 03:17:15 + PACKAGES=/tmp/packages_end.txt 03:17:15 + case "${OS_FAMILY}" in 03:17:15 + dpkg -l 03:17:15 + grep '^ii' 03:17:15 + '[' -f /tmp/packages_start.txt ']' 03:17:15 + '[' -f /tmp/packages_end.txt ']' 03:17:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:17:15 + '[' /w/workspace/gexfoundry_device-rest-go_PR-179 ']' 03:17:15 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-179/archives/ 03:17:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-179/archives/ [Pipeline] echo 03:17:15 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-179/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:17:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:17:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:17:16 . [Pipeline] withDockerContainer 03:17:16 prd-ubuntu20.04-docker-8c-8g-33419 does not seem to be running inside a container 03:17:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-179/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:17:16 $ docker top 1e618bbb59e2520551f0255052a7149948a4fd8e42e95862d2e3e79261b962f2 -eo pid,comm [Pipeline] { [Pipeline] sh 03:17:16 + touch /tmp/pre-build-complete [Pipeline] sh 03:17:17 + mkdir -p /var/log/sysstat [Pipeline] sh 03:17:17 + ls /var/log/sa-host 03:17:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:17:17 provisioning config files... 03:17:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/config5418052706202913765tmp [Pipeline] { [Pipeline] echo 03:17:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:17:18 ---> create-netrc.sh [Pipeline] } 03:17:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:17:18 ---> python-tools-install.sh [Pipeline] echo 03:17:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:17:18 ---> sudo-logs.sh 03:17:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:17:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:17:19 ---> job-cost.sh 03:17:19 lf-activate-venv: SKIPPING 03:17:19 DEBUG: total: 0.2199999988079071 03:17:19 INFO: Retrieving Stack Cost... 03:17:19 INFO: Retrieving Pricing Info for: v3-standard-8 03:17:19 INFO: Archiving Costs [Pipeline] echo 03:17:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:17:20 ---> logs-deploy.sh 03:17:20 lf-activate-venv: SKIPPING 03:17:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-179/2 03:17:20 INFO: archiving workspace using pattern(s): 03:17:21 Archives upload complete. 03:17:21 INFO: archiving logs to Nexus