Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 401106fad354fe4e00d3a8593bef2b7e60417552 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-ssh3326831585640359795.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh716124945024514478.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9311457800138395623.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh18175832525779807113.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12879713442830506692.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 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6937 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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 Avoid second fetch Checking out Revision 401106fad354fe4e00d3a8593bef2b7e60417552 (main) Commit message: "Merge pull request #216 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.34" > 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 core.sparsecheckout # timeout=10 > git checkout -f 401106fad354fe4e00d3a8593bef2b7e60417552 # timeout=10 > git rev-list --no-walk fa2594666deb171bc078c2a791882f5db0311ade # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:44:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:44:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:44:01 ========================================================= 20:44:01 EdgeX Global Pipelines Version Info 20:44:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:44:02 ------------------- 20:44:02 stable info: 20:44:02 ------------------- 20:44:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:44:02 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:44:02 Message: update stable to v1.0.239 20:44:02 ------------------- 20:44:02 experimental info: 20:44:02 ------------------- 20:44:02 Commited By: **** collab-it+edgex@linuxfoundation.org 20:44:02 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:44:02 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:44:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:44:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:44:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:44:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:44:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:44:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:44:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:44:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:44:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:44:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:44:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:44:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:44:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:44:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] echo 20:44:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 401106f [Pipeline] echo 20:44:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:44:03 provisioning config files... 20:44:03 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13023147735725987391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:44:03 ---> docker-login.sh 20:44:03 nexus3.edgexfoundry.org:10001 20:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:04 Configure a credential helper to remove this warning. See 20:44:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:04 20:44:04 Login Succeeded 20:44:04 nexus3.edgexfoundry.org:10002 20:44:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:04 Configure a credential helper to remove this warning. See 20:44:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:04 20:44:04 Login Succeeded 20:44:04 nexus3.edgexfoundry.org:10003 20:44:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:04 Configure a credential helper to remove this warning. See 20:44:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:04 20:44:04 Login Succeeded 20:44:04 nexus3.edgexfoundry.org:10004 20:44:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:04 Configure a credential helper to remove this warning. See 20:44:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:04 20:44:04 Login Succeeded 20:44:04 docker.io 20:44:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:04 Configure a credential helper to remove this warning. See 20:44:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:04 20:44:04 Login Succeeded 20:44:04 ---> docker-login.sh ends [Pipeline] } 20:44:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:44:05 + git rev-list -1 --merges 401106fad354fe4e00d3a8593bef2b7e60417552~1..401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] echo 20:44:05 -----------> git rev-list -1 --merges 401106fad354fe4e00d3a8593bef2b7e60417552~1..401106fad354fe4e00d3a8593bef2b7e60417552 401106fad354fe4e00d3a8593bef2b7e60417552 20:44:05 401106fad354fe4e00d3a8593bef2b7e60417552 [false] [Pipeline] sh 20:44:05 + git log --format=format:%s -1 401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] echo 20:44:05 ========================================================= 20:44:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:44:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:44:05 + git log --format=format:%s -1 401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] echo 20:44:05 [semverPrep] GIT_COMMIT: 401106fad354fe4e00d3a8593bef2b7e60417552, Commit Message: Merge pull request #216 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.34 [Pipeline] echo 20:44:05 [semverPrep] This is not a build commit. [Pipeline] sh 20:44:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:44:06 + grep -v github /etc/ssh/ssh_known_hosts 20:44:06 + [ -e /tmp/ssh_known_hosts ] 20:44:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:44:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:44:06 + sudo tee -a /etc/ssh/ssh_known_hosts 20:44:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:44:06 20:44:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:44:07 0.1.4: Pulling from edgex-devops/py-git-semver 20:44:07 b85a868b505f: Pulling fs layer 20:44:07 e2be974225ed: Pulling fs layer 20:44:07 339a4e72a1f5: Pulling fs layer 20:44:07 988bab9f4d93: Pulling fs layer 20:44:07 1469e6f7b9e6: Pulling fs layer 20:44:07 eaf3925da568: Pulling fs layer 20:44:07 bab4dde63d76: Pulling fs layer 20:44:07 bde34c3a00c8: Pulling fs layer 20:44:07 b352a97aabf1: Pulling fs layer 20:44:07 4872d77fe225: Pulling fs layer 20:44:07 5851b861e8e6: Pulling fs layer 20:44:07 bab4dde63d76: Waiting 20:44:07 bde34c3a00c8: Waiting 20:44:07 b352a97aabf1: Waiting 20:44:07 4872d77fe225: Waiting 20:44:07 5851b861e8e6: Waiting 20:44:07 988bab9f4d93: Waiting 20:44:07 1469e6f7b9e6: Waiting 20:44:07 eaf3925da568: Waiting 20:44:07 e2be974225ed: Verifying Checksum 20:44:07 e2be974225ed: Download complete 20:44:07 988bab9f4d93: Verifying Checksum 20:44:07 988bab9f4d93: Download complete 20:44:07 1469e6f7b9e6: Verifying Checksum 20:44:07 1469e6f7b9e6: Download complete 20:44:07 339a4e72a1f5: Verifying Checksum 20:44:07 339a4e72a1f5: Download complete 20:44:07 eaf3925da568: Verifying Checksum 20:44:07 eaf3925da568: Download complete 20:44:07 bde34c3a00c8: Verifying Checksum 20:44:07 bde34c3a00c8: Download complete 20:44:07 b352a97aabf1: Download complete 20:44:07 4872d77fe225: Verifying Checksum 20:44:07 5851b861e8e6: Download complete 20:44:07 b85a868b505f: Verifying Checksum 20:44:07 b85a868b505f: Download complete 20:44:07 bab4dde63d76: Verifying Checksum 20:44:07 bab4dde63d76: Download complete 20:44:08 b85a868b505f: Pull complete 20:44:08 e2be974225ed: Pull complete 20:44:09 339a4e72a1f5: Pull complete 20:44:09 988bab9f4d93: Pull complete 20:44:09 1469e6f7b9e6: Pull complete 20:44:09 eaf3925da568: Pull complete 20:44:11 bab4dde63d76: Pull complete 20:44:11 bde34c3a00c8: Pull complete 20:44:11 b352a97aabf1: Pull complete 20:44:11 4872d77fe225: Pull complete 20:44:12 5851b861e8e6: Pull complete 20:44:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:44:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:44:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:12 prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container 20:44:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:44:13 $ docker top 59b368bb89c68b95aef32cd7dab81566e8b45a6d1e10d163cb48706f69b29ff2 -eo pid,comm 20:44: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). 20:44:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:44:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:44:13 [ssh-agent] Looking for ssh-agent implementation... 20:44:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:44:13 $ docker exec 59b368bb89c68b95aef32cd7dab81566e8b45a6d1e10d163cb48706f69b29ff2 ssh-agent 20:44:14 SSH_AUTH_SOCK=/tmp/ssh-8tZ12rahqszD/agent.33 20:44:14 SSH_AGENT_PID=39 20:44:14 Running ssh-add (command line suppressed) 20:44:14 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8383018511803152872.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8383018511803152872.key) 20:44:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:44:14 + git tag --points-at HEAD [Pipeline] } 20:44:14 $ docker exec --env ******** --env ******** 59b368bb89c68b95aef32cd7dab81566e8b45a6d1e10d163cb48706f69b29ff2 ssh-agent -k 20:44:14 unset SSH_AUTH_SOCK; 20:44:14 unset SSH_AGENT_PID; 20:44:14 echo Agent pid 39 killed; 20:44:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:44:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:44:14 [ssh-agent] Looking for ssh-agent implementation... 20:44:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:44:14 $ docker exec 59b368bb89c68b95aef32cd7dab81566e8b45a6d1e10d163cb48706f69b29ff2 ssh-agent 20:44:14 SSH_AUTH_SOCK=/tmp/ssh-Ua6x9FzBzSrU/agent.71 20:44:14 SSH_AGENT_PID=77 20:44:14 Running ssh-add (command line suppressed) 20:44:15 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3557249793251440192.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3557249793251440192.key) 20:44:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:44:15 + git semver init 20:44:15 2022-10-03 20:44:15,529 [run_init] DEBUG init version:0.0.0 force:False 20:44:15 2022-10-03 20:44:15,529 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:44:15 2022-10-03 20:44:15,530 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:44:15 2022-10-03 20:44:15,530 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:44:16 2022-10-03 20:44:16,709 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:44:16 2022-10-03 20:44:16,709 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:44:16 2022-10-03 20:44:16,709 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:44:16 2022-10-03 20:44:16,710 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:44:16 2.3.0-dev.17 [Pipeline] } 20:44:16 $ docker exec --env ******** --env ******** 59b368bb89c68b95aef32cd7dab81566e8b45a6d1e10d163cb48706f69b29ff2 ssh-agent -k 20:44:17 unset SSH_AUTH_SOCK; 20:44:17 unset SSH_AGENT_PID; 20:44:17 echo Agent pid 77 killed; 20:44:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:44:17 + git semver [Pipeline] } 20:44:17 $ docker stop --time=1 59b368bb89c68b95aef32cd7dab81566e8b45a6d1e10d163cb48706f69b29ff2 20:44:19 $ docker rm -f 59b368bb89c68b95aef32cd7dab81566e8b45a6d1e10d163cb48706f69b29ff2 [Pipeline] // withDockerContainer [Pipeline] sh 20:44:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:44:19 Stashed 1 file(s) [Pipeline] echo 20:44:19 [edgeXSemver]: initialized semver on version 2.3.0-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:44:19 provisioning config files... 20:44:19 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7038170755223125992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:44:20 ---> docker-login.sh 20:44:20 nexus3.edgexfoundry.org:10001 20:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:20 Configure a credential helper to remove this warning. See 20:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:20 20:44:20 Login Succeeded 20:44:20 nexus3.edgexfoundry.org:10002 20:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:20 Configure a credential helper to remove this warning. See 20:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:20 20:44:20 Login Succeeded 20:44:20 nexus3.edgexfoundry.org:10003 20:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:20 Configure a credential helper to remove this warning. See 20:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:20 20:44:20 Login Succeeded 20:44:20 nexus3.edgexfoundry.org:10004 20:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:20 Configure a credential helper to remove this warning. See 20:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:20 20:44:20 Login Succeeded 20:44:20 docker.io 20:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:20 Configure a credential helper to remove this warning. See 20:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:20 20:44:20 Login Succeeded 20:44:20 ---> docker-login.sh ends [Pipeline] } 20:44:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:44:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:44:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:44:20 ========================================================= 20:44:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:44:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44: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 . 20:44:21 Sending build context to Docker daemon 10.72MB 20:44:21 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:44:21 Step 2/13 : FROM ${BASE} AS builder 20:44:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:44:21 2408cc74d12b: Pulling fs layer 20:44:21 ea60b727a1ce: Pulling fs layer 20:44:21 30c4a7721957: Pulling fs layer 20:44:21 370296b7ddb6: Pulling fs layer 20:44:21 7c6cee850709: Pulling fs layer 20:44:21 aa9baa53a306: Pulling fs layer 20:44:21 8b309c321861: Pulling fs layer 20:44:21 d8d76fd02f46: Pulling fs layer 20:44:21 fa31f396de31: Pulling fs layer 20:44:21 7c6cee850709: Waiting 20:44:21 370296b7ddb6: Waiting 20:44:21 aa9baa53a306: Waiting 20:44:21 d8d76fd02f46: Waiting 20:44:21 fa31f396de31: Waiting 20:44:21 8b309c321861: Waiting 20:44:21 30c4a7721957: Verifying Checksum 20:44:21 30c4a7721957: Download complete 20:44:21 ea60b727a1ce: Verifying Checksum 20:44:21 ea60b727a1ce: Download complete 20:44:21 7c6cee850709: Download complete 20:44:21 aa9baa53a306: Download complete 20:44:21 2408cc74d12b: Verifying Checksum 20:44:21 2408cc74d12b: Download complete 20:44:21 8b309c321861: Verifying Checksum 20:44:21 8b309c321861: Download complete 20:44:21 2408cc74d12b: Pull complete 20:44:21 ea60b727a1ce: Pull complete 20:44:21 30c4a7721957: Pull complete 20:44:21 fa31f396de31: Verifying Checksum 20:44:21 fa31f396de31: Download complete 20:44:21 d8d76fd02f46: Verifying Checksum 20:44:22 370296b7ddb6: Verifying Checksum 20:44:22 370296b7ddb6: Download complete 20:44:26 370296b7ddb6: Pull complete 20:44:26 7c6cee850709: Pull complete 20:44:26 aa9baa53a306: Pull complete 20:44:26 8b309c321861: Pull complete 20:44:28 d8d76fd02f46: Pull complete 20:44:28 fa31f396de31: Pull complete 20:44:29 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 20:44:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:44:29 ---> cef68f9685f8 20:44:29 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:44:31 ---> Running in e7b455c03107 20:44:31 Removing intermediate container e7b455c03107 20:44:31 ---> a071bcef2d63 20:44:31 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:44:31 ---> Running in 4bcfd5b08d0e 20:44:31 Removing intermediate container 4bcfd5b08d0e 20:44:31 ---> dc2e59c675e1 20:44:31 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:44:31 ---> Running in 23a7ab78a781 20:44:31 Removing intermediate container 23a7ab78a781 20:44:31 ---> 7a4a3e6e2653 20:44:31 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:44:31 ---> Running in c86770a660ee 20:44:31 Removing intermediate container c86770a660ee 20:44:31 ---> 69f68daf84a5 20:44:31 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:44:31 ---> Running in 9f44047868de 20:44:32 Removing intermediate container 9f44047868de 20:44:32 ---> 7902c45908a1 20:44:32 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:44:32 ---> Running in cd4473c6d8c3 20:44:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:44:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:44:33 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:44:33 (2/4) Installing libedit (20210910.3.1-r0) 20:44:34 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:44:34 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:44:34 Executing busybox-1.35.0-r13.trigger 20:44:34 OK: 216 MiB in 55 packages 20:44:34 Still waiting to schedule task 20:44:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:44:34 Removing intermediate container cd4473c6d8c3 20:44:34 ---> 1910e6f6af40 20:44:34 Step 9/13 : WORKDIR /device-rest-go 20:44:34 ---> Running in ea8ea6b0528b 20:44:34 Removing intermediate container ea8ea6b0528b 20:44:34 ---> 32bdb42ec390 20:44:34 Step 10/13 : COPY go.mod vendor* ./ 20:44:34 ---> 766a18da2c42 20:44:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:44:35 ---> Running in 86fb876431ae 20:44:53 Removing intermediate container 86fb876431ae 20:44:53 ---> d6ca072efaff 20:44:53 Step 12/13 : COPY . . 20:44:53 ---> fd2b0334b95f 20:44:53 Step 13/13 : RUN $MAKE 20:44:53 ---> Running in 71134a558b2f 20:44:53 noop 20:44:53 Removing intermediate container 71134a558b2f 20:44:53 ---> ead9f3df4c32 20:44:53 Successfully built ead9f3df4c32 20:44:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:53 + docker inspect -f . ci-base-image-x86_64 20:44:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:53 prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container 20:44:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 20:44:54 $ docker top 61c9f556d4a3dfc15e0e5db24f7eb32cc0e88c7dd87b18a0f5f603e174527d1d -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:54 + go version 20:44:54 go version go1.18.3 linux/amd64 [Pipeline] } 20:44:54 $ docker stop --time=1 61c9f556d4a3dfc15e0e5db24f7eb32cc0e88c7dd87b18a0f5f603e174527d1d 20:44:55 $ docker rm -f 61c9f556d4a3dfc15e0e5db24f7eb32cc0e88c7dd87b18a0f5f603e174527d1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:56 + docker inspect -f . ci-base-image-x86_64 20:44:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:56 prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container 20:44:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 20:44:56 $ docker top 7310c461ed628ba99af1688c89bdd0b5fa2fb7130f59be805b3107de0ca64c20 -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:56 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 20:44:57 + make test 20:44:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:44:57 ? github.com/edgexfoundry/device-rest-go [no test files] 20:45:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:45:09 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements 20:45:16 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:45:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:45:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:45:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:45:19 ./bin/test-attribution-txt.sh [Pipeline] echo 20:45:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:45:19 $ docker stop --time=1 7310c461ed628ba99af1688c89bdd0b5fa2fb7130f59be805b3107de0ca64c20 20:45:21 $ docker rm -f 7310c461ed628ba99af1688c89bdd0b5fa2fb7130f59be805b3107de0ca64c20 [Pipeline] // withDockerContainer [Pipeline] sh 20:45:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:45:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:45:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:45:22 + ls -al . 20:45:22 total 180 20:45:22 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 20:44 . 20:45:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:43 .. 20:45:22 -rw-rw-r-- 1 jenkins jenkins 151 Oct 3 20:44 .dockerignore 20:45:22 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:45 .git 20:45:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:44 .github 20:45:22 -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 20:44 .gitignore 20:45:22 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 20:44 .golangci.yml 20:45:22 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 20:44 .semver 20:45:22 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 3 20:44 Attribution.txt 20:45:22 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 3 20:44 CHANGELOG.md 20:45:22 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 3 20:44 Dockerfile 20:45:22 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 20:44 GOVERNANCE.md 20:45:22 -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 20:44 Jenkinsfile 20:45:22 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 20:44 LICENSE 20:45:22 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 3 20:44 Makefile 20:45:22 -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 20:44 OWNERS.md 20:45:22 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 3 20:44 README.md 20:45:22 -rw-rw-r-- 1 jenkins jenkins 12 Oct 3 20:44 VERSION 20:45:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:44 bin 20:45:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:44 cmd 20:45:22 -rw-r--r-- 1 jenkins jenkins 9355 Oct 3 20:45 coverage.out 20:45:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:44 driver 20:45:22 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 3 20:44 go.mod 20:45:22 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 20:44 go.sum 20:45:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:44 snap 20:45:22 -rw-rw-r-- 1 jenkins jenkins 713 Oct 3 20:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:23 + 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=401106fad354fe4e00d3a8593bef2b7e60417552 --label arch=amd64 --label version=2.3.0-dev.17 . 20:45:23 Sending build context to Docker daemon 10.73MB 20:45:23 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:45:23 Step 2/26 : FROM ${BASE} AS builder 20:45:23 ---> ead9f3df4c32 20:45:23 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:45:23 ---> Running in 78d035eece8c 20:45:23 Removing intermediate container 78d035eece8c 20:45:23 ---> 67923983856a 20:45:23 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:45:23 ---> Running in e06560513f42 20:45:23 Removing intermediate container e06560513f42 20:45:23 ---> 89aa47e957e3 20:45:23 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:45:23 ---> Running in 5da07c19d9e2 20:45:23 Removing intermediate container 5da07c19d9e2 20:45:23 ---> 2932d8f32e3f 20:45:23 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:45:23 ---> Running in 82a69c412eef 20:45:24 Removing intermediate container 82a69c412eef 20:45:24 ---> 1e9f7613eb84 20:45:24 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:45:24 ---> Running in eb55222a591e 20:45:24 Removing intermediate container eb55222a591e 20:45:24 ---> 0d78e83b5847 20:45:24 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:45:24 ---> Running in c734cdfef6fd 20:45:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:45:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:45:26 OK: 216 MiB in 55 packages 20:45:26 Removing intermediate container c734cdfef6fd 20:45:26 ---> 65d3297b64aa 20:45:26 Step 9/26 : WORKDIR /device-rest-go 20:45:26 ---> Running in 6948bea4bbce 20:45:26 Removing intermediate container 6948bea4bbce 20:45:26 ---> b38d89f43dfb 20:45:26 Step 10/26 : COPY go.mod vendor* ./ 20:45:26 ---> e6a0c2ec6542 20:45:26 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:45:26 ---> Running in 36874a1770b1 20:45:27 Removing intermediate container 36874a1770b1 20:45:27 ---> b68124b0d498 20:45:27 Step 12/26 : COPY . . 20:45:28 ---> 21dea8f50dc7 20:45:28 Step 13/26 : RUN $MAKE 20:45:28 ---> Running in 23474fb53d30 20:45:28 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:45:50 Removing intermediate container 23474fb53d30 20:45:50 ---> b5655257f5ba 20:45:50 Step 14/26 : FROM alpine:3.16 20:45:50 3.16: Pulling from library/alpine 20:45:50 213ec9aee27d: Pulling fs layer 20:45:50 213ec9aee27d: Verifying Checksum 20:45:50 213ec9aee27d: Download complete 20:45:50 213ec9aee27d: Pull complete 20:45:50 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:45:50 Status: Downloaded newer image for alpine:3.16 20:45:50 ---> 9c6f07244728 20:45:50 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:45:50 ---> Running in 16728453102b 20:45:50 Removing intermediate container 16728453102b 20:45:50 ---> ed53a12ef1d1 20:45:50 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 20:45:50 ---> Running in f1763f204cf3 20:45:50 Removing intermediate container f1763f204cf3 20:45:50 ---> 248d2c186286 20:45:50 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 20:45:50 ---> Running in b4241ef0be1b 20:45:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:45:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:45:50 (1/6) Installing dumb-init (1.2.5-r1) 20:45:50 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:45:50 (3/6) Installing libsodium (1.0.18-r0) 20:45:50 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:45:50 (5/6) Installing libzmq (4.3.4-r0) 20:45:50 (6/6) Installing zeromq (4.3.4-r0) 20:45:50 Executing busybox-1.35.0-r17.trigger 20:45:50 OK: 8 MiB in 20 packages 20:45:50 Removing intermediate container b4241ef0be1b 20:45:50 ---> 95c341059048 20:45:50 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:45:50 ---> a2093608df19 20:45:50 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:45:50 ---> bea6f844bfcf 20:45:50 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:45:51 ---> 0901624f56c7 20:45:51 Step 21/26 : EXPOSE 59986 20:45:51 ---> Running in f355ffecb840 20:45:51 Removing intermediate container f355ffecb840 20:45:51 ---> d51d03f7b71f 20:45:51 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:45:51 ---> Running in 6de4afca102e 20:45:51 Removing intermediate container 6de4afca102e 20:45:51 ---> f8d423d25e40 20:45:51 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:45:51 ---> Running in 31d131394bca 20:45:51 Removing intermediate container 31d131394bca 20:45:51 ---> 437384d8d445 20:45:51 Step 24/26 : LABEL arch=amd64 20:45:51 ---> Running in cd0a2eec083f 20:45:51 Removing intermediate container cd0a2eec083f 20:45:51 ---> 37cef249efaf 20:45:51 Step 25/26 : LABEL git_sha=401106fad354fe4e00d3a8593bef2b7e60417552 20:45:51 ---> Running in 13a4ab59a037 20:45:51 Removing intermediate container 13a4ab59a037 20:45:51 ---> d06de6f75793 20:45:51 Step 26/26 : LABEL version=2.3.0-dev.17 20:45:51 ---> Running in 69c5f0b7323f 20:45:51 Removing intermediate container 69c5f0b7323f 20:45:51 ---> 86da95c618d7 20:45:51 [Warning] One or more build-args [ARCH] were not consumed 20:45:51 Successfully built 86da95c618d7 20:45:51 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:52 provisioning config files... 20:45:52 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6030132136341183026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:52 ---> docker-login.sh 20:45:52 nexus3.edgexfoundry.org:10001 20:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:52 Configure a credential helper to remove this warning. See 20:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:52 20:45:52 Login Succeeded 20:45:52 nexus3.edgexfoundry.org:10002 20:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:52 Configure a credential helper to remove this warning. See 20:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:52 20:45:52 Login Succeeded 20:45:52 nexus3.edgexfoundry.org:10003 20:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:52 Configure a credential helper to remove this warning. See 20:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:52 20:45:52 Login Succeeded 20:45:52 nexus3.edgexfoundry.org:10004 20:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:52 Configure a credential helper to remove this warning. See 20:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:52 20:45:52 Login Succeeded 20:45:52 docker.io 20:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:53 Configure a credential helper to remove this warning. See 20:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:53 20:45:53 Login Succeeded 20:45:53 ---> docker-login.sh ends [Pipeline] } 20:45:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:45:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:53 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:45:53 401106fad354fe4e00d3a8593bef2b7e60417552 20:45:53 latest 20:45:53 2.3.0-dev.17 20:45:53 401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 20:45:53 main 20:45:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:401106fad354fe4e00d3a8593bef2b7e60417552 20:45:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:45:53 de219d93148f: Preparing 20:45:53 2c642d55c7f0: Preparing 20:45:53 adef61966ce7: Preparing 20:45:53 bfc3f619453f: Preparing 20:45:53 994393dc58e7: Preparing 20:45:53 994393dc58e7: Layer already exists 20:45:53 de219d93148f: Pushed 20:45:53 2c642d55c7f0: Pushed 20:45:54 bfc3f619453f: Pushed 20:45:56 adef61966ce7: Pushed 20:45:56 401106fad354fe4e00d3a8593bef2b7e60417552: digest: sha256:0cdb27094e7fc5021a0c2d8286f8ff3eee1c85c7805e532eec4a2fb23d949ec4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:56 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:57 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:45:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:45:57 de219d93148f: Preparing 20:45:57 2c642d55c7f0: Preparing 20:45:57 adef61966ce7: Preparing 20:45:57 bfc3f619453f: Preparing 20:45:57 994393dc58e7: Preparing 20:45:57 de219d93148f: Layer already exists 20:45:57 994393dc58e7: Layer already exists 20:45:57 adef61966ce7: Layer already exists 20:45:57 2c642d55c7f0: Layer already exists 20:45:57 bfc3f619453f: Layer already exists 20:45:57 latest: digest: sha256:0cdb27094e7fc5021a0c2d8286f8ff3eee1c85c7805e532eec4a2fb23d949ec4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:57 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:57 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.17 20:45:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:45:57 de219d93148f: Preparing 20:45:57 2c642d55c7f0: Preparing 20:45:57 adef61966ce7: Preparing 20:45:57 bfc3f619453f: Preparing 20:45:57 994393dc58e7: Preparing 20:45:57 de219d93148f: Layer already exists 20:45:57 2c642d55c7f0: Layer already exists 20:45:57 bfc3f619453f: Layer already exists 20:45:57 adef61966ce7: Layer already exists 20:45:57 994393dc58e7: Layer already exists 20:45:57 2.3.0-dev.17: digest: sha256:0cdb27094e7fc5021a0c2d8286f8ff3eee1c85c7805e532eec4a2fb23d949ec4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:58 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:58 + docker push nexus3.edgexfoundry.org:10004/device-rest:401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 20:45:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:45:58 de219d93148f: Preparing 20:45:58 2c642d55c7f0: Preparing 20:45:58 adef61966ce7: Preparing 20:45:58 bfc3f619453f: Preparing 20:45:58 994393dc58e7: Preparing 20:45:58 994393dc58e7: Layer already exists 20:45:58 2c642d55c7f0: Layer already exists 20:45:58 de219d93148f: Layer already exists 20:45:58 bfc3f619453f: Layer already exists 20:45:58 adef61966ce7: Layer already exists 20:45:58 401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17: digest: sha256:0cdb27094e7fc5021a0c2d8286f8ff3eee1c85c7805e532eec4a2fb23d949ec4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:58 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:59 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:45:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:45:59 de219d93148f: Preparing 20:45:59 2c642d55c7f0: Preparing 20:45:59 adef61966ce7: Preparing 20:45:59 bfc3f619453f: Preparing 20:45:59 994393dc58e7: Preparing 20:45:59 adef61966ce7: Layer already exists 20:45:59 de219d93148f: Layer already exists 20:45:59 bfc3f619453f: Layer already exists 20:45:59 2c642d55c7f0: Layer already exists 20:45:59 994393dc58e7: Layer already exists 20:45:59 main: digest: sha256:0cdb27094e7fc5021a0c2d8286f8ff3eee1c85c7805e532eec4a2fb23d949ec4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:45:59 ===================================================== [Pipeline] echo 20:45:59 taggedImages: 20:45:59 - nexus3.edgexfoundry.org:10004/device-rest:401106fad354fe4e00d3a8593bef2b7e60417552 20:45:59 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:45:59 - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.17 20:45:59 - nexus3.edgexfoundry.org:10004/device-rest:401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 20:45:59 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:59 20:45:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:59 latest: Pulling from edgex-lftools-log-publisher 20:45:59 5eb5b503b376: Pulling fs layer 20:45:59 5c69ac0246d0: Pulling fs layer 20:45:59 ec43610c2a17: Pulling fs layer 20:45:59 3a2ae6a8a46f: Pulling fs layer 20:45:59 33b1e0a273af: Pulling fs layer 20:45:59 5d3b04190fa2: Pulling fs layer 20:45:59 2f39f015ded8: Pulling fs layer 20:45:59 33b1e0a273af: Waiting 20:45:59 5d3b04190fa2: Waiting 20:45:59 2f39f015ded8: Waiting 20:45:59 5c69ac0246d0: Verifying Checksum 20:45:59 5c69ac0246d0: Download complete 20:45:59 3a2ae6a8a46f: Download complete 20:46:00 33b1e0a273af: Download complete 20:46:00 5d3b04190fa2: Verifying Checksum 20:46:00 5d3b04190fa2: Download complete 20:46:00 ec43610c2a17: Verifying Checksum 20:46:00 ec43610c2a17: Download complete 20:46:00 5eb5b503b376: Verifying Checksum 20:46:00 5eb5b503b376: Download complete 20:46:00 2f39f015ded8: Download complete 20:46:01 5eb5b503b376: Pull complete 20:46:01 5c69ac0246d0: Pull complete 20:46:01 ec43610c2a17: Pull complete 20:46:02 3a2ae6a8a46f: Pull complete 20:46:02 33b1e0a273af: Pull complete 20:46:02 5d3b04190fa2: Pull complete 20:46:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6938 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:46:03 Running in /w/workspace/device-rest-go/61 [Pipeline] { [Pipeline] checkout 20:46:03 The recommended git tool is: git 20:46:06 2f39f015ded8: Pull complete 20:46:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:46:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:46:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:06 prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container 20:46:06 $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:46:08 using credential edgex-jenkins-ssh 20:46:08 Cloning the remote Git repository 20:46:08 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:46:08 $ docker top cb866889ff3ed8b54a375119061aecb8dad00088229b9922251e331569fe9507 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:08 ---> job-cost.sh 20:46:08 lf-activate-venv: SKIPPING 20:46:08 INFO: No Stack... 20:46:09 INFO: Retrieving Pricing Info for: v3-standard-8 20:46:08 > git init /w/workspace/device-rest-go/61 # timeout=10 20:46:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:46:08 > git --version # timeout=10 20:46:08 > git --version # 'git version 2.25.1' 20:46:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:46:08 Verifying host key using known hosts file 20:46:08 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:46:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:46:09 INFO: Archiving Costs [Pipeline] sh 20:46:09 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 20:46:09 + cut -d, -f6 [Pipeline] lock 20:46:09 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] 20:46:09 Resource [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] did not exist. Created. 20:46:09 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:46:10 + echo total: 0.2199999988079071 [Pipeline] stash 20:46:10 Stashed 1 file(s) [Pipeline] } 20:46:10 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } 20:46:10 $ docker stop --time=1 cb866889ff3ed8b54a375119061aecb8dad00088229b9922251e331569fe9507 20:46:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:46:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:46:11 $ docker rm -f cb866889ff3ed8b54a375119061aecb8dad00088229b9922251e331569fe9507 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:46:11 Avoid second fetch 20:46:11 Checking out Revision 401106fad354fe4e00d3a8593bef2b7e60417552 (main) 20:46:11 Commit message: "Merge pull request #216 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.34" 20:46:11 > git config core.sparsecheckout # timeout=10 20:46:11 > git checkout -f 401106fad354fe4e00d3a8593bef2b7e60417552 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:46:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:46:12 % Total % Received % Xferd Average Speed Time Time Time Current 20:46:12 Dload Upload Total Spent Left Speed 20:46:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 77790 0 --:--:-- --:--:-- --:--:-- 77790 [Pipeline] sh 20:46:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:46:13 + sudo tee /etc/docker/daemon.new 20:46:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:46:13 { 20:46:13 "registry-mirrors": [ 20:46:13 "https://nexus3.edgexfoundry.org:10001" 20:46:13 ], 20:46:13 "bip": "10.250.0.254/24", 20:46:13 "hosts": [ 20:46:13 "tcp://0.0.0.0:5555", 20:46:13 "unix:///var/run/docker.sock" 20:46:13 ], 20:46:13 "mtu": 1458, 20:46:13 "selinux-enabled": true, 20:46:13 "seccomp-profile": "/etc/docker/seccomp.json" 20:46:13 } [Pipeline] sh 20:46:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:46:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:46:32 provisioning config files... 20:46:32 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/61@tmp/config2367381824556909268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:33 ---> docker-login.sh 20:46:33 nexus3.edgexfoundry.org:10001 20:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:33 Configure a credential helper to remove this warning. See 20:46:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:33 20:46:33 Login Succeeded 20:46:33 nexus3.edgexfoundry.org:10002 20:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:34 Configure a credential helper to remove this warning. See 20:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:34 20:46:34 Login Succeeded 20:46:34 nexus3.edgexfoundry.org:10003 20:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:34 Configure a credential helper to remove this warning. See 20:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:34 20:46:34 Login Succeeded 20:46:34 nexus3.edgexfoundry.org:10004 20:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:34 Configure a credential helper to remove this warning. See 20:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:34 20:46:34 Login Succeeded 20:46:34 docker.io 20:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:35 Configure a credential helper to remove this warning. See 20:46:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:35 20:46:35 Login Succeeded 20:46:35 ---> docker-login.sh ends [Pipeline] } 20:46:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:46:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:46:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:46:35 ========================================================= 20:46:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:46:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:46:35 Sending build context to Docker daemon 127kB 20:46:36 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:46:36 Step 2/13 : FROM ${BASE} AS builder 20:46:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:46:36 b3c136eddcbf: Pulling fs layer 20:46:36 c0a3192eca97: Pulling fs layer 20:46:36 a050256f5b6f: Pulling fs layer 20:46:36 656be50a0ddc: Pulling fs layer 20:46:36 2bbca73fdf42: Pulling fs layer 20:46:36 f607e4fc86c3: Pulling fs layer 20:46:36 4d572c569a2c: Pulling fs layer 20:46:36 fcf976331f73: Pulling fs layer 20:46:36 2bbca73fdf42: Waiting 20:46:36 4d572c569a2c: Waiting 20:46:36 f607e4fc86c3: Waiting 20:46:36 fcf976331f73: Waiting 20:46:36 656be50a0ddc: Waiting 20:46:36 a050256f5b6f: Download complete 20:46:36 c0a3192eca97: Verifying Checksum 20:46:36 c0a3192eca97: Download complete 20:46:36 2bbca73fdf42: Verifying Checksum 20:46:36 2bbca73fdf42: Download complete 20:46:36 f607e4fc86c3: Verifying Checksum 20:46:36 f607e4fc86c3: Download complete 20:46:36 b3c136eddcbf: Download complete 20:46:37 b3c136eddcbf: Pull complete 20:46:37 fcf976331f73: Verifying Checksum 20:46:37 fcf976331f73: Download complete 20:46:38 c0a3192eca97: Pull complete 20:46:38 a050256f5b6f: Pull complete 20:46:38 4d572c569a2c: Download complete 20:46:39 656be50a0ddc: Verifying Checksum 20:46:39 656be50a0ddc: Download complete 20:46:51 656be50a0ddc: Pull complete 20:46:51 2bbca73fdf42: Pull complete 20:46:51 f607e4fc86c3: Pull complete 20:46:58 4d572c569a2c: Pull complete 20:46:59 fcf976331f73: Pull complete 20:46:59 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 20:46:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:46:59 ---> 3970a7415f9e 20:46:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:47:01 ---> Running in e5cb1e90956b 20:47:01 Removing intermediate container e5cb1e90956b 20:47:01 ---> d1655fe1455f 20:47:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:47:01 ---> Running in 5fb984353f5e 20:47:02 Removing intermediate container 5fb984353f5e 20:47:02 ---> 751473c9ac5c 20:47:02 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:47:02 ---> Running in 35d28fd732a9 20:47:02 Removing intermediate container 35d28fd732a9 20:47:02 ---> 46ea805b8663 20:47:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:47:02 ---> Running in aa30d7cb8536 20:47:02 Removing intermediate container aa30d7cb8536 20:47:02 ---> 5e741c25d1d9 20:47:02 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:47:02 ---> Running in 628d16cb9319 20:47:04 Removing intermediate container 628d16cb9319 20:47:04 ---> d9a248522e4d 20:47:04 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:47:04 ---> Running in e1ade0942369 20:47:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:47:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:47:07 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:47:07 (2/4) Installing libedit (20210910.3.1-r0) 20:47:07 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:47:07 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:47:07 Executing busybox-1.35.0-r13.trigger 20:47:07 OK: 226 MiB in 55 packages 20:47:08 Removing intermediate container e1ade0942369 20:47:08 ---> 382efc60ef7b 20:47:08 Step 9/13 : WORKDIR /device-rest-go 20:47:08 ---> Running in 35b3fc2989df 20:47:09 Removing intermediate container 35b3fc2989df 20:47:09 ---> 46d5a090d08c 20:47:09 Step 10/13 : COPY go.mod vendor* ./ 20:47:09 ---> f912e24710a6 20:47:09 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:47:09 ---> Running in 6716e3f51ebb 20:47:56 Removing intermediate container 6716e3f51ebb 20:47:56 ---> 774ad27a1f79 20:47:56 Step 12/13 : COPY . . 20:47:56 ---> 3ef6104008e8 20:47:56 Step 13/13 : RUN $MAKE 20:47:56 ---> Running in 20a1d55eabf2 20:47:57 noop 20:47:58 Removing intermediate container 20a1d55eabf2 20:47:58 ---> c9bbf649f116 20:47:58 Successfully built c9bbf649f116 20:47:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:58 + docker inspect -f . ci-base-image-arm64 20:47:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:58 prd-ubuntu20.04-docker-arm64-4c-16g-6938 does not seem to be running inside a container 20:47:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/61 -v /w/workspace/device-rest-go/61:/w/workspace/device-rest-go/61:rw,z -v /w/workspace/device-rest-go/61@tmp:/w/workspace/device-rest-go/61@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 ******** ci-base-image-arm64 cat 20:48:00 $ docker top c3ccff16339beb624928488f10c8a467b83f2dc119b89174cebc858515758df7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:01 + go version 20:48:01 go version go1.18.3 linux/arm64 [Pipeline] } 20:48:01 $ docker stop --time=1 c3ccff16339beb624928488f10c8a467b83f2dc119b89174cebc858515758df7 20:48:02 $ docker rm -f c3ccff16339beb624928488f10c8a467b83f2dc119b89174cebc858515758df7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:03 + docker inspect -f . ci-base-image-arm64 20:48:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:03 prd-ubuntu20.04-docker-arm64-4c-16g-6938 does not seem to be running inside a container 20:48:03 $ 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/61 -v /w/workspace/device-rest-go/61:/w/workspace/device-rest-go/61:rw,z -v /w/workspace/device-rest-go/61@tmp:/w/workspace/device-rest-go/61@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 ******** ci-base-image-arm64 cat 20:48:04 $ docker top d1aa1aa1efe5d5c47f7b99c547a5d0180f6a07d90dad280fa16a57434c920b98 -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:05 + git config --global --add safe.directory /w/workspace/device-rest-go/61 [Pipeline] fileExists [Pipeline] sh 20:48:05 + make test 20:48:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:48:07 ? github.com/edgexfoundry/device-rest-go [no test files] 20:49:28 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:49:28 ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements 20:49:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:49:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:49:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:49:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:49:47 ./bin/test-attribution-txt.sh [Pipeline] echo 20:49:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:49:47 $ docker stop --time=1 d1aa1aa1efe5d5c47f7b99c547a5d0180f6a07d90dad280fa16a57434c920b98 20:49:49 $ docker rm -f d1aa1aa1efe5d5c47f7b99c547a5d0180f6a07d90dad280fa16a57434c920b98 [Pipeline] // withDockerContainer [Pipeline] sh 20:49:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:49:50 Warning: overwriting stash ‘coverage-report’ 20:49:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:49:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:49:51 + ls -al . 20:49:51 total 176 20:49:51 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:48 . 20:49:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:46 .. 20:49:51 -rw-rw-r-- 1 jenkins jenkins 151 Oct 3 20:46 .dockerignore 20:49:51 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:46 .git 20:49:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:46 .github 20:49:51 -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 20:46 .gitignore 20:49:51 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 20:46 .golangci.yml 20:49:51 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 3 20:46 Attribution.txt 20:49:51 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 3 20:46 CHANGELOG.md 20:49:51 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 3 20:46 Dockerfile 20:49:51 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 20:46 GOVERNANCE.md 20:49:51 -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 20:46 Jenkinsfile 20:49:51 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 20:46 LICENSE 20:49:51 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 3 20:46 Makefile 20:49:51 -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 20:46 OWNERS.md 20:49:51 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 3 20:46 README.md 20:49:51 -rw-rw-r-- 1 jenkins jenkins 12 Oct 3 20:44 VERSION 20:49:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:46 bin 20:49:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:46 cmd 20:49:51 -rw-r--r-- 1 jenkins jenkins 9355 Oct 3 20:49 coverage.out 20:49:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:46 driver 20:49:51 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 3 20:46 go.mod 20:49:51 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 20:46 go.sum 20:49:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:46 snap 20:49:51 -rw-rw-r-- 1 jenkins jenkins 713 Oct 3 20:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:51 + 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=401106fad354fe4e00d3a8593bef2b7e60417552 --label arch=arm64 --label version=2.3.0-dev.17 . 20:49:51 Sending build context to Docker daemon 137.2kB 20:49:51 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:49:51 Step 2/26 : FROM ${BASE} AS builder 20:49:51 ---> c9bbf649f116 20:49:51 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:49:51 ---> Running in a46fff5b5235 20:49:52 Removing intermediate container a46fff5b5235 20:49:52 ---> 85c6d44b7bce 20:49:52 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:49:52 ---> Running in b6388addeb71 20:49:52 Removing intermediate container b6388addeb71 20:49:52 ---> b3691ab698a2 20:49:52 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:49:52 ---> Running in 96c988a58fdd 20:49:52 Removing intermediate container 96c988a58fdd 20:49:52 ---> bcf71115d8b7 20:49:52 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:49:52 ---> Running in 85bcb14d9175 20:49:53 Removing intermediate container 85bcb14d9175 20:49:53 ---> cf8e99c2f08c 20:49:53 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:49:53 ---> Running in a31f89bd39c5 20:49:55 Removing intermediate container a31f89bd39c5 20:49:55 ---> 0825cbe34f71 20:49:55 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:49:55 ---> Running in 996bd6b878c5 20:49:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:49:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:49:57 OK: 226 MiB in 55 packages 20:49:58 Removing intermediate container 996bd6b878c5 20:49:58 ---> 8d41fe9fdf12 20:49:58 Step 9/26 : WORKDIR /device-rest-go 20:49:58 ---> Running in 70f3f066c537 20:49:58 Removing intermediate container 70f3f066c537 20:49:58 ---> 65d2cf021110 20:49:58 Step 10/26 : COPY go.mod vendor* ./ 20:49:58 ---> 52b423100074 20:49:58 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:58 ---> Running in 0962445f3e1a 20:50:00 Removing intermediate container 0962445f3e1a 20:50:00 ---> 5fe5755d1b75 20:50:00 Step 12/26 : COPY . . 20:50:01 ---> 904a53a1c55d 20:50:01 Step 13/26 : RUN $MAKE 20:50:01 ---> Running in 3b49e885c758 20:50:02 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:52:39 Removing intermediate container 3b49e885c758 20:52:39 ---> 7fc423fc59dd 20:52:39 Step 14/26 : FROM alpine:3.16 20:52:39 3.16: Pulling from library/alpine 20:52:39 9b18e9b68314: Pulling fs layer 20:52:39 9b18e9b68314: Verifying Checksum 20:52:39 9b18e9b68314: Download complete 20:52:39 9b18e9b68314: Pull complete 20:52:39 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:52:39 Status: Downloaded newer image for alpine:3.16 20:52:39 ---> a6215f271958 20:52:39 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:52:39 ---> Running in fca1c9a60182 20:52:39 Removing intermediate container fca1c9a60182 20:52:39 ---> 32d668999249 20:52:39 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 20:52:39 ---> Running in c526f1a271d0 20:52:39 Removing intermediate container c526f1a271d0 20:52:39 ---> 0fd2b5260063 20:52:39 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 20:52:39 ---> Running in 49a5035ee4ad 20:52:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:52:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:52:39 (1/6) Installing dumb-init (1.2.5-r1) 20:52:39 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:52:39 (3/6) Installing libsodium (1.0.18-r0) 20:52:39 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:52:39 (5/6) Installing libzmq (4.3.4-r0) 20:52:39 (6/6) Installing zeromq (4.3.4-r0) 20:52:39 Executing busybox-1.35.0-r17.trigger 20:52:39 OK: 8 MiB in 20 packages 20:52:39 Removing intermediate container 49a5035ee4ad 20:52:39 ---> 2beeb841f1d4 20:52:39 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:52:39 ---> b4eefa7efbb8 20:52:39 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:52:39 ---> 49465cfeba35 20:52:39 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:52:39 ---> 5b22aedb9838 20:52:39 Step 21/26 : EXPOSE 59986 20:52:39 ---> Running in e6269ef646ce 20:52:39 Removing intermediate container e6269ef646ce 20:52:39 ---> f6d223245c3a 20:52:39 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:52:39 ---> Running in 598b83cef9db 20:52:39 Removing intermediate container 598b83cef9db 20:52:39 ---> b83ffad5cfb0 20:52:39 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:52:39 ---> Running in e932e5474b6e 20:52:39 Removing intermediate container e932e5474b6e 20:52:39 ---> be8c0c745645 20:52:39 Step 24/26 : LABEL arch=arm64 20:52:39 ---> Running in 476fcee12c94 20:52:39 Removing intermediate container 476fcee12c94 20:52:39 ---> 01ed2304a043 20:52:39 Step 25/26 : LABEL git_sha=401106fad354fe4e00d3a8593bef2b7e60417552 20:52:39 ---> Running in 2fb1a3623ded 20:52:39 Removing intermediate container 2fb1a3623ded 20:52:39 ---> edecfa883f36 20:52:39 Step 26/26 : LABEL version=2.3.0-dev.17 20:52:39 ---> Running in db94fd9f52cf 20:52:39 Removing intermediate container db94fd9f52cf 20:52:39 ---> a4607bd32606 20:52:39 [Warning] One or more build-args [ARCH] were not consumed 20:52:39 Successfully built a4607bd32606 20:52:39 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:39 provisioning config files... 20:52:39 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/61@tmp/config11953021969939428530tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:39 ---> docker-login.sh 20:52:39 nexus3.edgexfoundry.org:10001 20:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:39 Configure a credential helper to remove this warning. See 20:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:39 20:52:39 Login Succeeded 20:52:39 nexus3.edgexfoundry.org:10002 20:52:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:40 Configure a credential helper to remove this warning. See 20:52:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:40 20:52:40 Login Succeeded 20:52:40 nexus3.edgexfoundry.org:10003 20:52:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:40 Configure a credential helper to remove this warning. See 20:52:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:40 20:52:40 Login Succeeded 20:52:40 nexus3.edgexfoundry.org:10004 20:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:41 Configure a credential helper to remove this warning. See 20:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:41 20:52:41 Login Succeeded 20:52:41 docker.io 20:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:41 Configure a credential helper to remove this warning. See 20:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:41 20:52:41 Login Succeeded 20:52:41 ---> docker-login.sh ends [Pipeline] } 20:52:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:52:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:41 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 20:52:41 401106fad354fe4e00d3a8593bef2b7e60417552 20:52:41 latest 20:52:41 2.3.0-dev.17 20:52:41 401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 20:52:41 main 20:52:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:401106fad354fe4e00d3a8593bef2b7e60417552 20:52:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:52:42 c4e73e5662d7: Preparing 20:52:42 7b7d520f1ca4: Preparing 20:52:42 09b30a2c38c2: Preparing 20:52:42 a3d622efa194: Preparing 20:52:42 5d3e392a13a0: Preparing 20:52:42 5d3e392a13a0: Layer already exists 20:52:42 7b7d520f1ca4: Pushed 20:52:42 c4e73e5662d7: Pushed 20:52:43 a3d622efa194: Pushed 20:52:47 09b30a2c38c2: Pushed 20:52:47 401106fad354fe4e00d3a8593bef2b7e60417552: digest: sha256:1ad2cebdceb729b3dfe41fd20f04dd8322678545250f7ce54f82c0073ad96ea7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:48 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:52:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:52:48 c4e73e5662d7: Preparing 20:52:48 7b7d520f1ca4: Preparing 20:52:48 09b30a2c38c2: Preparing 20:52:48 a3d622efa194: Preparing 20:52:48 5d3e392a13a0: Preparing 20:52:48 5d3e392a13a0: Layer already exists 20:52:48 09b30a2c38c2: Layer already exists 20:52:48 a3d622efa194: Layer already exists 20:52:48 c4e73e5662d7: Layer already exists 20:52:48 7b7d520f1ca4: Layer already exists 20:52:48 latest: digest: sha256:1ad2cebdceb729b3dfe41fd20f04dd8322678545250f7ce54f82c0073ad96ea7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:48 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.17 20:52:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:52:49 c4e73e5662d7: Preparing 20:52:49 7b7d520f1ca4: Preparing 20:52:49 09b30a2c38c2: Preparing 20:52:49 a3d622efa194: Preparing 20:52:49 5d3e392a13a0: Preparing 20:52:49 09b30a2c38c2: Layer already exists 20:52:49 7b7d520f1ca4: Layer already exists 20:52:49 a3d622efa194: Layer already exists 20:52:49 c4e73e5662d7: Layer already exists 20:52:49 5d3e392a13a0: Layer already exists 20:52:49 2.3.0-dev.17: digest: sha256:1ad2cebdceb729b3dfe41fd20f04dd8322678545250f7ce54f82c0073ad96ea7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:49 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 20:52:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:52:49 c4e73e5662d7: Preparing 20:52:49 7b7d520f1ca4: Preparing 20:52:49 09b30a2c38c2: Preparing 20:52:49 a3d622efa194: Preparing 20:52:49 5d3e392a13a0: Preparing 20:52:49 7b7d520f1ca4: Layer already exists 20:52:49 a3d622efa194: Layer already exists 20:52:49 09b30a2c38c2: Layer already exists 20:52:49 5d3e392a13a0: Layer already exists 20:52:49 c4e73e5662d7: Layer already exists 20:52:49 401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17: digest: sha256:1ad2cebdceb729b3dfe41fd20f04dd8322678545250f7ce54f82c0073ad96ea7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 20:52:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:52:50 c4e73e5662d7: Preparing 20:52:50 7b7d520f1ca4: Preparing 20:52:50 09b30a2c38c2: Preparing 20:52:50 a3d622efa194: Preparing 20:52:50 5d3e392a13a0: Preparing 20:52:50 c4e73e5662d7: Layer already exists 20:52:50 5d3e392a13a0: Layer already exists 20:52:50 a3d622efa194: Layer already exists 20:52:50 09b30a2c38c2: Layer already exists 20:52:50 7b7d520f1ca4: Layer already exists 20:52:50 main: digest: sha256:1ad2cebdceb729b3dfe41fd20f04dd8322678545250f7ce54f82c0073ad96ea7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:52:50 ===================================================== [Pipeline] echo 20:52:50 taggedImages: 20:52:50 - nexus3.edgexfoundry.org:10004/device-rest-arm64:401106fad354fe4e00d3a8593bef2b7e60417552 20:52:50 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:52:50 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.17 20:52:50 - nexus3.edgexfoundry.org:10004/device-rest-arm64:401106fad354fe4e00d3a8593bef2b7e60417552-2.3.0-dev.17 20:52:50 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:51 20:52:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:51 arm64: Pulling from edgex-lftools-log-publisher 20:52:51 8998bd30e6a1: Pulling fs layer 20:52:51 04944245beec: Pulling fs layer 20:52:51 699f458cf7ca: Pulling fs layer 20:52:51 765212b225bb: Pulling fs layer 20:52:51 f23df028b6ca: Pulling fs layer 20:52:51 d65c8cfc05b1: Pulling fs layer 20:52:51 2437ff75d9bd: Pulling fs layer 20:52:51 f23df028b6ca: Waiting 20:52:51 d65c8cfc05b1: Waiting 20:52:51 2437ff75d9bd: Waiting 20:52:51 765212b225bb: Waiting 20:52:51 04944245beec: Verifying Checksum 20:52:51 04944245beec: Download complete 20:52:51 765212b225bb: Verifying Checksum 20:52:51 765212b225bb: Download complete 20:52:51 f23df028b6ca: Verifying Checksum 20:52:51 f23df028b6ca: Download complete 20:52:51 d65c8cfc05b1: Verifying Checksum 20:52:51 d65c8cfc05b1: Download complete 20:52:52 699f458cf7ca: Verifying Checksum 20:52:52 699f458cf7ca: Download complete 20:52:52 8998bd30e6a1: Verifying Checksum 20:52:52 8998bd30e6a1: Download complete 20:52:54 2437ff75d9bd: Verifying Checksum 20:52:54 2437ff75d9bd: Download complete 20:52:56 8998bd30e6a1: Pull complete 20:52:56 04944245beec: Pull complete 20:52:58 699f458cf7ca: Pull complete 20:52:58 765212b225bb: Pull complete 20:52:58 f23df028b6ca: Pull complete 20:52:59 d65c8cfc05b1: Pull complete 20:53:14 2437ff75d9bd: Pull complete 20:53:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:53:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:53:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:14 prd-ubuntu20.04-docker-arm64-4c-16g-6938 does not seem to be running inside a container 20:53:14 $ 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/61 -v /w/workspace/device-rest-go/61:/w/workspace/device-rest-go/61:rw,z -v /w/workspace/device-rest-go/61@tmp:/w/workspace/device-rest-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:53:16 $ docker top cf3d1665c832ca593ea14b4d12a9f2ccb9f11240aeaaf92156a9401d6d0cc1e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:17 ---> job-cost.sh 20:53:17 lf-activate-venv: SKIPPING 20:53:17 INFO: No Stack... 20:53:17 INFO: Retrieving Pricing Info for: v3-standard-4 20:53:18 INFO: Archiving Costs [Pipeline] sh 20:53:19 + cut -d, -f6 20:53:19 + cat /w/workspace/device-rest-go/61/archives/cost.csv [Pipeline] lock 20:53:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] 20:53:19 Resource [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] did not exist. Created. 20:53:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:53:19 /w/workspace/device-rest-go/61@tmp/durable-4a6d18ea/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:53:20 + echo total: 0.10999999940395355 [Pipeline] stash 20:53:20 Warning: overwriting stash ‘stack-cost’ 20:53:20 Stashed 1 file(s) [Pipeline] } 20:53:20 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } 20:53:20 $ docker stop --time=1 cf3d1665c832ca593ea14b4d12a9f2ccb9f11240aeaaf92156a9401d6d0cc1e0 20:53:21 $ docker rm -f cf3d1665c832ca593ea14b4d12a9f2ccb9f11240aeaaf92156a9401d6d0cc1e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:53:22 provisioning config files... 20:53:22 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15192891104065368025tmp [Pipeline] { [Pipeline] sh 20:53:22 + set +x 20:53:22 + curl -s https://codecov.io/bash 20:53:22 + bash -s -- 20:53:22 20:53:22 _____ _ 20:53:22 / ____| | | 20:53:22 | | ___ __| | ___ ___ _____ __ 20:53:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:53:22 | |___| (_) | (_| | __/ (_| (_) \ V / 20:53:22 \_____\___/ \__,_|\___|\___\___/ \_/ 20:53:22 Bash-1.0.6 20:53:22 20:53:22 20:53:22 ==> git version 2.25.1 found 20:53:22 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:53:22 Release-Date: 2020-01-08 20:53:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:53:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:53:22 ==> Jenkins CI detected. 20:53:22 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 20:53:22 project root: . 20:53:22 --> token set from env 20:53:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:53:22 ==> Running gcov in . (disable via -X gcov) 20:53:22 ==> Python coveragepy not found 20:53:22 ==> Searching for coverage reports in: 20:53:22 + . 20:53:22 -> Found 1 reports 20:53:22 ==> Detecting git/mercurial file structure 20:53:22 ==> Reading reports 20:53:22 + ./coverage.out bytes=9355 20:53:22 ==> Appending adjustments 20:53:22 https://docs.codecov.io/docs/fixing-reports 20:53:22 + Found adjustments 20:53:22 ==> Gzipping contents 20:53:22 4.0K /tmp/codecov.xqh17R.gz 20:53:22 ==> Uploading reports 20:53:22 url: https://codecov.io 20:53:22 query: branch=main&commit=401106fad354fe4e00d3a8593bef2b7e60417552&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:53:22 -> Pinging Codecov 20:53:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=401106fad354fe4e00d3a8593bef2b7e60417552&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:53:23 -> Uploading to 20:53:23 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/4E5D53B4F1F92C436F7061BF334D961C/401106fad354fe4e00d3a8593bef2b7e60417552/b781b618-e64b-492f-9d9b-ef32396d3f72.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T205322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c282549ba06dfd071fdcaab164d09a223af717a2d36418ac03507266103de38d 20:53:23 % Total % Received % Xferd Average Speed Time Time Time Current 20:53:23 Dload Upload Total Spent Left Speed 20:53:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7427 --:--:-- --:--:-- --:--:-- 7427 20:53:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] } 20:53:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:53:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:53:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:53:23 20:53:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:53:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:53:24 df9b9388f04a: Pulling fs layer 20:53:24 52dc419b0ee2: Pulling fs layer 20:53:24 25bc292e5bac: Pulling fs layer 20:53:24 114826534d7a: Pulling fs layer 20:53:24 4657fd5d0bcf: Pulling fs layer 20:53:24 6ad1cebc031e: Pulling fs layer 20:53:24 8a3aa393b2d8: Pulling fs layer 20:53:24 114826534d7a: Waiting 20:53:24 4657fd5d0bcf: Waiting 20:53:24 6ad1cebc031e: Waiting 20:53:24 8a3aa393b2d8: Waiting 20:53:24 25bc292e5bac: Verifying Checksum 20:53:24 25bc292e5bac: Download complete 20:53:24 52dc419b0ee2: Verifying Checksum 20:53:24 52dc419b0ee2: Download complete 20:53:24 4657fd5d0bcf: Download complete 20:53:24 df9b9388f04a: Download complete 20:53:24 6ad1cebc031e: Verifying Checksum 20:53:24 df9b9388f04a: Pull complete 20:53:24 52dc419b0ee2: Pull complete 20:53:24 25bc292e5bac: Pull complete 20:53:24 114826534d7a: Verifying Checksum 20:53:24 114826534d7a: Download complete 20:53:25 8a3aa393b2d8: Verifying Checksum 20:53:25 8a3aa393b2d8: Download complete 20:53:28 114826534d7a: Pull complete 20:53:28 4657fd5d0bcf: Pull complete 20:53:28 6ad1cebc031e: Pull complete 20:53:32 8a3aa393b2d8: Pull complete 20:53:32 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:53:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:53:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:32 prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container 20:53:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:53:34 $ docker top c3bcd79043d85d00c500bd15cdad0683bc05daac6f8a6bd652c3753468b5b087 -eo pid,comm [Pipeline] { [Pipeline] echo 20:53:34 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 20:53:35 + set -o pipefail 20:53:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 20:53:42 20:53:42 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 20:53:42 20:53:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/08c2d77b-44c5-40b4-9783-b96da58733bd 20:53:42 20:53:42 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:53:42 20:53:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:53:42 20:53:42 20:53:42 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:53:42 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:53:42 More details here: https://snyk.co/ue1NS [Pipeline] } 20:53:42 $ docker stop --time=1 c3bcd79043d85d00c500bd15cdad0683bc05daac6f8a6bd652c3753468b5b087 20:53:44 $ docker rm -f c3bcd79043d85d00c500bd15cdad0683bc05daac6f8a6bd652c3753468b5b087 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:53:45 + git log --format=format:%s -1 401106fad354fe4e00d3a8593bef2b7e60417552 [Pipeline] sh 20:53:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:45 prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container 20:53:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:53:46 $ docker top 83502e881bb938f0a5e29b2dfa27b68a7205feeedb243121a93a4aa086e28c16 -eo pid,comm 20:53:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:53:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:53:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:46 [ssh-agent] Looking for ssh-agent implementation... 20:53:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:46 $ docker exec 83502e881bb938f0a5e29b2dfa27b68a7205feeedb243121a93a4aa086e28c16 ssh-agent 20:53:46 SSH_AUTH_SOCK=/tmp/ssh-DyrVfO82qZbx/agent.32 20:53:46 SSH_AGENT_PID=38 20:53:46 Running ssh-add (command line suppressed) 20:53:46 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1725650768858800978.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1725650768858800978.key) 20:53:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:46 + git semver tag 20:53:47 2022-10-03 20:53:47,138 [run_tag] DEBUG tag force:False 20:53:47 2022-10-03 20:53:47,138 [check_head_tag] DEBUG check head tag 20:53:47 2022-10-03 20:53:47,139 [execute] INFO git cat-file --batch-check 20:53:47 2022-10-03 20:53:47,139 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:53:47 2022-10-03 20:53:47,143 [execute] INFO git cat-file --batch 20:53:47 2022-10-03 20:53:47,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:53:47 2022-10-03 20:53:47,155 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:53:47 2022-10-03 20:53:47,156 [execute] INFO git tag -a v2.3.0-dev.17 -m v2.3.0-dev.17 20:53:47 2022-10-03 20:53:47,156 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.17', '-m', 'v2.3.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:53:47 2022-10-03 20:53:47,161 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:53:47 2.3.0-dev.17 [Pipeline] } 20:53:47 $ docker exec --env ******** --env ******** 83502e881bb938f0a5e29b2dfa27b68a7205feeedb243121a93a4aa086e28c16 ssh-agent -k 20:53:47 unset SSH_AUTH_SOCK; 20:53:47 unset SSH_AGENT_PID; 20:53:47 echo Agent pid 38 killed; 20:53:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:47 + git semver [Pipeline] } 20:53:47 $ docker stop --time=1 83502e881bb938f0a5e29b2dfa27b68a7205feeedb243121a93a4aa086e28c16 20:53:49 $ docker rm -f 83502e881bb938f0a5e29b2dfa27b68a7205feeedb243121a93a4aa086e28c16 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:53:49 20:53:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:53:49 0.23.1-centos7: Pulling from edgex-lftools 20:53:49 ab5ef0e58194: Pulling fs layer 20:53:49 9712f1f96733: Pulling fs layer 20:53:49 63f879dbbcfc: Pulling fs layer 20:53:49 0d9ebad4ef96: Pulling fs layer 20:53:49 e9a5061849ea: Pulling fs layer 20:53:49 d747dcd14b5f: Pulling fs layer 20:53:49 2de7ff778b66: Pulling fs layer 20:53:49 0d9ebad4ef96: Waiting 20:53:49 d747dcd14b5f: Waiting 20:53:49 2de7ff778b66: Waiting 20:53:49 e9a5061849ea: Waiting 20:53:49 9712f1f96733: Verifying Checksum 20:53:49 9712f1f96733: Download complete 20:53:50 63f879dbbcfc: Verifying Checksum 20:53:50 63f879dbbcfc: Download complete 20:53:50 e9a5061849ea: Verifying Checksum 20:53:50 e9a5061849ea: Download complete 20:53:50 d747dcd14b5f: Verifying Checksum 20:53:50 d747dcd14b5f: Download complete 20:53:50 0d9ebad4ef96: Verifying Checksum 20:53:50 0d9ebad4ef96: Download complete 20:53:50 ab5ef0e58194: Verifying Checksum 20:53:50 ab5ef0e58194: Download complete 20:53:50 2de7ff778b66: Verifying Checksum 20:53:50 2de7ff778b66: Download complete 20:53:53 ab5ef0e58194: Pull complete 20:53:53 9712f1f96733: Pull complete 20:53:53 63f879dbbcfc: Pull complete 20:53:57 0d9ebad4ef96: Pull complete 20:53:57 e9a5061849ea: Pull complete 20:53:57 d747dcd14b5f: Pull complete 20:53:58 2de7ff778b66: Pull complete 20:53:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:53:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:53:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:58 prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container 20:53:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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-lftools:0.23.1-centos7 cat 20:54:00 $ docker top 43a957d85219e5e59cef3281cbce291e05cb368df8990a782f9280e70e523d9e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:54:00 provisioning config files... 20:54:00 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13906583690229570829tmp 20:54:00 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15548605544926774124tmp 20:54:00 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2917960437833508613tmp [Pipeline] { [Pipeline] echo 20:54:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:54:00 ---> sigul-configuration.sh 20:54:00 gpg: directory `/root/.gnupg' created 20:54:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:54:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:54:00 gpg: keyring `/root/.gnupg/secring.gpg' created 20:54:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:54:00 gpg: CAST5 encrypted data 20:54:00 gpg: encrypted with 1 passphrase 20:54:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:54:01 + mkdir /home/jenkins 20:54:01 + mkdir /home/jenkins/sigul [Pipeline] sh 20:54:01 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 20:54:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:54:01 ---> sigul-install.sh 20:54:01 Sigul already installed; skipping installation. [Pipeline] sh 20:54:01 + git tag --list 20:54:01 v1.0.0 20:54:01 v1.1.0 20:54:01 v1.1.1 20:54:01 v1.1.2 20:54:01 v1.2.0 20:54:01 v1.2.1 20:54:01 v2.0.0 20:54:01 v2.1.0 20:54:01 v2.1.1 20:54:01 v2.1.1-dev.1 20:54:01 v2.1.1-dev.2 20:54:01 v2.1.1-dev.3 20:54:01 v2.2.0 20:54:01 v2.2.1-dev.1 20:54:01 v2.2.1-dev.2 20:54:01 v2.2.1-dev.3 20:54:01 v2.2.1-dev.4 20:54:01 v2.2.1-dev.5 20:54:01 v2.2.1-dev.6 20:54:01 v2.2.1-dev.7 20:54:01 v2.2.1-dev.8 20:54:01 v2.2.1-dev.9 20:54:01 v2.3.0-dev.10 20:54:01 v2.3.0-dev.11 20:54:01 v2.3.0-dev.12 20:54:01 v2.3.0-dev.13 20:54:01 v2.3.0-dev.14 20:54:01 v2.3.0-dev.15 20:54:01 v2.3.0-dev.16 20:54:01 v2.3.0-dev.17 20:54:01 v2.3.0-dev.9 [Pipeline] sh 20:54:02 + lftools sign git-tag v2.3.0-dev.17 20:54:02 Signing Git tag with Sigul... 20:54:02 Signing v2.3.0-dev.17 [Pipeline] echo 20:54:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:54:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:54:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:54:03 $ docker stop --time=1 43a957d85219e5e59cef3281cbce291e05cb368df8990a782f9280e70e523d9e 20:54:04 $ docker rm -f 43a957d85219e5e59cef3281cbce291e05cb368df8990a782f9280e70e523d9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:54:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:54:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:54:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:05 prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container 20:54:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:54:05 $ docker top c45ec005dbab36fc09661f7f0fb60774ceb68d854b22ca85a95d74ae271fdc68 -eo pid,comm 20:54:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:54:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:54:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:54:05 [ssh-agent] Looking for ssh-agent implementation... 20:54:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:54:06 $ docker exec c45ec005dbab36fc09661f7f0fb60774ceb68d854b22ca85a95d74ae271fdc68 ssh-agent 20:54:06 SSH_AUTH_SOCK=/tmp/ssh-Es7W1MiTJch1/agent.32 20:54:06 SSH_AGENT_PID=38 20:54:06 Running ssh-add (command line suppressed) 20:54:06 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8766942334976649883.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8766942334976649883.key) 20:54:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:54:06 + git semver bump pre 20:54:06 2022-10-03 20:54:06,766 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:54:06 2022-10-03 20:54:06,766 [bump_version] DEBUG bumping version:2.3.0-dev.17 on axis:pre with prefix:dev 20:54:06 2022-10-03 20:54:06,766 [bump_version] DEBUG bumped version:2.3.0-dev.18 20:54:06 2022-10-03 20:54:06,767 [write_version] DEBUG write version:2.3.0-dev.18 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 20:54:06 2022-10-03 20:54:06,767 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:54:06 2022-10-03 20:54:06,767 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:54:06 2022-10-03 20:54:06,769 [execute] INFO git cat-file --batch-check 20:54:06 2022-10-03 20:54:06,769 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:54:06 2022-10-03 20:54:06,774 [execute] INFO git cat-file --batch 20:54:06 2022-10-03 20:54:06,774 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:54:06 2022-10-03 20:54:06,779 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:54:06 2.3.0-dev.18 [Pipeline] } 20:54:06 $ docker exec --env ******** --env ******** c45ec005dbab36fc09661f7f0fb60774ceb68d854b22ca85a95d74ae271fdc68 ssh-agent -k 20:54:06 unset SSH_AUTH_SOCK; 20:54:06 unset SSH_AGENT_PID; 20:54:06 echo Agent pid 38 killed; 20:54:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:54:07 + git semver [Pipeline] } 20:54:07 $ docker stop --time=1 c45ec005dbab36fc09661f7f0fb60774ceb68d854b22ca85a95d74ae271fdc68 20:54:08 $ docker rm -f c45ec005dbab36fc09661f7f0fb60774ceb68d854b22ca85a95d74ae271fdc68 [Pipeline] // withDockerContainer [Pipeline] sh 20:54:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:54:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:54:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:09 prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container 20:54:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:54:09 $ docker top 664a56b48063e3bae690f83110b34f58e3644494d4428537e0579a12d96313ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:54:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:54:10 [ssh-agent] Looking for ssh-agent implementation... 20:54:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:54:10 $ docker exec 664a56b48063e3bae690f83110b34f58e3644494d4428537e0579a12d96313ab ssh-agent 20:54:10 SSH_AUTH_SOCK=/tmp/ssh-Gd5mcrutBcYB/agent.32 20:54:10 SSH_AGENT_PID=38 20:54:10 Running ssh-add (command line suppressed) 20:54:10 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9783457142276896797.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9783457142276896797.key) 20:54:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:54:10 + git semver push 20:54:11 2022-10-03 20:54:10,953 [run_push] DEBUG push 20:54:11 2022-10-03 20:54:10,955 [execute] INFO git cat-file --batch-check 20:54:11 2022-10-03 20:54:10,955 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:54:11 2022-10-03 20:54:10,960 [execute] INFO git rev-list 8192e2b95a45758b310dff90343e5785f3c82f3a -- 20:54:11 2022-10-03 20:54:10,960 [execute] DEBUG Popen(['git', 'rev-list', '8192e2b95a45758b310dff90343e5785f3c82f3a', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:54:11 2022-10-03 20:54:10,966 [execute] INFO git fetch -v origin 20:54:11 2022-10-03 20:54:10,967 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:54:11 2022-10-03 20:54:11,488 [run_push] DEBUG no remote changes detected 20:54:11 2022-10-03 20:54:11,488 [execute] INFO git push origin semver 20:54:11 2022-10-03 20:54:11,489 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:54:12 2022-10-03 20:54:12,280 [run_push] DEBUG push all version tags 20:54:12 2022-10-03 20:54:12,280 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:54:12 2022-10-03 20:54:12,281 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:54:13 2022-10-03 20:54:13,061 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:54:13 2.3.0-dev.18 [Pipeline] } 20:54:13 $ docker exec --env ******** --env ******** 664a56b48063e3bae690f83110b34f58e3644494d4428537e0579a12d96313ab ssh-agent -k 20:54:13 unset SSH_AUTH_SOCK; 20:54:13 unset SSH_AGENT_PID; 20:54:13 echo Agent pid 38 killed; 20:54:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:54:13 + git semver [Pipeline] } 20:54:14 $ docker stop --time=1 664a56b48063e3bae690f83110b34f58e3644494d4428537e0579a12d96313ab 20:54:15 $ docker rm -f 664a56b48063e3bae690f83110b34f58e3644494d4428537e0579a12d96313ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:54:16 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 20:54:16 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:54:16 total 16 20:54:16 drwxr-xr-x 3 root root 4096 Oct 3 20:46 . 20:54:16 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:54 .. 20:54:16 drwxr-xr-x 2 root root 4096 Oct 3 20:46 cost 20:54:16 -rw-r--r-- 1 root root 85 Oct 3 20:46 cost.csv 20:54:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 20:54:16 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:54:16 total 16 20:54:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 20:46 . 20:54:16 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:54 .. 20:54:16 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 20:46 cost 20:54:16 -rw-r--r-- 1 jenkins jenkins 85 Oct 3 20:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:54:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:54:17 ---> package-listing.sh 20:54:17 ++ facter osfamily 20:54:17 ++ tr '[:upper:]' '[:lower:]' 20:54:17 + OS_FAMILY=debian 20:54:17 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 20:54:17 + START_PACKAGES=/tmp/packages_start.txt 20:54:17 + END_PACKAGES=/tmp/packages_end.txt 20:54:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:54:17 + PACKAGES=/tmp/packages_start.txt 20:54:17 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:54:17 + PACKAGES=/tmp/packages_end.txt 20:54:17 + case "${OS_FAMILY}" in 20:54:17 + dpkg -l 20:54:17 + grep '^ii' 20:54:17 + '[' -f /tmp/packages_start.txt ']' 20:54:17 + '[' -f /tmp/packages_end.txt ']' 20:54:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:54:17 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:54:17 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 20:54:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 20:54:17 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:54:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:18 prd-ubuntu20.04-docker-8c-8g-6937 does not seem to be running inside a container 20:54:18 $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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-lftools-log-publisher:latest cat 20:54:18 $ docker top bad95576abb7aef4484603aade8f9c8bb2e101e46c3729f9d83f3313b55ffbcf -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:19 + touch /tmp/pre-build-complete [Pipeline] sh 20:54:19 + mkdir -p /var/log/sysstat [Pipeline] sh 20:54:19 + ls /var/log/sa-host 20:54:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:54:19 provisioning config files... 20:54:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10879322217148238674tmp [Pipeline] { [Pipeline] echo 20:54:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:54:20 ---> create-netrc.sh [Pipeline] } 20:54:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:54:20 ---> python-tools-install.sh [Pipeline] echo 20:54:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:54:20 ---> sudo-logs.sh 20:54:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:54:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:54:21 ---> job-cost.sh 20:54:21 lf-activate-venv: SKIPPING 20:54:21 DEBUG: total: 0.2199999988079071 20:54:21 INFO: Retrieving Stack Cost... 20:54:21 INFO: Retrieving Pricing Info for: v3-standard-8 20:54:21 INFO: Archiving Costs [Pipeline] echo 20:54:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:54:22 ---> logs-deploy.sh 20:54:22 lf-activate-venv: SKIPPING 20:54:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/61 20:54:22 INFO: archiving workspace using pattern(s): 20:54:23 Archives upload complete. 20:54:23 INFO: archiving logs to Nexus 20:54:24 ---> uname -a: 20:54:24 Linux prd-ubuntu20-04-docker-8c-8g-6937 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:54:24 20:54:24 20:54:24 ---> lscpu: 20:54:24 Architecture: x86_64 20:54:24 CPU op-mode(s): 32-bit, 64-bit 20:54:24 Byte Order: Little Endian 20:54:24 Address sizes: 40 bits physical, 48 bits virtual 20:54:24 CPU(s): 8 20:54:24 On-line CPU(s) list: 0-7 20:54:24 Thread(s) per core: 1 20:54:24 Core(s) per socket: 1 20:54:24 Socket(s): 8 20:54:24 NUMA node(s): 1 20:54:24 Vendor ID: AuthenticAMD 20:54:24 CPU family: 23 20:54:24 Model: 49 20:54:24 Model name: AMD EPYC-Rome Processor 20:54:24 Stepping: 0 20:54:24 CPU MHz: 2799.998 20:54:24 BogoMIPS: 5599.99 20:54:24 Virtualization: AMD-V 20:54:24 Hypervisor vendor: KVM 20:54:24 Virtualization type: full 20:54:24 L1d cache: 256 KiB 20:54:24 L1i cache: 256 KiB 20:54:24 L2 cache: 4 MiB 20:54:24 L3 cache: 128 MiB 20:54:24 NUMA node0 CPU(s): 0-7 20:54:24 Vulnerability Itlb multihit: Not affected 20:54:24 Vulnerability L1tf: Not affected 20:54:24 Vulnerability Mds: Not affected 20:54:24 Vulnerability Meltdown: Not affected 20:54:24 Vulnerability Mmio stale data: Not affected 20:54:24 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:54:24 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:54:24 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:54:24 Vulnerability Srbds: Not affected 20:54:24 Vulnerability Tsx async abort: Not affected 20:54:24 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 20:54:24 20:54:24 20:54:24 ---> nproc: 20:54:24 8 20:54:24 20:54:24