Pull request #217 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6a92d6e74a31c5593ceffa978dbfd96e3064d613+fa2594666deb171bc078c2a791882f5db0311ade (c8ab136ef2c9b2e6790d33e76220136d7177fcd1) 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-ssh919132488642480571.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-ssh13173934858201334104.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-217/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-217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13074846126132862555.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-217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10509912683525775895.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-ssh7987691236508823026.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-217/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-217/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7628994463437147253.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6932 in /w/workspace/gexfoundry_device-rest-go_PR-217 [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-217 # 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 Merging remotes/origin/main commit fa2594666deb171bc078c2a791882f5db0311ade into PR head commit 6a92d6e74a31c5593ceffa978dbfd96e3064d613 Merge succeeded, producing 6a92d6e74a31c5593ceffa978dbfd96e3064d613 Checking out Revision 6a92d6e74a31c5593ceffa978dbfd96e3064d613 (PR-217) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d > 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/217/head:refs/remotes/origin/PR-217 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a92d6e74a31c5593ceffa978dbfd96e3064d613 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge fa2594666deb171bc078c2a791882f5db0311ade # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a92d6e74a31c5593ceffa978dbfd96e3064d613 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:04:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:04:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:04:52 ========================================================= 20:04:52 EdgeX Global Pipelines Version Info 20:04:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:04:53 ------------------- 20:04:53 stable info: 20:04:53 ------------------- 20:04:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:04:53 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:04:53 Message: update stable to v1.0.239 20:04:54 ------------------- 20:04:54 experimental info: 20:04:54 ------------------- 20:04:54 Commited By: **** collab-it+edgex@linuxfoundation.org 20:04:54 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:04:54 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:04:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-217 [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-217 [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-217 [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a92d6e74a31c5593ceffa978dbfd96e3064d613 [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a92d6e [Pipeline] echo 20:04:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:55 provisioning config files... 20:04:55 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-217@tmp/config18333577663297777503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:56 ---> docker-login.sh 20:04:56 nexus3.edgexfoundry.org:10001 20:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:56 Configure a credential helper to remove this warning. See 20:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:56 20:04:56 Login Succeeded 20:04:56 nexus3.edgexfoundry.org:10002 20:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:56 Configure a credential helper to remove this warning. See 20:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:56 20:04:56 Login Succeeded 20:04:56 nexus3.edgexfoundry.org:10003 20:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:56 Configure a credential helper to remove this warning. See 20:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:56 20:04:56 Login Succeeded 20:04:56 nexus3.edgexfoundry.org:10004 20:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:56 Configure a credential helper to remove this warning. See 20:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:56 20:04:56 Login Succeeded 20:04:56 docker.io 20:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:57 Configure a credential helper to remove this warning. See 20:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:57 20:04:57 Login Succeeded 20:04:57 ---> docker-login.sh ends [Pipeline] } 20:04:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:04:57 + git rev-list -1 --merges 6a92d6e74a31c5593ceffa978dbfd96e3064d613~1..6a92d6e74a31c5593ceffa978dbfd96e3064d613 [Pipeline] echo 20:04:57 -----------> git rev-list -1 --merges 6a92d6e74a31c5593ceffa978dbfd96e3064d613~1..6a92d6e74a31c5593ceffa978dbfd96e3064d613 6a92d6e74a31c5593ceffa978dbfd96e3064d613 [false] [Pipeline] sh 20:04:58 + git log --format=format:%s -1 6a92d6e74a31c5593ceffa978dbfd96e3064d613 [Pipeline] echo 20:04:58 ========================================================= 20:04:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:04:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:04:58 + git log --format=format:%s -1 6a92d6e74a31c5593ceffa978dbfd96e3064d613 [Pipeline] echo 20:04:58 [semverPrep] GIT_COMMIT: 6a92d6e74a31c5593ceffa978dbfd96e3064d613, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 20:04:58 [semverPrep] This is not a build commit. [Pipeline] sh 20:04:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:04:59 + grep -v github /etc/ssh/ssh_known_hosts 20:04:59 + [ -e /tmp/ssh_known_hosts ] 20:04:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:04:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:04:59 + sudo tee -a /etc/ssh/ssh_known_hosts 20:04:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:59 20:04:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:59 0.1.4: Pulling from edgex-devops/py-git-semver 20:04:59 b85a868b505f: Pulling fs layer 20:04:59 e2be974225ed: Pulling fs layer 20:04:59 339a4e72a1f5: Pulling fs layer 20:04:59 988bab9f4d93: Pulling fs layer 20:04:59 1469e6f7b9e6: Pulling fs layer 20:04:59 eaf3925da568: Pulling fs layer 20:04:59 bab4dde63d76: Pulling fs layer 20:04:59 bde34c3a00c8: Pulling fs layer 20:04:59 b352a97aabf1: Pulling fs layer 20:04:59 4872d77fe225: Pulling fs layer 20:04:59 5851b861e8e6: Pulling fs layer 20:04:59 bab4dde63d76: Waiting 20:04:59 bde34c3a00c8: Waiting 20:04:59 b352a97aabf1: Waiting 20:04:59 4872d77fe225: Waiting 20:04:59 5851b861e8e6: Waiting 20:04:59 988bab9f4d93: Waiting 20:04:59 1469e6f7b9e6: Waiting 20:04:59 eaf3925da568: Waiting 20:05:00 e2be974225ed: Download complete 20:05:00 988bab9f4d93: Download complete 20:05:00 1469e6f7b9e6: Verifying Checksum 20:05:00 1469e6f7b9e6: Download complete 20:05:00 eaf3925da568: Verifying Checksum 20:05:00 eaf3925da568: Download complete 20:05:00 339a4e72a1f5: Verifying Checksum 20:05:00 339a4e72a1f5: Download complete 20:05:00 bde34c3a00c8: Verifying Checksum 20:05:00 bde34c3a00c8: Download complete 20:05:00 b352a97aabf1: Download complete 20:05:00 4872d77fe225: Verifying Checksum 20:05:00 4872d77fe225: Download complete 20:05:00 5851b861e8e6: Verifying Checksum 20:05:00 5851b861e8e6: Download complete 20:05:00 b85a868b505f: Verifying Checksum 20:05:00 b85a868b505f: Download complete 20:05:00 bab4dde63d76: Verifying Checksum 20:05:00 bab4dde63d76: Download complete 20:05:01 b85a868b505f: Pull complete 20:05:01 e2be974225ed: Pull complete 20:05:02 339a4e72a1f5: Pull complete 20:05:02 988bab9f4d93: Pull complete 20:05:02 1469e6f7b9e6: Pull complete 20:05:02 eaf3925da568: Pull complete 20:05:04 bab4dde63d76: Pull complete 20:05:04 bde34c3a00c8: Pull complete 20:05:04 b352a97aabf1: Pull complete 20:05:04 4872d77fe225: Pull complete 20:05:04 5851b861e8e6: Pull complete 20:05:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:05:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:05:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:05 prd-ubuntu20.04-docker-8c-8g-6932 does not seem to be running inside a container 20:05:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-217 -v /w/workspace/gexfoundry_device-rest-go_PR-217:/w/workspace/gexfoundry_device-rest-go_PR-217:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-217@tmp:/w/workspace/gexfoundry_device-rest-go_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:05:07 $ docker top bd30a8171902e472c39acb0693cf4629ae193050ff5abfd19f6ecbcfe7e7b202 -eo pid,comm 20:05:07 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:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:05:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:07 [ssh-agent] Looking for ssh-agent implementation... 20:05:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:07 $ docker exec bd30a8171902e472c39acb0693cf4629ae193050ff5abfd19f6ecbcfe7e7b202 ssh-agent 20:05:07 SSH_AUTH_SOCK=/tmp/ssh-dfzdQR3kFzO4/agent.33 20:05:07 SSH_AGENT_PID=39 20:05:07 Running ssh-add (command line suppressed) 20:05:07 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-217@tmp/private_key_2282774943158681235.key (/w/workspace/gexfoundry_device-rest-go_PR-217@tmp/private_key_2282774943158681235.key) 20:05:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:07 + git tag --points-at HEAD [Pipeline] } 20:05:07 $ docker exec --env ******** --env ******** bd30a8171902e472c39acb0693cf4629ae193050ff5abfd19f6ecbcfe7e7b202 ssh-agent -k 20:05:08 unset SSH_AUTH_SOCK; 20:05:08 unset SSH_AGENT_PID; 20:05:08 echo Agent pid 39 killed; 20:05:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:05:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:08 [ssh-agent] Looking for ssh-agent implementation... 20:05:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:08 $ docker exec bd30a8171902e472c39acb0693cf4629ae193050ff5abfd19f6ecbcfe7e7b202 ssh-agent 20:05:08 SSH_AUTH_SOCK=/tmp/ssh-LQs1gDZvQ21c/agent.71 20:05:08 SSH_AGENT_PID=77 20:05:08 Running ssh-add (command line suppressed) 20:05:08 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-217@tmp/private_key_7094444805724712680.key (/w/workspace/gexfoundry_device-rest-go_PR-217@tmp/private_key_7094444805724712680.key) 20:05:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:08 + git semver init 20:05:09 2022-10-03 20:05:09,015 [run_init] DEBUG init version:0.0.0 force:False 20:05:09 2022-10-03 20:05:09,016 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-217/.semver 20:05:09 2022-10-03 20:05:09,016 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-217/.semver 20:05:09 2022-10-03 20:05:09,017 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-217/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-217, universal_newlines=False, shell=None, istream=None) 20:05:10 2022-10-03 20:05:10,146 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-217/.git/info/exclude 20:05:10 2022-10-03 20:05:10,146 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-217/.semver/PR-217 with force:False 20:05:10 2022-10-03 20:05:10,146 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-217/.semver/PR-217 20:05:10 2022-10-03 20:05:10,150 [execute] INFO git cat-file --batch-check 20:05:10 2022-10-03 20:05:10,150 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-217/.semver, universal_newlines=False, shell=None, istream=) 20:05:10 2022-10-03 20:05:10,156 [execute] INFO git cat-file --batch 20:05:10 2022-10-03 20:05:10,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-217/.semver, universal_newlines=False, shell=None, istream=) 20:05:10 2022-10-03 20:05:10,161 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-217/.semver/PR-217 20:05:10 0.0.0 [Pipeline] } 20:05:10 $ docker exec --env ******** --env ******** bd30a8171902e472c39acb0693cf4629ae193050ff5abfd19f6ecbcfe7e7b202 ssh-agent -k 20:05:10 unset SSH_AUTH_SOCK; 20:05:10 unset SSH_AGENT_PID; 20:05:10 echo Agent pid 77 killed; 20:05:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:05:11 + git semver [Pipeline] } 20:05:11 $ docker stop --time=1 bd30a8171902e472c39acb0693cf4629ae193050ff5abfd19f6ecbcfe7e7b202 20:05:12 $ docker rm -f bd30a8171902e472c39acb0693cf4629ae193050ff5abfd19f6ecbcfe7e7b202 [Pipeline] // withDockerContainer [Pipeline] sh 20:05:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:05:13 Stashed 1 file(s) [Pipeline] echo 20:05:13 [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:14 provisioning config files... 20:05:14 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-217@tmp/config15158002897875584141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:14 ---> docker-login.sh 20:05:14 nexus3.edgexfoundry.org:10001 20:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:14 Configure a credential helper to remove this warning. See 20:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:14 20:05:14 Login Succeeded 20:05:14 nexus3.edgexfoundry.org:10002 20:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:14 Configure a credential helper to remove this warning. See 20:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:14 20:05:14 Login Succeeded 20:05:14 nexus3.edgexfoundry.org:10003 20:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:14 Configure a credential helper to remove this warning. See 20:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:14 20:05:14 Login Succeeded 20:05:14 nexus3.edgexfoundry.org:10004 20:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:14 Configure a credential helper to remove this warning. See 20:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:14 20:05:14 Login Succeeded 20:05:14 docker.io 20:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:15 Configure a credential helper to remove this warning. See 20:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:15 20:05:15 Login Succeeded 20:05:15 ---> docker-login.sh ends [Pipeline] } 20:05:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:05:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:15 ========================================================= 20:05:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:05:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:16 + 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:16 Sending build context to Docker daemon 10.73MB 20:05:16 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:05:16 Step 2/13 : FROM ${BASE} AS builder 20:05:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:05:16 2408cc74d12b: Pulling fs layer 20:05:16 ea60b727a1ce: Pulling fs layer 20:05:16 30c4a7721957: Pulling fs layer 20:05:16 370296b7ddb6: Pulling fs layer 20:05:16 7c6cee850709: Pulling fs layer 20:05:16 aa9baa53a306: Pulling fs layer 20:05:16 8b309c321861: Pulling fs layer 20:05:16 d8d76fd02f46: Pulling fs layer 20:05:16 fa31f396de31: Pulling fs layer 20:05:16 d8d76fd02f46: Waiting 20:05:16 fa31f396de31: Waiting 20:05:16 7c6cee850709: Waiting 20:05:16 8b309c321861: Waiting 20:05:16 aa9baa53a306: Waiting 20:05:16 370296b7ddb6: Waiting 20:05:16 30c4a7721957: Download complete 20:05:16 ea60b727a1ce: Verifying Checksum 20:05:16 ea60b727a1ce: Download complete 20:05:16 7c6cee850709: Verifying Checksum 20:05:16 7c6cee850709: Download complete 20:05:16 aa9baa53a306: Download complete 20:05:16 2408cc74d12b: Verifying Checksum 20:05:16 8b309c321861: Verifying Checksum 20:05:16 8b309c321861: Download complete 20:05:16 2408cc74d12b: Pull complete 20:05:16 ea60b727a1ce: Pull complete 20:05:16 30c4a7721957: Pull complete 20:05:17 fa31f396de31: Verifying Checksum 20:05:17 fa31f396de31: Download complete 20:05:17 370296b7ddb6: Download complete 20:05:17 d8d76fd02f46: Verifying Checksum 20:05:17 d8d76fd02f46: Download complete 20:05:21 370296b7ddb6: Pull complete 20:05:21 7c6cee850709: Pull complete 20:05:21 aa9baa53a306: Pull complete 20:05:21 8b309c321861: Pull complete 20:05:23 d8d76fd02f46: Pull complete 20:05:24 fa31f396de31: Pull complete 20:05:24 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 20:05:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:05:24 ---> cef68f9685f8 20:05:24 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:05:26 ---> Running in cc4d69d513d7 20:05:26 Removing intermediate container cc4d69d513d7 20:05:26 ---> 4c2f8a03f557 20:05:26 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:05:27 ---> Running in 6139941ffd05 20:05:27 Removing intermediate container 6139941ffd05 20:05:27 ---> dfb4e1281f84 20:05:27 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:05:27 ---> Running in 585a86d13940 20:05:27 Removing intermediate container 585a86d13940 20:05:27 ---> 88ac15d77cc0 20:05:27 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:05:27 ---> Running in 631fe872fbe4 20:05:27 Removing intermediate container 631fe872fbe4 20:05:27 ---> f853b5b1c259 20:05:27 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:05:27 ---> Running in 800a9698bca7 20:05:27 Removing intermediate container 800a9698bca7 20:05:27 ---> 2c000ceb1401 20:05:27 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:27 ---> Running in d9ea659fed66 20:05:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:05:29 Still waiting to schedule task 20:05:29 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6933’ is offline 20:05:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:05:29 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:05:29 (2/4) Installing libedit (20210910.3.1-r0) 20:05:29 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:05:29 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:05:29 Executing busybox-1.35.0-r13.trigger 20:05:29 OK: 216 MiB in 55 packages 20:05:30 Removing intermediate container d9ea659fed66 20:05:30 ---> 753d10694ed0 20:05:30 Step 9/13 : WORKDIR /device-rest-go 20:05:30 ---> Running in 77b5ec96f78a 20:05:30 Removing intermediate container 77b5ec96f78a 20:05:30 ---> fbc0c65cc942 20:05:30 Step 10/13 : COPY go.mod vendor* ./ 20:05:30 ---> 7c1ef7dd0271 20:05:30 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:30 ---> Running in e48bd9ce18f2 20:05:48 Removing intermediate container e48bd9ce18f2 20:05:48 ---> b6cf8de8eb40 20:05:48 Step 12/13 : COPY . . 20:05:48 ---> d23db6fa30ad 20:05:48 Step 13/13 : RUN $MAKE 20:05:48 ---> Running in 51686ecfdafd 20:05:48 noop 20:05:48 Removing intermediate container 51686ecfdafd 20:05:48 ---> 51145c23da57 20:05:49 Successfully built 51145c23da57 20:05:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:49 + docker inspect -f . ci-base-image-x86_64 20:05:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:49 prd-ubuntu20.04-docker-8c-8g-6932 does not seem to be running inside a container 20:05:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-217 -v /w/workspace/gexfoundry_device-rest-go_PR-217:/w/workspace/gexfoundry_device-rest-go_PR-217:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-217@tmp:/w/workspace/gexfoundry_device-rest-go_PR-217@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-x86_64 cat 20:05:49 $ docker top de4918cc973cb9d2e12881e3e7c36ca97460e060917e38df05adc474328355e9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:50 + go version 20:05:50 go version go1.18.3 linux/amd64 [Pipeline] } 20:05:50 $ docker stop --time=1 de4918cc973cb9d2e12881e3e7c36ca97460e060917e38df05adc474328355e9 20:05:51 $ docker rm -f de4918cc973cb9d2e12881e3e7c36ca97460e060917e38df05adc474328355e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:52 + docker inspect -f . ci-base-image-x86_64 20:05:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:52 prd-ubuntu20.04-docker-8c-8g-6932 does not seem to be running inside a container 20:05:52 $ 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-217 -v /w/workspace/gexfoundry_device-rest-go_PR-217:/w/workspace/gexfoundry_device-rest-go_PR-217:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-217@tmp:/w/workspace/gexfoundry_device-rest-go_PR-217@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-x86_64 cat 20:05:52 $ docker top 5484a42b55cce0b1e6be2359de58211a637c698e7280ddaa8c46cfe9e5433dcd -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:53 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-217 [Pipeline] fileExists [Pipeline] sh 20:05:53 + make test 20:05:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:05:53 ? github.com/edgexfoundry/device-rest-go [no test files] 20:06:03 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:06:04 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 20:06:10 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:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:06:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:06:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:06:13 ./bin/test-attribution-txt.sh [Pipeline] echo 20:06:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:06:14 $ docker stop --time=1 5484a42b55cce0b1e6be2359de58211a637c698e7280ddaa8c46cfe9e5433dcd 20:06:16 $ docker rm -f 5484a42b55cce0b1e6be2359de58211a637c698e7280ddaa8c46cfe9e5433dcd [Pipeline] // withDockerContainer [Pipeline] sh 20:06:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:06:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:06:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:06:17 + ls -al . 20:06:17 total 180 20:06:17 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 20:05 . 20:06:17 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:04 .. 20:06:17 -rw-rw-r-- 1 jenkins jenkins 151 Oct 3 20:04 .dockerignore 20:06:17 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:06 .git 20:06:17 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:04 .github 20:06:17 -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 20:04 .gitignore 20:06:17 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 20:04 .golangci.yml 20:06:17 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 20:05 .semver 20:06:17 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 3 20:04 Attribution.txt 20:06:17 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 3 20:04 CHANGELOG.md 20:06:17 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 3 20:04 Dockerfile 20:06:17 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 20:04 GOVERNANCE.md 20:06:17 -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 20:04 Jenkinsfile 20:06:17 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 20:04 LICENSE 20:06:17 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 3 20:04 Makefile 20:06:17 -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 20:04 OWNERS.md 20:06:17 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 3 20:04 README.md 20:06:17 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 20:05 VERSION 20:06:17 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:04 bin 20:06:17 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:04 cmd 20:06:17 -rw-r--r-- 1 jenkins jenkins 9355 Oct 3 20:06 coverage.out 20:06:17 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:04 driver 20:06:17 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 3 20:04 go.mod 20:06:17 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 20:04 go.sum 20:06:17 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:04 snap 20:06:17 -rw-rw-r-- 1 jenkins jenkins 713 Oct 3 20:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:18 + 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=6a92d6e74a31c5593ceffa978dbfd96e3064d613 --label arch=amd64 --label version=0.0.0 . 20:06:18 Sending build context to Docker daemon 10.74MB 20:06:18 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:06:18 Step 2/26 : FROM ${BASE} AS builder 20:06:18 ---> 51145c23da57 20:06:18 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:06:18 ---> Running in 66434c331545 20:06:18 Removing intermediate container 66434c331545 20:06:18 ---> b84c5c058705 20:06:18 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:06:18 ---> Running in aa5115612720 20:06:18 Removing intermediate container aa5115612720 20:06:18 ---> 6f748e319b61 20:06:18 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:06:18 ---> Running in 947ecec159fd 20:06:18 Removing intermediate container 947ecec159fd 20:06:18 ---> ad1f5b7c82cd 20:06:18 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:06:18 ---> Running in ab84e2b57767 20:06:18 Removing intermediate container ab84e2b57767 20:06:18 ---> 8e1c59dcc44e 20:06:18 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:06:18 ---> Running in 508b57548c68 20:06:19 Removing intermediate container 508b57548c68 20:06:19 ---> 249e76640d1d 20:06:19 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:06:19 ---> Running in d0a5a92a9193 20:06:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:06:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:06:20 OK: 216 MiB in 55 packages 20:06:20 Removing intermediate container d0a5a92a9193 20:06:20 ---> ad14bf98b426 20:06:20 Step 9/26 : WORKDIR /device-rest-go 20:06:20 ---> Running in 60375bd26889 20:06:20 Removing intermediate container 60375bd26889 20:06:20 ---> b17c554c862e 20:06:20 Step 10/26 : COPY go.mod vendor* ./ 20:06:20 ---> bcf3e21afc0a 20:06:20 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:06:20 ---> Running in 99e314011528 20:06:21 Removing intermediate container 99e314011528 20:06:21 ---> 09b10e893e6d 20:06:21 Step 12/26 : COPY . . 20:06:21 ---> 836bed6ed171 20:06:21 Step 13/26 : RUN $MAKE 20:06:21 ---> Running in d00c13fe75d2 20:06:22 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:06:44 Removing intermediate container d00c13fe75d2 20:06:44 ---> 9643897add88 20:06:44 Step 14/26 : FROM alpine:3.16 20:06:44 3.16: Pulling from library/alpine 20:06:44 213ec9aee27d: Pulling fs layer 20:06:44 213ec9aee27d: Download complete 20:06:44 213ec9aee27d: Pull complete 20:06:44 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:06:44 Status: Downloaded newer image for alpine:3.16 20:06:44 ---> 9c6f07244728 20:06:44 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:06:44 ---> Running in b64eff952a78 20:06:44 Removing intermediate container b64eff952a78 20:06:44 ---> 970acaa7bd49 20:06:44 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 20:06:44 ---> Running in 435a1ec7a8e1 20:06:44 Removing intermediate container 435a1ec7a8e1 20:06:44 ---> d9d20793085a 20:06:44 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 20:06:44 ---> Running in 26ce4c3257f2 20:06:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:06:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:06:44 (1/6) Installing dumb-init (1.2.5-r1) 20:06:44 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:06:44 (3/6) Installing libsodium (1.0.18-r0) 20:06:44 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:06:44 (5/6) Installing libzmq (4.3.4-r0) 20:06:44 (6/6) Installing zeromq (4.3.4-r0) 20:06:44 Executing busybox-1.35.0-r17.trigger 20:06:44 OK: 8 MiB in 20 packages 20:06:44 Removing intermediate container 26ce4c3257f2 20:06:44 ---> ba986c1dd7be 20:06:44 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:06:45 ---> 9bb03bac901c 20:06:45 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:06:45 ---> db3f044f5682 20:06:45 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:06:45 ---> 392a35b085ad 20:06:45 Step 21/26 : EXPOSE 59986 20:06:45 ---> Running in 20973836a751 20:06:45 Removing intermediate container 20973836a751 20:06:45 ---> ee616d013072 20:06:45 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:06:45 ---> Running in 7fa2d88129c5 20:06:45 Removing intermediate container 7fa2d88129c5 20:06:45 ---> 616475420109 20:06:45 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:06:45 ---> Running in df067a4ca78b 20:06:45 Removing intermediate container df067a4ca78b 20:06:45 ---> 8d9f4675fa49 20:06:45 Step 24/26 : LABEL arch=amd64 20:06:45 ---> Running in 732724f2b006 20:06:46 Removing intermediate container 732724f2b006 20:06:46 ---> bcee49286722 20:06:46 Step 25/26 : LABEL git_sha=6a92d6e74a31c5593ceffa978dbfd96e3064d613 20:06:46 ---> Running in 431a003f6945 20:06:46 Removing intermediate container 431a003f6945 20:06:46 ---> 5b497fb82543 20:06:46 Step 26/26 : LABEL version=0.0.0 20:06:46 ---> Running in 1d4d28f36b49 20:06:46 Removing intermediate container 1d4d28f36b49 20:06:46 ---> dba1a8fa349f 20:06:46 [Warning] One or more build-args [ARCH] were not consumed 20:06:46 Successfully built dba1a8fa349f 20:06:46 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:47 20:06:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:47 latest: Pulling from edgex-lftools-log-publisher 20:06:47 5eb5b503b376: Pulling fs layer 20:06:47 5c69ac0246d0: Pulling fs layer 20:06:47 ec43610c2a17: Pulling fs layer 20:06:47 3a2ae6a8a46f: Pulling fs layer 20:06:47 33b1e0a273af: Pulling fs layer 20:06:47 5d3b04190fa2: Pulling fs layer 20:06:47 2f39f015ded8: Pulling fs layer 20:06:47 5d3b04190fa2: Waiting 20:06:47 2f39f015ded8: Waiting 20:06:47 3a2ae6a8a46f: Waiting 20:06:47 33b1e0a273af: Waiting 20:06:47 5c69ac0246d0: Download complete 20:06:47 3a2ae6a8a46f: Verifying Checksum 20:06:47 3a2ae6a8a46f: Download complete 20:06:47 33b1e0a273af: Verifying Checksum 20:06:47 33b1e0a273af: Download complete 20:06:47 5d3b04190fa2: Verifying Checksum 20:06:47 5d3b04190fa2: Download complete 20:06:47 ec43610c2a17: Verifying Checksum 20:06:47 ec43610c2a17: Download complete 20:06:47 5eb5b503b376: Verifying Checksum 20:06:47 5eb5b503b376: Download complete 20:06:48 2f39f015ded8: Verifying Checksum 20:06:48 2f39f015ded8: Download complete 20:06:48 5eb5b503b376: Pull complete 20:06:49 5c69ac0246d0: Pull complete 20:06:49 ec43610c2a17: Pull complete 20:06:49 3a2ae6a8a46f: Pull complete 20:06:49 33b1e0a273af: Pull complete 20:06:49 5d3b04190fa2: Pull complete 20:06:54 2f39f015ded8: Pull complete 20:06:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:06:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:54 prd-ubuntu20.04-docker-8c-8g-6932 does not seem to be running inside a container 20:06:54 $ 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-217 -v /w/workspace/gexfoundry_device-rest-go_PR-217:/w/workspace/gexfoundry_device-rest-go_PR-217:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-217@tmp:/w/workspace/gexfoundry_device-rest-go_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:06:56 $ docker top 0c05502787022bb6dca0201a789fbec65fa1a3c31a6ad5161917da565e331885 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:57 ---> job-cost.sh 20:06:57 lf-activate-venv: SKIPPING 20:06:57 INFO: No Stack... 20:06:57 INFO: Retrieving Pricing Info for: v3-standard-8 20:06:57 INFO: Archiving Costs [Pipeline] sh 20:06:57 + cat /w/workspace/gexfoundry_device-rest-go_PR-217/archives/cost.csv 20:06:57 + cut -d, -f6 [Pipeline] lock 20:06:57 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] 20:06:57 Resource [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] did not exist. Created. 20:06:57 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:58 + echo total: 0.2199999988079071 [Pipeline] stash 20:06:58 Stashed 1 file(s) [Pipeline] } 20:06:58 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:06:58 $ docker stop --time=1 0c05502787022bb6dca0201a789fbec65fa1a3c31a6ad5161917da565e331885 20:06:59 $ docker rm -f 0c05502787022bb6dca0201a789fbec65fa1a3c31a6ad5161917da565e331885 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:07:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6934 in /w/workspace/gexfoundry_device-rest-go_PR-217 [Pipeline] { [Pipeline] ws 20:07:58 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:07:58 The recommended git tool is: git 20:08:03 using credential edgex-jenkins-ssh 20:08:04 Cloning the remote Git repository 20:08:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:08:04 > git init /w/workspace/device-rest-go/1 # timeout=10 20:08:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:08:04 > git --version # timeout=10 20:08:04 > git --version # 'git version 2.25.1' 20:08:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:04 Verifying host key using known hosts file 20:08:04 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:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:08:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:08:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:08:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:08:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:08:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:07 Verifying host key using known hosts file 20:08:07 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:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:08:08 Merging remotes/origin/main commit fa2594666deb171bc078c2a791882f5db0311ade into PR head commit 6a92d6e74a31c5593ceffa978dbfd96e3064d613 20:08:08 Merge succeeded, producing 6a92d6e74a31c5593ceffa978dbfd96e3064d613 20:08:08 Checking out Revision 6a92d6e74a31c5593ceffa978dbfd96e3064d613 (PR-217) 20:08:09 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 20:08:09 > git --version # timeout=10 20:08:09 > git --version # 'git version 2.25.1' 20:08:09 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 20:08:08 > git config core.sparsecheckout # timeout=10 20:08:08 > git checkout -f 6a92d6e74a31c5593ceffa978dbfd96e3064d613 # timeout=10 20:08:08 > git remote # timeout=10 20:08:08 > git config --get remote.origin.url # timeout=10 20:08:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:08 Verifying host key using known hosts file 20:08:08 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:08 > git merge fa2594666deb171bc078c2a791882f5db0311ade # timeout=10 20:08:08 > git rev-parse HEAD^{commit} # timeout=10 20:08:08 > git config core.sparsecheckout # timeout=10 20:08:08 > git checkout -f 6a92d6e74a31c5593ceffa978dbfd96e3064d613 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:08:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:08:10 % Total % Received % Xferd Average Speed Time Time Time Current 20:08:10 Dload Upload Total Spent Left Speed 20:08:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 201k 0 --:--:-- --:--:-- --:--:-- 205k [Pipeline] sh 20:08:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:08:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:08:11 + sudo tee /etc/docker/daemon.new 20:08:11 { 20:08:11 "registry-mirrors": [ 20:08:11 "https://nexus3.edgexfoundry.org:10001" 20:08:11 ], 20:08:11 "bip": "10.250.0.254/24", 20:08:11 "hosts": [ 20:08:11 "tcp://0.0.0.0:5555", 20:08:11 "unix:///var/run/docker.sock" 20:08:11 ], 20:08:11 "mtu": 1458, 20:08:11 "selinux-enabled": true, 20:08:11 "seccomp-profile": "/etc/docker/seccomp.json" 20:08:11 } [Pipeline] sh 20:08:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:08:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:08:30 provisioning config files... 20:08:30 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9879076947394345445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:30 ---> docker-login.sh 20:08:30 nexus3.edgexfoundry.org:10001 20:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:31 Configure a credential helper to remove this warning. See 20:08:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:31 20:08:31 Login Succeeded 20:08:31 nexus3.edgexfoundry.org:10002 20:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:31 Configure a credential helper to remove this warning. See 20:08:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:31 20:08:31 Login Succeeded 20:08:31 nexus3.edgexfoundry.org:10003 20:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:32 Configure a credential helper to remove this warning. See 20:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:32 20:08:32 Login Succeeded 20:08:32 nexus3.edgexfoundry.org:10004 20:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:32 Configure a credential helper to remove this warning. See 20:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:32 20:08:32 Login Succeeded 20:08:32 docker.io 20:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:33 Configure a credential helper to remove this warning. See 20:08:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:33 20:08:33 Login Succeeded 20:08:33 ---> docker-login.sh ends [Pipeline] } 20:08:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:08:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:33 ========================================================= 20:08:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:08:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:33 + 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:33 Sending build context to Docker daemon 127kB 20:08:34 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:08:34 Step 2/13 : FROM ${BASE} AS builder 20:08:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:08:34 b3c136eddcbf: Pulling fs layer 20:08:34 c0a3192eca97: Pulling fs layer 20:08:34 a050256f5b6f: Pulling fs layer 20:08:34 656be50a0ddc: Pulling fs layer 20:08:34 2bbca73fdf42: Pulling fs layer 20:08:34 f607e4fc86c3: Pulling fs layer 20:08:34 4d572c569a2c: Pulling fs layer 20:08:34 2bbca73fdf42: Waiting 20:08:34 656be50a0ddc: Waiting 20:08:34 f607e4fc86c3: Waiting 20:08:34 4d572c569a2c: Waiting 20:08:34 fcf976331f73: Pulling fs layer 20:08:34 fcf976331f73: Waiting 20:08:34 a050256f5b6f: Verifying Checksum 20:08:34 a050256f5b6f: Download complete 20:08:34 c0a3192eca97: Verifying Checksum 20:08:34 c0a3192eca97: Download complete 20:08:34 2bbca73fdf42: Verifying Checksum 20:08:34 2bbca73fdf42: Download complete 20:08:34 f607e4fc86c3: Verifying Checksum 20:08:34 f607e4fc86c3: Download complete 20:08:34 b3c136eddcbf: Verifying Checksum 20:08:35 b3c136eddcbf: Pull complete 20:08:35 fcf976331f73: Verifying Checksum 20:08:35 fcf976331f73: Download complete 20:08:35 c0a3192eca97: Pull complete 20:08:36 a050256f5b6f: Pull complete 20:08:36 4d572c569a2c: Verifying Checksum 20:08:36 4d572c569a2c: Download complete 20:08:37 656be50a0ddc: Download complete 20:08:49 656be50a0ddc: Pull complete 20:08:49 2bbca73fdf42: Pull complete 20:08:49 f607e4fc86c3: Pull complete 20:08:53 4d572c569a2c: Pull complete 20:08:55 fcf976331f73: Pull complete 20:08:55 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 20:08:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:08:55 ---> 3970a7415f9e 20:08:55 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:08:57 ---> Running in 33aa8f7c4017 20:08:57 Removing intermediate container 33aa8f7c4017 20:08:57 ---> edf9c90295b4 20:08:57 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:08:57 ---> Running in 0dea19ea0259 20:08:57 Removing intermediate container 0dea19ea0259 20:08:57 ---> 169936246118 20:08:57 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:08:58 ---> Running in cdb50b60e02b 20:08:58 Removing intermediate container cdb50b60e02b 20:08:58 ---> 3c072715e847 20:08:58 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:08:58 ---> Running in cf4827335754 20:08:58 Removing intermediate container cf4827335754 20:08:58 ---> 80ea27489207 20:08:58 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:08:58 ---> Running in fc5761195b1d 20:09:00 Removing intermediate container fc5761195b1d 20:09:00 ---> c3ebb694b32d 20:09:00 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:00 ---> Running in 8c3caa87ec16 20:09:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:09:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:09:03 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:09:03 (2/4) Installing libedit (20210910.3.1-r0) 20:09:03 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:09:03 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:09:03 Executing busybox-1.35.0-r13.trigger 20:09:03 OK: 226 MiB in 55 packages 20:09:04 Removing intermediate container 8c3caa87ec16 20:09:04 ---> e7c4bd8038ea 20:09:04 Step 9/13 : WORKDIR /device-rest-go 20:09:04 ---> Running in bef4168dcc39 20:09:05 Removing intermediate container bef4168dcc39 20:09:05 ---> 4eb035236d1f 20:09:05 Step 10/13 : COPY go.mod vendor* ./ 20:09:05 ---> 78209d173c9c 20:09:05 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:05 ---> Running in be3547bfbef6 20:10:02 Removing intermediate container be3547bfbef6 20:10:02 ---> deeda2e3a1d4 20:10:02 Step 12/13 : COPY . . 20:10:02 ---> 1379d4de429c 20:10:02 Step 13/13 : RUN $MAKE 20:10:02 ---> Running in 05e34f40a2b5 20:10:02 noop 20:10:02 Removing intermediate container 05e34f40a2b5 20:10:02 ---> ef713225aa2e 20:10:02 Successfully built ef713225aa2e 20:10:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:02 + docker inspect -f . ci-base-image-arm64 20:10:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:02 prd-ubuntu20.04-docker-arm64-4c-16g-6934 does not seem to be running inside a container 20:10:02 $ 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:04 $ docker top a1bc7ec62af6ecaabbf59c20292ad512feeb024c463b4e0dc3d02b50b3c493a2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:05 + go version 20:10:05 go version go1.18.3 linux/arm64 [Pipeline] } 20:10:05 $ docker stop --time=1 a1bc7ec62af6ecaabbf59c20292ad512feeb024c463b4e0dc3d02b50b3c493a2 20:10:06 $ docker rm -f a1bc7ec62af6ecaabbf59c20292ad512feeb024c463b4e0dc3d02b50b3c493a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:07 + docker inspect -f . ci-base-image-arm64 20:10:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:07 prd-ubuntu20.04-docker-arm64-4c-16g-6934 does not seem to be running inside a container 20:10:07 $ 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:09 $ docker top 28817cf285f2d8e88c17b115fb6a7292c769ba64cc05cb1dd269006d0ef51be1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:09 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:10:10 + make test 20:10:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:10:12 ? github.com/edgexfoundry/device-rest-go [no test files] 20:11:49 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:11:49 ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 55.2% of statements 20:11:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:11:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:12:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:12:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:12:11 ./bin/test-attribution-txt.sh [Pipeline] echo 20:12:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:12:11 $ docker stop --time=1 28817cf285f2d8e88c17b115fb6a7292c769ba64cc05cb1dd269006d0ef51be1 20:12:13 $ docker rm -f 28817cf285f2d8e88c17b115fb6a7292c769ba64cc05cb1dd269006d0ef51be1 [Pipeline] // withDockerContainer [Pipeline] sh 20:12:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:12:14 Warning: overwriting stash ‘coverage-report’ 20:12:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:12:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:12:15 + ls -al . 20:12:15 total 176 20:12:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:10 . 20:12:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:08 .. 20:12:15 -rw-rw-r-- 1 jenkins jenkins 151 Oct 3 20:08 .dockerignore 20:12:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:08 .git 20:12:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:08 .github 20:12:15 -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 20:08 .gitignore 20:12:15 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 20:08 .golangci.yml 20:12:15 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 3 20:08 Attribution.txt 20:12:15 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 3 20:08 CHANGELOG.md 20:12:15 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 3 20:08 Dockerfile 20:12:15 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 20:08 GOVERNANCE.md 20:12:15 -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 20:08 Jenkinsfile 20:12:15 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 20:08 LICENSE 20:12:15 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 3 20:08 Makefile 20:12:15 -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 20:08 OWNERS.md 20:12:15 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 3 20:08 README.md 20:12:15 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 20:05 VERSION 20:12:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:08 bin 20:12:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:08 cmd 20:12:15 -rw-r--r-- 1 jenkins jenkins 9355 Oct 3 20:11 coverage.out 20:12:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:08 driver 20:12:15 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 3 20:08 go.mod 20:12:15 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 20:08 go.sum 20:12:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:08 snap 20:12:15 -rw-rw-r-- 1 jenkins jenkins 713 Oct 3 20:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:16 + 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=6a92d6e74a31c5593ceffa978dbfd96e3064d613 --label arch=arm64 --label version=0.0.0 . 20:12:16 Sending build context to Docker daemon 137.2kB 20:12:16 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:12:16 Step 2/26 : FROM ${BASE} AS builder 20:12:16 ---> ef713225aa2e 20:12:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:12:16 ---> Running in 00d3a970871b 20:12:17 Removing intermediate container 00d3a970871b 20:12:17 ---> 9f44a50f64a3 20:12:17 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:12:17 ---> Running in 3abea0511882 20:12:17 Removing intermediate container 3abea0511882 20:12:17 ---> e1783d219e25 20:12:17 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:12:17 ---> Running in 482fecfd754c 20:12:18 Removing intermediate container 482fecfd754c 20:12:18 ---> 1f599c068bdb 20:12:18 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:12:18 ---> Running in 7a77d9f6bbe2 20:12:18 Removing intermediate container 7a77d9f6bbe2 20:12:18 ---> a327f57e3f2c 20:12:18 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:12:18 ---> Running in c52813acbcac 20:12:20 Removing intermediate container c52813acbcac 20:12:20 ---> 7db5bd5bf25e 20:12:20 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:12:20 ---> Running in 0a235a249e85 20:12:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:12:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:12:24 OK: 226 MiB in 55 packages 20:12:25 Removing intermediate container 0a235a249e85 20:12:25 ---> 67d43b8d49a7 20:12:25 Step 9/26 : WORKDIR /device-rest-go 20:12:25 ---> Running in a7143d367300 20:12:26 Removing intermediate container a7143d367300 20:12:26 ---> 6e36c69a8cb5 20:12:26 Step 10/26 : COPY go.mod vendor* ./ 20:12:27 ---> e568444b2860 20:12:27 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:12:27 ---> Running in 2068347c8cf2 20:12:30 Removing intermediate container 2068347c8cf2 20:12:30 ---> 8bd6f3d7c9dd 20:12:30 Step 12/26 : COPY . . 20:12:31 ---> 8a9e66278d03 20:12:31 Step 13/26 : RUN $MAKE 20:12:31 ---> Running in 2e2f3e466a98 20:12:32 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:09 Removing intermediate container 2e2f3e466a98 20:15:09 ---> dfa9a78e3391 20:15:09 Step 14/26 : FROM alpine:3.16 20:15:09 3.16: Pulling from library/alpine 20:15:09 9b18e9b68314: Pulling fs layer 20:15:09 9b18e9b68314: Verifying Checksum 20:15:09 9b18e9b68314: Download complete 20:15:09 9b18e9b68314: Pull complete 20:15:09 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:15:09 Status: Downloaded newer image for alpine:3.16 20:15:09 ---> a6215f271958 20:15:09 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:15:09 ---> Running in 09a5cb014092 20:15:09 Removing intermediate container 09a5cb014092 20:15:09 ---> 6adcf04455a9 20:15:09 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 20:15:09 ---> Running in 1438954f882a 20:15:09 Removing intermediate container 1438954f882a 20:15:09 ---> 1da92c630372 20:15:09 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 20:15:09 ---> Running in 4e1669b1f746 20:15:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:15:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:15:12 (1/6) Installing dumb-init (1.2.5-r1) 20:15:12 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:15:12 (3/6) Installing libsodium (1.0.18-r0) 20:15:12 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:15:12 (5/6) Installing libzmq (4.3.4-r0) 20:15:12 (6/6) Installing zeromq (4.3.4-r0) 20:15:12 Executing busybox-1.35.0-r17.trigger 20:15:12 OK: 8 MiB in 20 packages 20:15:13 Removing intermediate container 4e1669b1f746 20:15:13 ---> f460fa7a3e4a 20:15:13 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:15:14 ---> de4c29dbe718 20:15:14 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:15:15 ---> 56a3dc900cfe 20:15:15 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:15:15 ---> ae089b3ceeb9 20:15:15 Step 21/26 : EXPOSE 59986 20:15:15 ---> Running in c99059917023 20:15:16 Removing intermediate container c99059917023 20:15:16 ---> 3a909c512756 20:15:16 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:15:16 ---> Running in 9f043837005c 20:15:16 Removing intermediate container 9f043837005c 20:15:16 ---> 339de36f415d 20:15:16 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:15:16 ---> Running in 993d8d732925 20:15:16 Removing intermediate container 993d8d732925 20:15:16 ---> 9000806887b2 20:15:16 Step 24/26 : LABEL arch=arm64 20:15:17 ---> Running in 072004c99a37 20:15:17 Removing intermediate container 072004c99a37 20:15:17 ---> 265d818b0d03 20:15:17 Step 25/26 : LABEL git_sha=6a92d6e74a31c5593ceffa978dbfd96e3064d613 20:15:17 ---> Running in 02b9cd8a4e63 20:15:17 Removing intermediate container 02b9cd8a4e63 20:15:17 ---> d34e5221f268 20:15:17 Step 26/26 : LABEL version=0.0.0 20:15:17 ---> Running in 538eab0b7212 20:15:17 Removing intermediate container 538eab0b7212 20:15:17 ---> 68e813b6b322 20:15:17 [Warning] One or more build-args [ARCH] were not consumed 20:15:17 Successfully built 68e813b6b322 20:15:18 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:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:18 20:15:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:19 arm64: Pulling from edgex-lftools-log-publisher 20:15:19 8998bd30e6a1: Pulling fs layer 20:15:19 04944245beec: Pulling fs layer 20:15:19 699f458cf7ca: Pulling fs layer 20:15:19 765212b225bb: Pulling fs layer 20:15:19 f23df028b6ca: Pulling fs layer 20:15:19 d65c8cfc05b1: Pulling fs layer 20:15:19 2437ff75d9bd: Pulling fs layer 20:15:19 765212b225bb: Waiting 20:15:19 f23df028b6ca: Waiting 20:15:19 d65c8cfc05b1: Waiting 20:15:19 2437ff75d9bd: Waiting 20:15:19 04944245beec: Verifying Checksum 20:15:19 04944245beec: Download complete 20:15:19 765212b225bb: Download complete 20:15:19 f23df028b6ca: Download complete 20:15:19 d65c8cfc05b1: Verifying Checksum 20:15:19 d65c8cfc05b1: Download complete 20:15:19 699f458cf7ca: Verifying Checksum 20:15:19 699f458cf7ca: Download complete 20:15:20 8998bd30e6a1: Download complete 20:15:22 2437ff75d9bd: Verifying Checksum 20:15:24 8998bd30e6a1: Pull complete 20:15:25 04944245beec: Pull complete 20:15:26 699f458cf7ca: Pull complete 20:15:26 765212b225bb: Pull complete 20:15:27 f23df028b6ca: Pull complete 20:15:27 d65c8cfc05b1: Pull complete 20:15:42 2437ff75d9bd: Pull complete 20:15:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:15:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:43 prd-ubuntu20.04-docker-arm64-4c-16g-6934 does not seem to be running inside a container 20:15:43 $ 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:15:45 $ docker top 35510b0c6adaa387f2b8a361a4e6fbdde1a01f75c4c1f023ec0e2ad4fb3a0904 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:46 ---> job-cost.sh 20:15:46 lf-activate-venv: SKIPPING 20:15:46 INFO: No Stack... 20:15:47 INFO: Retrieving Pricing Info for: v3-standard-4 20:15:48 INFO: Archiving Costs [Pipeline] sh 20:15:48 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:15:48 + cut -d, -f6 [Pipeline] lock 20:15:49 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] 20:15:49 Resource [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] did not exist. Created. 20:15:49 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:15:49 /w/workspace/device-rest-go/1@tmp/durable-501cfa63/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:15:50 + echo total: 0.10999999940395355 [Pipeline] stash 20:15:50 Warning: overwriting stash ‘stack-cost’ 20:15:50 Stashed 1 file(s) [Pipeline] } 20:15:50 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:15:50 $ docker stop --time=1 35510b0c6adaa387f2b8a361a4e6fbdde1a01f75c4c1f023ec0e2ad4fb3a0904 20:15:52 $ docker rm -f 35510b0c6adaa387f2b8a361a4e6fbdde1a01f75c4c1f023ec0e2ad4fb3a0904 [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:15:53 provisioning config files... 20:15:53 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-217@tmp/config16359899656079080201tmp [Pipeline] { [Pipeline] sh 20:15:53 + set +x 20:15:53 + curl -s https://codecov.io/bash 20:15:53 + bash -s -- 20:15:53 20:15:53 _____ _ 20:15:53 / ____| | | 20:15:53 | | ___ __| | ___ ___ _____ __ 20:15:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:15:53 | |___| (_) | (_| | __/ (_| (_) \ V / 20:15:53 \_____\___/ \__,_|\___|\___\___/ \_/ 20:15:53 Bash-1.0.6 20:15:53 20:15:53 20:15:53 ==> git version 2.25.1 found 20:15:53 ==> 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:15:53 Release-Date: 2020-01-08 20:15:53 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:15:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:15:53 ==> Jenkins CI detected. 20:15:53 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-217 20:15:53 project root: . 20:15:53 --> token set from env 20:15:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:15:53 ==> Running gcov in . (disable via -X gcov) 20:15:53 ==> Python coveragepy not found 20:15:53 ==> Searching for coverage reports in: 20:15:53 + . 20:15:53 -> Found 1 reports 20:15:53 ==> Detecting git/mercurial file structure 20:15:53 ==> Reading reports 20:15:53 + ./coverage.out bytes=9355 20:15:53 ==> Appending adjustments 20:15:53 https://docs.codecov.io/docs/fixing-reports 20:15:53 + Found adjustments 20:15:53 ==> Gzipping contents 20:15:53 4.0K /tmp/codecov.o9SEUV.gz 20:15:53 ==> Uploading reports 20:15:53 url: https://codecov.io 20:15:53 query: branch=PR-217&commit=6a92d6e74a31c5593ceffa978dbfd96e3064d613&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=217&job=&cmd_args= 20:15:53 -> Pinging Codecov 20:15:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-217&commit=6a92d6e74a31c5593ceffa978dbfd96e3064d613&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=217&job=&cmd_args= 20:15:53 -> Uploading to 20:15:53 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/4E5D53B4F1F92C436F7061BF334D961C/6a92d6e74a31c5593ceffa978dbfd96e3064d613/8af74d95-93b9-4302-bdf7-04fc97fbeabd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T201553Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18728460060c4a0a96f98f9bc3b3c3c5eeeea76996179d7d09a113e39a08999e 20:15:53 % Total % Received % Xferd Average Speed Time Time Time Current 20:15:53 Dload Upload Total Spent Left Speed 20:15:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7181 --:--:-- --:--:-- --:--:-- 7181 20:15:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6a92d6e74a31c5593ceffa978dbfd96e3064d613 [Pipeline] } 20:15:54 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:15:56 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-217/archives ] 20:15:56 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-217/archives 20:15:56 total 16 20:15:56 drwxr-xr-x 3 root root 4096 Oct 3 20:06 . 20:15:56 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:06 .. 20:15:56 drwxr-xr-x 2 root root 4096 Oct 3 20:06 cost 20:15:56 -rw-r--r-- 1 root root 86 Oct 3 20:06 cost.csv 20:15:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-217/archives 20:15:56 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-217/archives 20:15:56 total 16 20:15:56 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 20:06 . 20:15:56 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:06 .. 20:15:56 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 20:06 cost 20:15:56 -rw-r--r-- 1 jenkins jenkins 86 Oct 3 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:15:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:15:57 ---> package-listing.sh 20:15:57 ++ facter osfamily 20:15:57 ++ tr '[:upper:]' '[:lower:]' 20:15:57 + OS_FAMILY=debian 20:15:57 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-217 20:15:57 + START_PACKAGES=/tmp/packages_start.txt 20:15:57 + END_PACKAGES=/tmp/packages_end.txt 20:15:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:15:57 + PACKAGES=/tmp/packages_start.txt 20:15:57 + '[' /w/workspace/gexfoundry_device-rest-go_PR-217 ']' 20:15:57 + PACKAGES=/tmp/packages_end.txt 20:15:57 + case "${OS_FAMILY}" in 20:15:57 + dpkg -l 20:15:57 + grep '^ii' 20:15:57 + '[' -f /tmp/packages_start.txt ']' 20:15:57 + '[' -f /tmp/packages_end.txt ']' 20:15:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:15:57 + '[' /w/workspace/gexfoundry_device-rest-go_PR-217 ']' 20:15:57 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-217/archives/ 20:15:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-217/archives/ [Pipeline] echo 20:15:57 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-217/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:15:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:58 prd-ubuntu20.04-docker-8c-8g-6932 does not seem to be running inside a container 20:15:58 $ 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-217/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-217 -v /w/workspace/gexfoundry_device-rest-go_PR-217:/w/workspace/gexfoundry_device-rest-go_PR-217:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-217@tmp:/w/workspace/gexfoundry_device-rest-go_PR-217@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:15:58 $ docker top d6f807ebab5b06d1f4353f87d96dbf79542ede7a556e73443e478d91c6768369 -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:59 + touch /tmp/pre-build-complete [Pipeline] sh 20:15:59 + mkdir -p /var/log/sysstat [Pipeline] sh 20:15:59 + ls /var/log/sa-host 20:15:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:59 provisioning config files... 20:15:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-217@tmp/config4392489054663755220tmp [Pipeline] { [Pipeline] echo 20:16:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:16:00 ---> create-netrc.sh [Pipeline] } 20:16:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:16:00 ---> python-tools-install.sh [Pipeline] echo 20:16:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:16:01 ---> sudo-logs.sh 20:16:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:16:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:16:01 ---> job-cost.sh 20:16:01 lf-activate-venv: SKIPPING 20:16:01 DEBUG: total: 0.2199999988079071 20:16:01 INFO: Retrieving Stack Cost... 20:16:02 INFO: Retrieving Pricing Info for: v3-standard-8 20:16:02 INFO: Archiving Costs [Pipeline] echo 20:16:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:16:02 ---> logs-deploy.sh 20:16:02 lf-activate-venv: SKIPPING 20:16:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-217/1 20:16:02 INFO: archiving workspace using pattern(s): 20:16:03 Archives upload complete. 20:16:03 INFO: archiving logs to Nexus