Pull request #193 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 957d6cd4a1bfbb5f83082f797b007b589f007ffd+e1fcaedc117190cf91a20be56ea49244ed6da75f (aae0e813dab5fe1c971c321dab3205f05b749b93) 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-ssh8121117733064325098.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh9241206220998789932.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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/device-rest-go/branches/PR-193/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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/device-rest-go/branches/PR-193/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11699196403016047440.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/device-rest-go/branches/PR-193/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10585891796973358291.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 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-ssh3754146217627370560.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/device-rest-go/branches/PR-193/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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/device-rest-go/branches/PR-193/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2906190197807828703.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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 Running on prd-ubuntu20.04-docker-8c-8g-588 in /w/workspace/gexfoundry_device-rest-go_PR-193 [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-193 # 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 Merging remotes/origin/jakarta commit e1fcaedc117190cf91a20be56ea49244ed6da75f into PR head commit 957d6cd4a1bfbb5f83082f797b007b589f007ffd Merge succeeded, producing 957d6cd4a1bfbb5f83082f797b007b589f007ffd Checking out Revision 957d6cd4a1bfbb5f83082f797b007b589f007ffd (PR-193) > 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/193/head:refs/remotes/origin/PR-193 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 957d6cd4a1bfbb5f83082f797b007b589f007ffd # 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 e1fcaedc117190cf91a20be56ea49244ed6da75f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 957d6cd4a1bfbb5f83082f797b007b589f007ffd # timeout=10 Commit message: "build: Update SDK to version with 2.1.1 patch fixes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:33:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:33:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:33:22 ========================================================= 22:33:22 EdgeX Global Pipelines Version Info 22:33:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:33:23 ------------------- 22:33:23 stable info: 22:33:23 ------------------- 22:33:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:33:23 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:33:23 Message: update stable to v1.0.230 22:33:24 ------------------- 22:33:24 experimental info: 22:33:24 ------------------- 22:33:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:33:24 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 22:33:24 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:33:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:33:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:33:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:33:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:33:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:33:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:33:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-193 [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-193 [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-193 [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 957d6cd4a1bfbb5f83082f797b007b589f007ffd [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 957d6cd [Pipeline] echo 22:33:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:33:25 provisioning config files... 22:33:25 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-193@tmp/config6380641602583372572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:33:26 ---> docker-login.sh 22:33:26 nexus3.edgexfoundry.org:10001 22:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:26 Configure a credential helper to remove this warning. See 22:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:26 22:33:26 Login Succeeded 22:33:26 nexus3.edgexfoundry.org:10002 22:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:26 Configure a credential helper to remove this warning. See 22:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:26 22:33:26 Login Succeeded 22:33:26 nexus3.edgexfoundry.org:10003 22:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:27 Configure a credential helper to remove this warning. See 22:33:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:27 22:33:27 Login Succeeded 22:33:27 nexus3.edgexfoundry.org:10004 22:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:27 Configure a credential helper to remove this warning. See 22:33:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:27 22:33:27 Login Succeeded 22:33:27 docker.io 22:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:27 Configure a credential helper to remove this warning. See 22:33:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:27 22:33:27 Login Succeeded 22:33:27 ---> docker-login.sh ends [Pipeline] } 22:33:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:33:28 + git rev-list -1 --merges 957d6cd4a1bfbb5f83082f797b007b589f007ffd~1..957d6cd4a1bfbb5f83082f797b007b589f007ffd [Pipeline] echo 22:33:28 -----------> git rev-list -1 --merges 957d6cd4a1bfbb5f83082f797b007b589f007ffd~1..957d6cd4a1bfbb5f83082f797b007b589f007ffd 957d6cd4a1bfbb5f83082f797b007b589f007ffd [false] [Pipeline] sh 22:33:28 + git log --format=format:%s -1 957d6cd4a1bfbb5f83082f797b007b589f007ffd [Pipeline] echo 22:33:28 ========================================================= 22:33:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:33:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:33:29 + git log --format=format:%s -1 957d6cd4a1bfbb5f83082f797b007b589f007ffd [Pipeline] echo 22:33:29 [semverPrep] GIT_COMMIT: 957d6cd4a1bfbb5f83082f797b007b589f007ffd, Commit Message: build: Update SDK to version with 2.1.1 patch fixes [Pipeline] echo 22:33:29 [semverPrep] This is not a build commit. [Pipeline] sh 22:33:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:33:29 + grep -v github /etc/ssh/ssh_known_hosts 22:33:29 + [ -e /tmp/ssh_known_hosts ] 22:33:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:33:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:33:29 + sudo tee -a /etc/ssh/ssh_known_hosts 22:33:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:33:30 22:33:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:33:30 latest: Pulling from edgex-devops/py-git-semver 22:33:30 1fe172e4850f: Pulling fs layer 22:33:30 caf521ccaac6: Pulling fs layer 22:33:30 3ead6fa29328: Pulling fs layer 22:33:30 5c2a1cbceb83: Pulling fs layer 22:33:30 a8d5f1318db7: Pulling fs layer 22:33:30 c427282e49a2: Pulling fs layer 22:33:30 1827001aaf11: Pulling fs layer 22:33:30 0714d37db230: Pulling fs layer 22:33:30 ac28cf19c067: Pulling fs layer 22:33:30 ca983d60f3e2: Pulling fs layer 22:33:30 9f894cec8388: Pulling fs layer 22:33:30 ac28cf19c067: Waiting 22:33:30 9f894cec8388: Waiting 22:33:30 1827001aaf11: Waiting 22:33:30 0714d37db230: Waiting 22:33:30 ca983d60f3e2: Waiting 22:33:30 a8d5f1318db7: Waiting 22:33:30 5c2a1cbceb83: Waiting 22:33:30 c427282e49a2: Waiting 22:33:30 caf521ccaac6: Download complete 22:33:30 5c2a1cbceb83: Download complete 22:33:30 a8d5f1318db7: Verifying Checksum 22:33:30 a8d5f1318db7: Download complete 22:33:30 3ead6fa29328: Verifying Checksum 22:33:30 3ead6fa29328: Download complete 22:33:30 c427282e49a2: Verifying Checksum 22:33:30 c427282e49a2: Download complete 22:33:30 0714d37db230: Download complete 22:33:30 ac28cf19c067: Verifying Checksum 22:33:30 ac28cf19c067: Download complete 22:33:30 ca983d60f3e2: Download complete 22:33:30 9f894cec8388: Download complete 22:33:30 1fe172e4850f: Download complete 22:33:30 1827001aaf11: Verifying Checksum 22:33:30 1827001aaf11: Download complete 22:33:31 1fe172e4850f: Pull complete 22:33:32 caf521ccaac6: Pull complete 22:33:32 3ead6fa29328: Pull complete 22:33:32 5c2a1cbceb83: Pull complete 22:33:33 a8d5f1318db7: Pull complete 22:33:33 c427282e49a2: Pull complete 22:33:34 1827001aaf11: Pull complete 22:33:34 0714d37db230: Pull complete 22:33:35 ac28cf19c067: Pull complete 22:33:35 ca983d60f3e2: Pull complete 22:33:35 9f894cec8388: Pull complete 22:33:35 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 22:33:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:33:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:35 prd-ubuntu20.04-docker-8c-8g-588 does not seem to be running inside a container 22:33:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-193 -v /w/workspace/gexfoundry_device-rest-go_PR-193:/w/workspace/gexfoundry_device-rest-go_PR-193:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-193@tmp:/w/workspace/gexfoundry_device-rest-go_PR-193@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-devops/py-git-semver:latest cat 22:33:37 $ docker top 205022f65f555a1e6fe1d348be4bcdda952f7571d424943bc2010de869033bfb -eo pid,comm 22:33:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:33:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:33:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:33:37 [ssh-agent] Looking for ssh-agent implementation... 22:33:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:33:37 $ docker exec 205022f65f555a1e6fe1d348be4bcdda952f7571d424943bc2010de869033bfb ssh-agent 22:33:37 SSH_AUTH_SOCK=/tmp/ssh-GBg481hWwAeo/agent.33 22:33:37 SSH_AGENT_PID=40 22:33:37 Running ssh-add (command line suppressed) 22:33:38 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-193@tmp/private_key_5449200601801601750.key (/w/workspace/gexfoundry_device-rest-go_PR-193@tmp/private_key_5449200601801601750.key) 22:33:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:33:38 + git tag --points-at HEAD [Pipeline] } 22:33:38 $ docker exec --env ******** --env ******** 205022f65f555a1e6fe1d348be4bcdda952f7571d424943bc2010de869033bfb ssh-agent -k 22:33:38 unset SSH_AUTH_SOCK; 22:33:38 unset SSH_AGENT_PID; 22:33:38 echo Agent pid 40 killed; 22:33:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:33:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:33:38 [ssh-agent] Looking for ssh-agent implementation... 22:33:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:33:38 $ docker exec 205022f65f555a1e6fe1d348be4bcdda952f7571d424943bc2010de869033bfb ssh-agent 22:33:38 SSH_AUTH_SOCK=/tmp/ssh-yvvFaEVhTA0Y/agent.76 22:33:38 SSH_AGENT_PID=82 22:33:38 Running ssh-add (command line suppressed) 22:33:39 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-193@tmp/private_key_4641514185439409814.key (/w/workspace/gexfoundry_device-rest-go_PR-193@tmp/private_key_4641514185439409814.key) 22:33:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:33:39 + git semver init 22:33:39 2022-06-01 22:33:39,615 [run_init] DEBUG init version:0.0.0 force:False 22:33:39 2022-06-01 22:33:39,615 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-193/.semver 22:33:39 2022-06-01 22:33:39,616 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-193/.semver 22:33:39 2022-06-01 22:33:39,616 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-193/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-193, universal_newlines=False, shell=None, istream=None) 22:33:40 2022-06-01 22:33:40,528 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-193/.git/info/exclude 22:33:40 2022-06-01 22:33:40,529 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-193/.semver/PR-193 with force:False 22:33:40 2022-06-01 22:33:40,529 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-193/.semver/PR-193 22:33:40 2022-06-01 22:33:40,533 [execute] INFO git cat-file --batch-check 22:33:40 2022-06-01 22:33:40,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-193/.semver, universal_newlines=False, shell=None, istream=) 22:33:40 2022-06-01 22:33:40,539 [execute] INFO git cat-file --batch 22:33:40 2022-06-01 22:33:40,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-193/.semver, universal_newlines=False, shell=None, istream=) 22:33:40 2022-06-01 22:33:40,545 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-193/.semver/PR-193 22:33:40 0.0.0 [Pipeline] } 22:33:40 $ docker exec --env ******** --env ******** 205022f65f555a1e6fe1d348be4bcdda952f7571d424943bc2010de869033bfb ssh-agent -k 22:33:40 unset SSH_AUTH_SOCK; 22:33:40 unset SSH_AGENT_PID; 22:33:40 echo Agent pid 82 killed; 22:33:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:33:41 + git semver [Pipeline] } 22:33:41 $ docker stop --time=1 205022f65f555a1e6fe1d348be4bcdda952f7571d424943bc2010de869033bfb 22:33:42 $ docker rm -f 205022f65f555a1e6fe1d348be4bcdda952f7571d424943bc2010de869033bfb [Pipeline] // withDockerContainer [Pipeline] sh 22:33:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:33:43 Stashed 1 file(s) [Pipeline] echo 22:33:43 [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 22:33:44 provisioning config files... 22:33:44 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-193@tmp/config6303989003634083937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:33:44 ---> docker-login.sh 22:33:44 nexus3.edgexfoundry.org:10001 22:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:44 Configure a credential helper to remove this warning. See 22:33:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:44 22:33:44 Login Succeeded 22:33:44 nexus3.edgexfoundry.org:10002 22:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:44 Configure a credential helper to remove this warning. See 22:33:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:44 22:33:44 Login Succeeded 22:33:44 nexus3.edgexfoundry.org:10003 22:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:44 Configure a credential helper to remove this warning. See 22:33:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:44 22:33:44 Login Succeeded 22:33:44 nexus3.edgexfoundry.org:10004 22:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:45 Configure a credential helper to remove this warning. See 22:33:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:45 22:33:45 Login Succeeded 22:33:45 docker.io 22:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:45 Configure a credential helper to remove this warning. See 22:33:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:45 22:33:45 Login Succeeded 22:33:45 ---> docker-login.sh ends [Pipeline] } 22:33:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:33:45 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:33:45 ========================================================= 22:33:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 22:33:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 22:33:46 Sending build context to Docker daemon 21.61MB 22:33:46 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 22:33:46 Step 2/11 : FROM ${BASE} AS builder 22:33:46 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 22:33:46 59bf1c3509f3: Pulling fs layer 22:33:46 666ba61612fd: Pulling fs layer 22:33:46 8ed8ca486205: Pulling fs layer 22:33:46 4fe6c5a15a65: Pulling fs layer 22:33:46 22a0e8bec74d: Pulling fs layer 22:33:46 812f408151ee: Pulling fs layer 22:33:46 bab7bd504b26: Pulling fs layer 22:33:46 070449caade9: Pulling fs layer 22:33:46 8f1a5288e3a6: Pulling fs layer 22:33:46 4fe6c5a15a65: Waiting 22:33:46 22a0e8bec74d: Waiting 22:33:46 812f408151ee: Waiting 22:33:46 bab7bd504b26: Waiting 22:33:46 070449caade9: Waiting 22:33:46 8f1a5288e3a6: Waiting 22:33:46 8ed8ca486205: Download complete 22:33:46 666ba61612fd: Download complete 22:33:46 22a0e8bec74d: Verifying Checksum 22:33:46 22a0e8bec74d: Download complete 22:33:46 812f408151ee: Verifying Checksum 22:33:46 812f408151ee: Download complete 22:33:46 bab7bd504b26: Verifying Checksum 22:33:46 bab7bd504b26: Download complete 22:33:46 59bf1c3509f3: Verifying Checksum 22:33:46 59bf1c3509f3: Download complete 22:33:46 070449caade9: Verifying Checksum 22:33:46 070449caade9: Download complete 22:33:46 59bf1c3509f3: Pull complete 22:33:46 666ba61612fd: Pull complete 22:33:46 8ed8ca486205: Pull complete 22:33:47 8f1a5288e3a6: Verifying Checksum 22:33:47 8f1a5288e3a6: Download complete 22:33:47 4fe6c5a15a65: Verifying Checksum 22:33:47 4fe6c5a15a65: Download complete 22:33:51 4fe6c5a15a65: Pull complete 22:33:51 22a0e8bec74d: Pull complete 22:33:51 812f408151ee: Pull complete 22:33:51 bab7bd504b26: Pull complete 22:33:51 070449caade9: Pull complete 22:33:53 8f1a5288e3a6: Pull complete 22:33:53 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 22:33:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 22:33:53 ---> c47586b81864 22:33:53 Step 3/11 : ARG MAKE='make build' 22:33:55 ---> Running in 672e4d5876eb 22:33:55 Removing intermediate container 672e4d5876eb 22:33:55 ---> e7e63031d79b 22:33:55 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:33:55 ---> Running in 2c3a10843edb 22:33:55 Removing intermediate container 2c3a10843edb 22:33:55 ---> 623d5625284c 22:33:55 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 22:33:55 ---> Running in e1c5dae53f1f 22:33:56 Removing intermediate container e1c5dae53f1f 22:33:56 ---> 2083cf266ae0 22:33:56 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:33:56 ---> Running in b308045b7c89 22:33:56 Removing intermediate container b308045b7c89 22:33:56 ---> cc66a9cdfc25 22:33:56 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:33:56 ---> Running in ee986b192e72 22:33:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:33:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:33:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 22:33:58 (2/4) Installing libedit (20210910.3.1-r0) 22:33:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 22:33:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 22:33:58 Executing busybox-1.34.1-r3.trigger 22:33:58 OK: 224 MiB in 56 packages 22:33:58 Removing intermediate container ee986b192e72 22:33:58 ---> 1f6888c21fd9 22:33:58 Step 8/11 : WORKDIR /device-rest-go 22:33:59 Still waiting to schedule task 22:33:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:33:59 ---> Running in e4e07c73bb40 22:33:59 Removing intermediate container e4e07c73bb40 22:33:59 ---> edc4db591aba 22:33:59 Step 9/11 : COPY . . 22:34:00 ---> 0f7179ae6e6f 22:34:00 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:34:00 ---> Running in 44487074a30b 22:34:00 skipping... 22:34:00 Removing intermediate container 44487074a30b 22:34:00 ---> 515fda6a8917 22:34:00 Step 11/11 : RUN $MAKE 22:34:00 ---> Running in b7507ec8ab80 22:34:01 noop 22:34:01 Removing intermediate container b7507ec8ab80 22:34:01 ---> 0453a04f0500 22:34:01 Successfully built 0453a04f0500 22:34:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:02 + docker inspect -f . ci-base-image-x86_64 22:34:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:34:02 prd-ubuntu20.04-docker-8c-8g-588 does not seem to be running inside a container 22:34:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-193 -v /w/workspace/gexfoundry_device-rest-go_PR-193:/w/workspace/gexfoundry_device-rest-go_PR-193:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-193@tmp:/w/workspace/gexfoundry_device-rest-go_PR-193@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 22:34:02 $ docker top 429a5db6158f0bfb9ab0ad8b51f9001512981ab9c659ae44156b17cdf62c4e41 -eo pid,comm [Pipeline] { [Pipeline] sh 22:34:03 + go version 22:34:03 go version go1.17.6 linux/amd64 [Pipeline] } 22:34:03 $ docker stop --time=1 429a5db6158f0bfb9ab0ad8b51f9001512981ab9c659ae44156b17cdf62c4e41 22:34:04 $ docker rm -f 429a5db6158f0bfb9ab0ad8b51f9001512981ab9c659ae44156b17cdf62c4e41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:05 + docker inspect -f . ci-base-image-x86_64 22:34:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:34:05 prd-ubuntu20.04-docker-8c-8g-588 does not seem to be running inside a container 22:34:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-193 -v /w/workspace/gexfoundry_device-rest-go_PR-193:/w/workspace/gexfoundry_device-rest-go_PR-193:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-193@tmp:/w/workspace/gexfoundry_device-rest-go_PR-193@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 22:34:06 $ docker top c42d39825844fc1f91dff4aa1aa8c3bd16619a9dea7dd725440dee2be67cff3d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:34:06 + make test 22:34:06 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:34:06 ? github.com/edgexfoundry/device-rest-go [no test files] 22:34:13 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:34:13 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 56.0% of statements 22:34:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:34:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:34:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:34:16 ./bin/test-attribution-txt.sh 22:34:17 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1-dev.3 22:34:17 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 22:34:17 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 22:34:17 go: downloading github.com/gorilla/mux v1.8.0 22:34:17 go: downloading github.com/spf13/cast v1.4.1 22:34:17 go: downloading github.com/stretchr/testify v1.7.0 22:34:17 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 22:34:17 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:34:17 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 22:34:17 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 22:34:17 go: downloading github.com/google/uuid v1.3.0 22:34:17 go: downloading github.com/pelletier/go-toml v1.9.4 22:34:17 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 22:34:17 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 22:34:17 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 22:34:17 go: downloading github.com/hashicorp/go-multierror v1.1.0 22:34:17 go: downloading github.com/hashicorp/consul/api v1.9.1 22:34:17 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:34:17 go: downloading github.com/OneOfOne/xxhash v1.2.8 22:34:17 go: downloading github.com/go-playground/validator/v10 v10.9.0 22:34:17 go: downloading github.com/go-kit/kit v0.11.0 22:34:17 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 22:34:17 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 22:34:17 go: downloading github.com/pebbe/zmq4 v1.2.7 22:34:17 go: downloading github.com/go-redis/redis/v7 v7.3.0 22:34:17 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:34:17 go: downloading github.com/go-logfmt/logfmt v0.5.0 22:34:17 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:34:17 go: downloading github.com/mitchellh/copystructure v1.0.0 22:34:17 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:34:17 go: downloading github.com/davecgh/go-spew v1.1.1 22:34:17 go: downloading github.com/pmezard/go-difflib v1.0.0 22:34:17 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 22:34:17 go: downloading golang.org/x/text v0.3.6 22:34:17 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 22:34:17 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:34:17 go: downloading github.com/hashicorp/errwrap v1.0.0 22:34:17 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:34:17 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:34:17 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:34:17 go: downloading github.com/hashicorp/serf v0.9.5 22:34:17 go: downloading github.com/x448/float16 v0.8.4 22:34:17 go: downloading github.com/gorilla/websocket v1.4.2 22:34:17 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:34:17 go: downloading github.com/go-playground/universal-translator v0.18.0 22:34:17 go: downloading github.com/leodido/go-urn v1.2.1 22:34:17 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 22:34:17 go: downloading github.com/mitchellh/go-homedir v1.1.0 22:34:17 go: downloading github.com/fatih/color v1.9.0 22:34:17 go: downloading github.com/mattn/go-colorable v0.1.6 22:34:17 go: downloading github.com/mattn/go-isatty v0.0.12 22:34:17 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 22:34:18 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:34:19 + go mod tidy 22:34:19 go: downloading github.com/go-stack/stack v1.8.0 22:34:19 go: downloading github.com/go-playground/assert/v2 v2.0.1 22:34:19 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 22:34:19 go: downloading github.com/stretchr/objx v0.1.1 22:34:19 go: downloading github.com/hashicorp/consul/sdk v0.8.0 22:34:19 go: downloading github.com/hashicorp/go-uuid v1.0.1 22:34:19 go: downloading github.com/onsi/ginkgo v1.10.1 22:34:19 go: downloading github.com/onsi/gomega v1.7.0 22:34:19 go: downloading github.com/hashicorp/go-msgpack v0.5.3 22:34:19 go: downloading github.com/hashicorp/memberlist v0.2.2 22:34:19 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:34:19 go: downloading github.com/pkg/errors v0.9.1 22:34:19 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 22:34:19 go: downloading github.com/kr/pretty v0.3.0 22:34:19 go: downloading github.com/rogpeppe/go-internal v1.8.0 22:34:19 go: downloading github.com/kr/text v0.2.0 22:34:19 go: downloading gopkg.in/yaml.v2 v2.3.0 22:34:19 go: downloading github.com/hpcloud/tail v1.0.0 22:34:19 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 22:34:19 go: downloading gopkg.in/fsnotify.v1 v1.4.7 22:34:19 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:34:19 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 22:34:19 go: downloading github.com/miekg/dns v1.1.26 22:34:19 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [Pipeline] } 22:34:19 $ docker stop --time=1 c42d39825844fc1f91dff4aa1aa8c3bd16619a9dea7dd725440dee2be67cff3d 22:34:22 $ docker rm -f c42d39825844fc1f91dff4aa1aa8c3bd16619a9dea7dd725440dee2be67cff3d [Pipeline] // withDockerContainer [Pipeline] sh 22:34:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:34:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:34:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:34:23 + ls -al . 22:34:23 total 184 22:34:23 drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 22:34 . 22:34:23 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 22:33 .. 22:34:23 -rw-rw-r-- 1 jenkins jenkins 151 Jun 1 22:33 .dockerignore 22:34:23 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 22:33 .git 22:34:23 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:33 .github 22:34:23 -rw-rw-r-- 1 jenkins jenkins 321 Jun 1 22:33 .gitignore 22:34:23 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 22:33 .semver 22:34:23 -rw-rw-r-- 1 jenkins jenkins 7095 Jun 1 22:33 Attribution.txt 22:34:23 -rw-rw-r-- 1 jenkins jenkins 7459 Jun 1 22:33 CHANGELOG.md 22:34:23 -rw-rw-r-- 1 jenkins jenkins 1649 Jun 1 22:33 Dockerfile 22:34:23 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 22:33 GOVERNANCE.md 22:34:23 -rw-rw-r-- 1 jenkins jenkins 680 Jun 1 22:33 Jenkinsfile 22:34:23 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 22:33 LICENSE 22:34:23 -rw-rw-r-- 1 jenkins jenkins 1078 Jun 1 22:33 Makefile 22:34:23 -rw-rw-r-- 1 jenkins jenkins 620 Jun 1 22:33 OWNERS.md 22:34:23 -rw-rw-r-- 1 jenkins jenkins 8246 Jun 1 22:33 README.md 22:34:23 -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 22:33 VERSION 22:34:23 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:33 bin 22:34:23 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:33 cmd 22:34:23 -rw-r--r-- 1 jenkins jenkins 9215 Jun 1 22:34 coverage.out 22:34:23 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:33 driver 22:34:23 -rw-rw-r-- 1 jenkins jenkins 277 Jun 1 22:34 go.mod 22:34:23 -rw-rw-r-- 1 jenkins jenkins 49354 Jun 1 22:33 go.sum 22:34:23 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:33 snap 22:34:23 drwxrwxr-x 6 jenkins jenkins 4096 Jun 1 22:33 vendor 22:34:23 -rw-rw-r-- 1 jenkins jenkins 713 Jun 1 22:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:24 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=957d6cd4a1bfbb5f83082f797b007b589f007ffd --label arch=amd64 --label version=0.0.0 . 22:34:24 Sending build context to Docker daemon 21.62MB 22:34:24 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 22:34:24 Step 2/24 : FROM ${BASE} AS builder 22:34:24 ---> 0453a04f0500 22:34:24 Step 3/24 : ARG MAKE='make build' 22:34:24 ---> Running in 84664cb244fa 22:34:24 Removing intermediate container 84664cb244fa 22:34:24 ---> 877eaa3bcc2c 22:34:24 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:34:24 ---> Running in 97eac16bf0ee 22:34:24 Removing intermediate container 97eac16bf0ee 22:34:24 ---> f4f0f6dedd55 22:34:24 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:34:24 ---> Running in 0ca2dce9b221 22:34:24 Removing intermediate container 0ca2dce9b221 22:34:24 ---> b550cc7f8d3d 22:34:24 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:34:24 ---> Running in 7ce45ac5b9a8 22:34:25 Removing intermediate container 7ce45ac5b9a8 22:34:25 ---> 920a1c03579a 22:34:25 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:34:25 ---> Running in 21186425152b 22:34:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:34:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:34:26 OK: 224 MiB in 56 packages 22:34:27 Removing intermediate container 21186425152b 22:34:27 ---> 55b0cb8c5e9e 22:34:27 Step 8/24 : WORKDIR /device-rest-go 22:34:27 ---> Running in de9e5ffef79a 22:34:27 Removing intermediate container de9e5ffef79a 22:34:27 ---> 15244a03f7ad 22:34:27 Step 9/24 : COPY . . 22:34:28 ---> 18329f5e88ed 22:34:28 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:34:28 ---> Running in 426c7f0ce5eb 22:34:28 skipping... 22:34:29 Removing intermediate container 426c7f0ce5eb 22:34:29 ---> ecdd0f0ed759 22:34:29 Step 11/24 : RUN $MAKE 22:34:29 ---> Running in 36d605ec5505 22:34:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 22:34:37 Removing intermediate container 36d605ec5505 22:34:37 ---> 2c2e5f3d78af 22:34:37 Step 12/24 : FROM alpine:3.14 22:34:37 3.14: Pulling from library/alpine 22:34:37 8663204ce13b: Pulling fs layer 22:34:37 8663204ce13b: Verifying Checksum 22:34:37 8663204ce13b: Download complete 22:34:37 8663204ce13b: Pull complete 22:34:38 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:34:38 Status: Downloaded newer image for alpine:3.14 22:34:38 ---> e04c818066af 22:34:38 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:34:38 ---> Running in 0d11e359b97b 22:34:38 Removing intermediate container 0d11e359b97b 22:34:38 ---> 8e0a10279d7a 22:34:38 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 22:34:38 ---> Running in 4f4c53ff15cd 22:34:38 Removing intermediate container 4f4c53ff15cd 22:34:38 ---> ce4f38b4dfb4 22:34:38 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:34:38 ---> Running in f6510b6ec4bc 22:34:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:34:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:34:39 (1/6) Installing dumb-init (1.2.5-r1) 22:34:39 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:34:39 (3/6) Installing libsodium (1.0.18-r0) 22:34:39 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:34:39 (5/6) Installing libzmq (4.3.4-r0) 22:34:39 (6/6) Installing zeromq (4.3.4-r0) 22:34:39 Executing busybox-1.33.1-r7.trigger 22:34:39 OK: 8 MiB in 20 packages 22:34:39 Removing intermediate container f6510b6ec4bc 22:34:39 ---> e721d1e053de 22:34:39 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 22:34:40 ---> a5df35808462 22:34:40 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 22:34:40 ---> 04edf9c1ed9f 22:34:40 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 22:34:40 ---> 7359b3da5d85 22:34:40 Step 19/24 : EXPOSE 59986 22:34:40 ---> Running in 8853408f9b95 22:34:40 Removing intermediate container 8853408f9b95 22:34:40 ---> 7ff39d01f00f 22:34:40 Step 20/24 : ENTRYPOINT ["/device-rest"] 22:34:40 ---> Running in 1091bc9beb30 22:34:40 Removing intermediate container 1091bc9beb30 22:34:40 ---> cfcde1fc3b64 22:34:40 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:34:40 ---> Running in 3e2379449703 22:34:40 Removing intermediate container 3e2379449703 22:34:40 ---> a06ba9a1c20e 22:34:40 Step 22/24 : LABEL arch=amd64 22:34:40 ---> Running in 0f83dbceca88 22:34:41 Removing intermediate container 0f83dbceca88 22:34:41 ---> f65d600b9010 22:34:41 Step 23/24 : LABEL git_sha=957d6cd4a1bfbb5f83082f797b007b589f007ffd 22:34:41 ---> Running in 1be0c7074115 22:34:41 Removing intermediate container 1be0c7074115 22:34:41 ---> cf244fd55744 22:34:41 Step 24/24 : LABEL version=0.0.0 22:34:41 ---> Running in 9bedecab6dbc 22:34:41 Removing intermediate container 9bedecab6dbc 22:34:41 ---> 04003774362f 22:34:41 [Warning] One or more build-args [ARCH] were not consumed 22:34:41 Successfully built 04003774362f 22:34:41 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 22:34:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:34:42 22:34:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:34:42 latest: Pulling from edgex-lftools-log-publisher 22:34:42 5eb5b503b376: Pulling fs layer 22:34:42 5c69ac0246d0: Pulling fs layer 22:34:42 ec43610c2a17: Pulling fs layer 22:34:42 3a2ae6a8a46f: Pulling fs layer 22:34:42 33b1e0a273af: Pulling fs layer 22:34:42 5d3b04190fa2: Pulling fs layer 22:34:42 2f39f015ded8: Pulling fs layer 22:34:42 33b1e0a273af: Waiting 22:34:42 5d3b04190fa2: Waiting 22:34:42 2f39f015ded8: Waiting 22:34:42 3a2ae6a8a46f: Waiting 22:34:42 5c69ac0246d0: Download complete 22:34:42 3a2ae6a8a46f: Download complete 22:34:42 ec43610c2a17: Verifying Checksum 22:34:42 ec43610c2a17: Download complete 22:34:42 33b1e0a273af: Verifying Checksum 22:34:42 33b1e0a273af: Download complete 22:34:42 5d3b04190fa2: Verifying Checksum 22:34:42 5d3b04190fa2: Download complete 22:34:42 5eb5b503b376: Verifying Checksum 22:34:42 5eb5b503b376: Download complete 22:34:43 2f39f015ded8: Download complete 22:34:43 5eb5b503b376: Pull complete 22:34:44 5c69ac0246d0: Pull complete 22:34:44 ec43610c2a17: Pull complete 22:34:44 3a2ae6a8a46f: Pull complete 22:34:45 33b1e0a273af: Pull complete 22:34:45 5d3b04190fa2: Pull complete 22:34:50 2f39f015ded8: Pull complete 22:34:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:34:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:34:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:34:50 prd-ubuntu20.04-docker-8c-8g-588 does not seem to be running inside a container 22:34:50 $ 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-193 -v /w/workspace/gexfoundry_device-rest-go_PR-193:/w/workspace/gexfoundry_device-rest-go_PR-193:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-193@tmp:/w/workspace/gexfoundry_device-rest-go_PR-193@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 22:34:52 $ docker top 05acda446c96ced3fe5c1dff7a61bbd6c2196f977f8832ca4b5da86e40823a9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:34:53 ---> job-cost.sh 22:34:53 lf-activate-venv: SKIPPING 22:34:53 INFO: No Stack... 22:34:53 INFO: Retrieving Pricing Info for: v3-standard-8 22:34:54 INFO: Archiving Costs [Pipeline] sh 22:34:54 + cat /w/workspace/gexfoundry_device-rest-go_PR-193/archives/cost.csv 22:34:54 + cut -d, -f6 [Pipeline] lock 22:34:54 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] 22:34:54 Resource [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] did not exist. Created. 22:34:54 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:34:54 + echo total: 0.2199999988079071 [Pipeline] stash 22:34:54 Stashed 1 file(s) [Pipeline] } 22:34:54 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:34:54 $ docker stop --time=1 05acda446c96ced3fe5c1dff7a61bbd6c2196f977f8832ca4b5da86e40823a9a 22:34:56 $ docker rm -f 05acda446c96ced3fe5c1dff7a61bbd6c2196f977f8832ca4b5da86e40823a9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:35:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-589 in /w/workspace/gexfoundry_device-rest-go_PR-193 [Pipeline] { [Pipeline] ws 22:35:38 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 22:35:38 The recommended git tool is: git 22:35:44 using credential edgex-jenkins-ssh 22:35:44 Cloning the remote Git repository 22:35:44 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:35:44 > git init /w/workspace/device-rest-go/1 # timeout=10 22:35:44 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:35:44 > git --version # timeout=10 22:35:44 > git --version # 'git version 2.25.1' 22:35:44 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:35:47 Merging remotes/origin/jakarta commit e1fcaedc117190cf91a20be56ea49244ed6da75f into PR head commit 957d6cd4a1bfbb5f83082f797b007b589f007ffd 22:35:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:35:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:35:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:35:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:35:46 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/193/head:refs/remotes/origin/PR-193 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 22:35:47 > git config core.sparsecheckout # timeout=10 22:35:47 > git checkout -f 957d6cd4a1bfbb5f83082f797b007b589f007ffd # timeout=10 22:35:47 Merge succeeded, producing 957d6cd4a1bfbb5f83082f797b007b589f007ffd 22:35:47 Checking out Revision 957d6cd4a1bfbb5f83082f797b007b589f007ffd (PR-193) 22:35:47 > git remote # timeout=10 22:35:47 > git config --get remote.origin.url # timeout=10 22:35:47 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:47 > git merge e1fcaedc117190cf91a20be56ea49244ed6da75f # timeout=10 22:35:47 > git rev-parse HEAD^{commit} # timeout=10 22:35:47 > git config core.sparsecheckout # timeout=10 22:35:47 > git checkout -f 957d6cd4a1bfbb5f83082f797b007b589f007ffd # timeout=10 22:35:52 Commit message: "build: Update SDK to version with 2.1.1 patch fixes" 22:35:52 > git --version # timeout=10 22:35:52 > git --version # 'git version 2.25.1' 22:35:52 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:35:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:35:53 % Total % Received % Xferd Average Speed Time Time Time Current 22:35:53 Dload Upload Total Spent Left Speed 22:35:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 99k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 22:35:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:35:54 + + sudo teesudo /etc/docker/daemon.new jq 22:35:54 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:35:54 { 22:35:54 "registry-mirrors": [ 22:35:54 "https://nexus3.edgexfoundry.org:10001" 22:35:54 ], 22:35:54 "bip": "10.250.0.254/24", 22:35:54 "hosts": [ 22:35:54 "tcp://0.0.0.0:5555", 22:35:54 "unix:///var/run/docker.sock" 22:35:54 ], 22:35:54 "mtu": 1458, 22:35:54 "selinux-enabled": true, 22:35:54 "seccomp-profile": "/etc/docker/seccomp.json" 22:35:54 } [Pipeline] sh 22:35:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:35:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:36:13 provisioning config files... 22:36:13 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config912644257378309255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:36:14 ---> docker-login.sh 22:36:14 nexus3.edgexfoundry.org:10001 22:36:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:36:15 Configure a credential helper to remove this warning. See 22:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:36:15 22:36:15 Login Succeeded 22:36:15 nexus3.edgexfoundry.org:10002 22:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:36:15 Configure a credential helper to remove this warning. See 22:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:36:15 22:36:15 Login Succeeded 22:36:15 nexus3.edgexfoundry.org:10003 22:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:36:15 Configure a credential helper to remove this warning. See 22:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:36:15 22:36:15 Login Succeeded 22:36:15 nexus3.edgexfoundry.org:10004 22:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:36:16 Configure a credential helper to remove this warning. See 22:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:36:16 22:36:16 Login Succeeded 22:36:16 docker.io 22:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:36:16 Configure a credential helper to remove this warning. See 22:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:36:16 22:36:16 Login Succeeded 22:36:16 ---> docker-login.sh ends [Pipeline] } 22:36:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:36:17 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:36:17 ========================================================= 22:36:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 22:36:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:36:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 22:36:18 Sending build context to Docker daemon 11.13MB 22:36:19 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 22:36:19 Step 2/11 : FROM ${BASE} AS builder 22:36:19 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 22:36:19 9b3977197b4f: Pulling fs layer 22:36:19 1a89e8eeedd5: Pulling fs layer 22:36:19 94645a83ff95: Pulling fs layer 22:36:19 3f3a8bcf1eab: Pulling fs layer 22:36:19 0c92f367c5e7: Pulling fs layer 22:36:19 63b1bc5785f6: Pulling fs layer 22:36:19 626d30ff41c6: Pulling fs layer 22:36:19 de1d54c125be: Pulling fs layer 22:36:19 3f3a8bcf1eab: Waiting 22:36:19 0c92f367c5e7: Waiting 22:36:19 63b1bc5785f6: Waiting 22:36:19 626d30ff41c6: Waiting 22:36:19 de1d54c125be: Waiting 22:36:19 94645a83ff95: Verifying Checksum 22:36:19 94645a83ff95: Download complete 22:36:19 1a89e8eeedd5: Verifying Checksum 22:36:19 1a89e8eeedd5: Download complete 22:36:19 0c92f367c5e7: Verifying Checksum 22:36:19 0c92f367c5e7: Download complete 22:36:19 9b3977197b4f: Verifying Checksum 22:36:19 9b3977197b4f: Download complete 22:36:19 63b1bc5785f6: Verifying Checksum 22:36:19 63b1bc5785f6: Download complete 22:36:19 626d30ff41c6: Verifying Checksum 22:36:19 626d30ff41c6: Download complete 22:36:20 9b3977197b4f: Pull complete 22:36:20 1a89e8eeedd5: Pull complete 22:36:20 94645a83ff95: Pull complete 22:36:21 de1d54c125be: Verifying Checksum 22:36:21 de1d54c125be: Download complete 22:36:21 3f3a8bcf1eab: Verifying Checksum 22:36:21 3f3a8bcf1eab: Download complete 22:36:34 3f3a8bcf1eab: Pull complete 22:36:34 0c92f367c5e7: Pull complete 22:36:34 63b1bc5785f6: Pull complete 22:36:34 626d30ff41c6: Pull complete 22:36:41 de1d54c125be: Pull complete 22:36:41 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 22:36:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 22:36:41 ---> 5f011755c4a2 22:36:41 Step 3/11 : ARG MAKE='make build' 22:36:42 ---> Running in 792c5bb3e675 22:36:42 Removing intermediate container 792c5bb3e675 22:36:42 ---> f8ce5391b6b9 22:36:42 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:36:42 ---> Running in de77dde5be8a 22:36:42 Removing intermediate container de77dde5be8a 22:36:42 ---> 966c153c1e46 22:36:42 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 22:36:42 ---> Running in 04ce022a8d59 22:36:43 Removing intermediate container 04ce022a8d59 22:36:43 ---> 5a32efe579ae 22:36:43 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:36:43 ---> Running in 5430ff59f56e 22:36:45 Removing intermediate container 5430ff59f56e 22:36:45 ---> 4548341a5889 22:36:45 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:36:45 ---> Running in 77d3fe2c055c 22:36:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:36:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:36:48 (1/4) Installing openssh-keygen (8.8_p1-r1) 22:36:48 (2/4) Installing libedit (20210910.3.1-r0) 22:36:48 (3/4) Installing openssh-client-common (8.8_p1-r1) 22:36:49 (4/4) Installing openssh-client-default (8.8_p1-r1) 22:36:49 Executing busybox-1.34.1-r3.trigger 22:36:49 OK: 224 MiB in 56 packages 22:36:50 Removing intermediate container 77d3fe2c055c 22:36:50 ---> 8d6dac22ba17 22:36:50 Step 8/11 : WORKDIR /device-rest-go 22:36:50 ---> Running in 0bc7f575d6fd 22:36:50 Removing intermediate container 0bc7f575d6fd 22:36:50 ---> 2757863ebea3 22:36:50 Step 9/11 : COPY . . 22:36:53 ---> de12d92fb3e0 22:36:53 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:36:53 ---> Running in 5234c865f5d0 22:36:54 skipping... 22:36:55 Removing intermediate container 5234c865f5d0 22:36:55 ---> 213c89a13f69 22:36:55 Step 11/11 : RUN $MAKE 22:36:55 ---> Running in 3d8cc92fea7e 22:36:56 noop 22:36:57 Removing intermediate container 3d8cc92fea7e 22:36:57 ---> a4b42c860dcb 22:36:57 Successfully built a4b42c860dcb 22:36:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:36:57 + docker inspect -f . ci-base-image-arm64 22:36:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:36:58 prd-ubuntu20.04-docker-arm64-4c-16g-589 does not seem to be running inside a container 22:36:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:36:59 $ docker top fa1b9300341aad08dcbbc2783cf62b39045ae9fd557a559806f0d1c94641ffff -eo pid,comm [Pipeline] { [Pipeline] sh 22:37:00 + go version 22:37:00 go version go1.17.6 linux/arm64 [Pipeline] } 22:37:00 $ docker stop --time=1 fa1b9300341aad08dcbbc2783cf62b39045ae9fd557a559806f0d1c94641ffff 22:37:01 $ docker rm -f fa1b9300341aad08dcbbc2783cf62b39045ae9fd557a559806f0d1c94641ffff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:02 + docker inspect -f . ci-base-image-arm64 22:37:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:37:03 prd-ubuntu20.04-docker-arm64-4c-16g-589 does not seem to be running inside a container 22:37:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:37:04 $ docker top 203dc2cee4ba1887ccf60ec039395993ce2c94128ed5517a93a260ae382580ba -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:37:05 + make test 22:37:05 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:37:06 ? github.com/edgexfoundry/device-rest-go [no test files] 22:37:53 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:37:55 ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 56.0% of statements 22:37:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:38:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:38:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:38:14 ./bin/test-attribution-txt.sh 22:38:14 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1-dev.3 22:38:14 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 22:38:14 go: downloading github.com/gorilla/mux v1.8.0 22:38:14 go: downloading github.com/spf13/cast v1.4.1 22:38:14 go: downloading github.com/stretchr/testify v1.7.0 22:38:15 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:38:15 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 22:38:15 go: downloading github.com/OneOfOne/xxhash v1.2.8 22:38:15 go: downloading github.com/google/uuid v1.3.0 22:38:15 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 22:38:15 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 22:38:15 go: downloading github.com/pelletier/go-toml v1.9.4 22:38:15 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 22:38:15 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 22:38:15 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 22:38:15 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 22:38:15 go: downloading github.com/hashicorp/go-multierror v1.1.0 22:38:15 go: downloading github.com/hashicorp/consul/api v1.9.1 22:38:15 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:38:15 go: downloading github.com/go-kit/kit v0.11.0 22:38:15 go: downloading github.com/go-playground/validator/v10 v10.9.0 22:38:15 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 22:38:15 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 22:38:15 go: downloading github.com/pebbe/zmq4 v1.2.7 22:38:15 go: downloading github.com/go-redis/redis/v7 v7.3.0 22:38:15 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:38:15 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:38:15 go: downloading github.com/mitchellh/copystructure v1.0.0 22:38:15 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:38:15 go: downloading github.com/go-logfmt/logfmt v0.5.0 22:38:15 go: downloading github.com/davecgh/go-spew v1.1.1 22:38:16 go: downloading github.com/pmezard/go-difflib v1.0.0 22:38:16 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 22:38:16 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 22:38:16 go: downloading golang.org/x/text v0.3.6 22:38:17 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:38:17 go: downloading github.com/hashicorp/errwrap v1.0.0 22:38:17 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:38:17 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:38:17 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:38:17 go: downloading github.com/hashicorp/serf v0.9.5 22:38:17 go: downloading github.com/x448/float16 v0.8.4 22:38:17 go: downloading github.com/go-playground/universal-translator v0.18.0 22:38:17 go: downloading github.com/leodido/go-urn v1.2.1 22:38:17 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 22:38:19 go: downloading github.com/gorilla/websocket v1.4.2 22:38:19 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:38:19 go: downloading github.com/fatih/color v1.9.0 22:38:19 go: downloading github.com/mattn/go-colorable v0.1.6 22:38:19 go: downloading github.com/mattn/go-isatty v0.0.12 22:38:19 go: downloading github.com/mitchellh/go-homedir v1.1.0 22:38:19 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 22:38:23 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 22:38:24 + go mod tidy 22:38:24 go: downloading github.com/go-playground/assert/v2 v2.0.1 22:38:24 go: downloading github.com/go-stack/stack v1.8.0 22:38:24 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 22:38:24 go: downloading github.com/stretchr/objx v0.1.1 22:38:24 go: downloading github.com/kr/pretty v0.3.0 22:38:24 go: downloading github.com/hashicorp/consul/sdk v0.8.0 22:38:24 go: downloading github.com/hashicorp/go-uuid v1.0.1 22:38:24 go: downloading github.com/onsi/ginkgo v1.10.1 22:38:24 go: downloading github.com/onsi/gomega v1.7.0 22:38:24 go: downloading github.com/kr/text v0.2.0 22:38:24 go: downloading github.com/rogpeppe/go-internal v1.8.0 22:38:24 go: downloading github.com/hashicorp/go-msgpack v0.5.3 22:38:25 go: downloading github.com/hashicorp/memberlist v0.2.2 22:38:25 go: downloading github.com/pkg/errors v0.9.1 22:38:25 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:38:25 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:38:25 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 22:38:25 go: downloading github.com/miekg/dns v1.1.26 22:38:25 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:38:25 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 22:38:25 go: downloading gopkg.in/yaml.v2 v2.3.0 22:38:25 go: downloading github.com/hpcloud/tail v1.0.0 22:38:25 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 22:38:25 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 22:38:25 $ docker stop --time=1 203dc2cee4ba1887ccf60ec039395993ce2c94128ed5517a93a260ae382580ba 22:38:28 $ docker rm -f 203dc2cee4ba1887ccf60ec039395993ce2c94128ed5517a93a260ae382580ba [Pipeline] // withDockerContainer [Pipeline] sh 22:38:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:38:30 Warning: overwriting stash ‘coverage-report’ 22:38:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:38:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:38:32 + ls -al . 22:38:32 total 180 22:38:32 drwxrwxr-x 9 jenkins jenkins 4096 Jun 1 22:38 . 22:38:32 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 22:35 .. 22:38:32 -rw-rw-r-- 1 jenkins jenkins 151 Jun 1 22:35 .dockerignore 22:38:32 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 22:35 .git 22:38:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:35 .github 22:38:32 -rw-rw-r-- 1 jenkins jenkins 321 Jun 1 22:35 .gitignore 22:38:32 -rw-rw-r-- 1 jenkins jenkins 7095 Jun 1 22:35 Attribution.txt 22:38:32 -rw-rw-r-- 1 jenkins jenkins 7459 Jun 1 22:35 CHANGELOG.md 22:38:32 -rw-rw-r-- 1 jenkins jenkins 1649 Jun 1 22:35 Dockerfile 22:38:32 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 22:35 GOVERNANCE.md 22:38:32 -rw-rw-r-- 1 jenkins jenkins 680 Jun 1 22:35 Jenkinsfile 22:38:32 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 22:35 LICENSE 22:38:32 -rw-rw-r-- 1 jenkins jenkins 1078 Jun 1 22:35 Makefile 22:38:32 -rw-rw-r-- 1 jenkins jenkins 620 Jun 1 22:35 OWNERS.md 22:38:32 -rw-rw-r-- 1 jenkins jenkins 8246 Jun 1 22:35 README.md 22:38:32 -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 22:33 VERSION 22:38:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:35 bin 22:38:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:35 cmd 22:38:32 -rw-r--r-- 1 jenkins jenkins 9215 Jun 1 22:37 coverage.out 22:38:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 22:35 driver 22:38:32 -rw-rw-r-- 1 jenkins jenkins 277 Jun 1 22:38 go.mod 22:38:32 -rw-rw-r-- 1 jenkins jenkins 49354 Jun 1 22:35 go.sum 22:38:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 22:35 snap 22:38:32 drwxrwxr-x 6 jenkins jenkins 4096 Jun 1 22:35 vendor 22:38:32 -rw-rw-r-- 1 jenkins jenkins 713 Jun 1 22:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:32 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=957d6cd4a1bfbb5f83082f797b007b589f007ffd --label arch=arm64 --label version=0.0.0 . 22:38:34 Sending build context to Docker daemon 11.14MB 22:38:34 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 22:38:34 Step 2/24 : FROM ${BASE} AS builder 22:38:34 ---> a4b42c860dcb 22:38:34 Step 3/24 : ARG MAKE='make build' 22:38:34 ---> Running in 5e99df7b2d73 22:38:34 Removing intermediate container 5e99df7b2d73 22:38:34 ---> 23ae81bf2851 22:38:34 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:38:34 ---> Running in 2a81d22db7d9 22:38:35 Removing intermediate container 2a81d22db7d9 22:38:35 ---> 64f84b65fc3c 22:38:35 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:38:35 ---> Running in cd3838a166f7 22:38:35 Removing intermediate container cd3838a166f7 22:38:35 ---> 1189df56a7a8 22:38:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:38:35 ---> Running in 54c651c21011 22:38:37 Removing intermediate container 54c651c21011 22:38:37 ---> 3a95705631b5 22:38:37 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:38:37 ---> Running in d22e9682cb8a 22:38:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:38:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:38:40 OK: 224 MiB in 56 packages 22:38:40 Removing intermediate container d22e9682cb8a 22:38:40 ---> 4641de4b0fb4 22:38:40 Step 8/24 : WORKDIR /device-rest-go 22:38:40 ---> Running in afb8d0f17756 22:38:41 Removing intermediate container afb8d0f17756 22:38:41 ---> 69adc6db9567 22:38:41 Step 9/24 : COPY . . 22:38:45 ---> f7deae9b8ef4 22:38:45 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:38:45 ---> Running in 150a291743b8 22:38:46 skipping... 22:38:47 Removing intermediate container 150a291743b8 22:38:47 ---> 1c1bf1f32fe4 22:38:47 Step 11/24 : RUN $MAKE 22:38:47 ---> Running in 6997945ce3d0 22:38:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 22:39:35 Removing intermediate container 6997945ce3d0 22:39:35 ---> cebaf0bf8c1c 22:39:35 Step 12/24 : FROM alpine:3.14 22:39:35 3.14: Pulling from library/alpine 22:39:35 455c02918c45: Pulling fs layer 22:39:35 455c02918c45: Download complete 22:39:35 455c02918c45: Pull complete 22:39:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:39:35 Status: Downloaded newer image for alpine:3.14 22:39:35 ---> ac73e934f311 22:39:35 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:39:35 ---> Running in f68838d2390b 22:39:35 Removing intermediate container f68838d2390b 22:39:35 ---> 090e71736283 22:39:35 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 22:39:35 ---> Running in 0e370a985169 22:39:35 Removing intermediate container 0e370a985169 22:39:35 ---> 49735bac67dd 22:39:35 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:39:35 ---> Running in adc808d88b33 22:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:39:35 (1/6) Installing dumb-init (1.2.5-r1) 22:39:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:39:35 (3/6) Installing libsodium (1.0.18-r0) 22:39:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:39:35 (5/6) Installing libzmq (4.3.4-r0) 22:39:35 (6/6) Installing zeromq (4.3.4-r0) 22:39:35 Executing busybox-1.33.1-r7.trigger 22:39:35 OK: 8 MiB in 20 packages 22:39:35 Removing intermediate container adc808d88b33 22:39:35 ---> 6a947fe9c0e5 22:39:35 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 22:39:36 ---> c170b79b447f 22:39:36 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 22:39:36 ---> 25f4f824cc68 22:39:36 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 22:39:37 ---> 48a5f7d02f8a 22:39:37 Step 19/24 : EXPOSE 59986 22:39:37 ---> Running in cc4efa653072 22:39:37 Removing intermediate container cc4efa653072 22:39:37 ---> 083a27515f49 22:39:37 Step 20/24 : ENTRYPOINT ["/device-rest"] 22:39:37 ---> Running in 02ea0bdc992e 22:39:37 Removing intermediate container 02ea0bdc992e 22:39:37 ---> 6cfd6e801bb8 22:39:37 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:39:37 ---> Running in 59c4e87af290 22:39:38 Removing intermediate container 59c4e87af290 22:39:38 ---> 9e3f65b6b839 22:39:38 Step 22/24 : LABEL arch=arm64 22:39:38 ---> Running in 0dc4c9d3a910 22:39:38 Removing intermediate container 0dc4c9d3a910 22:39:38 ---> 872b7d408b97 22:39:38 Step 23/24 : LABEL git_sha=957d6cd4a1bfbb5f83082f797b007b589f007ffd 22:39:38 ---> Running in 7b74c975c034 22:39:38 Removing intermediate container 7b74c975c034 22:39:38 ---> 7d0a6008230e 22:39:38 Step 24/24 : LABEL version=0.0.0 22:39:39 ---> Running in 380faccc1217 22:39:39 Removing intermediate container 380faccc1217 22:39:39 ---> 098ae0defe20 22:39:39 [Warning] One or more build-args [ARCH] were not consumed 22:39:39 Successfully built 098ae0defe20 22:39:39 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 22:39:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:39:40 22:39:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:39:41 arm64: Pulling from edgex-lftools-log-publisher 22:39:41 8998bd30e6a1: Pulling fs layer 22:39:41 04944245beec: Pulling fs layer 22:39:41 699f458cf7ca: Pulling fs layer 22:39:41 765212b225bb: Pulling fs layer 22:39:41 f23df028b6ca: Pulling fs layer 22:39:41 d65c8cfc05b1: Pulling fs layer 22:39:41 2437ff75d9bd: Pulling fs layer 22:39:41 f23df028b6ca: Waiting 22:39:41 d65c8cfc05b1: Waiting 22:39:41 2437ff75d9bd: Waiting 22:39:41 765212b225bb: Waiting 22:39:41 04944245beec: Verifying Checksum 22:39:41 04944245beec: Download complete 22:39:41 765212b225bb: Download complete 22:39:41 f23df028b6ca: Verifying Checksum 22:39:41 f23df028b6ca: Download complete 22:39:41 d65c8cfc05b1: Verifying Checksum 22:39:41 d65c8cfc05b1: Download complete 22:39:41 699f458cf7ca: Verifying Checksum 22:39:41 699f458cf7ca: Download complete 22:39:41 8998bd30e6a1: Download complete 22:39:44 2437ff75d9bd: Verifying Checksum 22:39:44 2437ff75d9bd: Download complete 22:39:45 8998bd30e6a1: Pull complete 22:39:46 04944245beec: Pull complete 22:39:47 699f458cf7ca: Pull complete 22:39:47 765212b225bb: Pull complete 22:39:48 f23df028b6ca: Pull complete 22:39:48 d65c8cfc05b1: Pull complete 22:40:04 2437ff75d9bd: Pull complete 22:40:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:40:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:40:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:04 prd-ubuntu20.04-docker-arm64-4c-16g-589 does not seem to be running inside a container 22:40:04 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:40:07 $ docker top a49ba431668ebdf40ade15d808f11759e450ff704ae3af58b31aa5a8d30f9d05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:08 ---> job-cost.sh 22:40:08 lf-activate-venv: SKIPPING 22:40:08 INFO: No Stack... 22:40:08 INFO: Retrieving Pricing Info for: v3-standard-4 22:40:09 INFO: Archiving Costs [Pipeline] sh 22:40:10 + cat /w/workspace/device-rest-go/1/archives/cost.csv 22:40:10 + cut -d, -f6 [Pipeline] lock 22:40:10 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] 22:40:10 Resource [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] did not exist. Created. 22:40:10 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:40:11 /w/workspace/device-rest-go/1@tmp/durable-cd6b5793/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:40:12 + echo total: 0.10999999940395355 [Pipeline] stash 22:40:12 Warning: overwriting stash ‘stack-cost’ 22:40:12 Stashed 1 file(s) [Pipeline] } 22:40:12 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-193-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:40:12 $ docker stop --time=1 a49ba431668ebdf40ade15d808f11759e450ff704ae3af58b31aa5a8d30f9d05 22:40:14 $ docker rm -f a49ba431668ebdf40ade15d808f11759e450ff704ae3af58b31aa5a8d30f9d05 [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 22:40:14 provisioning config files... 22:40:14 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-193@tmp/config9158689735846307653tmp [Pipeline] { [Pipeline] sh 22:40:15 + set +x 22:40:15 + curl -s https://codecov.io/bash 22:40:15 + bash -s -- 22:40:15 22:40:15 _____ _ 22:40:15 / ____| | | 22:40:15 | | ___ __| | ___ ___ _____ __ 22:40:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:40:15 | |___| (_) | (_| | __/ (_| (_) \ V / 22:40:15 \_____\___/ \__,_|\___|\___\___/ \_/ 22:40:15 Bash-1.0.6 22:40:15 22:40:15 22:40:15 ==> git version 2.25.1 found 22:40:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:40:15 Release-Date: 2020-01-08 22:40:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:40:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:40:15 ==> Jenkins CI detected. 22:40:15 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-193 22:40:15 project root: . 22:40:15 --> token set from env 22:40:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:40:15 ==> Running gcov in . (disable via -X gcov) 22:40:15 ==> Python coveragepy not found 22:40:15 ==> Searching for coverage reports in: 22:40:15 + . 22:40:15 -> Found 1 reports 22:40:15 ==> Detecting git/mercurial file structure 22:40:15 ==> Reading reports 22:40:15 + ./coverage.out bytes=9215 22:40:15 ==> Appending adjustments 22:40:15 https://docs.codecov.io/docs/fixing-reports 22:40:15 + Found adjustments 22:40:15 ==> Gzipping contents 22:40:15 12K /tmp/codecov.rMzjbh.gz 22:40:15 ==> Uploading reports 22:40:15 url: https://codecov.io 22:40:15 query: branch=PR-193&commit=957d6cd4a1bfbb5f83082f797b007b589f007ffd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-193%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=193&job=&cmd_args= 22:40:15 -> Pinging Codecov 22:40:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-193&commit=957d6cd4a1bfbb5f83082f797b007b589f007ffd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-193%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=193&job=&cmd_args= 22:40:15 -> Uploading to 22:40:15 https://storage.googleapis.com/codecov/v4/raw/2022-06-01/4E5D53B4F1F92C436F7061BF334D961C/957d6cd4a1bfbb5f83082f797b007b589f007ffd/4ad8c722-14f4-4cf8-9b79-fce86a538ff8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220601T224015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4022aec916c9fa274f827ebb8e19675e9c851af5c8ba8864b2c199c6437d4460 22:40:15 % Total % Received % Xferd Average Speed Time Time Time Current 22:40:15 Dload Upload Total Spent Left Speed 22:40:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8322 0 0 100 8322 0 34531 --:--:-- --:--:-- --:--:-- 34675 22:40:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/957d6cd4a1bfbb5f83082f797b007b589f007ffd [Pipeline] } 22:40:16 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 22:40:17 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-193/archives ] 22:40:17 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-193/archives 22:40:17 total 16 22:40:17 drwxr-xr-x 3 root root 4096 Jun 1 22:34 . 22:40:17 drwxrwxr-x 11 jenkins jenkins 4096 Jun 1 22:34 .. 22:40:17 drwxr-xr-x 2 root root 4096 Jun 1 22:34 cost 22:40:17 -rw-r--r-- 1 root root 85 Jun 1 22:34 cost.csv 22:40:17 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-193/archives 22:40:17 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-193/archives 22:40:17 total 16 22:40:17 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 22:34 . 22:40:17 drwxrwxr-x 11 jenkins jenkins 4096 Jun 1 22:34 .. 22:40:17 drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 22:34 cost 22:40:17 -rw-r--r-- 1 jenkins jenkins 85 Jun 1 22:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:40:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:40:19 ---> package-listing.sh 22:40:19 ++ facter osfamily 22:40:19 ++ tr '[:upper:]' '[:lower:]' 22:40:19 + OS_FAMILY=debian 22:40:19 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-193 22:40:19 + START_PACKAGES=/tmp/packages_start.txt 22:40:19 + END_PACKAGES=/tmp/packages_end.txt 22:40:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:40:19 + PACKAGES=/tmp/packages_start.txt 22:40:19 + '[' /w/workspace/gexfoundry_device-rest-go_PR-193 ']' 22:40:19 + PACKAGES=/tmp/packages_end.txt 22:40:19 + case "${OS_FAMILY}" in 22:40:19 + dpkg -l 22:40:19 + grep '^ii' 22:40:19 + '[' -f /tmp/packages_start.txt ']' 22:40:19 + '[' -f /tmp/packages_end.txt ']' 22:40:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:40:19 + '[' /w/workspace/gexfoundry_device-rest-go_PR-193 ']' 22:40:19 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-193/archives/ 22:40:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-193/archives/ [Pipeline] echo 22:40:19 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-193/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:40:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:40:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:20 prd-ubuntu20.04-docker-8c-8g-588 does not seem to be running inside a container 22:40:20 $ 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-193/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-193 -v /w/workspace/gexfoundry_device-rest-go_PR-193:/w/workspace/gexfoundry_device-rest-go_PR-193:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-193@tmp:/w/workspace/gexfoundry_device-rest-go_PR-193@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 22:40:20 $ docker top a3e9eed573a1115f333a3a65f0ea3d5ea9899f2cf535ad146da33d6afdc09f10 -eo pid,comm [Pipeline] { [Pipeline] sh 22:40:21 + touch /tmp/pre-build-complete [Pipeline] sh 22:40:21 + mkdir -p /var/log/sysstat [Pipeline] sh 22:40:21 + ls /var/log/sa-host 22:40:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:40:21 provisioning config files... 22:40:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-193@tmp/config77713102578909289tmp [Pipeline] { [Pipeline] echo 22:40:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:40:22 ---> create-netrc.sh [Pipeline] } 22:40:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:40:22 ---> python-tools-install.sh [Pipeline] echo 22:40:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:40:23 ---> sudo-logs.sh 22:40:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:40:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:40:23 ---> job-cost.sh 22:40:23 lf-activate-venv: SKIPPING 22:40:23 DEBUG: total: 0.2199999988079071 22:40:23 INFO: Retrieving Stack Cost... 22:40:24 INFO: Retrieving Pricing Info for: v3-standard-8 22:40:24 INFO: Archiving Costs [Pipeline] echo 22:40:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:40:24 ---> logs-deploy.sh 22:40:24 lf-activate-venv: SKIPPING 22:40:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-193/1 22:40:24 INFO: archiving workspace using pattern(s): 22:40:25 Archives upload complete. 22:40:25 INFO: archiving logs to Nexus