Pull request #216 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962+fa2594666deb171bc078c2a791882f5db0311ade (4015761ae08357c95bbaa61e7209388a0dbe8d10) 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-ssh6431265426976979502.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh6493788319042282679.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-216/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-216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3839664379199654172.key Verifying host key using known hosts file > 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-216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh177635699166280716.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh1057583343233539309.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-216/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-216/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7225863321643957206.key Verifying host key using known hosts file > 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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6931 in /w/workspace/gexfoundry_device-rest-go_PR-216 [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-216 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fa2594666deb171bc078c2a791882f5db0311ade into PR head commit 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 Merge succeeded, producing 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 Checking out Revision 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 (PR-216) > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge fa2594666deb171bc078c2a791882f5db0311ade # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:04:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:04:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:04:01 ========================================================= 20:04:01 EdgeX Global Pipelines Version Info 20:04:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:04:02 ------------------- 20:04:02 stable info: 20:04:02 ------------------- 20:04:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:04:02 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:04:02 Message: update stable to v1.0.239 20:04:02 ------------------- 20:04:02 experimental info: 20:04:02 ------------------- 20:04:02 Commited By: **** collab-it+edgex@linuxfoundation.org 20:04:02 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:04:02 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:04:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-216 [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-216 [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-216 [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0ab2c4c [Pipeline] echo 20:04:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:04 provisioning config files... 20:04:04 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp/config14269804630980664739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:05 ---> docker-login.sh 20:04:05 nexus3.edgexfoundry.org:10001 20:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:05 Configure a credential helper to remove this warning. See 20:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:05 20:04:05 Login Succeeded 20:04:05 nexus3.edgexfoundry.org:10002 20:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:05 Configure a credential helper to remove this warning. See 20:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:05 20:04:05 Login Succeeded 20:04:05 nexus3.edgexfoundry.org:10003 20:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:05 Configure a credential helper to remove this warning. See 20:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:05 20:04:05 Login Succeeded 20:04:05 nexus3.edgexfoundry.org:10004 20:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:05 Configure a credential helper to remove this warning. See 20:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:05 20:04:05 Login Succeeded 20:04:05 docker.io 20:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:06 Configure a credential helper to remove this warning. See 20:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:06 20:04:06 Login Succeeded 20:04:06 ---> docker-login.sh ends [Pipeline] } 20:04:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:04:07 + git rev-list -1 --merges 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962~1..0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [Pipeline] echo 20:04:07 -----------> git rev-list -1 --merges 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962~1..0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [false] [Pipeline] sh 20:04:07 + git log --format=format:%s -1 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [Pipeline] echo 20:04:07 ========================================================= 20:04:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:04:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:04:07 + git log --format=format:%s -1 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [Pipeline] echo 20:04:07 [semverPrep] GIT_COMMIT: 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 20:04:08 [semverPrep] This is not a build commit. [Pipeline] sh 20:04:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:04:08 + grep -v github /etc/ssh/ssh_known_hosts 20:04:08 + [ -e /tmp/ssh_known_hosts ] 20:04:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:04:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:04:08 + sudo tee -a /etc/ssh/ssh_known_hosts 20:04:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:08 20:04:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:09 0.1.4: Pulling from edgex-devops/py-git-semver 20:04:09 b85a868b505f: Pulling fs layer 20:04:09 e2be974225ed: Pulling fs layer 20:04:09 339a4e72a1f5: Pulling fs layer 20:04:09 988bab9f4d93: Pulling fs layer 20:04:09 1469e6f7b9e6: Pulling fs layer 20:04:09 eaf3925da568: Pulling fs layer 20:04:09 bab4dde63d76: Pulling fs layer 20:04:09 bde34c3a00c8: Pulling fs layer 20:04:09 b352a97aabf1: Pulling fs layer 20:04:09 4872d77fe225: Pulling fs layer 20:04:09 5851b861e8e6: Pulling fs layer 20:04:09 bab4dde63d76: Waiting 20:04:09 988bab9f4d93: Waiting 20:04:09 b352a97aabf1: Waiting 20:04:09 4872d77fe225: Waiting 20:04:09 5851b861e8e6: Waiting 20:04:09 1469e6f7b9e6: Waiting 20:04:09 eaf3925da568: Waiting 20:04:09 e2be974225ed: Verifying Checksum 20:04:09 e2be974225ed: Download complete 20:04:09 988bab9f4d93: Verifying Checksum 20:04:09 988bab9f4d93: Download complete 20:04:09 1469e6f7b9e6: Verifying Checksum 20:04:09 1469e6f7b9e6: Download complete 20:04:09 339a4e72a1f5: Verifying Checksum 20:04:09 339a4e72a1f5: Download complete 20:04:09 eaf3925da568: Verifying Checksum 20:04:09 eaf3925da568: Download complete 20:04:09 bde34c3a00c8: Verifying Checksum 20:04:09 bde34c3a00c8: Download complete 20:04:09 b352a97aabf1: Download complete 20:04:09 4872d77fe225: Verifying Checksum 20:04:09 4872d77fe225: Download complete 20:04:09 5851b861e8e6: Verifying Checksum 20:04:09 5851b861e8e6: Download complete 20:04:09 b85a868b505f: Verifying Checksum 20:04:09 b85a868b505f: Download complete 20:04:09 bab4dde63d76: Verifying Checksum 20:04:09 bab4dde63d76: Download complete 20:04:11 b85a868b505f: Pull complete 20:04:11 e2be974225ed: Pull complete 20:04:11 339a4e72a1f5: Pull complete 20:04:11 988bab9f4d93: Pull complete 20:04:12 1469e6f7b9e6: Pull complete 20:04:12 eaf3925da568: Pull complete 20:04:13 bab4dde63d76: Pull complete 20:04:13 bde34c3a00c8: Pull complete 20:04:14 b352a97aabf1: Pull complete 20:04:14 4872d77fe225: Pull complete 20:04:14 5851b861e8e6: Pull complete 20:04:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:04:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:14 prd-ubuntu20.04-docker-8c-8g-6931 does not seem to be running inside a container 20:04:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-216 -v /w/workspace/gexfoundry_device-rest-go_PR-216:/w/workspace/gexfoundry_device-rest-go_PR-216:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-216@tmp:/w/workspace/gexfoundry_device-rest-go_PR-216@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:04:16 $ docker top 2d90da9637122e1e82994bab3a8b6954c4a31f9b9073e5c34316b901b9fa18cf -eo pid,comm 20:04:16 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). 20:04:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:04:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:16 [ssh-agent] Looking for ssh-agent implementation... 20:04:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:16 $ docker exec 2d90da9637122e1e82994bab3a8b6954c4a31f9b9073e5c34316b901b9fa18cf ssh-agent 20:04:16 SSH_AUTH_SOCK=/tmp/ssh-G7KdsACpqQCF/agent.32 20:04:16 SSH_AGENT_PID=38 20:04:16 Running ssh-add (command line suppressed) 20:04:16 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-216@tmp/private_key_18018564593635827752.key (/w/workspace/gexfoundry_device-rest-go_PR-216@tmp/private_key_18018564593635827752.key) 20:04:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:17 + git tag --points-at HEAD [Pipeline] } 20:04:17 $ docker exec --env ******** --env ******** 2d90da9637122e1e82994bab3a8b6954c4a31f9b9073e5c34316b901b9fa18cf ssh-agent -k 20:04:17 unset SSH_AUTH_SOCK; 20:04:17 unset SSH_AGENT_PID; 20:04:17 echo Agent pid 38 killed; 20:04:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:04:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:17 [ssh-agent] Looking for ssh-agent implementation... 20:04:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:17 $ docker exec 2d90da9637122e1e82994bab3a8b6954c4a31f9b9073e5c34316b901b9fa18cf ssh-agent 20:04:17 SSH_AUTH_SOCK=/tmp/ssh-JA9MDlX3b38P/agent.71 20:04:17 SSH_AGENT_PID=77 20:04:17 Running ssh-add (command line suppressed) 20:04:17 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-216@tmp/private_key_5163373256995511949.key (/w/workspace/gexfoundry_device-rest-go_PR-216@tmp/private_key_5163373256995511949.key) 20:04:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:18 + git semver init 20:04:18 2022-10-03 20:04:18,361 [run_init] DEBUG init version:0.0.0 force:False 20:04:18 2022-10-03 20:04:18,362 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-216/.semver 20:04:18 2022-10-03 20:04:18,363 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-216/.semver 20:04:18 2022-10-03 20:04:18,363 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-216/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-216, universal_newlines=False, shell=None, istream=None) 20:04:19 2022-10-03 20:04:19,449 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-216/.git/info/exclude 20:04:19 2022-10-03 20:04:19,450 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-216/.semver/PR-216 with force:False 20:04:19 2022-10-03 20:04:19,450 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-216/.semver/PR-216 20:04:19 2022-10-03 20:04:19,454 [execute] INFO git cat-file --batch-check 20:04:19 2022-10-03 20:04:19,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-216/.semver, universal_newlines=False, shell=None, istream=) 20:04:19 2022-10-03 20:04:19,460 [execute] INFO git cat-file --batch 20:04:19 2022-10-03 20:04:19,461 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-216/.semver, universal_newlines=False, shell=None, istream=) 20:04:19 2022-10-03 20:04:19,465 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-216/.semver/PR-216 20:04:19 0.0.0 [Pipeline] } 20:04:19 $ docker exec --env ******** --env ******** 2d90da9637122e1e82994bab3a8b6954c4a31f9b9073e5c34316b901b9fa18cf ssh-agent -k 20:04:19 unset SSH_AUTH_SOCK; 20:04:19 unset SSH_AGENT_PID; 20:04:19 echo Agent pid 77 killed; 20:04:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:04:20 + git semver [Pipeline] } 20:04:20 $ docker stop --time=1 2d90da9637122e1e82994bab3a8b6954c4a31f9b9073e5c34316b901b9fa18cf 20:04:21 $ docker rm -f 2d90da9637122e1e82994bab3a8b6954c4a31f9b9073e5c34316b901b9fa18cf [Pipeline] // withDockerContainer [Pipeline] sh 20:04:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:04:22 Stashed 1 file(s) [Pipeline] echo 20:04:22 [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 20:04:23 provisioning config files... 20:04:23 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp/config6039019571374112178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:23 ---> docker-login.sh 20:04:23 nexus3.edgexfoundry.org:10001 20:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:23 Configure a credential helper to remove this warning. See 20:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:23 20:04:23 Login Succeeded 20:04:23 nexus3.edgexfoundry.org:10002 20:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:23 Configure a credential helper to remove this warning. See 20:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:23 20:04:23 Login Succeeded 20:04:23 nexus3.edgexfoundry.org:10003 20:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:23 Configure a credential helper to remove this warning. See 20:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:23 20:04:23 Login Succeeded 20:04:23 nexus3.edgexfoundry.org:10004 20:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:23 Configure a credential helper to remove this warning. See 20:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:23 20:04:23 Login Succeeded 20:04:23 docker.io 20:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:24 Configure a credential helper to remove this warning. See 20:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:24 20:04:24 Login Succeeded 20:04:24 ---> docker-login.sh ends [Pipeline] } 20:04:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:04:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:24 ========================================================= 20:04:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:04:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:04:25 Sending build context to Docker daemon 10.73MB 20:04:25 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:04:25 Step 2/13 : FROM ${BASE} AS builder 20:04:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:04:25 2408cc74d12b: Pulling fs layer 20:04:25 ea60b727a1ce: Pulling fs layer 20:04:25 30c4a7721957: Pulling fs layer 20:04:25 370296b7ddb6: Pulling fs layer 20:04:25 7c6cee850709: Pulling fs layer 20:04:25 aa9baa53a306: Pulling fs layer 20:04:25 8b309c321861: Pulling fs layer 20:04:25 d8d76fd02f46: Pulling fs layer 20:04:25 fa31f396de31: Pulling fs layer 20:04:25 d8d76fd02f46: Waiting 20:04:25 aa9baa53a306: Waiting 20:04:25 fa31f396de31: Waiting 20:04:25 8b309c321861: Waiting 20:04:25 370296b7ddb6: Waiting 20:04:25 30c4a7721957: Verifying Checksum 20:04:25 30c4a7721957: Download complete 20:04:25 ea60b727a1ce: Download complete 20:04:25 7c6cee850709: Verifying Checksum 20:04:25 7c6cee850709: Download complete 20:04:25 aa9baa53a306: Download complete 20:04:25 2408cc74d12b: Verifying Checksum 20:04:25 2408cc74d12b: Download complete 20:04:25 8b309c321861: Download complete 20:04:25 2408cc74d12b: Pull complete 20:04:25 ea60b727a1ce: Pull complete 20:04:25 30c4a7721957: Pull complete 20:04:25 fa31f396de31: Verifying Checksum 20:04:25 fa31f396de31: Download complete 20:04:25 d8d76fd02f46: Verifying Checksum 20:04:25 d8d76fd02f46: Download complete 20:04:26 370296b7ddb6: Verifying Checksum 20:04:26 370296b7ddb6: Download complete 20:04:30 370296b7ddb6: Pull complete 20:04:30 7c6cee850709: Pull complete 20:04:30 aa9baa53a306: Pull complete 20:04:30 8b309c321861: Pull complete 20:04:32 d8d76fd02f46: Pull complete 20:04:32 fa31f396de31: Pull complete 20:04:32 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 20:04:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:04:32 ---> cef68f9685f8 20:04:32 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:04:36 ---> Running in 6fb9e47548b7 20:04:36 Removing intermediate container 6fb9e47548b7 20:04:36 ---> e06433000f76 20:04:36 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:04:36 ---> Running in 586ae4682e08 20:04:36 Removing intermediate container 586ae4682e08 20:04:36 ---> 5bf536db45d6 20:04:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:04:36 ---> Running in 211742359e39 20:04:36 Removing intermediate container 211742359e39 20:04:36 ---> 40c6563734da 20:04:36 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:04:36 ---> Running in 05c208de3d6e 20:04:36 Removing intermediate container 05c208de3d6e 20:04:36 ---> ce5454efc81a 20:04:36 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:04:36 ---> Running in 2f5f06b9304c 20:04:36 Removing intermediate container 2f5f06b9304c 20:04:36 ---> 46665bc8b659 20:04:36 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:04:36 ---> Running in 735b985d6e09 20:04:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:04:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:04:38 Still waiting to schedule task 20:04:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:04:38 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:04:38 (2/4) Installing libedit (20210910.3.1-r0) 20:04:38 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:04:38 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:04:38 Executing busybox-1.35.0-r13.trigger 20:04:38 OK: 216 MiB in 55 packages 20:04:39 Removing intermediate container 735b985d6e09 20:04:39 ---> a60d97a86f82 20:04:39 Step 9/13 : WORKDIR /device-rest-go 20:04:39 ---> Running in 2b07f267a949 20:04:39 Removing intermediate container 2b07f267a949 20:04:39 ---> 65ccb42d81e8 20:04:39 Step 10/13 : COPY go.mod vendor* ./ 20:04:40 ---> 75a0eeca333b 20:04:40 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:04:40 ---> Running in b6dc31e55c09 20:05:02 Removing intermediate container b6dc31e55c09 20:05:02 ---> 866d399666a5 20:05:02 Step 12/13 : COPY . . 20:05:02 ---> 5ee323f70701 20:05:02 Step 13/13 : RUN $MAKE 20:05:02 ---> Running in 2b65e6f8de9b 20:05:02 noop 20:05:02 Removing intermediate container 2b65e6f8de9b 20:05:02 ---> 945eba7f9fe3 20:05:02 Successfully built 945eba7f9fe3 20:05:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:03 + docker inspect -f . ci-base-image-x86_64 20:05:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:03 prd-ubuntu20.04-docker-8c-8g-6931 does not seem to be running inside a container 20:05:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-216 -v /w/workspace/gexfoundry_device-rest-go_PR-216:/w/workspace/gexfoundry_device-rest-go_PR-216:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-216@tmp:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:03 $ docker top bc47674f956f84393e6ca99e8749d367572b92caaf5cc7153362065e6ce640f6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:03 + go version 20:05:03 go version go1.18.3 linux/amd64 [Pipeline] } 20:05:03 $ docker stop --time=1 bc47674f956f84393e6ca99e8749d367572b92caaf5cc7153362065e6ce640f6 20:05:05 $ docker rm -f bc47674f956f84393e6ca99e8749d367572b92caaf5cc7153362065e6ce640f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:06 + docker inspect -f . ci-base-image-x86_64 20:05:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:06 prd-ubuntu20.04-docker-8c-8g-6931 does not seem to be running inside a container 20:05:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-216 -v /w/workspace/gexfoundry_device-rest-go_PR-216:/w/workspace/gexfoundry_device-rest-go_PR-216:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-216@tmp:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:06 $ docker top 6b8d7aeede9c3ec6ce8e40e511a89f7073bcb30de0a03f0a8171e4ecf21c7838 -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:07 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-216 [Pipeline] fileExists [Pipeline] sh 20:05:07 + make test 20:05:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:05:07 ? github.com/edgexfoundry/device-rest-go [no test files] 20:05:17 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:05:18 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements 20:05:24 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:05:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:05:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:05:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:05:27 ./bin/test-attribution-txt.sh [Pipeline] echo 20:05:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:05:27 $ docker stop --time=1 6b8d7aeede9c3ec6ce8e40e511a89f7073bcb30de0a03f0a8171e4ecf21c7838 20:05:30 $ docker rm -f 6b8d7aeede9c3ec6ce8e40e511a89f7073bcb30de0a03f0a8171e4ecf21c7838 [Pipeline] // withDockerContainer [Pipeline] sh 20:05:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:05:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:05:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:05:32 + ls -al . 20:05:32 total 180 20:05:32 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 20:05 . 20:05:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:03 .. 20:05:32 -rw-rw-r-- 1 jenkins jenkins 151 Oct 3 20:04 .dockerignore 20:05:32 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:05 .git 20:05:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:04 .github 20:05:32 -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 20:04 .gitignore 20:05:32 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 20:04 .golangci.yml 20:05:32 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 20:04 .semver 20:05:32 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 3 20:04 Attribution.txt 20:05:32 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 3 20:04 CHANGELOG.md 20:05:32 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 3 20:04 Dockerfile 20:05:32 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 20:04 GOVERNANCE.md 20:05:32 -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 20:04 Jenkinsfile 20:05:32 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 20:04 LICENSE 20:05:32 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 3 20:04 Makefile 20:05:32 -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 20:04 OWNERS.md 20:05:32 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 3 20:04 README.md 20:05:32 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 20:04 VERSION 20:05:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:04 bin 20:05:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:04 cmd 20:05:32 -rw-r--r-- 1 jenkins jenkins 9355 Oct 3 20:05 coverage.out 20:05:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:04 driver 20:05:32 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 3 20:04 go.mod 20:05:32 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 20:04 go.sum 20:05:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:04 snap 20:05:32 -rw-rw-r-- 1 jenkins jenkins 713 Oct 3 20:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:32 + 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=0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 --label arch=amd64 --label version=0.0.0 . 20:05:32 Sending build context to Docker daemon 10.74MB 20:05:32 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:05:32 Step 2/26 : FROM ${BASE} AS builder 20:05:32 ---> 945eba7f9fe3 20:05:32 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:05:32 ---> Running in 674463a8caab 20:05:32 Removing intermediate container 674463a8caab 20:05:32 ---> 27291d81434b 20:05:32 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:05:32 ---> Running in 35ec8afe3412 20:05:32 Removing intermediate container 35ec8afe3412 20:05:32 ---> ec279ebc4d66 20:05:32 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:05:32 ---> Running in 4dff3e5245fc 20:05:33 Removing intermediate container 4dff3e5245fc 20:05:33 ---> 78e7cf9bd2e1 20:05:33 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:05:33 ---> Running in 6f42df354b9e 20:05:33 Removing intermediate container 6f42df354b9e 20:05:33 ---> c1f2055fe856 20:05:33 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:05:33 ---> Running in c6ec1400cfb1 20:05:33 Removing intermediate container c6ec1400cfb1 20:05:33 ---> 262d204e06a0 20:05:33 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:33 ---> Running in 064746d3eaa7 20:05:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:05:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:05:35 OK: 216 MiB in 55 packages 20:05:35 Removing intermediate container 064746d3eaa7 20:05:35 ---> 0d9a6b3f9817 20:05:35 Step 9/26 : WORKDIR /device-rest-go 20:05:35 ---> Running in 14d08ba3d4cc 20:05:35 Removing intermediate container 14d08ba3d4cc 20:05:35 ---> 32bd89399835 20:05:35 Step 10/26 : COPY go.mod vendor* ./ 20:05:35 ---> 57d8474ba292 20:05:35 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:35 ---> Running in dc4b176b8137 20:05:36 Removing intermediate container dc4b176b8137 20:05:36 ---> 53841804bf64 20:05:36 Step 12/26 : COPY . . 20:05:36 ---> 127eabc6a80f 20:05:36 Step 13/26 : RUN $MAKE 20:05:37 ---> Running in 18e79df26613 20:05:37 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:05:59 Removing intermediate container 18e79df26613 20:05:59 ---> 911f84906c72 20:05:59 Step 14/26 : FROM alpine:3.16 20:05:59 3.16: Pulling from library/alpine 20:05:59 213ec9aee27d: Pulling fs layer 20:05:59 213ec9aee27d: Verifying Checksum 20:05:59 213ec9aee27d: Download complete 20:05:59 213ec9aee27d: Pull complete 20:05:59 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:05:59 Status: Downloaded newer image for alpine:3.16 20:05:59 ---> 9c6f07244728 20:05:59 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:05:59 ---> Running in 6ad4623024d6 20:05:59 Removing intermediate container 6ad4623024d6 20:05:59 ---> 02f39d5f1302 20:05:59 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 20:05:59 ---> Running in b0069116f5f7 20:05:59 Removing intermediate container b0069116f5f7 20:05:59 ---> 94d94c3edd4d 20:05:59 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 20:05:59 ---> Running in 8a8664532511 20:05:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:06:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:06:00 (1/6) Installing dumb-init (1.2.5-r1) 20:06:00 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:06:00 (3/6) Installing libsodium (1.0.18-r0) 20:06:00 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:06:00 (5/6) Installing libzmq (4.3.4-r0) 20:06:00 (6/6) Installing zeromq (4.3.4-r0) 20:06:00 Executing busybox-1.35.0-r17.trigger 20:06:00 OK: 8 MiB in 20 packages 20:06:00 Removing intermediate container 8a8664532511 20:06:00 ---> 054b71278e30 20:06:00 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:06:01 ---> a5b23582a29a 20:06:01 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:06:01 ---> f704eabd73d9 20:06:01 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:06:01 ---> b4497b2c9d49 20:06:01 Step 21/26 : EXPOSE 59986 20:06:01 ---> Running in 1f0d7042dca4 20:06:01 Removing intermediate container 1f0d7042dca4 20:06:01 ---> 309708d3b8b5 20:06:01 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:06:01 ---> Running in 47931e05347b 20:06:01 Removing intermediate container 47931e05347b 20:06:01 ---> 90948236189c 20:06:01 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:06:02 ---> Running in 1ce690bd3ebf 20:06:02 Removing intermediate container 1ce690bd3ebf 20:06:02 ---> eb1db1ab4bb4 20:06:02 Step 24/26 : LABEL arch=amd64 20:06:02 ---> Running in 34aec3c11547 20:06:02 Removing intermediate container 34aec3c11547 20:06:02 ---> 7fee9b09a0d2 20:06:02 Step 25/26 : LABEL git_sha=0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 20:06:02 ---> Running in cfd98eb1d606 20:06:02 Removing intermediate container cfd98eb1d606 20:06:02 ---> e4a9e53a8c51 20:06:02 Step 26/26 : LABEL version=0.0.0 20:06:02 ---> Running in ae9250c7b6ab 20:06:02 Removing intermediate container ae9250c7b6ab 20:06:02 ---> 5d5986eda052 20:06:02 [Warning] One or more build-args [ARCH] were not consumed 20:06:02 Successfully built 5d5986eda052 20:06:02 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 20:06:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:03 20:06:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:03 latest: Pulling from edgex-lftools-log-publisher 20:06:03 5eb5b503b376: Pulling fs layer 20:06:03 5c69ac0246d0: Pulling fs layer 20:06:03 ec43610c2a17: Pulling fs layer 20:06:03 3a2ae6a8a46f: Pulling fs layer 20:06:03 33b1e0a273af: Pulling fs layer 20:06:03 5d3b04190fa2: Pulling fs layer 20:06:03 2f39f015ded8: Pulling fs layer 20:06:03 3a2ae6a8a46f: Waiting 20:06:03 33b1e0a273af: Waiting 20:06:03 5d3b04190fa2: Waiting 20:06:03 2f39f015ded8: Waiting 20:06:03 5c69ac0246d0: Download complete 20:06:03 3a2ae6a8a46f: Verifying Checksum 20:06:03 3a2ae6a8a46f: Download complete 20:06:03 33b1e0a273af: Verifying Checksum 20:06:03 ec43610c2a17: Verifying Checksum 20:06:03 ec43610c2a17: Download complete 20:06:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6933 in /w/workspace/gexfoundry_device-rest-go_PR-216 [Pipeline] { [Pipeline] ws 20:06:03 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:06:03 The recommended git tool is: git 20:06:03 5d3b04190fa2: Verifying Checksum 20:06:03 5d3b04190fa2: Download complete 20:06:03 5eb5b503b376: Verifying Checksum 20:06:03 5eb5b503b376: Download complete 20:06:04 2f39f015ded8: Download complete 20:06:05 5eb5b503b376: Pull complete 20:06:05 5c69ac0246d0: Pull complete 20:06:05 ec43610c2a17: Pull complete 20:06:05 3a2ae6a8a46f: Pull complete 20:06:05 33b1e0a273af: Pull complete 20:06:05 5d3b04190fa2: Pull complete 20:06:09 using credential edgex-jenkins-ssh 20:06:09 Cloning the remote Git repository 20:06:10 2f39f015ded8: Pull complete 20:06:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:06:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } 20:06:09 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:06:09 > git init /w/workspace/device-rest-go/1 # timeout=10 20:06:09 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:09 > git --version # timeout=10 20:06:09 > git --version # 'git version 2.25.1' 20:06:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:09 Verifying host key using known hosts file 20:06:09 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:06:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:10 prd-ubuntu20.04-docker-8c-8g-6931 does not seem to be running inside a container 20:06:10 $ 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-216 -v /w/workspace/gexfoundry_device-rest-go_PR-216:/w/workspace/gexfoundry_device-rest-go_PR-216:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-216@tmp:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:06:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:13 Merging remotes/origin/main commit fa2594666deb171bc078c2a791882f5db0311ade into PR head commit 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 20:06:13 $ docker top 861fe599af8d519c596217c147ce9f984a342e1bcacd29ba83d7354f8f1c2ec3 -eo pid,comm 20:06:13 Merge succeeded, producing 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 20:06:13 Checking out Revision 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 (PR-216) [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:14 ---> job-cost.sh 20:06:14 lf-activate-venv: SKIPPING 20:06:14 INFO: No Stack... 20:06:12 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:12 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:12 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:12 Verifying host key using known hosts file 20:06:12 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:06:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:06:13 > git config core.sparsecheckout # timeout=10 20:06:13 > git checkout -f 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 # timeout=10 20:06:13 > git remote # timeout=10 20:06:13 > git config --get remote.origin.url # timeout=10 20:06:13 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:13 Verifying host key using known hosts file 20:06:13 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:06:13 > git merge fa2594666deb171bc078c2a791882f5db0311ade # timeout=10 20:06:13 > git rev-parse HEAD^{commit} # timeout=10 20:06:13 > git config core.sparsecheckout # timeout=10 20:06:13 > git checkout -f 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 # timeout=10 20:06:14 INFO: Retrieving Pricing Info for: v3-standard-8 20:06:14 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 20:06:14 > git --version # timeout=10 20:06:14 > git --version # 'git version 2.25.1' 20:06:14 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 20:06:14 20:06:14 GitHub has been notified of this commit’s build result 20:06:14 [Pipeline] withEnv [Pipeline] { 20:06:14 INFO: Archiving Costs [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:06:15 + cat /w/workspace/gexfoundry_device-rest-go_PR-216/archives/cost.csv 20:06:15 + cut -d, -f6 [Pipeline] lock 20:06:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] 20:06:15 Resource [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] did not exist. Created. 20:06:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:06:15 % Total % Received % Xferd Average Speed Time Time Time Current 20:06:15 Dload Upload Total Spent Left Speed 20:06:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 75461 0 --:--:-- --:--:-- --:--:-- 75915 20:06:15 + echo total: 0.2199999988079071 [Pipeline] stash 20:06:15 Stashed 1 file(s) [Pipeline] } 20:06:15 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:06:15 $ docker stop --time=1 861fe599af8d519c596217c147ce9f984a342e1bcacd29ba83d7354f8f1c2ec3 20:06:17 $ docker rm -f 861fe599af8d519c596217c147ce9f984a342e1bcacd29ba83d7354f8f1c2ec3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:06:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:06:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:06:17 + sudo tee /etc/docker/daemon.new 20:06:17 { 20:06:17 "registry-mirrors": [ 20:06:17 "https://nexus3.edgexfoundry.org:10001" 20:06:17 ], 20:06:17 "bip": "10.250.0.254/24", 20:06:17 "hosts": [ 20:06:17 "tcp://0.0.0.0:5555", 20:06:17 "unix:///var/run/docker.sock" 20:06:17 ], 20:06:17 "mtu": 1458, 20:06:17 "selinux-enabled": true, 20:06:17 "seccomp-profile": "/etc/docker/seccomp.json" 20:06:17 } [Pipeline] sh 20:06:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:06:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:06:36 provisioning config files... 20:06:36 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config296688213022142286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:37 ---> docker-login.sh 20:06:37 nexus3.edgexfoundry.org:10001 20:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:37 Configure a credential helper to remove this warning. See 20:06:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:37 20:06:37 Login Succeeded 20:06:37 nexus3.edgexfoundry.org:10002 20:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:38 Configure a credential helper to remove this warning. See 20:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:38 20:06:38 Login Succeeded 20:06:38 nexus3.edgexfoundry.org:10003 20:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:38 Configure a credential helper to remove this warning. See 20:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:38 20:06:38 Login Succeeded 20:06:38 nexus3.edgexfoundry.org:10004 20:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:39 Configure a credential helper to remove this warning. See 20:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:39 20:06:39 Login Succeeded 20:06:39 docker.io 20:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:39 Configure a credential helper to remove this warning. See 20:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:39 20:06:39 Login Succeeded 20:06:39 ---> docker-login.sh ends [Pipeline] } 20:06:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:06:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:06:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:06:40 ========================================================= 20:06:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:06:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:06:40 Sending build context to Docker daemon 127kB 20:06:41 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:06:41 Step 2/13 : FROM ${BASE} AS builder 20:06:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:06:41 b3c136eddcbf: Pulling fs layer 20:06:41 c0a3192eca97: Pulling fs layer 20:06:41 a050256f5b6f: Pulling fs layer 20:06:41 656be50a0ddc: Pulling fs layer 20:06:41 2bbca73fdf42: Pulling fs layer 20:06:41 f607e4fc86c3: Pulling fs layer 20:06:41 4d572c569a2c: Pulling fs layer 20:06:41 fcf976331f73: Pulling fs layer 20:06:41 f607e4fc86c3: Waiting 20:06:41 656be50a0ddc: Waiting 20:06:41 4d572c569a2c: Waiting 20:06:41 fcf976331f73: Waiting 20:06:41 2bbca73fdf42: Waiting 20:06:41 a050256f5b6f: Verifying Checksum 20:06:41 a050256f5b6f: Download complete 20:06:41 c0a3192eca97: Verifying Checksum 20:06:41 c0a3192eca97: Download complete 20:06:41 2bbca73fdf42: Verifying Checksum 20:06:41 2bbca73fdf42: Download complete 20:06:41 f607e4fc86c3: Verifying Checksum 20:06:41 f607e4fc86c3: Download complete 20:06:41 b3c136eddcbf: Verifying Checksum 20:06:42 fcf976331f73: Verifying Checksum 20:06:42 fcf976331f73: Download complete 20:06:43 4d572c569a2c: Verifying Checksum 20:06:43 4d572c569a2c: Download complete 20:06:44 b3c136eddcbf: Pull complete 20:06:44 656be50a0ddc: Verifying Checksum 20:06:44 656be50a0ddc: Download complete 20:06:44 c0a3192eca97: Pull complete 20:06:44 a050256f5b6f: Pull complete 20:06:57 656be50a0ddc: Pull complete 20:06:57 2bbca73fdf42: Pull complete 20:06:57 f607e4fc86c3: Pull complete 20:07:03 4d572c569a2c: Pull complete 20:07:05 fcf976331f73: Pull complete 20:07:05 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 20:07:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:07:05 ---> 3970a7415f9e 20:07:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:07:07 ---> Running in eeacece83427 20:07:07 Removing intermediate container eeacece83427 20:07:07 ---> f19cd507496b 20:07:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:07:08 ---> Running in e11858511a98 20:07:08 Removing intermediate container e11858511a98 20:07:08 ---> 62ab9b91060a 20:07:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:07:08 ---> Running in 346499de978e 20:07:08 Removing intermediate container 346499de978e 20:07:08 ---> 0b610615a922 20:07:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:07:09 ---> Running in 987addb4263c 20:07:09 Removing intermediate container 987addb4263c 20:07:09 ---> c2692d653d30 20:07:09 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:07:09 ---> Running in 2f7c1fca600b 20:07:11 Removing intermediate container 2f7c1fca600b 20:07:11 ---> 607d7a30c4ed 20:07:11 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:11 ---> Running in 2d9a76571aa7 20:07:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:07:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:07:14 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:07:14 (2/4) Installing libedit (20210910.3.1-r0) 20:07:14 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:07:14 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:07:15 Executing busybox-1.35.0-r13.trigger 20:07:15 OK: 226 MiB in 55 packages 20:07:16 Removing intermediate container 2d9a76571aa7 20:07:16 ---> b10f23e7652c 20:07:16 Step 9/13 : WORKDIR /device-rest-go 20:07:16 ---> Running in 4fc2f85a3c06 20:07:16 Removing intermediate container 4fc2f85a3c06 20:07:16 ---> 67d4578b0825 20:07:16 Step 10/13 : COPY go.mod vendor* ./ 20:07:17 ---> 7371683cb900 20:07:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:17 ---> Running in c50c61b4b87a 20:08:13 Removing intermediate container c50c61b4b87a 20:08:13 ---> 37b089f34423 20:08:13 Step 12/13 : COPY . . 20:08:13 ---> 9b6039130239 20:08:13 Step 13/13 : RUN $MAKE 20:08:13 ---> Running in 29f180ec5508 20:08:13 noop 20:08:13 Removing intermediate container 29f180ec5508 20:08:13 ---> 3acb93b8cc11 20:08:13 Successfully built 3acb93b8cc11 20:08:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:14 + docker inspect -f . ci-base-image-arm64 20:08:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:14 prd-ubuntu20.04-docker-arm64-4c-16g-6933 does not seem to be running inside a container 20:08:14 $ 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 ******** ci-base-image-arm64 cat 20:08:16 $ docker top 9063317853d8d09360b911a90c394e0bae468d48cbedfdff5f333b2c63251928 -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:16 + go version 20:08:16 go version go1.18.3 linux/arm64 [Pipeline] } 20:08:17 $ docker stop --time=1 9063317853d8d09360b911a90c394e0bae468d48cbedfdff5f333b2c63251928 20:08:18 $ docker rm -f 9063317853d8d09360b911a90c394e0bae468d48cbedfdff5f333b2c63251928 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:19 + docker inspect -f . ci-base-image-arm64 20:08:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:19 prd-ubuntu20.04-docker-arm64-4c-16g-6933 does not seem to be running inside a container 20:08:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** ci-base-image-arm64 cat 20:08:21 $ docker top ad3773f0986506032abec1fe45fa102d97f0552eb91bb168a6c07d952338f746 -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:22 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:08:22 + make test 20:08:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:08:24 ? github.com/edgexfoundry/device-rest-go [no test files] 20:10:00 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:10:00 ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 55.2% of statements 20:10:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:10:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:10:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:10:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:10:19 ./bin/test-attribution-txt.sh [Pipeline] echo 20:10:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:10:19 $ docker stop --time=1 ad3773f0986506032abec1fe45fa102d97f0552eb91bb168a6c07d952338f746 20:10:20 $ docker rm -f ad3773f0986506032abec1fe45fa102d97f0552eb91bb168a6c07d952338f746 [Pipeline] // withDockerContainer [Pipeline] sh 20:10:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:10:22 Warning: overwriting stash ‘coverage-report’ 20:10:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:10:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:10:23 + ls -al . 20:10:23 total 176 20:10:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:08 . 20:10:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:06 .. 20:10:23 -rw-rw-r-- 1 jenkins jenkins 151 Oct 3 20:06 .dockerignore 20:10:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:06 .git 20:10:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:06 .github 20:10:23 -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 20:06 .gitignore 20:10:23 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 20:06 .golangci.yml 20:10:23 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 3 20:06 Attribution.txt 20:10:23 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 3 20:06 CHANGELOG.md 20:10:23 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 3 20:06 Dockerfile 20:10:23 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 20:06 GOVERNANCE.md 20:10:23 -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 20:06 Jenkinsfile 20:10:23 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 20:06 LICENSE 20:10:23 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 3 20:06 Makefile 20:10:23 -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 20:06 OWNERS.md 20:10:23 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 3 20:06 README.md 20:10:23 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 20:04 VERSION 20:10:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:06 bin 20:10:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:06 cmd 20:10:23 -rw-r--r-- 1 jenkins jenkins 9355 Oct 3 20:09 coverage.out 20:10:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:06 driver 20:10:23 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 3 20:06 go.mod 20:10:23 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 20:06 go.sum 20:10:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:06 snap 20:10:23 -rw-rw-r-- 1 jenkins jenkins 713 Oct 3 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:24 + 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=0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 --label arch=arm64 --label version=0.0.0 . 20:10:24 Sending build context to Docker daemon 137.2kB 20:10:24 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:10:24 Step 2/26 : FROM ${BASE} AS builder 20:10:24 ---> 3acb93b8cc11 20:10:24 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:10:24 ---> Running in 23b975c39f10 20:10:24 Removing intermediate container 23b975c39f10 20:10:24 ---> 984c1e473e96 20:10:24 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:10:25 ---> Running in 0195d51866bd 20:10:25 Removing intermediate container 0195d51866bd 20:10:25 ---> 909faf3be4c4 20:10:25 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:10:25 ---> Running in c45ddb4b6bed 20:10:26 Removing intermediate container c45ddb4b6bed 20:10:26 ---> c47f9a1c70f5 20:10:26 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:10:26 ---> Running in c45ff87a8edd 20:10:26 Removing intermediate container c45ff87a8edd 20:10:26 ---> d5fc895b1897 20:10:26 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:10:26 ---> Running in 8aad2a92df47 20:10:29 Removing intermediate container 8aad2a92df47 20:10:29 ---> 680726551db4 20:10:29 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:10:29 ---> Running in eed213910e8d 20:10:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:10:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:10:32 OK: 226 MiB in 55 packages 20:10:33 Removing intermediate container eed213910e8d 20:10:33 ---> 8e87114bfa5f 20:10:33 Step 9/26 : WORKDIR /device-rest-go 20:10:34 ---> Running in 3024ebbc1c08 20:10:34 Removing intermediate container 3024ebbc1c08 20:10:34 ---> 39a80048f79f 20:10:34 Step 10/26 : COPY go.mod vendor* ./ 20:10:34 ---> 5b28d6bbfa6c 20:10:34 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:10:34 ---> Running in bb328592ff75 20:10:38 Removing intermediate container bb328592ff75 20:10:38 ---> 8bae2a7aebc5 20:10:38 Step 12/26 : COPY . . 20:10:38 ---> a37860233c9e 20:10:38 Step 13/26 : RUN $MAKE 20:10:38 ---> Running in 0d620cbaba37 20:10:39 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:13:31 Removing intermediate container 0d620cbaba37 20:13:31 ---> 0bd7bf956b5d 20:13:31 Step 14/26 : FROM alpine:3.16 20:13:31 3.16: Pulling from library/alpine 20:13:31 9b18e9b68314: Pulling fs layer 20:13:31 9b18e9b68314: Verifying Checksum 20:13:31 9b18e9b68314: Download complete 20:13:31 9b18e9b68314: Pull complete 20:13:31 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:13:31 Status: Downloaded newer image for alpine:3.16 20:13:31 ---> a6215f271958 20:13:31 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:13:31 ---> Running in 2f314f0edcdf 20:13:31 Removing intermediate container 2f314f0edcdf 20:13:31 ---> 7efd2ef28140 20:13:31 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 20:13:31 ---> Running in 118c9d04f91b 20:13:31 Removing intermediate container 118c9d04f91b 20:13:31 ---> f3fab007846e 20:13:31 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 20:13:31 ---> Running in 8576c4449558 20:13:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:13:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:13:31 (1/6) Installing dumb-init (1.2.5-r1) 20:13:31 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:13:31 (3/6) Installing libsodium (1.0.18-r0) 20:13:31 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:13:31 (5/6) Installing libzmq (4.3.4-r0) 20:13:31 (6/6) Installing zeromq (4.3.4-r0) 20:13:31 Executing busybox-1.35.0-r17.trigger 20:13:31 OK: 8 MiB in 20 packages 20:13:31 Removing intermediate container 8576c4449558 20:13:31 ---> d3b195a086ea 20:13:31 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:13:31 ---> e56ff222de62 20:13:31 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:13:31 ---> caac462a00d4 20:13:31 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:13:32 ---> 5e9dfb2a7cc2 20:13:32 Step 21/26 : EXPOSE 59986 20:13:32 ---> Running in 060d178b5af8 20:13:32 Removing intermediate container 060d178b5af8 20:13:32 ---> 9f914f8f4fa9 20:13:32 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:13:32 ---> Running in 1aab973b1982 20:13:33 Removing intermediate container 1aab973b1982 20:13:33 ---> d46228824273 20:13:33 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:13:33 ---> Running in c2223965b206 20:13:33 Removing intermediate container c2223965b206 20:13:33 ---> 8193e0d6b9cd 20:13:33 Step 24/26 : LABEL arch=arm64 20:13:33 ---> Running in 93cf6348ab65 20:13:33 Removing intermediate container 93cf6348ab65 20:13:33 ---> b8e6bd5efd90 20:13:33 Step 25/26 : LABEL git_sha=0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 20:13:34 ---> Running in 6bcbff69a28d 20:13:34 Removing intermediate container 6bcbff69a28d 20:13:34 ---> 60d5baf52239 20:13:34 Step 26/26 : LABEL version=0.0.0 20:13:34 ---> Running in 6eb1e58bb229 20:13:34 Removing intermediate container 6eb1e58bb229 20:13:34 ---> 56be80f9ac0c 20:13:34 [Warning] One or more build-args [ARCH] were not consumed 20:13:34 Successfully built 56be80f9ac0c 20:13:34 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 20:13:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:35 20:13:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:36 arm64: Pulling from edgex-lftools-log-publisher 20:13:36 8998bd30e6a1: Pulling fs layer 20:13:36 04944245beec: Pulling fs layer 20:13:36 699f458cf7ca: Pulling fs layer 20:13:36 765212b225bb: Pulling fs layer 20:13:36 f23df028b6ca: Pulling fs layer 20:13:36 d65c8cfc05b1: Pulling fs layer 20:13:36 2437ff75d9bd: Pulling fs layer 20:13:36 2437ff75d9bd: Waiting 20:13:36 f23df028b6ca: Waiting 20:13:36 765212b225bb: Waiting 20:13:36 d65c8cfc05b1: Waiting 20:13:36 04944245beec: Verifying Checksum 20:13:36 04944245beec: Download complete 20:13:36 765212b225bb: Verifying Checksum 20:13:36 765212b225bb: Download complete 20:13:36 f23df028b6ca: Download complete 20:13:36 d65c8cfc05b1: Verifying Checksum 20:13:36 d65c8cfc05b1: Download complete 20:13:36 699f458cf7ca: Verifying Checksum 20:13:36 699f458cf7ca: Download complete 20:13:36 8998bd30e6a1: Download complete 20:13:39 2437ff75d9bd: Verifying Checksum 20:13:39 2437ff75d9bd: Download complete 20:13:40 8998bd30e6a1: Pull complete 20:13:41 04944245beec: Pull complete 20:13:42 699f458cf7ca: Pull complete 20:13:42 765212b225bb: Pull complete 20:13:43 f23df028b6ca: Pull complete 20:13:43 d65c8cfc05b1: Pull complete 20:13:55 2437ff75d9bd: Pull complete 20:13:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:13:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:56 prd-ubuntu20.04-docker-arm64-4c-16g-6933 does not seem to be running inside a container 20:13:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:13:59 $ docker top 88323b613c0005cdda63f8e5855949d68efed258c53d83e43fadbd8f39b6dd73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:00 ---> job-cost.sh 20:14:00 lf-activate-venv: SKIPPING 20:14:00 INFO: No Stack... 20:14:00 INFO: Retrieving Pricing Info for: v3-standard-4 20:14:01 INFO: Archiving Costs [Pipeline] sh 20:14:02 + cut -d, -f6 20:14:02 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 20:14:02 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] 20:14:02 Resource [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] did not exist. Created. 20:14:02 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:14:02 /w/workspace/device-rest-go/1@tmp/durable-1b840153/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:14:03 + echo total: 0.10999999940395355 [Pipeline] stash 20:14:03 Warning: overwriting stash ‘stack-cost’ 20:14:03 Stashed 1 file(s) [Pipeline] } 20:14:03 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:14:03 $ docker stop --time=1 88323b613c0005cdda63f8e5855949d68efed258c53d83e43fadbd8f39b6dd73 20:14:05 $ docker rm -f 88323b613c0005cdda63f8e5855949d68efed258c53d83e43fadbd8f39b6dd73 [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 20:14:06 provisioning config files... 20:14:06 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp/config16977887192648253728tmp [Pipeline] { [Pipeline] sh 20:14:06 + set +x 20:14:06 + + bashcurl -s -s -- https://codecov.io/bash 20:14:06 20:14:06 20:14:06 _____ _ 20:14:06 / ____| | | 20:14:06 | | ___ __| | ___ ___ _____ __ 20:14:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:14:06 | |___| (_) | (_| | __/ (_| (_) \ V / 20:14:06 \_____\___/ \__,_|\___|\___\___/ \_/ 20:14:06 Bash-1.0.6 20:14:06 20:14:06 20:14:06 ==> git version 2.25.1 found 20:14:06 ==> 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 20:14:06 Release-Date: 2020-01-08 20:14:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:14:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:14:06 ==> Jenkins CI detected. 20:14:06 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-216 20:14:06 project root: . 20:14:06 --> token set from env 20:14:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:14:06 ==> Running gcov in . (disable via -X gcov) 20:14:06 ==> Python coveragepy not found 20:14:06 ==> Searching for coverage reports in: 20:14:06 + . 20:14:06 -> Found 1 reports 20:14:06 ==> Detecting git/mercurial file structure 20:14:06 ==> Reading reports 20:14:06 + ./coverage.out bytes=9355 20:14:06 ==> Appending adjustments 20:14:06 https://docs.codecov.io/docs/fixing-reports 20:14:06 + Found adjustments 20:14:06 ==> Gzipping contents 20:14:06 4.0K /tmp/codecov.s3mmJ4.gz 20:14:06 ==> Uploading reports 20:14:06 url: https://codecov.io 20:14:06 query: branch=PR-216&commit=0ab2c4cc72f3d5c34b81d03116f1ecaca6703962&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-216%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=216&job=&cmd_args= 20:14:06 -> Pinging Codecov 20:14:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-216&commit=0ab2c4cc72f3d5c34b81d03116f1ecaca6703962&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-216%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=216&job=&cmd_args= 20:14:07 -> Uploading to 20:14:07 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/4E5D53B4F1F92C436F7061BF334D961C/0ab2c4cc72f3d5c34b81d03116f1ecaca6703962/a1f87c7c-3c80-4b67-b208-a83f90e3e14d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T201406Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e466c49ef7f35b5d2d8b3a1f14fc7857f3a089f5f853f4b2dcc7f9d24abf382b 20:14:07 % Total % Received % Xferd Average Speed Time Time Time Current 20:14:07 Dload Upload Total Spent Left Speed 20:14:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7864 --:--:-- --:--:-- --:--:-- 7828 100 1738 0 0 100 1738 0 7459 --:--:-- --:--:-- --:--:-- 7427 20:14:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [Pipeline] } 20:14:07 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 20:14:09 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-216/archives ] 20:14:09 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-216/archives 20:14:09 total 16 20:14:09 drwxr-xr-x 3 root root 4096 Oct 3 20:06 . 20:14:09 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:06 .. 20:14:09 drwxr-xr-x 2 root root 4096 Oct 3 20:06 cost 20:14:09 -rw-r--r-- 1 root root 86 Oct 3 20:06 cost.csv 20:14:09 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-216/archives 20:14:09 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-216/archives 20:14:09 total 16 20:14:09 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 20:06 . 20:14:09 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:06 .. 20:14:09 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 20:06 cost 20:14:09 -rw-r--r-- 1 jenkins jenkins 86 Oct 3 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:14:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:14:10 ---> package-listing.sh 20:14:10 ++ facter osfamily 20:14:10 ++ tr '[:upper:]' '[:lower:]' 20:14:10 + OS_FAMILY=debian 20:14:10 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-216 20:14:10 + START_PACKAGES=/tmp/packages_start.txt 20:14:10 + END_PACKAGES=/tmp/packages_end.txt 20:14:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:14:10 + PACKAGES=/tmp/packages_start.txt 20:14:10 + '[' /w/workspace/gexfoundry_device-rest-go_PR-216 ']' 20:14:10 + PACKAGES=/tmp/packages_end.txt 20:14:10 + case "${OS_FAMILY}" in 20:14:10 + dpkg -l 20:14:10 + grep '^ii' 20:14:10 + '[' -f /tmp/packages_start.txt ']' 20:14:10 + '[' -f /tmp/packages_end.txt ']' 20:14:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:14:10 + '[' /w/workspace/gexfoundry_device-rest-go_PR-216 ']' 20:14:10 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-216/archives/ 20:14:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-216/archives/ [Pipeline] echo 20:14:10 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-216/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:14:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:11 prd-ubuntu20.04-docker-8c-8g-6931 does not seem to be running inside a container 20:14:11 $ 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-216/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-216 -v /w/workspace/gexfoundry_device-rest-go_PR-216:/w/workspace/gexfoundry_device-rest-go_PR-216:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-216@tmp:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:14:11 $ docker top 1424d3d08da43b991658bc3099063673fd42f7fde3b2617bb84366e8946673f1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:12 + touch /tmp/pre-build-complete [Pipeline] sh 20:14:12 + mkdir -p /var/log/sysstat [Pipeline] sh 20:14:12 + ls /var/log/sa-host 20:14:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:13 provisioning config files... 20:14:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp/config15831512296309109022tmp [Pipeline] { [Pipeline] echo 20:14:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:14:13 ---> create-netrc.sh [Pipeline] } 20:14:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:14:13 ---> python-tools-install.sh [Pipeline] echo 20:14:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:14:14 ---> sudo-logs.sh 20:14:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:14:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:14:14 ---> job-cost.sh 20:14:14 lf-activate-venv: SKIPPING 20:14:14 DEBUG: total: 0.2199999988079071 20:14:14 INFO: Retrieving Stack Cost... 20:14:14 INFO: Retrieving Pricing Info for: v3-standard-8 20:14:15 INFO: Archiving Costs [Pipeline] echo 20:14:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:14:15 ---> logs-deploy.sh 20:14:15 lf-activate-venv: SKIPPING 20:14:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-216/1 20:14:15 INFO: archiving workspace using pattern(s): 20:14:16 Archives upload complete. 20:14:16 INFO: archiving logs to Nexus