Pull request #221 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e04f72990f565fcdac6f982fafa7f719664c4a16+626f6c6d709bfdfff0bd38f00197e38acd6ec0eb (742d337de6b836cb5b10ca2576ac370dfbd4a7db) 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-ssh11645590881939449793.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh13647058239095828612.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-221/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-221/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18151002860026865220.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-221/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9805526398479029840.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh2399510010720782349.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-221/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-221/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh971011142634080792.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-63832 in /w/workspace/gexfoundry_device-rest-go_PR-221 [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-221 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/221/head:refs/remotes/origin/PR-221 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb into PR head commit e04f72990f565fcdac6f982fafa7f719664c4a16 Merge succeeded, producing e04f72990f565fcdac6f982fafa7f719664c4a16 Checking out Revision e04f72990f565fcdac6f982fafa7f719664c4a16 (PR-221) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:19:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:19:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f e04f72990f565fcdac6f982fafa7f719664c4a16 # 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 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e04f72990f565fcdac6f982fafa7f719664c4a16 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:19:59 ========================================================= 01:19:59 EdgeX Global Pipelines Version Info 01:19:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:20:00 ------------------- 01:20:00 stable info: 01:20:00 ------------------- 01:20:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:20:00 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 01:20:00 Message: update stable to v1.0.243 01:20:01 ------------------- 01:20:01 experimental info: 01:20:01 ------------------- 01:20:01 Commited By: **** collab-it+edgex@linuxfoundation.org 01:20:01 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 01:20:01 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:20:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:20:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:20:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:20:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:20:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:20:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:20:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:20:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:20:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:20:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:20:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:20:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:20:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-221 [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-221 [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-221 [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e04f72990f565fcdac6f982fafa7f719664c4a16 [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e04f729 [Pipeline] echo 01:20:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:20:02 provisioning config files... 01:20:02 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-221@tmp/config11636711711843228779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:20:03 ---> docker-login.sh 01:20:03 nexus3.edgexfoundry.org:10001 01:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:03 Configure a credential helper to remove this warning. See 01:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:03 01:20:03 Login Succeeded 01:20:03 nexus3.edgexfoundry.org:10002 01:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:03 Configure a credential helper to remove this warning. See 01:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:03 01:20:03 Login Succeeded 01:20:03 nexus3.edgexfoundry.org:10003 01:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:03 Configure a credential helper to remove this warning. See 01:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:03 01:20:03 Login Succeeded 01:20:03 nexus3.edgexfoundry.org:10004 01:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:03 Configure a credential helper to remove this warning. See 01:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:03 01:20:03 Login Succeeded 01:20:03 docker.io 01:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:04 Configure a credential helper to remove this warning. See 01:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:04 01:20:04 Login Succeeded 01:20:04 ---> docker-login.sh ends [Pipeline] } 01:20:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:20:04 + git rev-list -1 --merges e04f72990f565fcdac6f982fafa7f719664c4a16~1..e04f72990f565fcdac6f982fafa7f719664c4a16 [Pipeline] echo 01:20:05 -----------> git rev-list -1 --merges e04f72990f565fcdac6f982fafa7f719664c4a16~1..e04f72990f565fcdac6f982fafa7f719664c4a16 e04f72990f565fcdac6f982fafa7f719664c4a16 [false] [Pipeline] sh 01:20:05 + git log --format=format:%s -1 e04f72990f565fcdac6f982fafa7f719664c4a16 [Pipeline] echo 01:20:05 ========================================================= 01:20:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:20:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:20:05 + git log --format=format:%s -1 e04f72990f565fcdac6f982fafa7f719664c4a16 [Pipeline] echo 01:20:05 [semverPrep] GIT_COMMIT: e04f72990f565fcdac6f982fafa7f719664c4a16, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 01:20:05 [semverPrep] This is not a build commit. [Pipeline] sh 01:20:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:20:06 + grep -v github /etc/ssh/ssh_known_hosts 01:20:06 + [ -e /tmp/ssh_known_hosts ] 01:20:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:20:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:20:06 + sudo tee -a /etc/ssh/ssh_known_hosts 01:20:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:20:06 01:20:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:20:07 0.1.4: Pulling from edgex-devops/py-git-semver 01:20:07 b85a868b505f: Pulling fs layer 01:20:07 e2be974225ed: Pulling fs layer 01:20:07 339a4e72a1f5: Pulling fs layer 01:20:07 988bab9f4d93: Pulling fs layer 01:20:07 1469e6f7b9e6: Pulling fs layer 01:20:07 eaf3925da568: Pulling fs layer 01:20:07 bab4dde63d76: Pulling fs layer 01:20:07 bde34c3a00c8: Pulling fs layer 01:20:07 b352a97aabf1: Pulling fs layer 01:20:07 4872d77fe225: Pulling fs layer 01:20:07 5851b861e8e6: Pulling fs layer 01:20:07 988bab9f4d93: Waiting 01:20:07 bde34c3a00c8: Waiting 01:20:07 1469e6f7b9e6: Waiting 01:20:07 b352a97aabf1: Waiting 01:20:07 eaf3925da568: Waiting 01:20:07 5851b861e8e6: Waiting 01:20:07 bab4dde63d76: Waiting 01:20:07 e2be974225ed: Verifying Checksum 01:20:07 e2be974225ed: Download complete 01:20:07 988bab9f4d93: Verifying Checksum 01:20:07 988bab9f4d93: Download complete 01:20:07 1469e6f7b9e6: Verifying Checksum 01:20:07 1469e6f7b9e6: Download complete 01:20:07 eaf3925da568: Verifying Checksum 01:20:07 eaf3925da568: Download complete 01:20:07 339a4e72a1f5: Verifying Checksum 01:20:07 339a4e72a1f5: Download complete 01:20:07 bde34c3a00c8: Download complete 01:20:07 b352a97aabf1: Download complete 01:20:07 4872d77fe225: Verifying Checksum 01:20:07 4872d77fe225: Download complete 01:20:07 5851b861e8e6: Verifying Checksum 01:20:07 5851b861e8e6: Download complete 01:20:07 b85a868b505f: Download complete 01:20:07 bab4dde63d76: Verifying Checksum 01:20:08 b85a868b505f: Pull complete 01:20:08 e2be974225ed: Pull complete 01:20:09 339a4e72a1f5: Pull complete 01:20:09 988bab9f4d93: Pull complete 01:20:09 1469e6f7b9e6: Pull complete 01:20:09 eaf3925da568: Pull complete 01:20:11 bab4dde63d76: Pull complete 01:20:11 bde34c3a00c8: Pull complete 01:20:11 b352a97aabf1: Pull complete 01:20:11 4872d77fe225: Pull complete 01:20:11 5851b861e8e6: Pull complete 01:20:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:20:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:20:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:12 prd-ubuntu20.04-docker-8c-8g-63832 does not seem to be running inside a container 01:20:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-221 -v /w/workspace/gexfoundry_device-rest-go_PR-221:/w/workspace/gexfoundry_device-rest-go_PR-221:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-221@tmp:/w/workspace/gexfoundry_device-rest-go_PR-221@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 01:20:13 $ docker top 439be466bab1546609580ede76347e667a776bba1ae9051162d6789c79582d0c -eo pid,comm 01:20:13 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). 01:20:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:20:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:20:13 [ssh-agent] Looking for ssh-agent implementation... 01:20:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:20:13 $ docker exec 439be466bab1546609580ede76347e667a776bba1ae9051162d6789c79582d0c ssh-agent 01:20:13 SSH_AUTH_SOCK=/tmp/ssh-FYp7zhEwaQG0/agent.33 01:20:13 SSH_AGENT_PID=39 01:20:13 Running ssh-add (command line suppressed) 01:20:13 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-221@tmp/private_key_14410888007199768351.key (/w/workspace/gexfoundry_device-rest-go_PR-221@tmp/private_key_14410888007199768351.key) 01:20:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:20:14 + git tag --points-at HEAD [Pipeline] } 01:20:14 $ docker exec --env ******** --env ******** 439be466bab1546609580ede76347e667a776bba1ae9051162d6789c79582d0c ssh-agent -k 01:20:14 unset SSH_AUTH_SOCK; 01:20:14 unset SSH_AGENT_PID; 01:20:14 echo Agent pid 39 killed; 01:20:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:20:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:20:14 [ssh-agent] Looking for ssh-agent implementation... 01:20:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:20:14 $ docker exec 439be466bab1546609580ede76347e667a776bba1ae9051162d6789c79582d0c ssh-agent 01:20:14 SSH_AUTH_SOCK=/tmp/ssh-vKaHrvKvBqnA/agent.71 01:20:14 SSH_AGENT_PID=78 01:20:14 Running ssh-add (command line suppressed) 01:20:14 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-221@tmp/private_key_11573781580171635786.key (/w/workspace/gexfoundry_device-rest-go_PR-221@tmp/private_key_11573781580171635786.key) 01:20:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:20:14 + git semver init 01:20:15 2022-10-25 01:20:15,119 [run_init] DEBUG init version:0.0.0 force:False 01:20:15 2022-10-25 01:20:15,120 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-221/.semver 01:20:15 2022-10-25 01:20:15,120 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-221/.semver 01:20:15 2022-10-25 01:20:15,121 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-221/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-221, universal_newlines=False, shell=None, istream=None) 01:20:16 2022-10-25 01:20:16,179 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-221/.git/info/exclude 01:20:16 2022-10-25 01:20:16,180 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-221/.semver/PR-221 with force:False 01:20:16 2022-10-25 01:20:16,180 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-221/.semver/PR-221 01:20:16 2022-10-25 01:20:16,183 [execute] INFO git cat-file --batch-check 01:20:16 2022-10-25 01:20:16,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-221/.semver, universal_newlines=False, shell=None, istream=) 01:20:16 2022-10-25 01:20:16,191 [execute] INFO git cat-file --batch 01:20:16 2022-10-25 01:20:16,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-221/.semver, universal_newlines=False, shell=None, istream=) 01:20:16 2022-10-25 01:20:16,196 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-221/.semver/PR-221 01:20:16 0.0.0 [Pipeline] } 01:20:16 $ docker exec --env ******** --env ******** 439be466bab1546609580ede76347e667a776bba1ae9051162d6789c79582d0c ssh-agent -k 01:20:16 unset SSH_AUTH_SOCK; 01:20:16 unset SSH_AGENT_PID; 01:20:16 echo Agent pid 78 killed; 01:20:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:20:17 + git semver [Pipeline] } 01:20:17 $ docker stop --time=1 439be466bab1546609580ede76347e667a776bba1ae9051162d6789c79582d0c 01:20:18 $ docker rm -f 439be466bab1546609580ede76347e667a776bba1ae9051162d6789c79582d0c [Pipeline] // withDockerContainer [Pipeline] sh 01:20:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:20:19 Stashed 1 file(s) [Pipeline] echo 01:20:19 [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 01:20:20 provisioning config files... 01:20:20 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-221@tmp/config16558968774569551083tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:20:20 ---> docker-login.sh 01:20:20 nexus3.edgexfoundry.org:10001 01:20:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:20 Configure a credential helper to remove this warning. See 01:20:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:20 01:20:20 Login Succeeded 01:20:20 nexus3.edgexfoundry.org:10002 01:20:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:20 Configure a credential helper to remove this warning. See 01:20:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:20 01:20:20 Login Succeeded 01:20:20 nexus3.edgexfoundry.org:10003 01:20:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:20 Configure a credential helper to remove this warning. See 01:20:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:20 01:20:20 Login Succeeded 01:20:20 nexus3.edgexfoundry.org:10004 01:20:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:20 Configure a credential helper to remove this warning. See 01:20:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:20 01:20:20 Login Succeeded 01:20:20 docker.io 01:20:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:20:21 Configure a credential helper to remove this warning. See 01:20:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:20:21 01:20:21 Login Succeeded 01:20:21 ---> docker-login.sh ends [Pipeline] } 01:20:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:20:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:20:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:20:21 ========================================================= 01:20:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:20:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:21 + 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 . 01:20:21 Sending build context to Docker daemon 10.75MB 01:20:21 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:20:21 Step 2/13 : FROM ${BASE} AS builder 01:20:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:20:21 213ec9aee27d: Pulling fs layer 01:20:21 4583459ba037: Pulling fs layer 01:20:21 93c1e223e6f2: Pulling fs layer 01:20:21 53926ce57604: Pulling fs layer 01:20:21 21b2b0c7a3f4: Pulling fs layer 01:20:21 30f14e443154: Pulling fs layer 01:20:21 801331c1e519: Pulling fs layer 01:20:21 99cc6dd402b0: Pulling fs layer 01:20:21 7d9ed39f4882: Pulling fs layer 01:20:21 30f14e443154: Waiting 01:20:21 801331c1e519: Waiting 01:20:21 99cc6dd402b0: Waiting 01:20:21 7d9ed39f4882: Waiting 01:20:21 53926ce57604: Waiting 01:20:21 21b2b0c7a3f4: Waiting 01:20:21 93c1e223e6f2: Verifying Checksum 01:20:21 93c1e223e6f2: Download complete 01:20:21 4583459ba037: Verifying Checksum 01:20:21 4583459ba037: Download complete 01:20:21 21b2b0c7a3f4: Verifying Checksum 01:20:21 21b2b0c7a3f4: Download complete 01:20:22 30f14e443154: Verifying Checksum 01:20:22 30f14e443154: Download complete 01:20:22 213ec9aee27d: Verifying Checksum 01:20:22 213ec9aee27d: Download complete 01:20:22 801331c1e519: Verifying Checksum 01:20:22 801331c1e519: Download complete 01:20:22 213ec9aee27d: Pull complete 01:20:22 4583459ba037: Pull complete 01:20:22 93c1e223e6f2: Pull complete 01:20:22 7d9ed39f4882: Verifying Checksum 01:20:22 7d9ed39f4882: Download complete 01:20:24 53926ce57604: Download complete 01:20:24 99cc6dd402b0: Verifying Checksum 01:20:24 99cc6dd402b0: Download complete 01:20:28 53926ce57604: Pull complete 01:20:28 21b2b0c7a3f4: Pull complete 01:20:28 30f14e443154: Pull complete 01:20:28 801331c1e519: Pull complete 01:20:29 99cc6dd402b0: Pull complete 01:20:30 7d9ed39f4882: Pull complete 01:20:30 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 01:20:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:20:30 ---> 1dedd983c030 01:20:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:20:32 ---> Running in d5e01b870125 01:20:32 Removing intermediate container d5e01b870125 01:20:32 ---> 1c4fdc261eb0 01:20:32 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:20:32 ---> Running in b4f767430c75 01:20:32 Removing intermediate container b4f767430c75 01:20:32 ---> 7a8878eb2125 01:20:32 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:20:32 ---> Running in 444cf5551a1c 01:20:32 Removing intermediate container 444cf5551a1c 01:20:32 ---> 98d52d55c8b0 01:20:32 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:20:32 ---> Running in 61dc832633de 01:20:32 Removing intermediate container 61dc832633de 01:20:32 ---> e20d608aa182 01:20:32 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:20:32 ---> Running in cd2f67020ad5 01:20:32 Removing intermediate container cd2f67020ad5 01:20:32 ---> a97337a4f34d 01:20:32 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:20:33 ---> Running in 7e31fed044a4 01:20:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:20:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:20:34 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:20:34 (2/4) Installing libedit (20210910.3.1-r0) 01:20:34 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:20:34 Still waiting to schedule task 01:20:34 ‘prd-ubuntu20.04-docker-arm64-4c-16g-63855’ is offline 01:20:34 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:20:34 Executing busybox-1.35.0-r17.trigger 01:20:34 OK: 216 MiB in 55 packages 01:20:35 Removing intermediate container 7e31fed044a4 01:20:35 ---> 8f31b8ff65bc 01:20:35 Step 9/13 : WORKDIR /device-rest-go 01:20:35 ---> Running in dfe5831249ff 01:20:35 Removing intermediate container dfe5831249ff 01:20:35 ---> 238a488a945f 01:20:35 Step 10/13 : COPY go.mod vendor* ./ 01:20:35 ---> 8120ed074b1a 01:20:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:20:35 ---> Running in 59f00ac2d118 01:20:50 Removing intermediate container 59f00ac2d118 01:20:50 ---> ed0dfed5c25e 01:20:50 Step 12/13 : COPY . . 01:20:50 ---> 6b5d11ddd642 01:20:50 Step 13/13 : RUN $MAKE 01:20:50 ---> Running in 4410834d5e90 01:20:50 noop 01:20:50 Removing intermediate container 4410834d5e90 01:20:50 ---> 08386fc9a4da 01:20:50 Successfully built 08386fc9a4da 01:20:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:51 + docker inspect -f . ci-base-image-x86_64 01:20:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:51 prd-ubuntu20.04-docker-8c-8g-63832 does not seem to be running inside a container 01:20:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-221 -v /w/workspace/gexfoundry_device-rest-go_PR-221:/w/workspace/gexfoundry_device-rest-go_PR-221:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-221@tmp:/w/workspace/gexfoundry_device-rest-go_PR-221@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 01:20:52 $ docker top 58d7c045d8e2a3423e11fb86815cf729f8786d563a0211bc79890718beff09ee -eo pid,comm [Pipeline] { [Pipeline] sh 01:20:52 + go version 01:20:52 go version go1.18.7 linux/amd64 [Pipeline] } 01:20:52 $ docker stop --time=1 58d7c045d8e2a3423e11fb86815cf729f8786d563a0211bc79890718beff09ee 01:20:53 $ docker rm -f 58d7c045d8e2a3423e11fb86815cf729f8786d563a0211bc79890718beff09ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:54 + docker inspect -f . ci-base-image-x86_64 01:20:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:54 prd-ubuntu20.04-docker-8c-8g-63832 does not seem to be running inside a container 01:20:54 $ 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-221 -v /w/workspace/gexfoundry_device-rest-go_PR-221:/w/workspace/gexfoundry_device-rest-go_PR-221:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-221@tmp:/w/workspace/gexfoundry_device-rest-go_PR-221@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 01:20:55 $ docker top c60ddc3f17d412ba3a0f7fa99af4647c8386e2d996abb99ff2f4823f24a524a3 -eo pid,comm [Pipeline] { [Pipeline] sh 01:20:55 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-221 [Pipeline] fileExists [Pipeline] sh 01:20:56 + make test 01:20:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:20:56 ? github.com/edgexfoundry/device-rest-go [no test files] 01:21:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:21:06 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements 01:21:12 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." 01:21:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:21:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:21:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:21:16 ./bin/test-attribution-txt.sh [Pipeline] echo 01:21:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:21:16 $ docker stop --time=1 c60ddc3f17d412ba3a0f7fa99af4647c8386e2d996abb99ff2f4823f24a524a3 01:21:17 $ docker rm -f c60ddc3f17d412ba3a0f7fa99af4647c8386e2d996abb99ff2f4823f24a524a3 [Pipeline] // withDockerContainer [Pipeline] sh 01:21:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:21:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:21:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:21:19 + ls -al . 01:21:19 total 184 01:21:19 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 01:20 . 01:21:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:19 .. 01:21:19 -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 01:19 .dockerignore 01:21:19 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 01:21 .git 01:21:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:19 .github 01:21:19 -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 01:19 .gitignore 01:21:19 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 01:19 .golangci.yml 01:21:19 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:20 .semver 01:21:19 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 01:19 Attribution.txt 01:21:19 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 01:19 CHANGELOG.md 01:21:19 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 01:19 Dockerfile 01:21:19 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 01:19 GOVERNANCE.md 01:21:19 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 01:19 Jenkinsfile 01:21:19 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 01:19 LICENSE 01:21:19 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 01:19 Makefile 01:21:19 -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 01:19 OWNERS.md 01:21:19 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 01:19 README.md 01:21:19 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 01:20 VERSION 01:21:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:19 bin 01:21:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:19 cmd 01:21:19 -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 01:21 coverage.out 01:21:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:19 driver 01:21:19 -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 01:19 go.mod 01:21:19 -rw-rw-r-- 1 jenkins jenkins 44965 Oct 25 01:19 go.sum 01:21:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:19 snap 01:21:19 -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 01:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:19 + 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=e04f72990f565fcdac6f982fafa7f719664c4a16 --label arch=amd64 --label version=0.0.0 . 01:21:19 Sending build context to Docker daemon 10.76MB 01:21:19 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:21:19 Step 2/26 : FROM ${BASE} AS builder 01:21:19 ---> 08386fc9a4da 01:21:19 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:21:19 ---> Running in a5ae1405afdc 01:21:19 Removing intermediate container a5ae1405afdc 01:21:19 ---> e5e6ce1a78eb 01:21:19 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:21:20 ---> Running in 6b593d1a80f7 01:21:20 Removing intermediate container 6b593d1a80f7 01:21:20 ---> a6e89e6f3609 01:21:20 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:21:20 ---> Running in 1e1f617012cd 01:21:20 Removing intermediate container 1e1f617012cd 01:21:20 ---> 74897eea8e6d 01:21:20 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:21:20 ---> Running in 715dd168c815 01:21:20 Removing intermediate container 715dd168c815 01:21:20 ---> 96523658ddfa 01:21:20 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:21:20 ---> Running in ea7761f8c469 01:21:20 Removing intermediate container ea7761f8c469 01:21:20 ---> 0f88af9d9dec 01:21:20 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:21:20 ---> Running in ff1566dab26e 01:21:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:21:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:21:22 OK: 216 MiB in 55 packages 01:21:22 Removing intermediate container ff1566dab26e 01:21:22 ---> 704a1cf3b805 01:21:22 Step 9/26 : WORKDIR /device-rest-go 01:21:22 ---> Running in 388f1a128e11 01:21:22 Removing intermediate container 388f1a128e11 01:21:22 ---> 4203d1007400 01:21:22 Step 10/26 : COPY go.mod vendor* ./ 01:21:22 ---> 03234c7956b1 01:21:22 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:21:22 ---> Running in ce4630987335 01:21:23 Removing intermediate container ce4630987335 01:21:23 ---> d4f88b050e4c 01:21:23 Step 12/26 : COPY . . 01:21:23 ---> 25dcf9b1c898 01:21:23 Step 13/26 : RUN $MAKE 01:21:23 ---> Running in eed54a6cbf9c 01:21:24 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 01:21:46 Removing intermediate container eed54a6cbf9c 01:21:46 ---> 942dbccdf6c5 01:21:46 Step 14/26 : FROM alpine:3.16 01:21:46 3.16: Pulling from library/alpine 01:21:46 213ec9aee27d: Already exists 01:21:46 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:21:46 Status: Downloaded newer image for alpine:3.16 01:21:46 ---> 9c6f07244728 01:21:46 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:21:46 ---> Running in a4882fefe570 01:21:46 Removing intermediate container a4882fefe570 01:21:46 ---> 9aa3beb6b8f8 01:21:46 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 01:21:46 ---> Running in f30606fa3cf3 01:21:46 Removing intermediate container f30606fa3cf3 01:21:46 ---> a4024801ad1b 01:21:46 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 01:21:46 ---> Running in d8a4568135f5 01:21:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:21:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:21:46 (1/6) Installing dumb-init (1.2.5-r1) 01:21:46 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:21:46 (3/6) Installing libsodium (1.0.18-r0) 01:21:46 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:21:46 (5/6) Installing libzmq (4.3.4-r0) 01:21:46 (6/6) Installing zeromq (4.3.4-r0) 01:21:46 Executing busybox-1.35.0-r17.trigger 01:21:46 OK: 8 MiB in 20 packages 01:21:46 Removing intermediate container d8a4568135f5 01:21:46 ---> 238065f0ba19 01:21:46 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 01:21:46 ---> 68fcc175673f 01:21:46 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 01:21:46 ---> 685558535356 01:21:46 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 01:21:46 ---> a7a6df447039 01:21:46 Step 21/26 : EXPOSE 59986 01:21:46 ---> Running in d4f2a21c217b 01:21:46 Removing intermediate container d4f2a21c217b 01:21:46 ---> 68913c39c56b 01:21:46 Step 22/26 : ENTRYPOINT ["/device-rest"] 01:21:46 ---> Running in ca7fc0877b73 01:21:46 Removing intermediate container ca7fc0877b73 01:21:46 ---> 73c79b7a885f 01:21:46 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:21:46 ---> Running in ea795890d09e 01:21:46 Removing intermediate container ea795890d09e 01:21:46 ---> 080f3feccf04 01:21:46 Step 24/26 : LABEL arch=amd64 01:21:46 ---> Running in 74f7550f5309 01:21:46 Removing intermediate container 74f7550f5309 01:21:46 ---> fdd11b9898f2 01:21:46 Step 25/26 : LABEL git_sha=e04f72990f565fcdac6f982fafa7f719664c4a16 01:21:46 ---> Running in 471945b61a44 01:21:47 Removing intermediate container 471945b61a44 01:21:47 ---> 4451060de79a 01:21:47 Step 26/26 : LABEL version=0.0.0 01:21:47 ---> Running in 9998f65d6203 01:21:47 Removing intermediate container 9998f65d6203 01:21:47 ---> c2077ebf23ea 01:21:47 [Warning] One or more build-args [ARCH] were not consumed 01:21:47 Successfully built c2077ebf23ea 01:21:47 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 01:21:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:21:47 01:21:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:21:48 latest: Pulling from edgex-lftools-log-publisher 01:21:48 5eb5b503b376: Pulling fs layer 01:21:48 5c69ac0246d0: Pulling fs layer 01:21:48 ec43610c2a17: Pulling fs layer 01:21:48 3a2ae6a8a46f: Pulling fs layer 01:21:48 33b1e0a273af: Pulling fs layer 01:21:48 5d3b04190fa2: Pulling fs layer 01:21:48 2f39f015ded8: Pulling fs layer 01:21:48 3a2ae6a8a46f: Waiting 01:21:48 33b1e0a273af: Waiting 01:21:48 5d3b04190fa2: Waiting 01:21:48 2f39f015ded8: Waiting 01:21:48 5c69ac0246d0: Verifying Checksum 01:21:48 5c69ac0246d0: Download complete 01:21:48 3a2ae6a8a46f: Verifying Checksum 01:21:48 3a2ae6a8a46f: Download complete 01:21:48 33b1e0a273af: Verifying Checksum 01:21:48 33b1e0a273af: Download complete 01:21:48 ec43610c2a17: Verifying Checksum 01:21:48 ec43610c2a17: Download complete 01:21:48 5d3b04190fa2: Verifying Checksum 01:21:48 5d3b04190fa2: Download complete 01:21:48 5eb5b503b376: Verifying Checksum 01:21:48 5eb5b503b376: Download complete 01:21:49 2f39f015ded8: Download complete 01:21:50 5eb5b503b376: Pull complete 01:21:50 5c69ac0246d0: Pull complete 01:21:50 ec43610c2a17: Pull complete 01:21:50 3a2ae6a8a46f: Pull complete 01:21:50 33b1e0a273af: Pull complete 01:21:50 5d3b04190fa2: Pull complete 01:21:55 2f39f015ded8: Pull complete 01:21:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:21:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:21:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:55 prd-ubuntu20.04-docker-8c-8g-63832 does not seem to be running inside a container 01:21:55 $ 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-221 -v /w/workspace/gexfoundry_device-rest-go_PR-221:/w/workspace/gexfoundry_device-rest-go_PR-221:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-221@tmp:/w/workspace/gexfoundry_device-rest-go_PR-221@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 01:21:56 $ docker top d5e1a0f079531cd741f8463db0b757b151f25f8c8af3323fa4c70eb4c1847dcf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:21:56 ---> job-cost.sh 01:21:56 lf-activate-venv: SKIPPING 01:21:56 INFO: No Stack... 01:21:57 INFO: Retrieving Pricing Info for: v3-standard-8 01:21:57 INFO: Archiving Costs [Pipeline] sh 01:21:58 + cat /w/workspace/gexfoundry_device-rest-go_PR-221/archives/cost.csv 01:21:58 + cut -d, -f6 [Pipeline] lock 01:21:58 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] 01:21:58 Resource [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] did not exist. Created. 01:21:58 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:21:58 + echo total: 0.2199999988079071 [Pipeline] stash 01:21:58 Stashed 1 file(s) [Pipeline] } 01:21:58 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:21:58 $ docker stop --time=1 d5e1a0f079531cd741f8463db0b757b151f25f8c8af3323fa4c70eb4c1847dcf 01:21:59 $ docker rm -f d5e1a0f079531cd741f8463db0b757b151f25f8c8af3323fa4c70eb4c1847dcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:20:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-80536 in /w/workspace/gexfoundry_device-rest-go_PR-221 [Pipeline] { [Pipeline] ws 04:20:44 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 04:20:44 The recommended git tool is: git 04:20:48 using credential edgex-jenkins-ssh 04:20:48 Cloning the remote Git repository 04:20:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 04:20:49 > git init /w/workspace/device-rest-go/1 # timeout=10 04:20:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 04:20:49 > git --version # timeout=10 04:20:49 > git --version # 'git version 2.25.1' 04:20:49 using GIT_SSH to set credentials SSH Credentials for GitHub 04:20:49 Verifying host key using known hosts file 04:20:49 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. 04:20:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:20:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 04:20:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:20:52 Merging remotes/origin/main commit 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb into PR head commit e04f72990f565fcdac6f982fafa7f719664c4a16 04:20:52 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 04:20:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 04:20:52 using GIT_SSH to set credentials SSH Credentials for GitHub 04:20:52 Verifying host key using known hosts file 04:20:52 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. 04:20:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/221/head:refs/remotes/origin/PR-221 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:20:52 > git config core.sparsecheckout # timeout=10 04:20:52 > git checkout -f e04f72990f565fcdac6f982fafa7f719664c4a16 # timeout=10 04:20:52 > git remote # timeout=10 04:20:52 > git config --get remote.origin.url # timeout=10 04:20:52 using GIT_SSH to set credentials SSH Credentials for GitHub 04:20:52 Verifying host key using known hosts file 04:20:52 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. 04:20:52 > git merge 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb # timeout=10 04:20:52 > git rev-parse HEAD^{commit} # timeout=10 04:20:52 Merge succeeded, producing e04f72990f565fcdac6f982fafa7f719664c4a16 04:20:52 Checking out Revision e04f72990f565fcdac6f982fafa7f719664c4a16 (PR-221) 04:20:53 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 04:20:53 > git --version # timeout=10 04:20:53 > git --version # 'git version 2.25.1' 04:20:53 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:20:52 > git config core.sparsecheckout # timeout=10 04:20:53 > git checkout -f e04f72990f565fcdac6f982fafa7f719664c4a16 # timeout=10 04:20:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:20:54 % Total % Received % Xferd Average Speed Time Time Time Current 04:20:54 Dload Upload Total Spent Left Speed 04:20:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 98453 0 --:--:-- --:--:-- --:--:-- 98453 [Pipeline] sh 04:20:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:20:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:20:55 + sudo tee /etc/docker/daemon.new 04:20:55 { 04:20:55 "registry-mirrors": [ 04:20:55 "https://nexus3.edgexfoundry.org:10001" 04:20:55 ], 04:20:55 "bip": "10.250.0.254/24", 04:20:55 "hosts": [ 04:20:55 "tcp://0.0.0.0:5555", 04:20:55 "unix:///var/run/docker.sock" 04:20:55 ], 04:20:55 "mtu": 1458, 04:20:55 "selinux-enabled": true, 04:20:55 "seccomp-profile": "/etc/docker/seccomp.json" 04:20:55 } [Pipeline] sh 04:20:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:20:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:21:14 provisioning config files... 04:21:14 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6060648017866649229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:14 ---> docker-login.sh 04:21:14 nexus3.edgexfoundry.org:10001 04:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:15 Configure a credential helper to remove this warning. See 04:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:15 04:21:15 Login Succeeded 04:21:15 nexus3.edgexfoundry.org:10002 04:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:15 Configure a credential helper to remove this warning. See 04:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:15 04:21:15 Login Succeeded 04:21:16 nexus3.edgexfoundry.org:10003 04:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:16 Configure a credential helper to remove this warning. See 04:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:16 04:21:16 Login Succeeded 04:21:16 nexus3.edgexfoundry.org:10004 04:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:16 Configure a credential helper to remove this warning. See 04:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:16 04:21:16 Login Succeeded 04:21:16 docker.io 04:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:21:17 Configure a credential helper to remove this warning. See 04:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:21:17 04:21:17 Login Succeeded 04:21:17 ---> docker-login.sh ends [Pipeline] } 04:21:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:21:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:21:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:21:17 ========================================================= 04:21:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:21:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:17 + 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 . 04:21:17 Sending build context to Docker daemon 127.5kB 04:21:18 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:21:18 Step 2/13 : FROM ${BASE} AS builder 04:21:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:21:18 9b18e9b68314: Pulling fs layer 04:21:18 d32db5db7311: Pulling fs layer 04:21:18 d0c4b47475fc: Pulling fs layer 04:21:18 5831b945b038: Pulling fs layer 04:21:18 86bbec2aaacd: Pulling fs layer 04:21:18 e10730c5d714: Pulling fs layer 04:21:18 5dd5c2283517: Pulling fs layer 04:21:18 d5ac0230b979: Pulling fs layer 04:21:18 86bbec2aaacd: Waiting 04:21:18 e10730c5d714: Waiting 04:21:18 5dd5c2283517: Waiting 04:21:18 d5ac0230b979: Waiting 04:21:18 5831b945b038: Waiting 04:21:18 d0c4b47475fc: Verifying Checksum 04:21:18 d0c4b47475fc: Download complete 04:21:18 d32db5db7311: Download complete 04:21:18 86bbec2aaacd: Verifying Checksum 04:21:18 86bbec2aaacd: Download complete 04:21:18 e10730c5d714: Verifying Checksum 04:21:18 e10730c5d714: Download complete 04:21:18 9b18e9b68314: Download complete 04:21:19 9b18e9b68314: Pull complete 04:21:19 d5ac0230b979: Verifying Checksum 04:21:19 d5ac0230b979: Download complete 04:21:20 d32db5db7311: Pull complete 04:21:20 d0c4b47475fc: Pull complete 04:21:20 5dd5c2283517: Verifying Checksum 04:21:20 5dd5c2283517: Download complete 04:21:21 5831b945b038: Verifying Checksum 04:21:21 5831b945b038: Download complete 04:21:33 5831b945b038: Pull complete 04:21:33 86bbec2aaacd: Pull complete 04:21:33 e10730c5d714: Pull complete 04:21:40 5dd5c2283517: Pull complete 04:21:43 d5ac0230b979: Pull complete 04:21:43 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 04:21:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:21:43 ---> 59b3b1a385d4 04:21:43 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:21:45 ---> Running in 59b75c458b64 04:21:45 Removing intermediate container 59b75c458b64 04:21:45 ---> 924b35a6676a 04:21:45 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:21:45 ---> Running in f0492cb7cfeb 04:21:45 Removing intermediate container f0492cb7cfeb 04:21:45 ---> 436c152b213b 04:21:45 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:21:45 ---> Running in ab71b01407b5 04:21:46 Removing intermediate container ab71b01407b5 04:21:46 ---> 6f6a0577381e 04:21:46 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:21:46 ---> Running in 6e0bf50cfc5a 04:21:46 Removing intermediate container 6e0bf50cfc5a 04:21:46 ---> 2461964aeb7a 04:21:46 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:21:46 ---> Running in db0c78a5bb35 04:21:48 Removing intermediate container db0c78a5bb35 04:21:48 ---> 06b0cdba3f57 04:21:48 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:21:48 ---> Running in 4df7b01ef3cf 04:21:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:21:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:21:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 04:21:51 (2/4) Installing libedit (20210910.3.1-r0) 04:21:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 04:21:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 04:21:51 Executing busybox-1.35.0-r17.trigger 04:21:51 OK: 226 MiB in 55 packages 04:21:52 Removing intermediate container 4df7b01ef3cf 04:21:52 ---> ce1d461f5423 04:21:52 Step 9/13 : WORKDIR /device-rest-go 04:21:52 ---> Running in fb1cb99ac48f 04:21:52 Removing intermediate container fb1cb99ac48f 04:21:52 ---> e6c2d0682b9d 04:21:52 Step 10/13 : COPY go.mod vendor* ./ 04:21:53 ---> 43d31d1bf4c4 04:21:53 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:21:53 ---> Running in e9deca9490ba 04:22:49 Removing intermediate container e9deca9490ba 04:22:49 ---> 2e23a5f071c2 04:22:49 Step 12/13 : COPY . . 04:22:49 ---> 594bde38b7cf 04:22:49 Step 13/13 : RUN $MAKE 04:22:49 ---> Running in 29d0d976e716 04:22:49 noop 04:22:49 Removing intermediate container 29d0d976e716 04:22:49 ---> 9002eff102f0 04:22:49 Successfully built 9002eff102f0 04:22:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:50 + docker inspect -f . ci-base-image-arm64 04:22:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:50 prd-ubuntu20.04-docker-arm64-4c-16g-80536 does not seem to be running inside a container 04:22:50 $ 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 04:22:51 $ docker top dc650bfbb6a7c19be15ac96926eaae81045eb5c171d37d7e282acebfc04b4a6c -eo pid,comm [Pipeline] { [Pipeline] sh 04:22:52 + go version 04:22:52 go version go1.18.7 linux/arm64 [Pipeline] } 04:22:52 $ docker stop --time=1 dc650bfbb6a7c19be15ac96926eaae81045eb5c171d37d7e282acebfc04b4a6c 04:22:54 $ docker rm -f dc650bfbb6a7c19be15ac96926eaae81045eb5c171d37d7e282acebfc04b4a6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:55 + docker inspect -f . ci-base-image-arm64 04:22:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:55 prd-ubuntu20.04-docker-arm64-4c-16g-80536 does not seem to be running inside a container 04:22:55 $ 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 04:22:56 $ docker top 6ab18ace5ca839d487553bac7915649327a9eb26e5a2330348f57b9e29e1d217 -eo pid,comm [Pipeline] { [Pipeline] sh 04:22:57 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 04:22:57 + make test 04:22:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:22:59 ? github.com/edgexfoundry/device-rest-go [no test files] 04:24:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 04:24:21 ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements 04:24:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:24:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:24:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:24:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:24:43 ./bin/test-attribution-txt.sh [Pipeline] echo 04:24:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:24:43 $ docker stop --time=1 6ab18ace5ca839d487553bac7915649327a9eb26e5a2330348f57b9e29e1d217 04:24:44 $ docker rm -f 6ab18ace5ca839d487553bac7915649327a9eb26e5a2330348f57b9e29e1d217 [Pipeline] // withDockerContainer [Pipeline] sh 04:24:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:24:45 Warning: overwriting stash ‘coverage-report’ 04:24:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:24:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:24:47 + ls -al . 04:24:47 total 180 04:24:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 04:22 . 04:24:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:20 .. 04:24:47 -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 04:20 .dockerignore 04:24:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 04:20 .git 04:24:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:20 .github 04:24:47 -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 04:20 .gitignore 04:24:47 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 04:20 .golangci.yml 04:24:47 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 04:20 Attribution.txt 04:24:47 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 04:20 CHANGELOG.md 04:24:47 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 04:20 Dockerfile 04:24:47 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 04:20 GOVERNANCE.md 04:24:47 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 04:20 Jenkinsfile 04:24:47 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 04:20 LICENSE 04:24:47 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 04:20 Makefile 04:24:47 -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 04:20 OWNERS.md 04:24:47 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 04:20 README.md 04:24:47 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 01:20 VERSION 04:24:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 04:20 bin 04:24:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:20 cmd 04:24:47 -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 04:24 coverage.out 04:24:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 04:20 driver 04:24:47 -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 04:20 go.mod 04:24:47 -rw-rw-r-- 1 jenkins jenkins 44965 Oct 25 04:20 go.sum 04:24:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:20 snap 04:24:47 -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 04:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:47 + 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=e04f72990f565fcdac6f982fafa7f719664c4a16 --label arch=arm64 --label version=0.0.0 . 04:24:47 Sending build context to Docker daemon 137.7kB 04:24:47 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 04:24:47 Step 2/26 : FROM ${BASE} AS builder 04:24:47 ---> 9002eff102f0 04:24:47 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:24:47 ---> Running in 9e8ad84493d5 04:24:48 Removing intermediate container 9e8ad84493d5 04:24:48 ---> e94cf5f5e323 04:24:48 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:24:48 ---> Running in f3fb2c28b201 04:24:48 Removing intermediate container f3fb2c28b201 04:24:48 ---> 722a8e3cf249 04:24:48 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:24:48 ---> Running in 6445d5104132 04:24:48 Removing intermediate container 6445d5104132 04:24:48 ---> e3c1c0841148 04:24:48 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:24:48 ---> Running in 71904b8995b5 04:24:49 Removing intermediate container 71904b8995b5 04:24:49 ---> 27fc5fa886f2 04:24:49 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:24:49 ---> Running in bc80244e4bcc 04:24:51 Removing intermediate container bc80244e4bcc 04:24:51 ---> 7271ee2ba450 04:24:51 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:24:51 ---> Running in 5c83e2b63cc3 04:24:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:24:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:24:53 OK: 226 MiB in 55 packages 04:24:54 Removing intermediate container 5c83e2b63cc3 04:24:54 ---> a63b65ac99a1 04:24:54 Step 9/26 : WORKDIR /device-rest-go 04:24:54 ---> Running in a1417da5714a 04:24:54 Removing intermediate container a1417da5714a 04:24:54 ---> ac987d7fd952 04:24:54 Step 10/26 : COPY go.mod vendor* ./ 04:24:55 ---> aa3f609ee33f 04:24:55 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:24:55 ---> Running in 20ac06d2e6a4 04:24:57 Removing intermediate container 20ac06d2e6a4 04:24:57 ---> a84906085430 04:24:57 Step 12/26 : COPY . . 04:24:57 ---> ebb348a3df22 04:24:57 Step 13/26 : RUN $MAKE 04:24:57 ---> Running in 8f634e4687d6 04:24:58 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 04:27:35 Removing intermediate container 8f634e4687d6 04:27:35 ---> abfaafacbe95 04:27:35 Step 14/26 : FROM alpine:3.16 04:27:35 3.16: Pulling from library/alpine 04:27:35 9b18e9b68314: Already exists 04:27:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:27:35 Status: Downloaded newer image for alpine:3.16 04:27:35 ---> a6215f271958 04:27:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:27:35 ---> Running in d07bc25d93d3 04:27:35 Removing intermediate container d07bc25d93d3 04:27:35 ---> 81aac04c56a8 04:27:35 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 04:27:35 ---> Running in d35975064d66 04:27:35 Removing intermediate container d35975064d66 04:27:35 ---> 4cb6a26b2bea 04:27:35 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 04:27:35 ---> Running in c26af0597f3a 04:27:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:27:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:27:35 (1/6) Installing dumb-init (1.2.5-r1) 04:27:35 (2/6) Installing libgcc (11.2.1_git20220219-r2) 04:27:35 (3/6) Installing libsodium (1.0.18-r0) 04:27:35 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 04:27:35 (5/6) Installing libzmq (4.3.4-r0) 04:27:35 (6/6) Installing zeromq (4.3.4-r0) 04:27:35 Executing busybox-1.35.0-r17.trigger 04:27:35 OK: 8 MiB in 20 packages 04:27:35 Removing intermediate container c26af0597f3a 04:27:35 ---> 29f8b3cc0662 04:27:35 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 04:27:35 ---> be6f696d55cd 04:27:35 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 04:27:35 ---> 8c275490ee0b 04:27:35 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 04:27:35 ---> d6b7908458c2 04:27:35 Step 21/26 : EXPOSE 59986 04:27:35 ---> Running in 718a654d1a8d 04:27:35 Removing intermediate container 718a654d1a8d 04:27:35 ---> 783da219fad5 04:27:35 Step 22/26 : ENTRYPOINT ["/device-rest"] 04:27:35 ---> Running in b772126767f4 04:27:35 Removing intermediate container b772126767f4 04:27:35 ---> 6847d197816a 04:27:35 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 04:27:35 ---> Running in 2b99cc8fe53f 04:27:35 Removing intermediate container 2b99cc8fe53f 04:27:35 ---> 23f01101bb08 04:27:35 Step 24/26 : LABEL arch=arm64 04:27:35 ---> Running in aa8e15acee2c 04:27:35 Removing intermediate container aa8e15acee2c 04:27:35 ---> 45448fbf9ce1 04:27:35 Step 25/26 : LABEL git_sha=e04f72990f565fcdac6f982fafa7f719664c4a16 04:27:35 ---> Running in c35887985564 04:27:35 Removing intermediate container c35887985564 04:27:35 ---> 7dcdef283a90 04:27:35 Step 26/26 : LABEL version=0.0.0 04:27:35 ---> Running in fb254b6e7b4d 04:27:35 Removing intermediate container fb254b6e7b4d 04:27:35 ---> 51424d74964c 04:27:35 [Warning] One or more build-args [ARCH] were not consumed 04:27:35 Successfully built 51424d74964c 04:27:35 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 04:27:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:27:36 04:27:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:27:36 arm64: Pulling from edgex-lftools-log-publisher 04:27:36 8998bd30e6a1: Pulling fs layer 04:27:36 04944245beec: Pulling fs layer 04:27:36 699f458cf7ca: Pulling fs layer 04:27:36 765212b225bb: Pulling fs layer 04:27:36 f23df028b6ca: Pulling fs layer 04:27:36 d65c8cfc05b1: Pulling fs layer 04:27:36 2437ff75d9bd: Pulling fs layer 04:27:36 765212b225bb: Waiting 04:27:36 f23df028b6ca: Waiting 04:27:36 d65c8cfc05b1: Waiting 04:27:36 2437ff75d9bd: Waiting 04:27:36 04944245beec: Verifying Checksum 04:27:36 04944245beec: Download complete 04:27:36 765212b225bb: Verifying Checksum 04:27:36 765212b225bb: Download complete 04:27:36 f23df028b6ca: Verifying Checksum 04:27:36 f23df028b6ca: Download complete 04:27:36 d65c8cfc05b1: Verifying Checksum 04:27:36 d65c8cfc05b1: Download complete 04:27:37 699f458cf7ca: Verifying Checksum 04:27:37 699f458cf7ca: Download complete 04:27:37 8998bd30e6a1: Download complete 04:27:39 2437ff75d9bd: Verifying Checksum 04:27:39 2437ff75d9bd: Download complete 04:27:41 8998bd30e6a1: Pull complete 04:27:41 04944245beec: Pull complete 04:27:42 699f458cf7ca: Pull complete 04:27:42 765212b225bb: Pull complete 04:27:43 f23df028b6ca: Pull complete 04:27:43 d65c8cfc05b1: Pull complete 04:27:58 2437ff75d9bd: Pull complete 04:27:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:27:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:27:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:59 prd-ubuntu20.04-docker-arm64-4c-16g-80536 does not seem to be running inside a container 04:27:59 $ 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 04:28:01 $ docker top b9213469b23d33cdf57a6480c29c4102d55b09da2c38bcb37c85121211e648b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:02 ---> job-cost.sh 04:28:02 lf-activate-venv: SKIPPING 04:28:02 INFO: No Stack... 04:28:02 INFO: Retrieving Pricing Info for: v3-standard-4 04:28:03 INFO: Archiving Costs [Pipeline] sh 04:28:04 + cat /w/workspace/device-rest-go/1/archives/cost.csv 04:28:04 + cut -d, -f6 [Pipeline] lock 04:28:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] 04:28:04 Resource [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] did not exist. Created. 04:28:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:28:04 /w/workspace/device-rest-go/1@tmp/durable-906e91ad/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:28:05 + echo total: 0.10999999940395355 [Pipeline] stash 04:28:05 Warning: overwriting stash ‘stack-cost’ 04:28:05 Stashed 1 file(s) [Pipeline] } 04:28:05 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:28:05 $ docker stop --time=1 b9213469b23d33cdf57a6480c29c4102d55b09da2c38bcb37c85121211e648b3 04:28:06 $ docker rm -f b9213469b23d33cdf57a6480c29c4102d55b09da2c38bcb37c85121211e648b3 [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 04:28:07 provisioning config files... 04:28:07 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-221@tmp/config12145839752516327719tmp [Pipeline] { [Pipeline] sh 04:28:08 + set +x 04:28:08 + curl -s https://codecov.io/bash 04:28:08 + bash -s -- 04:28:08 04:28:08 _____ _ 04:28:08 / ____| | | 04:28:08 | | ___ __| | ___ ___ _____ __ 04:28:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:28:08 | |___| (_) | (_| | __/ (_| (_) \ V / 04:28:08 \_____\___/ \__,_|\___|\___\___/ \_/ 04:28:08 Bash-1.0.6 04:28:08 04:28:08 04:28:08 ==> git version 2.25.1 found 04:28:08 ==> 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 04:28:08 Release-Date: 2020-01-08 04:28:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:28:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:28:08 ==> Jenkins CI detected. 04:28:08 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-221 04:28:08 project root: . 04:28:08 --> token set from env 04:28:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:28:08 ==> Running gcov in . (disable via -X gcov) 04:28:08 ==> Python coveragepy not found 04:28:08 ==> Searching for coverage reports in: 04:28:08 + . 04:28:08 -> Found 1 reports 04:28:08 ==> Detecting git/mercurial file structure 04:28:08 ==> Reading reports 04:28:08 + ./coverage.out bytes=9355 04:28:08 ==> Appending adjustments 04:28:08 https://docs.codecov.io/docs/fixing-reports 04:28:08 + Found adjustments 04:28:08 ==> Gzipping contents 04:28:08 4.0K /tmp/codecov.jrlIXd.gz 04:28:08 ==> Uploading reports 04:28:08 url: https://codecov.io 04:28:08 query: branch=PR-221&commit=e04f72990f565fcdac6f982fafa7f719664c4a16&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-221%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=221&job=&cmd_args= 04:28:08 -> Pinging Codecov 04:28:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-221&commit=e04f72990f565fcdac6f982fafa7f719664c4a16&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-221%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=221&job=&cmd_args= 04:28:08 -> Uploading to 04:28:08 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/4E5D53B4F1F92C436F7061BF334D961C/e04f72990f565fcdac6f982fafa7f719664c4a16/59e91464-3c43-4006-9169-cb541666e4fd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T042808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7b7d126497ed1a4039903ca0ffe7dfece3acad72b607a678206795f21b25d3ce 04:28:08 % Total % Received % Xferd Average Speed Time Time Time Current 04:28:08 Dload Upload Total Spent Left Speed 04:28:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 6842 --:--:-- --:--:-- --:--:-- 6842 04:28:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e04f72990f565fcdac6f982fafa7f719664c4a16 [Pipeline] } 04:28:08 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 04:28:10 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-221/archives ] 04:28:10 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-221/archives 04:28:10 total 16 04:28:10 drwxr-xr-x 3 root root 4096 Oct 25 01:21 . 04:28:10 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 01:21 .. 04:28:10 drwxr-xr-x 2 root root 4096 Oct 25 01:21 cost 04:28:10 -rw-r--r-- 1 root root 86 Oct 25 01:21 cost.csv 04:28:10 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-221/archives 04:28:10 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-221/archives 04:28:10 total 16 04:28:10 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:21 . 04:28:10 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 01:21 .. 04:28:10 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 01:21 cost 04:28:10 -rw-r--r-- 1 jenkins jenkins 86 Oct 25 01:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:28:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:28:11 ---> package-listing.sh 04:28:11 ++ facter osfamily 04:28:11 ++ tr '[:upper:]' '[:lower:]' 04:28:12 + OS_FAMILY=debian 04:28:12 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-221 04:28:12 + START_PACKAGES=/tmp/packages_start.txt 04:28:12 + END_PACKAGES=/tmp/packages_end.txt 04:28:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:28:12 + PACKAGES=/tmp/packages_start.txt 04:28:12 + '[' /w/workspace/gexfoundry_device-rest-go_PR-221 ']' 04:28:12 + PACKAGES=/tmp/packages_end.txt 04:28:12 + case "${OS_FAMILY}" in 04:28:12 + dpkg -l 04:28:12 + grep '^ii' 04:28:12 + '[' -f /tmp/packages_start.txt ']' 04:28:12 + '[' -f /tmp/packages_end.txt ']' 04:28:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:28:12 + '[' /w/workspace/gexfoundry_device-rest-go_PR-221 ']' 04:28:12 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-221/archives/ 04:28:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-221/archives/ [Pipeline] echo 04:28:12 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-221/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:28:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:13 prd-ubuntu20.04-docker-8c-8g-63832 does not seem to be running inside a container 04:28:13 $ 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-221/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-221 -v /w/workspace/gexfoundry_device-rest-go_PR-221:/w/workspace/gexfoundry_device-rest-go_PR-221:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-221@tmp:/w/workspace/gexfoundry_device-rest-go_PR-221@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 04:28:13 $ docker top e46d9f4d977eab987a30fb467cbb0818ddcaa6ad6b3bbae2611855108b30807c -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:13 + touch /tmp/pre-build-complete [Pipeline] sh 04:28:14 + mkdir -p /var/log/sysstat [Pipeline] sh 04:28:14 + ls /var/log/sa-host 04:28:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:14 provisioning config files... 04:28:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-221@tmp/config12480320129682945165tmp [Pipeline] { [Pipeline] echo 04:28:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:28:14 ---> create-netrc.sh [Pipeline] } 04:28:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:28:15 ---> python-tools-install.sh [Pipeline] echo 04:28:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:28:15 ---> sudo-logs.sh 04:28:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:28:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:28:16 ---> job-cost.sh 04:28:16 lf-activate-venv: SKIPPING 04:28:16 DEBUG: total: 0.2199999988079071 04:28:16 INFO: Retrieving Stack Cost... 04:28:16 INFO: Retrieving Pricing Info for: v3-standard-8 04:28:16 INFO: Archiving Costs [Pipeline] echo 04:28:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:28:17 ---> logs-deploy.sh 04:28:17 lf-activate-venv: SKIPPING 04:28:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-221/1 04:28:17 INFO: archiving workspace using pattern(s): 04:28:18 Archives upload complete. 04:28:18 INFO: archiving logs to Nexus