Pull request #218 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 902f5739c8cc50782bc0de1ec6e284f7a8258042+401106fad354fe4e00d3a8593bef2b7e60417552 (21261ddfc4b582f04c49ddf950631f9875586d3d) 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-ssh13104313317768389865.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-ssh9397088865254730308.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-218/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-218/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9850549334507863967.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-218/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8025202998384041556.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-ssh14445132952293507953.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-218/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-218/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3666754763089640887.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 ‘prd-ubuntu20.04-docker-8c-8g-7577’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7581 in /w/workspace/gexfoundry_device-rest-go_PR-218 [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-218 # 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 > 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/218/head:refs/remotes/origin/PR-218 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 401106fad354fe4e00d3a8593bef2b7e60417552 into PR head commit 902f5739c8cc50782bc0de1ec6e284f7a8258042 Merge succeeded, producing 902f5739c8cc50782bc0de1ec6e284f7a8258042 Checking out Revision 902f5739c8cc50782bc0de1ec6e284f7a8258042 (PR-218) 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:05:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 902f5739c8cc50782bc0de1ec6e284f7a8258042 # 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 401106fad354fe4e00d3a8593bef2b7e60417552 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 902f5739c8cc50782bc0de1ec6e284f7a8258042 # timeout=10 [Pipeline] withCredentials 20:05:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:05:13 ========================================================= 20:05:13 EdgeX Global Pipelines Version Info 20:05:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:05:14 ------------------- 20:05:14 stable info: 20:05:14 ------------------- 20:05:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:05:14 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:05:14 Message: update stable to v1.0.239 20:05:14 ------------------- 20:05:14 experimental info: 20:05:14 ------------------- 20:05:14 Commited By: **** collab-it+edgex@linuxfoundation.org 20:05:14 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:05:14 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:05:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:05:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:05:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:05:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:05:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:05:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:05:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:05:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:05:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-218 [Pipeline] echo 20:05:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-218 [Pipeline] echo 20:05:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-218 [Pipeline] echo 20:05:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 902f5739c8cc50782bc0de1ec6e284f7a8258042 [Pipeline] echo 20:05:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 902f573 [Pipeline] echo 20:05:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:05:16 provisioning config files... 20:05:16 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-218@tmp/config14431711384310505890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:17 ---> docker-login.sh 20:05:17 nexus3.edgexfoundry.org:10001 20:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:17 Configure a credential helper to remove this warning. See 20:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:17 20:05:17 Login Succeeded 20:05:17 nexus3.edgexfoundry.org:10002 20:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:17 Configure a credential helper to remove this warning. See 20:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:17 20:05:17 Login Succeeded 20:05:17 nexus3.edgexfoundry.org:10003 20:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:17 Configure a credential helper to remove this warning. See 20:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:17 20:05:17 Login Succeeded 20:05:17 nexus3.edgexfoundry.org:10004 20:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:17 Configure a credential helper to remove this warning. See 20:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:17 20:05:17 Login Succeeded 20:05:17 docker.io 20:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:18 Configure a credential helper to remove this warning. See 20:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:18 20:05:18 Login Succeeded 20:05:18 ---> docker-login.sh ends [Pipeline] } 20:05:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:05:18 + git rev-list -1 --merges 902f5739c8cc50782bc0de1ec6e284f7a8258042~1..902f5739c8cc50782bc0de1ec6e284f7a8258042 [Pipeline] echo 20:05:18 -----------> git rev-list -1 --merges 902f5739c8cc50782bc0de1ec6e284f7a8258042~1..902f5739c8cc50782bc0de1ec6e284f7a8258042 902f5739c8cc50782bc0de1ec6e284f7a8258042 [false] [Pipeline] sh 20:05:19 + git log --format=format:%s -1 902f5739c8cc50782bc0de1ec6e284f7a8258042 [Pipeline] echo 20:05:19 ========================================================= 20:05:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:05:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:05:19 + git log --format=format:%s -1 902f5739c8cc50782bc0de1ec6e284f7a8258042 [Pipeline] echo 20:05:19 [semverPrep] GIT_COMMIT: 902f5739c8cc50782bc0de1ec6e284f7a8258042, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 20:05:19 [semverPrep] This is not a build commit. [Pipeline] sh 20:05:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:05:20 + grep -v github /etc/ssh/ssh_known_hosts 20:05:20 + [ -e /tmp/ssh_known_hosts ] 20:05:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:05:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:05:20 + sudo tee -a /etc/ssh/ssh_known_hosts 20:05:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:20 20:05:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:20 0.1.4: Pulling from edgex-devops/py-git-semver 20:05:20 b85a868b505f: Pulling fs layer 20:05:20 e2be974225ed: Pulling fs layer 20:05:20 339a4e72a1f5: Pulling fs layer 20:05:20 988bab9f4d93: Pulling fs layer 20:05:20 1469e6f7b9e6: Pulling fs layer 20:05:20 eaf3925da568: Pulling fs layer 20:05:20 bab4dde63d76: Pulling fs layer 20:05:20 bde34c3a00c8: Pulling fs layer 20:05:20 b352a97aabf1: Pulling fs layer 20:05:20 4872d77fe225: Pulling fs layer 20:05:20 5851b861e8e6: Pulling fs layer 20:05:20 bab4dde63d76: Waiting 20:05:20 bde34c3a00c8: Waiting 20:05:20 b352a97aabf1: Waiting 20:05:20 4872d77fe225: Waiting 20:05:20 5851b861e8e6: Waiting 20:05:20 1469e6f7b9e6: Waiting 20:05:20 eaf3925da568: Waiting 20:05:20 988bab9f4d93: Waiting 20:05:20 e2be974225ed: Download complete 20:05:20 988bab9f4d93: Verifying Checksum 20:05:20 988bab9f4d93: Download complete 20:05:21 339a4e72a1f5: Verifying Checksum 20:05:21 339a4e72a1f5: Download complete 20:05:21 eaf3925da568: Download complete 20:05:21 1469e6f7b9e6: Verifying Checksum 20:05:21 1469e6f7b9e6: Download complete 20:05:21 bde34c3a00c8: Download complete 20:05:21 b352a97aabf1: Verifying Checksum 20:05:21 b352a97aabf1: Download complete 20:05:21 4872d77fe225: Verifying Checksum 20:05:21 4872d77fe225: Download complete 20:05:21 5851b861e8e6: Verifying Checksum 20:05:21 5851b861e8e6: Download complete 20:05:21 b85a868b505f: Verifying Checksum 20:05:21 b85a868b505f: Download complete 20:05:21 bab4dde63d76: Verifying Checksum 20:05:21 bab4dde63d76: Download complete 20:05:22 b85a868b505f: Pull complete 20:05:22 e2be974225ed: Pull complete 20:05:23 339a4e72a1f5: Pull complete 20:05:23 988bab9f4d93: Pull complete 20:05:23 1469e6f7b9e6: Pull complete 20:05:23 eaf3925da568: Pull complete 20:05:25 bab4dde63d76: Pull complete 20:05:25 bde34c3a00c8: Pull complete 20:05:25 b352a97aabf1: Pull complete 20:05:25 4872d77fe225: Pull complete 20:05:26 5851b861e8e6: Pull complete 20:05:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:05:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:26 prd-ubuntu20.04-docker-8c-8g-7581 does not seem to be running inside a container 20:05:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-218 -v /w/workspace/gexfoundry_device-rest-go_PR-218:/w/workspace/gexfoundry_device-rest-go_PR-218:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-218@tmp:/w/workspace/gexfoundry_device-rest-go_PR-218@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:05:28 $ docker top 7afcc25e134e2964fd8d29a4dccdc550af8cae2a443458679941af6ade1971a1 -eo pid,comm 20:05:28 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:05:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:05:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:28 [ssh-agent] Looking for ssh-agent implementation... 20:05:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:28 $ docker exec 7afcc25e134e2964fd8d29a4dccdc550af8cae2a443458679941af6ade1971a1 ssh-agent 20:05:28 SSH_AUTH_SOCK=/tmp/ssh-bxQJA1nqMWYf/agent.32 20:05:28 SSH_AGENT_PID=38 20:05:28 Running ssh-add (command line suppressed) 20:05:29 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-218@tmp/private_key_8065815562294930532.key (/w/workspace/gexfoundry_device-rest-go_PR-218@tmp/private_key_8065815562294930532.key) 20:05:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:29 + git tag --points-at HEAD [Pipeline] } 20:05:29 $ docker exec --env ******** --env ******** 7afcc25e134e2964fd8d29a4dccdc550af8cae2a443458679941af6ade1971a1 ssh-agent -k 20:05:29 unset SSH_AUTH_SOCK; 20:05:29 unset SSH_AGENT_PID; 20:05:29 echo Agent pid 38 killed; 20:05:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:05:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:29 [ssh-agent] Looking for ssh-agent implementation... 20:05:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:29 $ docker exec 7afcc25e134e2964fd8d29a4dccdc550af8cae2a443458679941af6ade1971a1 ssh-agent 20:05:29 SSH_AUTH_SOCK=/tmp/ssh-s5IK7G9LOg75/agent.69 20:05:29 SSH_AGENT_PID=75 20:05:29 Running ssh-add (command line suppressed) 20:05:29 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-218@tmp/private_key_2220882439836416492.key (/w/workspace/gexfoundry_device-rest-go_PR-218@tmp/private_key_2220882439836416492.key) 20:05:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:30 + git semver init 20:05:30 2022-10-10 20:05:30,522 [run_init] DEBUG init version:0.0.0 force:False 20:05:30 2022-10-10 20:05:30,522 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-218/.semver 20:05:30 2022-10-10 20:05:30,523 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-218/.semver 20:05:30 2022-10-10 20:05:30,523 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-218/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-218, universal_newlines=False, shell=None, istream=None) 20:05:32 2022-10-10 20:05:31,631 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-218/.git/info/exclude 20:05:32 2022-10-10 20:05:31,632 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-218/.semver/PR-218 with force:False 20:05:32 2022-10-10 20:05:31,632 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-218/.semver/PR-218 20:05:32 2022-10-10 20:05:31,637 [execute] INFO git cat-file --batch-check 20:05:32 2022-10-10 20:05:31,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-218/.semver, universal_newlines=False, shell=None, istream=) 20:05:32 2022-10-10 20:05:31,643 [execute] INFO git cat-file --batch 20:05:32 2022-10-10 20:05:31,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-218/.semver, universal_newlines=False, shell=None, istream=) 20:05:32 2022-10-10 20:05:31,648 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-218/.semver/PR-218 20:05:32 0.0.0 [Pipeline] } 20:05:32 $ docker exec --env ******** --env ******** 7afcc25e134e2964fd8d29a4dccdc550af8cae2a443458679941af6ade1971a1 ssh-agent -k 20:05:32 unset SSH_AUTH_SOCK; 20:05:32 unset SSH_AGENT_PID; 20:05:32 echo Agent pid 75 killed; 20:05:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:05:32 + git semver [Pipeline] } 20:05:32 $ docker stop --time=1 7afcc25e134e2964fd8d29a4dccdc550af8cae2a443458679941af6ade1971a1 20:05:34 $ docker rm -f 7afcc25e134e2964fd8d29a4dccdc550af8cae2a443458679941af6ade1971a1 [Pipeline] // withDockerContainer [Pipeline] sh 20:05:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:05:34 Stashed 1 file(s) [Pipeline] echo 20:05:34 [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:05:35 provisioning config files... 20:05:35 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-218@tmp/config2077223489106152350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:35 ---> docker-login.sh 20:05:35 nexus3.edgexfoundry.org:10001 20:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:35 Configure a credential helper to remove this warning. See 20:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:35 20:05:35 Login Succeeded 20:05:35 nexus3.edgexfoundry.org:10002 20:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:35 Configure a credential helper to remove this warning. See 20:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:35 20:05:35 Login Succeeded 20:05:35 nexus3.edgexfoundry.org:10003 20:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:36 Configure a credential helper to remove this warning. See 20:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:36 20:05:36 Login Succeeded 20:05:36 nexus3.edgexfoundry.org:10004 20:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:36 Configure a credential helper to remove this warning. See 20:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:36 20:05:36 Login Succeeded 20:05:36 docker.io 20:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:36 Configure a credential helper to remove this warning. See 20:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:36 20:05:36 Login Succeeded 20:05:36 ---> docker-login.sh ends [Pipeline] } 20:05:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:05:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:36 ========================================================= 20:05:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:05:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:37 + 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:05:37 Sending build context to Docker daemon 10.73MB 20:05:37 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:05:37 Step 2/13 : FROM ${BASE} AS builder 20:05:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:05:37 213ec9aee27d: Pulling fs layer 20:05:37 4583459ba037: Pulling fs layer 20:05:37 93c1e223e6f2: Pulling fs layer 20:05:37 53926ce57604: Pulling fs layer 20:05:37 21b2b0c7a3f4: Pulling fs layer 20:05:37 30f14e443154: Pulling fs layer 20:05:37 801331c1e519: Pulling fs layer 20:05:37 99cc6dd402b0: Pulling fs layer 20:05:37 7d9ed39f4882: Pulling fs layer 20:05:37 801331c1e519: Waiting 20:05:37 99cc6dd402b0: Waiting 20:05:37 7d9ed39f4882: Waiting 20:05:37 53926ce57604: Waiting 20:05:37 30f14e443154: Waiting 20:05:37 21b2b0c7a3f4: Waiting 20:05:37 93c1e223e6f2: Verifying Checksum 20:05:37 93c1e223e6f2: Download complete 20:05:37 4583459ba037: Verifying Checksum 20:05:37 4583459ba037: Download complete 20:05:37 21b2b0c7a3f4: Download complete 20:05:37 30f14e443154: Verifying Checksum 20:05:37 30f14e443154: Download complete 20:05:37 213ec9aee27d: Verifying Checksum 20:05:37 213ec9aee27d: Download complete 20:05:37 801331c1e519: Verifying Checksum 20:05:37 801331c1e519: Download complete 20:05:37 213ec9aee27d: Pull complete 20:05:37 4583459ba037: Pull complete 20:05:38 93c1e223e6f2: Pull complete 20:05:38 7d9ed39f4882: Verifying Checksum 20:05:38 7d9ed39f4882: Download complete 20:05:38 53926ce57604: Verifying Checksum 20:05:38 53926ce57604: Download complete 20:05:38 99cc6dd402b0: Verifying Checksum 20:05:42 53926ce57604: Pull complete 20:05:42 21b2b0c7a3f4: Pull complete 20:05:42 30f14e443154: Pull complete 20:05:42 801331c1e519: Pull complete 20:05:44 99cc6dd402b0: Pull complete 20:05:45 7d9ed39f4882: Pull complete 20:05:45 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:05:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:05:45 ---> 1dedd983c030 20:05:45 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:05:49 ---> Running in 5477ae903306 20:05:49 Removing intermediate container 5477ae903306 20:05:49 ---> 696da4108228 20:05:49 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:05:49 ---> Running in 604136d93238 20:05:49 Removing intermediate container 604136d93238 20:05:49 ---> 5f10a457e625 20:05:49 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:05:49 ---> Running in 327d4c55dd8d 20:05:49 Removing intermediate container 327d4c55dd8d 20:05:49 ---> 37d1b3a4b1f1 20:05:49 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:05:49 ---> Running in df375b6b404c 20:05:49 Removing intermediate container df375b6b404c 20:05:49 ---> 64c7eb1c32f4 20:05:49 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:05:49 ---> Running in 950cb58fa10c 20:05:50 Removing intermediate container 950cb58fa10c 20:05:50 ---> 8a3141526d41 20:05:50 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:50 ---> Running in 115287c682e2 20:05:50 Still waiting to schedule task 20:05:50 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7578’ is offline 20:05:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:05:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:05:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:05:51 (2/4) Installing libedit (20210910.3.1-r0) 20:05:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:05:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:05:52 Executing busybox-1.35.0-r17.trigger 20:05:52 OK: 216 MiB in 55 packages 20:05:52 Removing intermediate container 115287c682e2 20:05:52 ---> 0d1df973e2bc 20:05:52 Step 9/13 : WORKDIR /device-rest-go 20:05:52 ---> Running in 4c5a30527d8a 20:05:52 Removing intermediate container 4c5a30527d8a 20:05:52 ---> dbabd571a470 20:05:52 Step 10/13 : COPY go.mod vendor* ./ 20:05:52 ---> b7cc383451f9 20:05:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:52 ---> Running in 5bd716c46898 20:06:14 Removing intermediate container 5bd716c46898 20:06:14 ---> cc7e57f591bf 20:06:14 Step 12/13 : COPY . . 20:06:14 ---> 6c3074975afe 20:06:14 Step 13/13 : RUN $MAKE 20:06:14 ---> Running in daaca6c13763 20:06:14 noop 20:06:14 Removing intermediate container daaca6c13763 20:06:14 ---> beb8200d3384 20:06:14 Successfully built beb8200d3384 20:06:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:15 + docker inspect -f . ci-base-image-x86_64 20:06:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:15 prd-ubuntu20.04-docker-8c-8g-7581 does not seem to be running inside a container 20:06:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-218 -v /w/workspace/gexfoundry_device-rest-go_PR-218:/w/workspace/gexfoundry_device-rest-go_PR-218:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-218@tmp:/w/workspace/gexfoundry_device-rest-go_PR-218@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:06:15 $ docker top 013efbf21b03f22d56019d5aa81e7aca84500f0f93e667bd6cc2ee8a6819b0fc -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:16 + go version 20:06:16 go version go1.18.7 linux/amd64 [Pipeline] } 20:06:16 $ docker stop --time=1 013efbf21b03f22d56019d5aa81e7aca84500f0f93e667bd6cc2ee8a6819b0fc 20:06:17 $ docker rm -f 013efbf21b03f22d56019d5aa81e7aca84500f0f93e667bd6cc2ee8a6819b0fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:18 + docker inspect -f . ci-base-image-x86_64 20:06:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:18 prd-ubuntu20.04-docker-8c-8g-7581 does not seem to be running inside a container 20:06:18 $ 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-218 -v /w/workspace/gexfoundry_device-rest-go_PR-218:/w/workspace/gexfoundry_device-rest-go_PR-218:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-218@tmp:/w/workspace/gexfoundry_device-rest-go_PR-218@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:06:18 $ docker top 2cd5fd3ec21d7538c55e69e6fa393cc9e331ab1348f45da97846bcfe65a9ab60 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:19 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-218 [Pipeline] fileExists [Pipeline] sh 20:06:19 + make test 20:06:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:06:19 ? github.com/edgexfoundry/device-rest-go [no test files] 20:06:29 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:06:29 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements 20:06:36 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:06:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:06:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:06:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:06:38 ./bin/test-attribution-txt.sh [Pipeline] echo 20:06:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:06:38 $ docker stop --time=1 2cd5fd3ec21d7538c55e69e6fa393cc9e331ab1348f45da97846bcfe65a9ab60 20:06:41 $ docker rm -f 2cd5fd3ec21d7538c55e69e6fa393cc9e331ab1348f45da97846bcfe65a9ab60 [Pipeline] // withDockerContainer [Pipeline] sh 20:06:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:06:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:06:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:06:42 + ls -al . 20:06:42 total 180 20:06:42 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 20:06 . 20:06:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 20:05 .. 20:06:42 -rw-rw-r-- 1 jenkins jenkins 151 Oct 10 20:05 .dockerignore 20:06:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 20:06 .git 20:06:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 20:05 .github 20:06:42 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 20:05 .gitignore 20:06:42 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 20:05 .golangci.yml 20:06:42 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 20:05 .semver 20:06:42 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 10 20:05 Attribution.txt 20:06:42 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 10 20:05 CHANGELOG.md 20:06:42 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 10 20:05 Dockerfile 20:06:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 20:05 GOVERNANCE.md 20:06:42 -rw-rw-r-- 1 jenkins jenkins 680 Oct 10 20:05 Jenkinsfile 20:06:42 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 20:05 LICENSE 20:06:42 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 10 20:05 Makefile 20:06:42 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 20:05 OWNERS.md 20:06:42 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 10 20:05 README.md 20:06:42 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 20:05 VERSION 20:06:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 20:05 bin 20:06:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 20:05 cmd 20:06:42 -rw-r--r-- 1 jenkins jenkins 9355 Oct 10 20:06 coverage.out 20:06:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 20:05 driver 20:06:42 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 10 20:05 go.mod 20:06:42 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 20:05 go.sum 20:06:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 20:05 snap 20:06:42 -rw-rw-r-- 1 jenkins jenkins 713 Oct 10 20:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:43 + 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=902f5739c8cc50782bc0de1ec6e284f7a8258042 --label arch=amd64 --label version=0.0.0 . 20:06:43 Sending build context to Docker daemon 10.74MB 20:06:43 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:06:43 Step 2/26 : FROM ${BASE} AS builder 20:06:43 ---> beb8200d3384 20:06:43 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:06:43 ---> Running in af4227293ecf 20:06:43 Removing intermediate container af4227293ecf 20:06:43 ---> 194c56bac5cf 20:06:43 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:06:43 ---> Running in dfc42a1d7c22 20:06:43 Removing intermediate container dfc42a1d7c22 20:06:43 ---> 6873ea80f31d 20:06:43 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:06:43 ---> Running in 76a3ed3f1cba 20:06:43 Removing intermediate container 76a3ed3f1cba 20:06:43 ---> e598a28d3564 20:06:43 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:06:43 ---> Running in ac704dbfa9b4 20:06:43 Removing intermediate container ac704dbfa9b4 20:06:43 ---> 67c62e5c7fd7 20:06:43 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:06:43 ---> Running in 8a213384b7db 20:06:44 Removing intermediate container 8a213384b7db 20:06:44 ---> 052885837e8d 20:06:44 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:06:44 ---> Running in 47ec84a64dbd 20:06:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:06:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:06:45 OK: 216 MiB in 55 packages 20:06:45 Removing intermediate container 47ec84a64dbd 20:06:45 ---> 767c682d990d 20:06:45 Step 9/26 : WORKDIR /device-rest-go 20:06:45 ---> Running in b1e1d23cd2de 20:06:46 Removing intermediate container b1e1d23cd2de 20:06:46 ---> 6cf048b3bb68 20:06:46 Step 10/26 : COPY go.mod vendor* ./ 20:06:46 ---> c4975973cbf6 20:06:46 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:06:46 ---> Running in f5bde90a2303 20:06:47 Removing intermediate container f5bde90a2303 20:06:47 ---> 06e81314380e 20:06:47 Step 12/26 : COPY . . 20:06:47 ---> d44e306b52d7 20:06:47 Step 13/26 : RUN $MAKE 20:06:47 ---> Running in f2f5d45d293e 20:06:47 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:07:09 Removing intermediate container f2f5d45d293e 20:07:09 ---> a11784624e98 20:07:09 Step 14/26 : FROM alpine:3.16 20:07:09 3.16: Pulling from library/alpine 20:07:09 213ec9aee27d: Already exists 20:07:09 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:07:09 Status: Downloaded newer image for alpine:3.16 20:07:09 ---> 9c6f07244728 20:07:09 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:07:09 ---> Running in 9a5848b71f69 20:07:09 Removing intermediate container 9a5848b71f69 20:07:09 ---> 569ecf38f4be 20:07:09 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 20:07:09 ---> Running in aeb529b29a1d 20:07:09 Removing intermediate container aeb529b29a1d 20:07:09 ---> 83a7309183e8 20:07:09 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 20:07:09 ---> Running in 569d5122b990 20:07:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:07:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:07:09 (1/6) Installing dumb-init (1.2.5-r1) 20:07:09 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:07:09 (3/6) Installing libsodium (1.0.18-r0) 20:07:09 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:07:09 (5/6) Installing libzmq (4.3.4-r0) 20:07:09 (6/6) Installing zeromq (4.3.4-r0) 20:07:09 Executing busybox-1.35.0-r17.trigger 20:07:09 OK: 8 MiB in 20 packages 20:07:09 Removing intermediate container 569d5122b990 20:07:09 ---> 9a4b37126de9 20:07:09 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:07:10 ---> 4e4a4f3e2070 20:07:10 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:07:10 ---> 95fb945c0a92 20:07:10 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:07:10 ---> 95fc870f6176 20:07:10 Step 21/26 : EXPOSE 59986 20:07:10 ---> Running in cacb2adcea02 20:07:10 Removing intermediate container cacb2adcea02 20:07:10 ---> b1294dd9d247 20:07:10 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:07:10 ---> Running in b78ab4025884 20:07:10 Removing intermediate container b78ab4025884 20:07:10 ---> ba93578b6e5e 20:07:10 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:07:10 ---> Running in 44193bb9b913 20:07:10 Removing intermediate container 44193bb9b913 20:07:10 ---> 26e3f066a6d8 20:07:10 Step 24/26 : LABEL arch=amd64 20:07:10 ---> Running in 7adc9b875b7b 20:07:10 Removing intermediate container 7adc9b875b7b 20:07:10 ---> 1204927ee8a7 20:07:10 Step 25/26 : LABEL git_sha=902f5739c8cc50782bc0de1ec6e284f7a8258042 20:07:10 ---> Running in 5f6f389e6705 20:07:10 Removing intermediate container 5f6f389e6705 20:07:10 ---> 5b9eb06c1370 20:07:10 Step 26/26 : LABEL version=0.0.0 20:07:10 ---> Running in 86038185bb63 20:07:10 Removing intermediate container 86038185bb63 20:07:10 ---> 756fc2f02323 20:07:10 [Warning] One or more build-args [ARCH] were not consumed 20:07:10 Successfully built 756fc2f02323 20:07:10 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:07:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:11 20:07:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:12 latest: Pulling from edgex-lftools-log-publisher 20:07:12 5eb5b503b376: Pulling fs layer 20:07:12 5c69ac0246d0: Pulling fs layer 20:07:12 ec43610c2a17: Pulling fs layer 20:07:12 3a2ae6a8a46f: Pulling fs layer 20:07:12 33b1e0a273af: Pulling fs layer 20:07:12 5d3b04190fa2: Pulling fs layer 20:07:12 2f39f015ded8: Pulling fs layer 20:07:12 3a2ae6a8a46f: Waiting 20:07:12 5d3b04190fa2: Waiting 20:07:12 33b1e0a273af: Waiting 20:07:12 2f39f015ded8: Waiting 20:07:12 5c69ac0246d0: Verifying Checksum 20:07:12 5c69ac0246d0: Download complete 20:07:12 3a2ae6a8a46f: Verifying Checksum 20:07:12 3a2ae6a8a46f: Download complete 20:07:12 33b1e0a273af: Verifying Checksum 20:07:12 33b1e0a273af: Download complete 20:07:12 5d3b04190fa2: Verifying Checksum 20:07:12 5d3b04190fa2: Download complete 20:07:12 ec43610c2a17: Verifying Checksum 20:07:12 ec43610c2a17: Download complete 20:07:12 5eb5b503b376: Verifying Checksum 20:07:12 5eb5b503b376: Download complete 20:07:12 2f39f015ded8: Download complete 20:07:13 5eb5b503b376: Pull complete 20:07:13 5c69ac0246d0: Pull complete 20:07:14 ec43610c2a17: Pull complete 20:07:14 3a2ae6a8a46f: Pull complete 20:07:14 33b1e0a273af: Pull complete 20:07:14 5d3b04190fa2: Pull complete 20:07:18 2f39f015ded8: Pull complete 20:07:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:07:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:07:18 prd-ubuntu20.04-docker-8c-8g-7581 does not seem to be running inside a container 20:07:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-218 -v /w/workspace/gexfoundry_device-rest-go_PR-218:/w/workspace/gexfoundry_device-rest-go_PR-218:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-218@tmp:/w/workspace/gexfoundry_device-rest-go_PR-218@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:07:21 $ docker top ed6625d10f1915a115302db8fd80533aca9d5b1d8e2bfd51789a818c159b167e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:21 ---> job-cost.sh 20:07:21 lf-activate-venv: SKIPPING 20:07:21 INFO: No Stack... 20:07:22 INFO: Retrieving Pricing Info for: v3-standard-8 20:07:22 INFO: Archiving Costs [Pipeline] sh 20:07:23 + cat /w/workspace/gexfoundry_device-rest-go_PR-218/archives/cost.csv 20:07:23 + cut -d, -f6 [Pipeline] lock 20:07:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] 20:07:23 Resource [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] did not exist. Created. 20:07:23 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:07:23 + echo total: 0.2199999988079071 [Pipeline] stash 20:07:23 Stashed 1 file(s) [Pipeline] } 20:07:23 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:07:23 $ docker stop --time=1 ed6625d10f1915a115302db8fd80533aca9d5b1d8e2bfd51789a818c159b167e 20:07:24 $ docker rm -f ed6625d10f1915a115302db8fd80533aca9d5b1d8e2bfd51789a818c159b167e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:08:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7585 in /w/workspace/gexfoundry_device-rest-go_PR-218 [Pipeline] { [Pipeline] ws 20:08:10 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:08:10 The recommended git tool is: git 20:08:15 using credential edgex-jenkins-ssh 20:08:15 Cloning the remote Git repository 20:08:15 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:08:16 > git init /w/workspace/device-rest-go/1 # timeout=10 20:08:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:08:16 > git --version # timeout=10 20:08:16 > git --version # 'git version 2.25.1' 20:08:16 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:16 Verifying host key using known hosts file 20:08:16 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:08:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:08:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:08:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:08:20 Merging remotes/origin/main commit 401106fad354fe4e00d3a8593bef2b7e60417552 into PR head commit 902f5739c8cc50782bc0de1ec6e284f7a8258042 20:08:20 Merge succeeded, producing 902f5739c8cc50782bc0de1ec6e284f7a8258042 20:08:20 Checking out Revision 902f5739c8cc50782bc0de1ec6e284f7a8258042 (PR-218) 20:08:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:08:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:08:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:19 Verifying host key using known hosts file 20:08:19 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:08:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/218/head:refs/remotes/origin/PR-218 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:08:20 > git config core.sparsecheckout # timeout=10 20:08:20 > git checkout -f 902f5739c8cc50782bc0de1ec6e284f7a8258042 # timeout=10 20:08:20 > git remote # timeout=10 20:08:20 > git config --get remote.origin.url # timeout=10 20:08:20 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:20 Verifying host key using known hosts file 20:08:20 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:08:20 > git merge 401106fad354fe4e00d3a8593bef2b7e60417552 # timeout=10 20:08:20 > git rev-parse HEAD^{commit} # timeout=10 20:08:20 > git config core.sparsecheckout # timeout=10 20:08:20 > git checkout -f 902f5739c8cc50782bc0de1ec6e284f7a8258042 # timeout=10 20:08:20 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 20:08:20 > git --version # timeout=10 20:08:20 > git --version # 'git version 2.25.1' 20:08:20 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:08:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:08:21 % Total % Received % Xferd Average Speed Time Time Time Current 20:08:21 Dload Upload Total Spent Left Speed 20:08:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 20:08:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:08:22 + + sudo tee /etc/docker/daemon.new 20:08:22 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:08:22 { 20:08:22 "registry-mirrors": [ 20:08:22 "https://nexus3.edgexfoundry.org:10001" 20:08:22 ], 20:08:22 "bip": "10.250.0.254/24", 20:08:22 "hosts": [ 20:08:22 "tcp://0.0.0.0:5555", 20:08:22 "unix:///var/run/docker.sock" 20:08:22 ], 20:08:22 "mtu": 1458, 20:08:22 "selinux-enabled": true, 20:08:22 "seccomp-profile": "/etc/docker/seccomp.json" 20:08:22 } [Pipeline] sh 20:08:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:08:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:08:45 provisioning config files... 20:08:45 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config16000269181642823748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:46 ---> docker-login.sh 20:08:46 nexus3.edgexfoundry.org:10001 20:08:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:47 Configure a credential helper to remove this warning. See 20:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:47 20:08:47 Login Succeeded 20:08:47 nexus3.edgexfoundry.org:10002 20:08:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:47 Configure a credential helper to remove this warning. See 20:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:47 20:08:47 Login Succeeded 20:08:47 nexus3.edgexfoundry.org:10003 20:08:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:47 Configure a credential helper to remove this warning. See 20:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:47 20:08:47 Login Succeeded 20:08:47 nexus3.edgexfoundry.org:10004 20:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:48 Configure a credential helper to remove this warning. See 20:08:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:48 20:08:48 Login Succeeded 20:08:48 docker.io 20:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:49 Configure a credential helper to remove this warning. See 20:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:49 20:08:49 Login Succeeded 20:08:49 ---> docker-login.sh ends [Pipeline] } 20:08:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:08:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:49 ========================================================= 20:08:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:08:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:50 + 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:08:50 Sending build context to Docker daemon 127kB 20:08:50 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:08:50 Step 2/13 : FROM ${BASE} AS builder 20:08:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:08:50 9b18e9b68314: Pulling fs layer 20:08:50 d32db5db7311: Pulling fs layer 20:08:50 d0c4b47475fc: Pulling fs layer 20:08:50 5831b945b038: Pulling fs layer 20:08:50 86bbec2aaacd: Pulling fs layer 20:08:50 e10730c5d714: Pulling fs layer 20:08:50 5dd5c2283517: Pulling fs layer 20:08:50 d5ac0230b979: Pulling fs layer 20:08:50 86bbec2aaacd: Waiting 20:08:50 e10730c5d714: Waiting 20:08:50 5831b945b038: Waiting 20:08:50 5dd5c2283517: Waiting 20:08:50 d5ac0230b979: Waiting 20:08:50 d0c4b47475fc: Verifying Checksum 20:08:50 d0c4b47475fc: Download complete 20:08:50 d32db5db7311: Verifying Checksum 20:08:50 d32db5db7311: Download complete 20:08:50 86bbec2aaacd: Verifying Checksum 20:08:50 86bbec2aaacd: Download complete 20:08:50 e10730c5d714: Verifying Checksum 20:08:50 e10730c5d714: Download complete 20:08:50 9b18e9b68314: Verifying Checksum 20:08:50 9b18e9b68314: Download complete 20:08:51 9b18e9b68314: Pull complete 20:08:51 d5ac0230b979: Verifying Checksum 20:08:51 d5ac0230b979: Download complete 20:08:52 d32db5db7311: Pull complete 20:08:52 d0c4b47475fc: Pull complete 20:08:52 5dd5c2283517: Verifying Checksum 20:08:52 5dd5c2283517: Download complete 20:08:53 5831b945b038: Verifying Checksum 20:08:53 5831b945b038: Download complete 20:09:06 5831b945b038: Pull complete 20:09:06 86bbec2aaacd: Pull complete 20:09:06 e10730c5d714: Pull complete 20:09:11 5dd5c2283517: Pull complete 20:09:13 d5ac0230b979: Pull complete 20:09:13 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:09:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:09:13 ---> 59b3b1a385d4 20:09:13 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:09:15 ---> Running in 65b711e95caa 20:09:15 Removing intermediate container 65b711e95caa 20:09:15 ---> c7055799f1ea 20:09:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:09:16 ---> Running in 0de0c2695f3a 20:09:16 Removing intermediate container 0de0c2695f3a 20:09:16 ---> f9923e2fd4ac 20:09:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:09:16 ---> Running in 56070249d9c5 20:09:16 Removing intermediate container 56070249d9c5 20:09:16 ---> b936fc85d134 20:09:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:09:16 ---> Running in 102240f0a669 20:09:17 Removing intermediate container 102240f0a669 20:09:17 ---> 11906a0f2560 20:09:17 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:09:17 ---> Running in 6fb134e5be62 20:09:19 Removing intermediate container 6fb134e5be62 20:09:19 ---> 5069814b594d 20:09:19 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:19 ---> Running in f38e877eb885 20:09:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:09:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:09:22 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:09:22 (2/4) Installing libedit (20210910.3.1-r0) 20:09:23 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:09:23 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:09:23 Executing busybox-1.35.0-r17.trigger 20:09:23 OK: 226 MiB in 55 packages 20:09:24 Removing intermediate container f38e877eb885 20:09:24 ---> 6f1baf85cd41 20:09:24 Step 9/13 : WORKDIR /device-rest-go 20:09:24 ---> Running in f3ea7301c733 20:09:25 Removing intermediate container f3ea7301c733 20:09:25 ---> beaf37599cab 20:09:25 Step 10/13 : COPY go.mod vendor* ./ 20:09:25 ---> 907d0cbd05cf 20:09:25 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:25 ---> Running in ea5a1c14d1c3 20:10:22 Removing intermediate container ea5a1c14d1c3 20:10:22 ---> 7683324c38b4 20:10:22 Step 12/13 : COPY . . 20:10:22 ---> ab7987cca462 20:10:22 Step 13/13 : RUN $MAKE 20:10:22 ---> Running in a3f9a7173f02 20:10:22 noop 20:10:22 Removing intermediate container a3f9a7173f02 20:10:22 ---> 6632e7403b05 20:10:22 Successfully built 6632e7403b05 20:10:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:22 + docker inspect -f . ci-base-image-arm64 20:10:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:22 prd-ubuntu20.04-docker-arm64-4c-16g-7585 does not seem to be running inside a container 20:10:22 $ 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:10:24 $ docker top 335f55ecc21875e00abfd5df8026c29e3cb82f936b3d2cb53c82e058916ff9bb -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:25 + go version 20:10:25 go version go1.18.7 linux/arm64 [Pipeline] } 20:10:25 $ docker stop --time=1 335f55ecc21875e00abfd5df8026c29e3cb82f936b3d2cb53c82e058916ff9bb 20:10:27 $ docker rm -f 335f55ecc21875e00abfd5df8026c29e3cb82f936b3d2cb53c82e058916ff9bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:27 + docker inspect -f . ci-base-image-arm64 20:10:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:28 prd-ubuntu20.04-docker-arm64-4c-16g-7585 does not seem to be running inside a container 20:10:28 $ 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:10:29 $ docker top 94bd446d51b64f2bbf8dfed69eda57be13bc2b28713a84dbf1337daafccbb388 -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:30 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:10:30 + make test 20:10:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:10:32 ? github.com/edgexfoundry/device-rest-go [no test files] 20:12:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:12:09 ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 55.2% of statements 20:12:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:12:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:12:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:12:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:12:41 ./bin/test-attribution-txt.sh [Pipeline] echo 20:12:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:12:41 $ docker stop --time=1 94bd446d51b64f2bbf8dfed69eda57be13bc2b28713a84dbf1337daafccbb388 20:12:43 $ docker rm -f 94bd446d51b64f2bbf8dfed69eda57be13bc2b28713a84dbf1337daafccbb388 [Pipeline] // withDockerContainer [Pipeline] sh 20:12:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:12:44 Warning: overwriting stash ‘coverage-report’ 20:12:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:12:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:12:46 + ls -al . 20:12:46 total 176 20:12:46 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 20:10 . 20:12:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 20:08 .. 20:12:46 -rw-rw-r-- 1 jenkins jenkins 151 Oct 10 20:08 .dockerignore 20:12:46 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 20:08 .git 20:12:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 20:08 .github 20:12:46 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 20:08 .gitignore 20:12:46 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 20:08 .golangci.yml 20:12:46 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 10 20:08 Attribution.txt 20:12:46 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 10 20:08 CHANGELOG.md 20:12:46 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 10 20:08 Dockerfile 20:12:46 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 20:08 GOVERNANCE.md 20:12:46 -rw-rw-r-- 1 jenkins jenkins 680 Oct 10 20:08 Jenkinsfile 20:12:46 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 20:08 LICENSE 20:12:46 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 10 20:08 Makefile 20:12:46 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 20:08 OWNERS.md 20:12:46 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 10 20:08 README.md 20:12:46 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 20:05 VERSION 20:12:46 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 20:08 bin 20:12:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 20:08 cmd 20:12:46 -rw-r--r-- 1 jenkins jenkins 9355 Oct 10 20:12 coverage.out 20:12:46 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 20:08 driver 20:12:46 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 10 20:08 go.mod 20:12:46 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 20:08 go.sum 20:12:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 20:08 snap 20:12:46 -rw-rw-r-- 1 jenkins jenkins 713 Oct 10 20:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:46 + 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=902f5739c8cc50782bc0de1ec6e284f7a8258042 --label arch=arm64 --label version=0.0.0 . 20:12:46 Sending build context to Docker daemon 137.2kB 20:12:47 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:12:47 Step 2/26 : FROM ${BASE} AS builder 20:12:47 ---> 6632e7403b05 20:12:47 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:12:47 ---> Running in dee8938bf3de 20:12:48 Removing intermediate container dee8938bf3de 20:12:48 ---> 2e49006ffa03 20:12:48 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:12:48 ---> Running in 8c72d3084fc4 20:12:48 Removing intermediate container 8c72d3084fc4 20:12:48 ---> 806ba0526dc2 20:12:48 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:12:48 ---> Running in 59f3e36d5cb1 20:12:49 Removing intermediate container 59f3e36d5cb1 20:12:49 ---> 3c89cf7b18ef 20:12:49 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:12:49 ---> Running in 6d05972f8ad1 20:12:49 Removing intermediate container 6d05972f8ad1 20:12:49 ---> b28fa393d97c 20:12:49 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:12:49 ---> Running in 3c14d7508e85 20:12:51 Removing intermediate container 3c14d7508e85 20:12:51 ---> ee51c951ff28 20:12:51 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:12:51 ---> Running in db6779e0d253 20:12:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:12:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:12:55 OK: 226 MiB in 55 packages 20:12:56 Removing intermediate container db6779e0d253 20:12:56 ---> aad4465a1b23 20:12:56 Step 9/26 : WORKDIR /device-rest-go 20:12:56 ---> Running in 6442f42c1a08 20:12:56 Removing intermediate container 6442f42c1a08 20:12:56 ---> fb492d3e74af 20:12:56 Step 10/26 : COPY go.mod vendor* ./ 20:12:57 ---> afd700579f6d 20:12:57 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:12:57 ---> Running in eeb9d19bf727 20:13:00 Removing intermediate container eeb9d19bf727 20:13:00 ---> 95bdacbf05a1 20:13:00 Step 12/26 : COPY . . 20:13:00 ---> a351d85dd1c4 20:13:00 Step 13/26 : RUN $MAKE 20:13:00 ---> Running in 9e4220781e77 20:13:01 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:15:53 Removing intermediate container 9e4220781e77 20:15:53 ---> 124acd0140bd 20:15:53 Step 14/26 : FROM alpine:3.16 20:15:53 3.16: Pulling from library/alpine 20:15:53 9b18e9b68314: Already exists 20:15:53 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:15:53 Status: Downloaded newer image for alpine:3.16 20:15:53 ---> a6215f271958 20:15:53 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:15:53 ---> Running in 634c7e9a8d6b 20:15:53 Removing intermediate container 634c7e9a8d6b 20:15:53 ---> 2ffe38b7f38f 20:15:53 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 20:15:53 ---> Running in 28935e3c1744 20:15:53 Removing intermediate container 28935e3c1744 20:15:53 ---> f7ccbf640470 20:15:53 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 20:15:53 ---> Running in 2b83352c2730 20:15:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:15:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:15:53 (1/6) Installing dumb-init (1.2.5-r1) 20:15:53 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:15:53 (3/6) Installing libsodium (1.0.18-r0) 20:15:53 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:15:53 (5/6) Installing libzmq (4.3.4-r0) 20:15:53 (6/6) Installing zeromq (4.3.4-r0) 20:15:53 Executing busybox-1.35.0-r17.trigger 20:15:53 OK: 8 MiB in 20 packages 20:15:53 Removing intermediate container 2b83352c2730 20:15:53 ---> 57953d90b0cf 20:15:53 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:15:53 ---> e2d192f33885 20:15:53 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:15:53 ---> af9a96acb5f8 20:15:53 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:15:53 ---> 2b1a1747f0ba 20:15:53 Step 21/26 : EXPOSE 59986 20:15:53 ---> Running in fca3dc46f76c 20:15:53 Removing intermediate container fca3dc46f76c 20:15:53 ---> 435816502554 20:15:53 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:15:53 ---> Running in f9bb27d4033a 20:15:53 Removing intermediate container f9bb27d4033a 20:15:53 ---> 2cae01daa0bd 20:15:53 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:15:53 ---> Running in 07c777d41c58 20:15:53 Removing intermediate container 07c777d41c58 20:15:53 ---> 6663a8800e3f 20:15:53 Step 24/26 : LABEL arch=arm64 20:15:53 ---> Running in 4d51a660f61d 20:15:53 Removing intermediate container 4d51a660f61d 20:15:53 ---> 2773d316868d 20:15:53 Step 25/26 : LABEL git_sha=902f5739c8cc50782bc0de1ec6e284f7a8258042 20:15:53 ---> Running in 26c80f6420ff 20:15:53 Removing intermediate container 26c80f6420ff 20:15:53 ---> 12051e446fd5 20:15:53 Step 26/26 : LABEL version=0.0.0 20:15:53 ---> Running in 6b5521121ae1 20:15:53 Removing intermediate container 6b5521121ae1 20:15:53 ---> 225957e8fb70 20:15:53 [Warning] One or more build-args [ARCH] were not consumed 20:15:53 Successfully built 225957e8fb70 20:15:53 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:15:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:54 20:15:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:54 arm64: Pulling from edgex-lftools-log-publisher 20:15:54 8998bd30e6a1: Pulling fs layer 20:15:54 04944245beec: Pulling fs layer 20:15:54 699f458cf7ca: Pulling fs layer 20:15:54 765212b225bb: Pulling fs layer 20:15:54 f23df028b6ca: Pulling fs layer 20:15:54 d65c8cfc05b1: Pulling fs layer 20:15:54 2437ff75d9bd: Pulling fs layer 20:15:54 765212b225bb: Waiting 20:15:54 f23df028b6ca: Waiting 20:15:54 d65c8cfc05b1: Waiting 20:15:54 2437ff75d9bd: Waiting 20:15:55 04944245beec: Verifying Checksum 20:15:55 04944245beec: Download complete 20:15:55 765212b225bb: Verifying Checksum 20:15:55 765212b225bb: Download complete 20:15:55 f23df028b6ca: Verifying Checksum 20:15:55 f23df028b6ca: Download complete 20:15:55 d65c8cfc05b1: Verifying Checksum 20:15:55 d65c8cfc05b1: Download complete 20:15:55 699f458cf7ca: Verifying Checksum 20:15:55 699f458cf7ca: Download complete 20:15:55 8998bd30e6a1: Verifying Checksum 20:15:55 8998bd30e6a1: Download complete 20:15:58 2437ff75d9bd: Verifying Checksum 20:15:58 2437ff75d9bd: Download complete 20:15:59 8998bd30e6a1: Pull complete 20:16:00 04944245beec: Pull complete 20:16:01 699f458cf7ca: Pull complete 20:16:01 765212b225bb: Pull complete 20:16:02 f23df028b6ca: Pull complete 20:16:02 d65c8cfc05b1: Pull complete 20:16:17 2437ff75d9bd: Pull complete 20:16:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:16:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:16:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:18 prd-ubuntu20.04-docker-arm64-4c-16g-7585 does not seem to be running inside a container 20:16:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:16:20 $ docker top a643c1a861e908cd121036894a2d90f70d23698bc031af01cbfe248d59dab765 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:21 ---> job-cost.sh 20:16:21 lf-activate-venv: SKIPPING 20:16:21 INFO: No Stack... 20:16:22 INFO: Retrieving Pricing Info for: v3-standard-4 20:16:23 INFO: Archiving Costs [Pipeline] sh 20:16:24 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:16:24 + cut -d, -f6 [Pipeline] lock 20:16:24 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] 20:16:24 Resource [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] did not exist. Created. 20:16:24 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:16:24 /w/workspace/device-rest-go/1@tmp/durable-e9383f88/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:16:25 + echo total: 0.10999999940395355 [Pipeline] stash 20:16:25 Warning: overwriting stash ‘stack-cost’ 20:16:25 Stashed 1 file(s) [Pipeline] } 20:16:25 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:16:25 $ docker stop --time=1 a643c1a861e908cd121036894a2d90f70d23698bc031af01cbfe248d59dab765 20:16:26 $ docker rm -f a643c1a861e908cd121036894a2d90f70d23698bc031af01cbfe248d59dab765 [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:16:27 provisioning config files... 20:16:27 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-218@tmp/config4934036633281808927tmp [Pipeline] { [Pipeline] sh 20:16:28 + set +x 20:16:28 + curl -s https://codecov.io/bash 20:16:28 + bash -s -- 20:16:28 20:16:28 _____ _ 20:16:28 / ____| | | 20:16:28 | | ___ __| | ___ ___ _____ __ 20:16:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:16:28 | |___| (_) | (_| | __/ (_| (_) \ V / 20:16:28 \_____\___/ \__,_|\___|\___\___/ \_/ 20:16:28 Bash-1.0.6 20:16:28 20:16:28 20:16:28 ==> git version 2.25.1 found 20:16:28 ==> 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:16:28 Release-Date: 2020-01-08 20:16:28 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:16:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:16:28 ==> Jenkins CI detected. 20:16:28 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-218 20:16:28 project root: . 20:16:28 --> token set from env 20:16:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:16:28 ==> Running gcov in . (disable via -X gcov) 20:16:28 ==> Python coveragepy not found 20:16:28 ==> Searching for coverage reports in: 20:16:28 + . 20:16:28 -> Found 1 reports 20:16:28 ==> Detecting git/mercurial file structure 20:16:28 ==> Reading reports 20:16:28 + ./coverage.out bytes=9355 20:16:28 ==> Appending adjustments 20:16:28 https://docs.codecov.io/docs/fixing-reports 20:16:28 + Found adjustments 20:16:28 ==> Gzipping contents 20:16:28 4.0K /tmp/codecov.exfDVh.gz 20:16:28 ==> Uploading reports 20:16:28 url: https://codecov.io 20:16:28 query: branch=PR-218&commit=902f5739c8cc50782bc0de1ec6e284f7a8258042&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-218%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=218&job=&cmd_args= 20:16:28 -> Pinging Codecov 20:16:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-218&commit=902f5739c8cc50782bc0de1ec6e284f7a8258042&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-218%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=218&job=&cmd_args= 20:16:28 -> Uploading to 20:16:28 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/4E5D53B4F1F92C436F7061BF334D961C/902f5739c8cc50782bc0de1ec6e284f7a8258042/cb18abbf-cf47-4f1e-bbfb-084318a0b455.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T201628Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6952a3d3cda0a04d74b7cb428376b4460f1f97b29edee0e32e832f3f99f9f14a 20:16:28 % Total % Received % Xferd Average Speed Time Time Time Current 20:16:28 Dload Upload Total Spent Left Speed 20:16:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7828 --:--:-- --:--:-- --:--:-- 7828 20:16:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/902f5739c8cc50782bc0de1ec6e284f7a8258042 [Pipeline] } 20:16:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:16:30 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-218/archives ] 20:16:30 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-218/archives 20:16:30 total 16 20:16:30 drwxr-xr-x 3 root root 4096 Oct 10 20:07 . 20:16:30 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 20:07 .. 20:16:30 drwxr-xr-x 2 root root 4096 Oct 10 20:07 cost 20:16:30 -rw-r--r-- 1 root root 86 Oct 10 20:07 cost.csv 20:16:30 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-218/archives 20:16:30 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-218/archives 20:16:30 total 16 20:16:30 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 20:07 . 20:16:30 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 20:07 .. 20:16:30 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 20:07 cost 20:16:30 -rw-r--r-- 1 jenkins jenkins 86 Oct 10 20:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:16:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:16:31 ---> package-listing.sh 20:16:31 ++ facter osfamily 20:16:31 ++ tr '[:upper:]' '[:lower:]' 20:16:32 + OS_FAMILY=debian 20:16:32 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-218 20:16:32 + START_PACKAGES=/tmp/packages_start.txt 20:16:32 + END_PACKAGES=/tmp/packages_end.txt 20:16:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:16:32 + PACKAGES=/tmp/packages_start.txt 20:16:32 + '[' /w/workspace/gexfoundry_device-rest-go_PR-218 ']' 20:16:32 + PACKAGES=/tmp/packages_end.txt 20:16:32 + case "${OS_FAMILY}" in 20:16:32 + dpkg -l 20:16:32 + grep '^ii' 20:16:32 + '[' -f /tmp/packages_start.txt ']' 20:16:32 + '[' -f /tmp/packages_end.txt ']' 20:16:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:16:32 + '[' /w/workspace/gexfoundry_device-rest-go_PR-218 ']' 20:16:32 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-218/archives/ 20:16:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-218/archives/ [Pipeline] echo 20:16:32 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-218/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:16:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:16:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:33 prd-ubuntu20.04-docker-8c-8g-7581 does not seem to be running inside a container 20:16:33 $ 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-218/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-218 -v /w/workspace/gexfoundry_device-rest-go_PR-218:/w/workspace/gexfoundry_device-rest-go_PR-218:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-218@tmp:/w/workspace/gexfoundry_device-rest-go_PR-218@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:16:33 $ docker top 51376f156f7e9c0deb56c87366982cde636b3519b94bfb7e82a4d5ed97d47fba -eo pid,comm [Pipeline] { [Pipeline] sh 20:16:33 + touch /tmp/pre-build-complete [Pipeline] sh 20:16:34 + mkdir -p /var/log/sysstat [Pipeline] sh 20:16:34 + ls /var/log/sa-host 20:16:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:16:34 provisioning config files... 20:16:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-218@tmp/config1800267030935859980tmp [Pipeline] { [Pipeline] echo 20:16:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:16:35 ---> create-netrc.sh [Pipeline] } 20:16:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:16:35 ---> python-tools-install.sh [Pipeline] echo 20:16:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:16:35 ---> sudo-logs.sh 20:16:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:16:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:16:36 ---> job-cost.sh 20:16:36 lf-activate-venv: SKIPPING 20:16:36 DEBUG: total: 0.2199999988079071 20:16:36 INFO: Retrieving Stack Cost... 20:16:36 INFO: Retrieving Pricing Info for: v3-standard-8 20:16:36 INFO: Archiving Costs [Pipeline] echo 20:16:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:16:37 ---> logs-deploy.sh 20:16:37 lf-activate-venv: SKIPPING 20:16:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-218/1 20:16:37 INFO: archiving workspace using pattern(s): 20:16:38 Archives upload complete. 20:16:38 INFO: archiving logs to Nexus