Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 058be3283080a1c8583c0889253315c1374bf37e 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-ssh11133990264810240146.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-ssh7635432949661431361.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-virtual-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-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17311067987088907447.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-ssh18298264201650414905.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-virtual-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-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13216310198760442256.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-virtual-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-virtual-go-settings PROJECT: device-virtual-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-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-1332 in /w/workspace/exfoundry_device-virtual-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-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 058be3283080a1c8583c0889253315c1374bf37e (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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 058be3283080a1c8583c0889253315c1374bf37e # timeout=10 Commit message: "Merge pull request #308 from hahattan/issue-307" > git rev-list --no-walk 338b4a6717ad749e6fbb765a40a4439a1a99c0fd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:22:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:22:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:22:00 ========================================================= 09:22:00 EdgeX Global Pipelines Version Info 09:22:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:22:01 ------------------- 09:22:01 stable info: 09:22:01 ------------------- 09:22:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:22:01 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:22:01 Message: update stable to v1.0.239 09:22:02 ------------------- 09:22:02 experimental info: 09:22:02 ------------------- 09:22:02 Commited By: **** collab-it+edgex@linuxfoundation.org 09:22:02 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:22:02 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 058be3283080a1c8583c0889253315c1374bf37e [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 058be32 [Pipeline] echo 09:22:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:22:02 provisioning config files... 09:22:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14674917219340614046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:02 ---> docker-login.sh 09:22:02 nexus3.edgexfoundry.org:10001 09:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:03 Configure a credential helper to remove this warning. See 09:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:03 09:22:03 Login Succeeded 09:22:03 nexus3.edgexfoundry.org:10002 09:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:03 Configure a credential helper to remove this warning. See 09:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:03 09:22:03 Login Succeeded 09:22:03 nexus3.edgexfoundry.org:10003 09:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:03 Configure a credential helper to remove this warning. See 09:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:03 09:22:03 Login Succeeded 09:22:03 nexus3.edgexfoundry.org:10004 09:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:03 Configure a credential helper to remove this warning. See 09:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:03 09:22:03 Login Succeeded 09:22:03 docker.io 09:22:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:04 Configure a credential helper to remove this warning. See 09:22:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:04 09:22:04 Login Succeeded 09:22:04 ---> docker-login.sh ends [Pipeline] } 09:22:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:22:04 + git rev-list -1 --merges 058be3283080a1c8583c0889253315c1374bf37e~1..058be3283080a1c8583c0889253315c1374bf37e [Pipeline] echo 09:22:04 -----------> git rev-list -1 --merges 058be3283080a1c8583c0889253315c1374bf37e~1..058be3283080a1c8583c0889253315c1374bf37e 058be3283080a1c8583c0889253315c1374bf37e 09:22:04 058be3283080a1c8583c0889253315c1374bf37e [false] [Pipeline] sh 09:22:05 + git log --format=format:%s -1 058be3283080a1c8583c0889253315c1374bf37e [Pipeline] echo 09:22:05 ========================================================= 09:22:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:22:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:22:05 + git log --format=format:%s -1 058be3283080a1c8583c0889253315c1374bf37e [Pipeline] echo 09:22:05 [semverPrep] GIT_COMMIT: 058be3283080a1c8583c0889253315c1374bf37e, Commit Message: Merge pull request #308 from hahattan/issue-307 [Pipeline] echo 09:22:05 [semverPrep] This is not a build commit. [Pipeline] sh 09:22:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:22:05 + grep -v github /etc/ssh/ssh_known_hosts 09:22:05 + [ -e /tmp/ssh_known_hosts ] 09:22:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:22:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:22:05 + sudo tee -a /etc/ssh/ssh_known_hosts 09:22:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:22:06 09:22:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:22:06 0.1.4: Pulling from edgex-devops/py-git-semver 09:22:06 b85a868b505f: Pulling fs layer 09:22:06 e2be974225ed: Pulling fs layer 09:22:06 339a4e72a1f5: Pulling fs layer 09:22:06 988bab9f4d93: Pulling fs layer 09:22:06 1469e6f7b9e6: Pulling fs layer 09:22:06 eaf3925da568: Pulling fs layer 09:22:06 bab4dde63d76: Pulling fs layer 09:22:06 bde34c3a00c8: Pulling fs layer 09:22:06 b352a97aabf1: Pulling fs layer 09:22:06 4872d77fe225: Pulling fs layer 09:22:06 5851b861e8e6: Pulling fs layer 09:22:06 bab4dde63d76: Waiting 09:22:06 bde34c3a00c8: Waiting 09:22:06 b352a97aabf1: Waiting 09:22:06 4872d77fe225: Waiting 09:22:06 5851b861e8e6: Waiting 09:22:06 1469e6f7b9e6: Waiting 09:22:06 988bab9f4d93: Waiting 09:22:06 eaf3925da568: Waiting 09:22:06 e2be974225ed: Download complete 09:22:06 988bab9f4d93: Verifying Checksum 09:22:06 988bab9f4d93: Download complete 09:22:06 1469e6f7b9e6: Verifying Checksum 09:22:06 1469e6f7b9e6: Download complete 09:22:06 eaf3925da568: Download complete 09:22:06 339a4e72a1f5: Verifying Checksum 09:22:06 339a4e72a1f5: Download complete 09:22:06 b85a868b505f: Download complete 09:22:06 bde34c3a00c8: Download complete 09:22:07 4872d77fe225: Verifying Checksum 09:22:07 5851b861e8e6: Download complete 09:22:07 b352a97aabf1: Download complete 09:22:07 bab4dde63d76: Verifying Checksum 09:22:07 bab4dde63d76: Download complete 09:22:08 b85a868b505f: Pull complete 09:22:08 e2be974225ed: Pull complete 09:22:08 339a4e72a1f5: Pull complete 09:22:08 988bab9f4d93: Pull complete 09:22:09 1469e6f7b9e6: Pull complete 09:22:09 eaf3925da568: Pull complete 09:22:11 bab4dde63d76: Pull complete 09:22:11 bde34c3a00c8: Pull complete 09:22:11 b352a97aabf1: Pull complete 09:22:11 4872d77fe225: Pull complete 09:22:11 5851b861e8e6: Pull complete 09:22:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:22:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:22:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:22:11 prd-ubuntu20.04-docker-8c-8g-1332 does not seem to be running inside a container 09:22:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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 09:22:15 $ docker top 4d713091ca2eeca3345748e17c4dac12f05dcfc7e6f680a41dc593fcd6a14227 -eo pid,comm 09:22:15 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). 09:22:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:22:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:22:15 [ssh-agent] Looking for ssh-agent implementation... 09:22:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:22:15 $ docker exec 4d713091ca2eeca3345748e17c4dac12f05dcfc7e6f680a41dc593fcd6a14227 ssh-agent 09:22:15 SSH_AUTH_SOCK=/tmp/ssh-hrUwTBGndUMq/agent.32 09:22:15 SSH_AGENT_PID=38 09:22:15 Running ssh-add (command line suppressed) 09:22:15 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17595774648313937894.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17595774648313937894.key) 09:22:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:22:16 + git tag --points-at HEAD [Pipeline] } 09:22:16 $ docker exec --env ******** --env ******** 4d713091ca2eeca3345748e17c4dac12f05dcfc7e6f680a41dc593fcd6a14227 ssh-agent -k 09:22:16 unset SSH_AUTH_SOCK; 09:22:16 unset SSH_AGENT_PID; 09:22:16 echo Agent pid 38 killed; 09:22:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:22:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:22:16 [ssh-agent] Looking for ssh-agent implementation... 09:22:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:22:16 $ docker exec 4d713091ca2eeca3345748e17c4dac12f05dcfc7e6f680a41dc593fcd6a14227 ssh-agent 09:22:16 SSH_AUTH_SOCK=/tmp/ssh-oxqQiyxEd5CT/agent.70 09:22:16 SSH_AGENT_PID=76 09:22:16 Running ssh-add (command line suppressed) 09:22:16 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1635933113076165390.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1635933113076165390.key) 09:22:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:22:16 + git semver init 09:22:17 2022-09-27 09:22:17,001 [run_init] DEBUG init version:0.0.0 force:False 09:22:17 2022-09-27 09:22:17,001 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 09:22:17 2022-09-27 09:22:17,002 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 09:22:17 2022-09-27 09:22:17,002 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 09:22:18 2022-09-27 09:22:18,182 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 09:22:18 2022-09-27 09:22:18,182 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 09:22:18 2022-09-27 09:22:18,182 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:22:18 2022-09-27 09:22:18,182 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:22:18 2.3.0-dev.18 [Pipeline] } 09:22:18 $ docker exec --env ******** --env ******** 4d713091ca2eeca3345748e17c4dac12f05dcfc7e6f680a41dc593fcd6a14227 ssh-agent -k 09:22:18 unset SSH_AUTH_SOCK; 09:22:18 unset SSH_AGENT_PID; 09:22:18 echo Agent pid 76 killed; 09:22:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:22:18 + git semver [Pipeline] } 09:22:19 $ docker stop --time=1 4d713091ca2eeca3345748e17c4dac12f05dcfc7e6f680a41dc593fcd6a14227 09:22:20 $ docker rm -f 4d713091ca2eeca3345748e17c4dac12f05dcfc7e6f680a41dc593fcd6a14227 [Pipeline] // withDockerContainer [Pipeline] sh 09:22:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:22:21 Stashed 1 file(s) [Pipeline] echo 09:22:21 [edgeXSemver]: initialized semver on version 2.3.0-dev.18 [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 09:22:21 provisioning config files... 09:22:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11760310905622752676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:21 ---> docker-login.sh 09:22:21 nexus3.edgexfoundry.org:10001 09:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:21 Configure a credential helper to remove this warning. See 09:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:21 09:22:21 Login Succeeded 09:22:21 nexus3.edgexfoundry.org:10002 09:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:21 Configure a credential helper to remove this warning. See 09:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:21 09:22:21 Login Succeeded 09:22:21 nexus3.edgexfoundry.org:10003 09:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:22 Configure a credential helper to remove this warning. See 09:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:22 09:22:22 Login Succeeded 09:22:22 nexus3.edgexfoundry.org:10004 09:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:22 Configure a credential helper to remove this warning. See 09:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:22 09:22:22 Login Succeeded 09:22:22 docker.io 09:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:22:22 Configure a credential helper to remove this warning. See 09:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:22:22 09:22:22 Login Succeeded 09:22:22 ---> docker-login.sh ends [Pipeline] } 09:22:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:22:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:22:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:22:22 ========================================================= 09:22:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:22:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:22 + 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 . 09:22:22 Sending build context to Docker daemon 23.14MB 09:22:22 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:22:22 Step 2/13 : FROM ${BASE} AS builder 09:22:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:22:23 2408cc74d12b: Pulling fs layer 09:22:23 ea60b727a1ce: Pulling fs layer 09:22:23 30c4a7721957: Pulling fs layer 09:22:23 370296b7ddb6: Pulling fs layer 09:22:23 7c6cee850709: Pulling fs layer 09:22:23 39a5fcdaea64: Pulling fs layer 09:22:23 d94ebbe4e438: Pulling fs layer 09:22:23 370296b7ddb6: Waiting 09:22:23 7c6cee850709: Waiting 09:22:23 d94ebbe4e438: Waiting 09:22:23 39a5fcdaea64: Waiting 09:22:23 bcfd1f05c69d: Pulling fs layer 09:22:23 59ccb84bbe0f: Pulling fs layer 09:22:23 59ccb84bbe0f: Waiting 09:22:23 bcfd1f05c69d: Waiting 09:22:23 30c4a7721957: Verifying Checksum 09:22:23 30c4a7721957: Download complete 09:22:23 ea60b727a1ce: Verifying Checksum 09:22:23 ea60b727a1ce: Download complete 09:22:23 7c6cee850709: Verifying Checksum 09:22:23 7c6cee850709: Download complete 09:22:23 39a5fcdaea64: Download complete 09:22:23 2408cc74d12b: Verifying Checksum 09:22:23 2408cc74d12b: Download complete 09:22:23 d94ebbe4e438: Verifying Checksum 09:22:23 d94ebbe4e438: Download complete 09:22:23 2408cc74d12b: Pull complete 09:22:23 ea60b727a1ce: Pull complete 09:22:23 30c4a7721957: Pull complete 09:22:23 59ccb84bbe0f: Verifying Checksum 09:22:23 59ccb84bbe0f: Download complete 09:22:23 bcfd1f05c69d: Verifying Checksum 09:22:23 bcfd1f05c69d: Download complete 09:22:23 370296b7ddb6: Verifying Checksum 09:22:23 370296b7ddb6: Download complete 09:22:28 370296b7ddb6: Pull complete 09:22:28 7c6cee850709: Pull complete 09:22:28 39a5fcdaea64: Pull complete 09:22:28 d94ebbe4e438: Pull complete 09:22:30 bcfd1f05c69d: Pull complete 09:22:30 59ccb84bbe0f: Pull complete 09:22:30 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 09:22:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:22:30 ---> a4fb48ad2a94 09:22:30 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:22:35 ---> Running in 10a2e39dca9d 09:22:35 Removing intermediate container 10a2e39dca9d 09:22:35 ---> 0c9b337d2b75 09:22:35 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 09:22:35 ---> Running in 70fe1d47e62a 09:22:35 Removing intermediate container 70fe1d47e62a 09:22:35 ---> 9a10c99fd144 09:22:35 Step 5/13 : ARG ADD_BUILD_TAGS="" 09:22:35 ---> Running in affa56cda6d2 09:22:35 Removing intermediate container affa56cda6d2 09:22:35 ---> bb97ed3aaa3f 09:22:35 Step 6/13 : WORKDIR /device-virtual-go 09:22:35 ---> Running in 5bb19427fef5 09:22:35 Removing intermediate container 5bb19427fef5 09:22:35 ---> fb5cb1c3712b 09:22:35 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:35 ---> Running in bfd9920f1916 09:22:36 Still waiting to schedule task 09:22:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:22:36 Removing intermediate container bfd9920f1916 09:22:36 ---> 242e10aef50c 09:22:36 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:22:36 ---> Running in 19cc01f15302 09:22:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:22:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:22:38 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:22:38 (2/4) Installing libedit (20210910.3.1-r0) 09:22:38 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:22:38 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:22:38 Executing busybox-1.35.0-r13.trigger 09:22:38 OK: 216 MiB in 55 packages 09:22:38 Removing intermediate container 19cc01f15302 09:22:38 ---> b9ad8adef077 09:22:38 Step 9/13 : COPY go.mod vendor* ./ 09:22:38 ---> 19f537290a1a 09:22:38 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:22:38 ---> Running in 522054edc17a 09:23:05 Removing intermediate container 522054edc17a 09:23:05 ---> 906dbd6fb102 09:23:05 Step 11/13 : COPY . . 09:23:05 ---> 18a17710dcbe 09:23:05 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:23:05 ---> Running in cd53a00f6fe1 09:23:05 Removing intermediate container cd53a00f6fe1 09:23:05 ---> 8d49f2589e13 09:23:05 Step 13/13 : RUN $MAKE 09:23:05 ---> Running in 7a7a4d931a83 09:23:06 noop 09:23:06 Removing intermediate container 7a7a4d931a83 09:23:06 ---> 07d22a5f76f4 09:23:06 Successfully built 07d22a5f76f4 09:23:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:06 + docker inspect -f . ci-base-image-x86_64 09:23:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:06 prd-ubuntu20.04-docker-8c-8g-1332 does not seem to be running inside a container 09:23:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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 09:23:07 $ docker top 7abef22dc76ae1c3cfc4103ea3f2b86d7b4ca0df75850fd1de76ab005d038542 -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:07 + go version 09:23:07 go version go1.18.3 linux/amd64 [Pipeline] } 09:23:07 $ docker stop --time=1 7abef22dc76ae1c3cfc4103ea3f2b86d7b4ca0df75850fd1de76ab005d038542 09:23:08 $ docker rm -f 7abef22dc76ae1c3cfc4103ea3f2b86d7b4ca0df75850fd1de76ab005d038542 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:09 + docker inspect -f . ci-base-image-x86_64 09:23:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:09 prd-ubuntu20.04-docker-8c-8g-1332 does not seem to be running inside a container 09:23:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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 09:23:09 $ docker top d8e59aee9eb1377f282f3f310184474c196097ba4e30ed116217b37144d55d11 -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:10 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 09:23:10 + make test 09:23:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:23:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:23:20 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:23:20 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 09:23:27 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." 09:23:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:23:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:23:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:23:29 ./bin/test-attribution-txt.sh 09:23:29 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 09:23:29 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 09:23:29 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 09:23:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:23:29 $ docker stop --time=1 d8e59aee9eb1377f282f3f310184474c196097ba4e30ed116217b37144d55d11 09:23:33 $ docker rm -f d8e59aee9eb1377f282f3f310184474c196097ba4e30ed116217b37144d55d11 [Pipeline] // withDockerContainer [Pipeline] sh 09:23:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:23:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:23:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:23:34 + ls -al . 09:23:34 total 196 09:23:34 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 09:23 . 09:23:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 09:21 .. 09:23:34 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 09:23 .git 09:23:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:22 .github 09:23:34 -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 09:22 .gitignore 09:23:34 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 09:22 .golangci.yml 09:23:34 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 09:22 .semver 09:23:34 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 27 09:22 Attribution.txt 09:23:34 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 27 09:22 CHANGELOG.md 09:23:34 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 27 09:22 Dockerfile 09:23:34 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 09:22 GOVERNANCE.md 09:23:34 -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 09:22 Jenkinsfile 09:23:34 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 09:22 LICENSE 09:23:34 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 27 09:22 Makefile 09:23:34 -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 09:22 OWNERS.md 09:23:34 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 27 09:22 README.md 09:23:34 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 09:22 VERSION 09:23:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 09:22 bin 09:23:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:22 cmd 09:23:34 -rw-r--r-- 1 jenkins jenkins 44128 Sep 27 09:23 coverage.out 09:23:34 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 27 09:22 go.mod 09:23:34 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 27 09:22 go.sum 09:23:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:22 internal 09:23:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 09:22 snap 09:23:34 -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 09:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:34 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=058be3283080a1c8583c0889253315c1374bf37e --label arch=amd64 --label version=2.3.0-dev.18 . 09:23:34 Sending build context to Docker daemon 23.19MB 09:23:34 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 09:23:34 Step 2/27 : FROM ${BASE} AS builder 09:23:34 ---> 07d22a5f76f4 09:23:34 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:23:35 ---> Running in 92d15f330551 09:23:35 Removing intermediate container 92d15f330551 09:23:35 ---> a95762a0f2df 09:23:35 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:23:35 ---> Running in 8cb77a26c69b 09:23:35 Removing intermediate container 8cb77a26c69b 09:23:35 ---> ce95eaf54a80 09:23:35 Step 5/27 : ARG ADD_BUILD_TAGS="" 09:23:35 ---> Running in 14e6fd99f135 09:23:35 Removing intermediate container 14e6fd99f135 09:23:35 ---> 2f6c0fc3773d 09:23:35 Step 6/27 : WORKDIR /device-virtual-go 09:23:35 ---> Running in e43750be1975 09:23:35 Removing intermediate container e43750be1975 09:23:35 ---> 588f904528dd 09:23:35 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:23:35 ---> Running in 13caaec0e7df 09:23:36 Removing intermediate container 13caaec0e7df 09:23:36 ---> 64860d6b2a35 09:23:36 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:23:36 ---> Running in 6b5cc9f9e45c 09:23:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:23:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:23:37 OK: 216 MiB in 55 packages 09:23:38 Removing intermediate container 6b5cc9f9e45c 09:23:38 ---> 625b560a7b2c 09:23:38 Step 9/27 : COPY go.mod vendor* ./ 09:23:38 ---> d32c608d48ab 09:23:38 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:23:38 ---> Running in f863696c0814 09:23:39 Removing intermediate container f863696c0814 09:23:39 ---> b3c24e6ecee7 09:23:39 Step 11/27 : COPY . . 09:23:39 ---> 56e4295ac45b 09:23:39 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:23:39 ---> Running in cef4684e2b88 09:23:39 Removing intermediate container cef4684e2b88 09:23:39 ---> c7c63a601e5b 09:23:39 Step 13/27 : RUN $MAKE 09:23:39 ---> Running in 27ca132139b5 09:23:40 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 09:24:02 Removing intermediate container 27ca132139b5 09:24:02 ---> 296315ab85c9 09:24:02 Step 14/27 : FROM alpine:3.16 09:24:02 3.16: Pulling from library/alpine 09:24:02 213ec9aee27d: Pulling fs layer 09:24:02 213ec9aee27d: Verifying Checksum 09:24:02 213ec9aee27d: Download complete 09:24:02 213ec9aee27d: Pull complete 09:24:02 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:24:02 Status: Downloaded newer image for alpine:3.16 09:24:02 ---> 9c6f07244728 09:24:02 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:24:03 ---> Running in c8a18b16cf5d 09:24:03 Removing intermediate container c8a18b16cf5d 09:24:03 ---> 089e4af358b3 09:24:03 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:24:03 ---> Running in 335541a51f54 09:24:04 Removing intermediate container 335541a51f54 09:24:04 ---> 3ca453c29e5f 09:24:04 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 09:24:04 ---> Running in d0076358f06d 09:24:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:24:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1333 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { 09:24:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [Pipeline] ws 09:24:05 Running in /w/workspace/device-virtual-go/54 [Pipeline] { [Pipeline] checkout 09:24:05 The recommended git tool is: git 09:24:05 (1/6) Installing dumb-init (1.2.5-r1) 09:24:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:24:06 (3/6) Installing libsodium (1.0.18-r0) 09:24:06 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:24:06 (5/6) Installing libzmq (4.3.4-r0) 09:24:06 (6/6) Installing zeromq (4.3.4-r0) 09:24:06 Executing busybox-1.35.0-r17.trigger 09:24:06 OK: 8 MiB in 20 packages 09:24:06 Removing intermediate container d0076358f06d 09:24:06 ---> 1f85352869fd 09:24:06 Step 18/27 : WORKDIR / 09:24:06 ---> Running in 054982bff12d 09:24:06 Removing intermediate container 054982bff12d 09:24:06 ---> 05dc31eeb968 09:24:06 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:24:07 ---> 14d70bef016c 09:24:07 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 09:24:07 ---> 0157af210bca 09:24:07 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 09:24:08 ---> b89935a8cc3d 09:24:08 Step 22/27 : EXPOSE 59900 09:24:08 ---> Running in 5c29b86bc0c4 09:24:08 Removing intermediate container 5c29b86bc0c4 09:24:08 ---> c643c61c3f31 09:24:08 Step 23/27 : ENTRYPOINT ["/device-virtual"] 09:24:08 ---> Running in 5eb4d7743bc2 09:24:08 Removing intermediate container 5eb4d7743bc2 09:24:08 ---> a8fcd4c1dd4b 09:24:08 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:24:08 ---> Running in 3f4cdf8396e4 09:24:08 Removing intermediate container 3f4cdf8396e4 09:24:08 ---> 7897a1e11ecc 09:24:08 Step 25/27 : LABEL arch=amd64 09:24:08 ---> Running in f8a4661391b4 09:24:08 Removing intermediate container f8a4661391b4 09:24:08 ---> 539cc3a341de 09:24:08 Step 26/27 : LABEL git_sha=058be3283080a1c8583c0889253315c1374bf37e 09:24:08 ---> Running in a886c067df1c 09:24:08 Removing intermediate container a886c067df1c 09:24:08 ---> d2ae8086a016 09:24:08 Step 27/27 : LABEL version=2.3.0-dev.18 09:24:08 ---> Running in bf5d5b2e2573 09:24:08 Removing intermediate container bf5d5b2e2573 09:24:08 ---> 9e288701ce25 09:24:08 [Warning] One or more build-args [ARCH] were not consumed 09:24:08 Successfully built 9e288701ce25 09:24:08 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:24:09 provisioning config files... 09:24:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13892838107805882978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:09 ---> docker-login.sh 09:24:09 nexus3.edgexfoundry.org:10001 09:24:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:09 Configure a credential helper to remove this warning. See 09:24:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:09 09:24:09 Login Succeeded 09:24:09 nexus3.edgexfoundry.org:10002 09:24:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:09 Configure a credential helper to remove this warning. See 09:24:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:09 09:24:09 Login Succeeded 09:24:09 nexus3.edgexfoundry.org:10003 09:24:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:09 Configure a credential helper to remove this warning. See 09:24:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:09 09:24:09 Login Succeeded 09:24:09 nexus3.edgexfoundry.org:10004 09:24:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:09 Configure a credential helper to remove this warning. See 09:24:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:09 09:24:09 Login Succeeded 09:24:09 docker.io 09:24:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:10 Configure a credential helper to remove this warning. See 09:24:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:10 09:24:10 Login Succeeded 09:24:10 ---> docker-login.sh ends [Pipeline] } 09:24:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:24:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:24:10 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 09:24:10 058be3283080a1c8583c0889253315c1374bf37e 09:24:10 latest 09:24:10 2.3.0-dev.18 09:24:10 058be3283080a1c8583c0889253315c1374bf37e-2.3.0-dev.18 09:24:10 main 09:24:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:10 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:058be3283080a1c8583c0889253315c1374bf37e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:10 using credential edgex-jenkins-ssh 09:24:10 Cloning the remote Git repository 09:24:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual:058be3283080a1c8583c0889253315c1374bf37e 09:24:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 09:24:10 ee01a89d7a12: Preparing 09:24:10 dc4c70fe633f: Preparing 09:24:10 88659e4532fb: Preparing 09:24:10 891c94205063: Preparing 09:24:10 ba41f725dbe6: Preparing 09:24:10 994393dc58e7: Preparing 09:24:10 994393dc58e7: Waiting 09:24:10 ba41f725dbe6: Pushed 09:24:10 dc4c70fe633f: Pushed 09:24:10 88659e4532fb: Pushed 09:24:10 994393dc58e7: Layer already exists 09:24:11 891c94205063: Pushed 09:24:10 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:24:10 > git init /w/workspace/device-virtual-go/54 # timeout=10 09:24:10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:24:10 > git --version # timeout=10 09:24:10 > git --version # 'git version 2.25.1' 09:24:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:24:10 Verifying host key using known hosts file 09:24:11 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. 09:24:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:24:13 ee01a89d7a12: Pushed 09:24:13 058be3283080a1c8583c0889253315c1374bf37e: digest: sha256:244bb4f1186cb21f8f93812d64d5f9411924b8eba7344780a3c2501074792ab8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:13 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:14 Avoid second fetch 09:24:14 Checking out Revision 058be3283080a1c8583c0889253315c1374bf37e (main) 09:24:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 09:24:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 09:24:14 ee01a89d7a12: Preparing 09:24:14 dc4c70fe633f: Preparing 09:24:14 88659e4532fb: Preparing 09:24:14 891c94205063: Preparing 09:24:14 ba41f725dbe6: Preparing 09:24:14 994393dc58e7: Preparing 09:24:14 994393dc58e7: Waiting 09:24:14 ba41f725dbe6: Layer already exists 09:24:14 dc4c70fe633f: Layer already exists 09:24:14 88659e4532fb: Layer already exists 09:24:14 ee01a89d7a12: Layer already exists 09:24:14 891c94205063: Layer already exists 09:24:14 994393dc58e7: Layer already exists 09:24:14 latest: digest: sha256:244bb4f1186cb21f8f93812d64d5f9411924b8eba7344780a3c2501074792ab8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:13 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:24:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:24:14 > git config core.sparsecheckout # timeout=10 09:24:14 > git checkout -f 058be3283080a1c8583c0889253315c1374bf37e # timeout=10 09:24:14 Commit message: "Merge pull request #308 from hahattan/issue-307" 09:24:14 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.18 09:24:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 09:24:14 ee01a89d7a12: Preparing 09:24:14 dc4c70fe633f: Preparing 09:24:14 88659e4532fb: Preparing 09:24:14 891c94205063: Preparing 09:24:14 ba41f725dbe6: Preparing 09:24:14 994393dc58e7: Preparing 09:24:14 994393dc58e7: Waiting 09:24:14 88659e4532fb: Layer already exists 09:24:14 ba41f725dbe6: Layer already exists 09:24:14 dc4c70fe633f: Layer already exists 09:24:14 891c94205063: Layer already exists 09:24:14 ee01a89d7a12: Layer already exists 09:24:14 994393dc58e7: Layer already exists 09:24:14 2.3.0-dev.18: digest: sha256:244bb4f1186cb21f8f93812d64d5f9411924b8eba7344780a3c2501074792ab8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:24:15 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:058be3283080a1c8583c0889253315c1374bf37e-2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:24:15 % Total % Received % Xferd Average Speed Time Time Time Current 09:24:15 Dload Upload Total Spent Left Speed 09:24:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 89375 0 --:--:-- --:--:-- --:--:-- 89375 09:24:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual:058be3283080a1c8583c0889253315c1374bf37e-2.3.0-dev.18 09:24:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 09:24:15 ee01a89d7a12: Preparing 09:24:15 dc4c70fe633f: Preparing 09:24:15 88659e4532fb: Preparing 09:24:15 891c94205063: Preparing 09:24:15 ba41f725dbe6: Preparing 09:24:15 994393dc58e7: Preparing 09:24:15 994393dc58e7: Waiting 09:24:15 891c94205063: Layer already exists 09:24:15 dc4c70fe633f: Layer already exists 09:24:15 ba41f725dbe6: Layer already exists 09:24:15 88659e4532fb: Layer already exists 09:24:15 ee01a89d7a12: Layer already exists 09:24:15 994393dc58e7: Layer already exists 09:24:15 058be3283080a1c8583c0889253315c1374bf37e-2.3.0-dev.18: digest: sha256:244bb4f1186cb21f8f93812d64d5f9411924b8eba7344780a3c2501074792ab8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 09:24:15 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:24:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 09:24:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 09:24:16 ee01a89d7a12: Preparing 09:24:16 dc4c70fe633f: Preparing 09:24:16 88659e4532fb: Preparing 09:24:16 891c94205063: Preparing 09:24:16 ba41f725dbe6: Preparing 09:24:16 994393dc58e7: Preparing 09:24:16 994393dc58e7: Waiting 09:24:16 ba41f725dbe6: Layer already exists 09:24:16 891c94205063: Layer already exists 09:24:16 ee01a89d7a12: Layer already exists 09:24:16 88659e4532fb: Layer already exists 09:24:16 dc4c70fe633f: Layer already exists 09:24:16 994393dc58e7: Layer already exists 09:24:16 main: digest: sha256:244bb4f1186cb21f8f93812d64d5f9411924b8eba7344780a3c2501074792ab8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:24:16 ===================================================== [Pipeline] echo 09:24:16 taggedImages: 09:24:16 - nexus3.edgexfoundry.org:10004/device-virtual:058be3283080a1c8583c0889253315c1374bf37e 09:24:16 - nexus3.edgexfoundry.org:10004/device-virtual:latest 09:24:16 - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.18 09:24:16 - nexus3.edgexfoundry.org:10004/device-virtual:058be3283080a1c8583c0889253315c1374bf37e-2.3.0-dev.18 09:24:16 - nexus3.edgexfoundry.org:10004/device-virtual: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 09:24:16 + sudo tee /etc/docker/daemon.new 09:24:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:24:16 { 09:24:16 "registry-mirrors": [ 09:24:16 "https://nexus3.edgexfoundry.org:10001" 09:24:16 ], 09:24:16 "bip": "10.250.0.254/24", 09:24:16 "hosts": [ 09:24:16 "tcp://0.0.0.0:5555", 09:24:16 "unix:///var/run/docker.sock" 09:24:16 ], 09:24:16 "mtu": 1458, 09:24:16 "selinux-enabled": true, 09:24:16 "seccomp-profile": "/etc/docker/seccomp.json" 09:24:16 } [Pipeline] sh 09:24:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:24:16 09:24:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:24:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:24:16 latest: Pulling from edgex-lftools-log-publisher 09:24:16 5eb5b503b376: Pulling fs layer 09:24:16 5c69ac0246d0: Pulling fs layer 09:24:16 ec43610c2a17: Pulling fs layer 09:24:16 3a2ae6a8a46f: Pulling fs layer 09:24:16 33b1e0a273af: Pulling fs layer 09:24:16 5d3b04190fa2: Pulling fs layer 09:24:16 2f39f015ded8: Pulling fs layer 09:24:16 2f39f015ded8: Waiting 09:24:16 5c69ac0246d0: Verifying Checksum 09:24:16 5c69ac0246d0: Download complete 09:24:16 3a2ae6a8a46f: Verifying Checksum 09:24:16 3a2ae6a8a46f: Download complete 09:24:17 + sudo service docker restart 09:24:17 33b1e0a273af: Verifying Checksum 09:24:17 33b1e0a273af: Download complete 09:24:17 5d3b04190fa2: Verifying Checksum 09:24:17 5d3b04190fa2: Download complete 09:24:17 ec43610c2a17: Verifying Checksum 09:24:17 5eb5b503b376: Verifying Checksum 09:24:17 5eb5b503b376: Download complete 09:24:17 2f39f015ded8: Download complete 09:24:18 5eb5b503b376: Pull complete 09:24:18 5c69ac0246d0: Pull complete 09:24:18 ec43610c2a17: Pull complete 09:24:18 3a2ae6a8a46f: Pull complete 09:24:19 33b1e0a273af: Pull complete 09:24:19 5d3b04190fa2: Pull complete 09:24:23 2f39f015ded8: Pull complete 09:24:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:24:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:24:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:23 prd-ubuntu20.04-docker-8c-8g-1332 does not seem to be running inside a container 09:24:23 $ 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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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 09:24:27 $ docker top d5bc66d7d39fa9c6ede559bb859b79df1371e15009ceaf672b47a98bd5483e0e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:28 ---> job-cost.sh 09:24:28 lf-activate-venv: SKIPPING 09:24:28 INFO: No Stack... 09:24:28 INFO: Retrieving Pricing Info for: v3-standard-8 09:24:29 INFO: Archiving Costs [Pipeline] sh 09:24:29 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 09:24:29 + cut -d, -f6 [Pipeline] lock 09:24:29 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-54-stack-cost] 09:24:29 Resource [jenkins-edgexfoundry-device-virtual-go-main-54-stack-cost] did not exist. Created. 09:24:29 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:24:29 + echo total: 0.2199999988079071 [Pipeline] stash 09:24:29 Stashed 1 file(s) [Pipeline] } 09:24:29 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-54-stack-cost] [Pipeline] // lock [Pipeline] } 09:24:29 $ docker stop --time=1 d5bc66d7d39fa9c6ede559bb859b79df1371e15009ceaf672b47a98bd5483e0e 09:24:30 $ docker rm -f d5bc66d7d39fa9c6ede559bb859b79df1371e15009ceaf672b47a98bd5483e0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:24:35 provisioning config files... 09:24:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/54@tmp/config12409362284818571275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:35 ---> docker-login.sh 09:24:35 nexus3.edgexfoundry.org:10001 09:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:36 Configure a credential helper to remove this warning. See 09:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:36 09:24:36 Login Succeeded 09:24:36 nexus3.edgexfoundry.org:10002 09:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:36 Configure a credential helper to remove this warning. See 09:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:36 09:24:36 Login Succeeded 09:24:36 nexus3.edgexfoundry.org:10003 09:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:37 Configure a credential helper to remove this warning. See 09:24:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:37 09:24:37 Login Succeeded 09:24:37 nexus3.edgexfoundry.org:10004 09:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:37 Configure a credential helper to remove this warning. See 09:24:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:37 09:24:37 Login Succeeded 09:24:37 docker.io 09:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:37 Configure a credential helper to remove this warning. See 09:24:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:37 09:24:37 Login Succeeded 09:24:37 ---> docker-login.sh ends [Pipeline] } 09:24:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:24:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:24:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:24:38 ========================================================= 09:24:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:24:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:38 + 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 . 09:24:38 Sending build context to Docker daemon 11.71MB 09:24:38 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:24:38 Step 2/13 : FROM ${BASE} AS builder 09:24:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:24:38 b3c136eddcbf: Pulling fs layer 09:24:38 c0a3192eca97: Pulling fs layer 09:24:38 a050256f5b6f: Pulling fs layer 09:24:38 656be50a0ddc: Pulling fs layer 09:24:38 2bbca73fdf42: Pulling fs layer 09:24:38 46d945488cbd: Pulling fs layer 09:24:38 8a5474983e97: Pulling fs layer 09:24:38 329c88fbcd65: Pulling fs layer 09:24:38 46d945488cbd: Waiting 09:24:38 8a5474983e97: Waiting 09:24:38 656be50a0ddc: Waiting 09:24:38 329c88fbcd65: Waiting 09:24:38 2bbca73fdf42: Waiting 09:24:38 a050256f5b6f: Download complete 09:24:38 c0a3192eca97: Verifying Checksum 09:24:38 c0a3192eca97: Download complete 09:24:38 2bbca73fdf42: Verifying Checksum 09:24:38 2bbca73fdf42: Download complete 09:24:38 46d945488cbd: Verifying Checksum 09:24:38 46d945488cbd: Download complete 09:24:38 b3c136eddcbf: Verifying Checksum 09:24:38 b3c136eddcbf: Download complete 09:24:39 b3c136eddcbf: Pull complete 09:24:40 329c88fbcd65: Verifying Checksum 09:24:40 329c88fbcd65: Download complete 09:24:40 c0a3192eca97: Pull complete 09:24:40 a050256f5b6f: Pull complete 09:24:41 8a5474983e97: Verifying Checksum 09:24:41 8a5474983e97: Download complete 09:24:41 656be50a0ddc: Verifying Checksum 09:24:41 656be50a0ddc: Download complete 09:24:54 656be50a0ddc: Pull complete 09:24:54 2bbca73fdf42: Pull complete 09:24:54 46d945488cbd: Pull complete 09:25:00 8a5474983e97: Pull complete 09:25:02 329c88fbcd65: Pull complete 09:25:02 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 09:25:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:25:02 ---> ff4287adb874 09:25:02 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:25:04 ---> Running in 143690ffaaa1 09:25:04 Removing intermediate container 143690ffaaa1 09:25:04 ---> 1df4bda7a752 09:25:04 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 09:25:04 ---> Running in 5f8f7e7a62f8 09:25:04 Removing intermediate container 5f8f7e7a62f8 09:25:04 ---> 07e5e92d34fe 09:25:04 Step 5/13 : ARG ADD_BUILD_TAGS="" 09:25:04 ---> Running in 5c72e50fb603 09:25:04 Removing intermediate container 5c72e50fb603 09:25:04 ---> bc50ee9fc5ab 09:25:04 Step 6/13 : WORKDIR /device-virtual-go 09:25:05 ---> Running in 77431bb99762 09:25:05 Removing intermediate container 77431bb99762 09:25:05 ---> e3c0cce4bbcd 09:25:05 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:25:05 ---> Running in 1c0c9b0b4555 09:25:07 Removing intermediate container 1c0c9b0b4555 09:25:07 ---> e5bd1e626a76 09:25:07 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:25:07 ---> Running in 54d94ce838c3 09:25:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:25:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:25:09 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:25:09 (2/4) Installing libedit (20210910.3.1-r0) 09:25:10 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:25:10 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:25:10 Executing busybox-1.35.0-r13.trigger 09:25:10 OK: 226 MiB in 55 packages 09:25:11 Removing intermediate container 54d94ce838c3 09:25:11 ---> 41cd2336bbbf 09:25:11 Step 9/13 : COPY go.mod vendor* ./ 09:25:12 ---> d6709907d484 09:25:12 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:25:12 ---> Running in 1cbc1b0520e7 09:25:58 Removing intermediate container 1cbc1b0520e7 09:25:58 ---> cd58aae83b61 09:25:58 Step 11/13 : COPY . . 09:25:59 ---> 768cf5ba4616 09:25:59 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:25:59 ---> Running in 8506e8f7848e 09:25:59 Removing intermediate container 8506e8f7848e 09:25:59 ---> 2a03a0e0dc7e 09:25:59 Step 13/13 : RUN $MAKE 09:25:59 ---> Running in 73be2d8c98a3 09:26:00 noop 09:26:00 Removing intermediate container 73be2d8c98a3 09:26:00 ---> 508fcacac760 09:26:00 Successfully built 508fcacac760 09:26:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:01 + docker inspect -f . ci-base-image-arm64 09:26:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:01 prd-ubuntu20.04-docker-arm64-4c-16g-1333 does not seem to be running inside a container 09:26:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/54 -v /w/workspace/device-virtual-go/54:/w/workspace/device-virtual-go/54:rw,z -v /w/workspace/device-virtual-go/54@tmp:/w/workspace/device-virtual-go/54@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 09:26:02 $ docker top 448d2913d44fe70072749272608bac80fcea9eb854e9f646e746bc022f85686d -eo pid,comm [Pipeline] { [Pipeline] sh 09:26:03 + go version 09:26:03 go version go1.18.3 linux/arm64 [Pipeline] } 09:26:03 $ docker stop --time=1 448d2913d44fe70072749272608bac80fcea9eb854e9f646e746bc022f85686d 09:26:05 $ docker rm -f 448d2913d44fe70072749272608bac80fcea9eb854e9f646e746bc022f85686d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:05 + docker inspect -f . ci-base-image-arm64 09:26:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:05 prd-ubuntu20.04-docker-arm64-4c-16g-1333 does not seem to be running inside a container 09:26:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/54 -v /w/workspace/device-virtual-go/54:/w/workspace/device-virtual-go/54:rw,z -v /w/workspace/device-virtual-go/54@tmp:/w/workspace/device-virtual-go/54@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 09:26:07 $ docker top b1dd3ce19e7dd3ce308df55e3a9fc1788df8071ea8eecb88ccdf1b653df978dd -eo pid,comm [Pipeline] { [Pipeline] sh 09:26:07 + git config --global --add safe.directory /w/workspace/device-virtual-go/54 [Pipeline] fileExists [Pipeline] sh 09:26:08 + make test 09:26:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:26:09 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:27:31 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:27:31 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.128s coverage: 65.7% of statements 09:27:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:27:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:27:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:27:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:27:53 ./bin/test-attribution-txt.sh 09:27:53 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 09:27:53 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 09:27:53 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 09:27:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:27:53 $ docker stop --time=1 b1dd3ce19e7dd3ce308df55e3a9fc1788df8071ea8eecb88ccdf1b653df978dd 09:27:55 $ docker rm -f b1dd3ce19e7dd3ce308df55e3a9fc1788df8071ea8eecb88ccdf1b653df978dd [Pipeline] // withDockerContainer [Pipeline] sh 09:27:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:27:56 Warning: overwriting stash ‘coverage-report’ 09:27:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:27:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:27:57 + ls -al . 09:27:57 total 192 09:27:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 09:26 . 09:27:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 09:24 .. 09:27:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 09:24 .git 09:27:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:24 .github 09:27:57 -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 09:24 .gitignore 09:27:57 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 09:24 .golangci.yml 09:27:57 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 27 09:24 Attribution.txt 09:27:57 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 27 09:24 CHANGELOG.md 09:27:57 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 27 09:24 Dockerfile 09:27:57 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 09:24 GOVERNANCE.md 09:27:57 -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 09:24 Jenkinsfile 09:27:57 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 09:24 LICENSE 09:27:57 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 27 09:24 Makefile 09:27:57 -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 09:24 OWNERS.md 09:27:57 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 27 09:24 README.md 09:27:57 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 09:22 VERSION 09:27:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 09:24 bin 09:27:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:24 cmd 09:27:57 -rw-r--r-- 1 jenkins jenkins 44128 Sep 27 09:27 coverage.out 09:27:57 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 27 09:24 go.mod 09:27:57 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 27 09:24 go.sum 09:27:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:24 internal 09:27:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 09:24 snap 09:27:57 -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 09:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:57 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=058be3283080a1c8583c0889253315c1374bf37e --label arch=arm64 --label version=2.3.0-dev.18 . 09:27:57 Sending build context to Docker daemon 11.75MB 09:27:57 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 09:27:57 Step 2/27 : FROM ${BASE} AS builder 09:27:57 ---> 508fcacac760 09:27:57 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:27:58 ---> Running in c1bb3c343e6c 09:27:58 Removing intermediate container c1bb3c343e6c 09:27:58 ---> bf57e6a0d548 09:27:58 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:27:58 ---> Running in 8f6723fe5a79 09:27:58 Removing intermediate container 8f6723fe5a79 09:27:58 ---> bb449e41d481 09:27:58 Step 5/27 : ARG ADD_BUILD_TAGS="" 09:27:58 ---> Running in 42f909d8ab69 09:27:58 Removing intermediate container 42f909d8ab69 09:27:58 ---> 7c67bdbeb814 09:27:58 Step 6/27 : WORKDIR /device-virtual-go 09:27:58 ---> Running in 826acb7107be 09:27:59 Removing intermediate container 826acb7107be 09:27:59 ---> acd758d97311 09:27:59 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:27:59 ---> Running in 112f206be536 09:28:00 Removing intermediate container 112f206be536 09:28:00 ---> eeccc3d72f13 09:28:00 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:28:00 ---> Running in 19413d928791 09:28:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:28:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:28:03 OK: 226 MiB in 55 packages 09:28:04 Removing intermediate container 19413d928791 09:28:04 ---> 4c1e26548657 09:28:04 Step 9/27 : COPY go.mod vendor* ./ 09:28:04 ---> d85e4cd7e2eb 09:28:04 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:28:04 ---> Running in e0096fd06f18 09:28:06 Removing intermediate container e0096fd06f18 09:28:06 ---> a93fb49fbb8f 09:28:06 Step 11/27 : COPY . . 09:28:07 ---> 9a09d985350c 09:28:07 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:28:07 ---> Running in a5c7469a359f 09:28:07 Removing intermediate container a5c7469a359f 09:28:07 ---> 318d7b32f552 09:28:07 Step 13/27 : RUN $MAKE 09:28:08 ---> Running in 8c3d21df6a50 09:28:09 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 09:30:45 Removing intermediate container 8c3d21df6a50 09:30:45 ---> 4696d6c0eae1 09:30:45 Step 14/27 : FROM alpine:3.16 09:30:45 3.16: Pulling from library/alpine 09:30:45 9b18e9b68314: Pulling fs layer 09:30:45 9b18e9b68314: Verifying Checksum 09:30:45 9b18e9b68314: Download complete 09:30:45 9b18e9b68314: Pull complete 09:30:45 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:30:45 Status: Downloaded newer image for alpine:3.16 09:30:45 ---> a6215f271958 09:30:45 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:30:45 ---> Running in 4c6532073de1 09:30:45 Removing intermediate container 4c6532073de1 09:30:45 ---> 07e3ae739ea1 09:30:45 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:30:45 ---> Running in d760bdd02e2e 09:30:45 Removing intermediate container d760bdd02e2e 09:30:45 ---> 97aa3e4658f5 09:30:45 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 09:30:45 ---> Running in a97cba2eea30 09:30:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:30:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:30:47 (1/6) Installing dumb-init (1.2.5-r1) 09:30:47 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:30:47 (3/6) Installing libsodium (1.0.18-r0) 09:30:47 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:30:47 (5/6) Installing libzmq (4.3.4-r0) 09:30:47 (6/6) Installing zeromq (4.3.4-r0) 09:30:47 Executing busybox-1.35.0-r17.trigger 09:30:48 OK: 8 MiB in 20 packages 09:30:49 Removing intermediate container a97cba2eea30 09:30:49 ---> efc773767b6e 09:30:49 Step 18/27 : WORKDIR / 09:30:49 ---> Running in ed8fd0f766b9 09:30:49 Removing intermediate container ed8fd0f766b9 09:30:49 ---> 61e69d310d59 09:30:49 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:30:49 ---> 74b390607e82 09:30:49 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 09:30:50 ---> f41aaf665388 09:30:50 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 09:30:52 ---> 26046788da26 09:30:52 Step 22/27 : EXPOSE 59900 09:30:52 ---> Running in 0270a2d7dbbf 09:30:52 Removing intermediate container 0270a2d7dbbf 09:30:52 ---> 6b0e9f598e0d 09:30:52 Step 23/27 : ENTRYPOINT ["/device-virtual"] 09:30:52 ---> Running in 0e850d110b16 09:30:52 Removing intermediate container 0e850d110b16 09:30:52 ---> 2150b2c7ef5c 09:30:52 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:30:52 ---> Running in 368eddb9a6e3 09:30:52 Removing intermediate container 368eddb9a6e3 09:30:52 ---> 88bd9b51ab84 09:30:52 Step 25/27 : LABEL arch=arm64 09:30:53 ---> Running in e5e07699fade 09:30:53 Removing intermediate container e5e07699fade 09:30:53 ---> e4af206e4db1 09:30:53 Step 26/27 : LABEL git_sha=058be3283080a1c8583c0889253315c1374bf37e 09:30:53 ---> Running in 6a0c32349610 09:30:53 Removing intermediate container 6a0c32349610 09:30:53 ---> 1652c80cd922 09:30:53 Step 27/27 : LABEL version=2.3.0-dev.18 09:30:53 ---> Running in 734382c7d13e 09:30:54 Removing intermediate container 734382c7d13e 09:30:54 ---> f713d1a7d116 09:30:54 [Warning] One or more build-args [ARCH] were not consumed 09:30:54 Successfully built f713d1a7d116 09:30:54 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:30:54 provisioning config files... 09:30:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/54@tmp/config7257887015706237652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:30:54 ---> docker-login.sh 09:30:54 nexus3.edgexfoundry.org:10001 09:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:54 Configure a credential helper to remove this warning. See 09:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:54 09:30:54 Login Succeeded 09:30:54 nexus3.edgexfoundry.org:10002 09:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:54 Configure a credential helper to remove this warning. See 09:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:54 09:30:54 Login Succeeded 09:30:54 nexus3.edgexfoundry.org:10003 09:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:55 Configure a credential helper to remove this warning. See 09:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:55 09:30:55 Login Succeeded 09:30:55 nexus3.edgexfoundry.org:10004 09:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:55 Configure a credential helper to remove this warning. See 09:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:55 09:30:55 Login Succeeded 09:30:55 docker.io 09:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:56 Configure a credential helper to remove this warning. See 09:30:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:56 09:30:56 Login Succeeded 09:30:56 ---> docker-login.sh ends [Pipeline] } 09:30:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:30:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:30:56 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 09:30:56 058be3283080a1c8583c0889253315c1374bf37e 09:30:56 latest 09:30:56 2.3.0-dev.18 09:30:56 058be3283080a1c8583c0889253315c1374bf37e-2.3.0-dev.18 09:30:56 main 09:30:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:57 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:058be3283080a1c8583c0889253315c1374bf37e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:058be3283080a1c8583c0889253315c1374bf37e 09:30:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:30:57 3791b7ee7e17: Preparing 09:30:57 1521ee5aff6f: Preparing 09:30:57 71d2c54e1c04: Preparing 09:30:57 4e05db1576ff: Preparing 09:30:57 b2686c78eeef: Preparing 09:30:57 5d3e392a13a0: Preparing 09:30:57 5d3e392a13a0: Waiting 09:30:57 b2686c78eeef: Pushed 09:30:57 1521ee5aff6f: Pushed 09:30:57 71d2c54e1c04: Pushed 09:30:57 5d3e392a13a0: Layer already exists 09:30:58 4e05db1576ff: Pushed 09:31:03 3791b7ee7e17: Pushed 09:31:03 058be3283080a1c8583c0889253315c1374bf37e: digest: sha256:fbc63c5635cf5aa71c7e408b2151a18898101a122039bc4cc488890e4136c9ee size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:03 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:04 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 09:31:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:31:04 3791b7ee7e17: Preparing 09:31:04 1521ee5aff6f: Preparing 09:31:04 71d2c54e1c04: Preparing 09:31:04 4e05db1576ff: Preparing 09:31:04 b2686c78eeef: Preparing 09:31:04 5d3e392a13a0: Preparing 09:31:04 5d3e392a13a0: Waiting 09:31:04 3791b7ee7e17: Layer already exists 09:31:04 b2686c78eeef: Layer already exists 09:31:04 4e05db1576ff: Layer already exists 09:31:04 71d2c54e1c04: Layer already exists 09:31:04 1521ee5aff6f: Layer already exists 09:31:04 5d3e392a13a0: Layer already exists 09:31:04 latest: digest: sha256:fbc63c5635cf5aa71c7e408b2151a18898101a122039bc4cc488890e4136c9ee size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:04 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.18 09:31:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:31:05 3791b7ee7e17: Preparing 09:31:05 1521ee5aff6f: Preparing 09:31:05 71d2c54e1c04: Preparing 09:31:05 4e05db1576ff: Preparing 09:31:05 b2686c78eeef: Preparing 09:31:05 5d3e392a13a0: Preparing 09:31:05 5d3e392a13a0: Waiting 09:31:05 b2686c78eeef: Layer already exists 09:31:05 4e05db1576ff: Layer already exists 09:31:05 3791b7ee7e17: Layer already exists 09:31:05 71d2c54e1c04: Layer already exists 09:31:05 1521ee5aff6f: Layer already exists 09:31:05 5d3e392a13a0: Layer already exists 09:31:05 2.3.0-dev.18: digest: sha256:fbc63c5635cf5aa71c7e408b2151a18898101a122039bc4cc488890e4136c9ee size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:05 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:058be3283080a1c8583c0889253315c1374bf37e-2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:058be3283080a1c8583c0889253315c1374bf37e-2.3.0-dev.18 09:31:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:31:05 3791b7ee7e17: Preparing 09:31:05 1521ee5aff6f: Preparing 09:31:05 71d2c54e1c04: Preparing 09:31:05 4e05db1576ff: Preparing 09:31:05 b2686c78eeef: Preparing 09:31:05 5d3e392a13a0: Preparing 09:31:05 5d3e392a13a0: Waiting 09:31:05 b2686c78eeef: Layer already exists 09:31:05 71d2c54e1c04: Layer already exists 09:31:05 1521ee5aff6f: Layer already exists 09:31:05 3791b7ee7e17: Layer already exists 09:31:05 4e05db1576ff: Layer already exists 09:31:05 5d3e392a13a0: Layer already exists 09:31:06 058be3283080a1c8583c0889253315c1374bf37e-2.3.0-dev.18: digest: sha256:fbc63c5635cf5aa71c7e408b2151a18898101a122039bc4cc488890e4136c9ee size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:06 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:06 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 09:31:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:31:06 3791b7ee7e17: Preparing 09:31:06 1521ee5aff6f: Preparing 09:31:06 71d2c54e1c04: Preparing 09:31:06 4e05db1576ff: Preparing 09:31:06 b2686c78eeef: Preparing 09:31:06 5d3e392a13a0: Preparing 09:31:06 5d3e392a13a0: Waiting 09:31:06 b2686c78eeef: Layer already exists 09:31:06 4e05db1576ff: Layer already exists 09:31:06 1521ee5aff6f: Layer already exists 09:31:06 3791b7ee7e17: Layer already exists 09:31:06 71d2c54e1c04: Layer already exists 09:31:06 5d3e392a13a0: Layer already exists 09:31:07 main: digest: sha256:fbc63c5635cf5aa71c7e408b2151a18898101a122039bc4cc488890e4136c9ee size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:31:07 ===================================================== [Pipeline] echo 09:31:07 taggedImages: 09:31:07 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:058be3283080a1c8583c0889253315c1374bf37e 09:31:07 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 09:31:07 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.18 09:31:07 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:058be3283080a1c8583c0889253315c1374bf37e-2.3.0-dev.18 09:31:07 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:07 09:31:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:07 arm64: Pulling from edgex-lftools-log-publisher 09:31:07 8998bd30e6a1: Pulling fs layer 09:31:07 04944245beec: Pulling fs layer 09:31:07 699f458cf7ca: Pulling fs layer 09:31:07 765212b225bb: Pulling fs layer 09:31:07 f23df028b6ca: Pulling fs layer 09:31:07 d65c8cfc05b1: Pulling fs layer 09:31:07 2437ff75d9bd: Pulling fs layer 09:31:07 765212b225bb: Waiting 09:31:07 f23df028b6ca: Waiting 09:31:07 d65c8cfc05b1: Waiting 09:31:07 2437ff75d9bd: Waiting 09:31:08 04944245beec: Verifying Checksum 09:31:08 04944245beec: Download complete 09:31:08 765212b225bb: Download complete 09:31:08 f23df028b6ca: Verifying Checksum 09:31:08 f23df028b6ca: Download complete 09:31:08 d65c8cfc05b1: Verifying Checksum 09:31:08 d65c8cfc05b1: Download complete 09:31:08 699f458cf7ca: Verifying Checksum 09:31:08 699f458cf7ca: Download complete 09:31:08 8998bd30e6a1: Verifying Checksum 09:31:08 8998bd30e6a1: Download complete 09:31:11 2437ff75d9bd: Verifying Checksum 09:31:11 2437ff75d9bd: Download complete 09:31:12 8998bd30e6a1: Pull complete 09:31:13 04944245beec: Pull complete 09:31:14 699f458cf7ca: Pull complete 09:31:14 765212b225bb: Pull complete 09:31:15 f23df028b6ca: Pull complete 09:31:15 d65c8cfc05b1: Pull complete 09:31:30 2437ff75d9bd: Pull complete 09:31:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:31:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:31:30 prd-ubuntu20.04-docker-arm64-4c-16g-1333 does not seem to be running inside a container 09:31:31 $ 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-virtual-go/54 -v /w/workspace/device-virtual-go/54:/w/workspace/device-virtual-go/54:rw,z -v /w/workspace/device-virtual-go/54@tmp:/w/workspace/device-virtual-go/54@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 09:31:33 $ docker top d7aa08f2e6b3ddaa020e50ff1909f721334df030921bd5f048e91f3d11aef711 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:31:34 ---> job-cost.sh 09:31:34 lf-activate-venv: SKIPPING 09:31:34 INFO: No Stack... 09:31:34 INFO: Retrieving Pricing Info for: v3-standard-4 09:31:35 INFO: Archiving Costs [Pipeline] sh 09:31:35 + cat /w/workspace/device-virtual-go/54/archives/cost.csv 09:31:35 + cut -d, -f6 [Pipeline] lock 09:31:36 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-54-stack-cost] 09:31:36 Resource [jenkins-edgexfoundry-device-virtual-go-main-54-stack-cost] did not exist. Created. 09:31:36 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:31:36 /w/workspace/device-virtual-go/54@tmp/durable-7ee5f7bb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:31:37 + echo total: 0.10999999940395355 [Pipeline] stash 09:31:37 Warning: overwriting stash ‘stack-cost’ 09:31:37 Stashed 1 file(s) [Pipeline] } 09:31:37 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-54-stack-cost] [Pipeline] // lock [Pipeline] } 09:31:37 $ docker stop --time=1 d7aa08f2e6b3ddaa020e50ff1909f721334df030921bd5f048e91f3d11aef711 09:31:38 $ docker rm -f d7aa08f2e6b3ddaa020e50ff1909f721334df030921bd5f048e91f3d11aef711 [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 09:31:39 provisioning config files... 09:31:39 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16042831350534708870tmp [Pipeline] { [Pipeline] sh 09:31:39 + set +x 09:31:39 + curl -s https://codecov.io/bash 09:31:39 + bash -s -- 09:31:39 09:31:39 _____ _ 09:31:39 / ____| | | 09:31:39 | | ___ __| | ___ ___ _____ __ 09:31:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:31:39 | |___| (_) | (_| | __/ (_| (_) \ V / 09:31:39 \_____\___/ \__,_|\___|\___\___/ \_/ 09:31:39 Bash-1.0.6 09:31:39 09:31:39 09:31:39 ==> git version 2.25.1 found 09:31:39 ==> 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 09:31:39 Release-Date: 2020-01-08 09:31:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:31:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:31:39 ==> Jenkins CI detected. 09:31:39 current dir:  /w/workspace/exfoundry_device-virtual-go_main 09:31:39 project root: . 09:31:39 --> token set from env 09:31:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:31:39 ==> Running gcov in . (disable via -X gcov) 09:31:39 ==> Python coveragepy not found 09:31:39 ==> Searching for coverage reports in: 09:31:39 + . 09:31:39 -> Found 1 reports 09:31:39 ==> Detecting git/mercurial file structure 09:31:39 ==> Reading reports 09:31:39 + ./coverage.out bytes=44128 09:31:39 ==> Appending adjustments 09:31:39 https://docs.codecov.io/docs/fixing-reports 09:31:39 + Found adjustments 09:31:39 ==> Gzipping contents 09:31:39 8.0K /tmp/codecov.N1IYhx.gz 09:31:39 ==> Uploading reports 09:31:39 url: https://codecov.io 09:31:39 query: branch=main&commit=058be3283080a1c8583c0889253315c1374bf37e&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:31:39 -> Pinging Codecov 09:31:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=058be3283080a1c8583c0889253315c1374bf37e&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:31:40 -> Uploading to 09:31:40 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/5E52B4B073DB2E39498172D8E973AA87/058be3283080a1c8583c0889253315c1374bf37e/6a0c3429-79f2-4944-ad46-bb3ed388a24b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T093139Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3206e0a798a8736df933e42aa6d934f6a2e06b78f91ee207679626f89c5f3ad 09:31:40 % Total % Received % Xferd Average Speed Time Time Time Current 09:31:40 Dload Upload Total Spent Left Speed 09:31:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5499 0 0 100 5499 0 26061 --:--:-- --:--:-- --:--:-- 26061 09:31:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/058be3283080a1c8583c0889253315c1374bf37e [Pipeline] } 09:31:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:31:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:31:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:31:40 09:31:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:31:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:31:41 df9b9388f04a: Pulling fs layer 09:31:41 52dc419b0ee2: Pulling fs layer 09:31:41 25bc292e5bac: Pulling fs layer 09:31:41 114826534d7a: Pulling fs layer 09:31:41 4657fd5d0bcf: Pulling fs layer 09:31:41 6ad1cebc031e: Pulling fs layer 09:31:41 8a3aa393b2d8: Pulling fs layer 09:31:41 6ad1cebc031e: Waiting 09:31:41 114826534d7a: Waiting 09:31:41 8a3aa393b2d8: Waiting 09:31:41 4657fd5d0bcf: Waiting 09:31:41 25bc292e5bac: Verifying Checksum 09:31:41 25bc292e5bac: Download complete 09:31:41 52dc419b0ee2: Verifying Checksum 09:31:41 52dc419b0ee2: Download complete 09:31:41 4657fd5d0bcf: Verifying Checksum 09:31:41 4657fd5d0bcf: Download complete 09:31:41 df9b9388f04a: Download complete 09:31:41 6ad1cebc031e: Verifying Checksum 09:31:41 6ad1cebc031e: Download complete 09:31:41 df9b9388f04a: Pull complete 09:31:41 52dc419b0ee2: Pull complete 09:31:41 25bc292e5bac: Pull complete 09:31:41 114826534d7a: Verifying Checksum 09:31:41 114826534d7a: Download complete 09:31:42 8a3aa393b2d8: Verifying Checksum 09:31:42 8a3aa393b2d8: Download complete 09:31:45 114826534d7a: Pull complete 09:31:45 4657fd5d0bcf: Pull complete 09:31:45 6ad1cebc031e: Pull complete 09:31:47 8a3aa393b2d8: Pull complete 09:31:47 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:31:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:31:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:31:48 prd-ubuntu20.04-docker-8c-8g-1332 does not seem to be running inside a container 09:31:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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 09:31:53 $ docker top 7b38243fd6b58d81ca363878862cfbb62ef7344723200b425f83331d6e948def -eo pid,comm [Pipeline] { [Pipeline] echo 09:31:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 09:31:54 + set -o pipefail 09:31:54 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 09:31:59 09:31:59 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 09:31:59 09:31:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/c13e9ce2-c0f2-4166-9766-dc588c7149cd 09:31:59 09:31:59 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:31:59 09:31:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:31:59 09:31:59 [Pipeline] } 09:31:59 $ docker stop --time=1 7b38243fd6b58d81ca363878862cfbb62ef7344723200b425f83331d6e948def 09:32:04 $ docker rm -f 7b38243fd6b58d81ca363878862cfbb62ef7344723200b425f83331d6e948def [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 09:32:04 + git log --format=format:%s -1 058be3283080a1c8583c0889253315c1374bf37e [Pipeline] sh 09:32:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:32:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:32:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:05 prd-ubuntu20.04-docker-8c-8g-1332 does not seem to be running inside a container 09:32:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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 09:32:05 $ docker top 38ecd2a374fc6b30c88f1bcd1b0227fa4775f8a532b9c4ae34dcf66284a50396 -eo pid,comm 09:32: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). 09:32:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:32:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:32:06 [ssh-agent] Looking for ssh-agent implementation... 09:32:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:32:06 $ docker exec 38ecd2a374fc6b30c88f1bcd1b0227fa4775f8a532b9c4ae34dcf66284a50396 ssh-agent 09:32:06 SSH_AUTH_SOCK=/tmp/ssh-gpU6B58Krngy/agent.32 09:32:06 SSH_AGENT_PID=38 09:32:06 Running ssh-add (command line suppressed) 09:32:06 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15071451580757690405.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15071451580757690405.key) 09:32:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:32:06 + git semver tag 09:32:06 2022-09-27 09:32:06,803 [run_tag] DEBUG tag force:False 09:32:06 2022-09-27 09:32:06,803 [check_head_tag] DEBUG check head tag 09:32:06 2022-09-27 09:32:06,803 [execute] INFO git cat-file --batch-check 09:32:06 2022-09-27 09:32:06,804 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 09:32:06 2022-09-27 09:32:06,807 [execute] INFO git cat-file --batch 09:32:06 2022-09-27 09:32:06,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 09:32:06 2022-09-27 09:32:06,820 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:32:06 2022-09-27 09:32:06,821 [execute] INFO git tag -a v2.3.0-dev.18 -m v2.3.0-dev.18 09:32:06 2022-09-27 09:32:06,821 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.18', '-m', 'v2.3.0-dev.18'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 09:32:06 2022-09-27 09:32:06,826 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:32:06 2.3.0-dev.18 [Pipeline] } 09:32:06 $ docker exec --env ******** --env ******** 38ecd2a374fc6b30c88f1bcd1b0227fa4775f8a532b9c4ae34dcf66284a50396 ssh-agent -k 09:32:06 unset SSH_AUTH_SOCK; 09:32:06 unset SSH_AGENT_PID; 09:32:06 echo Agent pid 38 killed; 09:32:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:32:07 + git semver [Pipeline] } 09:32:07 $ docker stop --time=1 38ecd2a374fc6b30c88f1bcd1b0227fa4775f8a532b9c4ae34dcf66284a50396 09:32:08 $ docker rm -f 38ecd2a374fc6b30c88f1bcd1b0227fa4775f8a532b9c4ae34dcf66284a50396 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:32:09 09:32:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:32:09 0.23.1-centos7: Pulling from edgex-lftools 09:32:09 ab5ef0e58194: Pulling fs layer 09:32:09 9712f1f96733: Pulling fs layer 09:32:09 63f879dbbcfc: Pulling fs layer 09:32:09 0d9ebad4ef96: Pulling fs layer 09:32:09 e9a5061849ea: Pulling fs layer 09:32:09 d747dcd14b5f: Pulling fs layer 09:32:09 2de7ff778b66: Pulling fs layer 09:32:09 0d9ebad4ef96: Waiting 09:32:09 e9a5061849ea: Waiting 09:32:09 2de7ff778b66: Waiting 09:32:09 9712f1f96733: Verifying Checksum 09:32:09 9712f1f96733: Download complete 09:32:10 63f879dbbcfc: Verifying Checksum 09:32:10 63f879dbbcfc: Download complete 09:32:10 0d9ebad4ef96: Verifying Checksum 09:32:10 0d9ebad4ef96: Download complete 09:32:10 d747dcd14b5f: Verifying Checksum 09:32:10 d747dcd14b5f: Download complete 09:32:10 e9a5061849ea: Verifying Checksum 09:32:10 e9a5061849ea: Download complete 09:32:10 ab5ef0e58194: Verifying Checksum 09:32:10 ab5ef0e58194: Download complete 09:32:10 2de7ff778b66: Verifying Checksum 09:32:10 2de7ff778b66: Download complete 09:32:13 ab5ef0e58194: Pull complete 09:32:13 9712f1f96733: Pull complete 09:32:13 63f879dbbcfc: Pull complete 09:32:17 0d9ebad4ef96: Pull complete 09:32:17 e9a5061849ea: Pull complete 09:32:17 d747dcd14b5f: Pull complete 09:32:18 2de7ff778b66: Pull complete 09:32:18 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:32:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:32:18 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:18 prd-ubuntu20.04-docker-8c-8g-1332 does not seem to be running inside a container 09:32:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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 09:32:25 $ docker top d75041bce32527d23e9b475f4cdef50d8e9753fbeb91147930dbe2f9f060583a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:32:25 provisioning config files... 09:32:25 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1569213997807927897tmp 09:32:25 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9643151380140639963tmp 09:32:25 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11887834613605463285tmp [Pipeline] { [Pipeline] echo 09:32:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:32:25 ---> sigul-configuration.sh 09:32:25 gpg: directory `/root/.gnupg' created 09:32:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:32:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:32:25 gpg: keyring `/root/.gnupg/secring.gpg' created 09:32:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:32:25 gpg: CAST5 encrypted data 09:32:25 gpg: encrypted with 1 passphrase 09:32:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:32:25 + mkdir /home/jenkins 09:32:25 + mkdir /home/jenkins/sigul [Pipeline] sh 09:32:26 + 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 09:32:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:32:26 ---> sigul-install.sh 09:32:26 Sigul already installed; skipping installation. [Pipeline] sh 09:32:26 + git tag --list 09:32:26 v1.0.0 09:32:26 v1.1.0 09:32:26 v1.1.1 09:32:26 v1.2.1 09:32:26 v1.2.2 09:32:26 v1.2.3 09:32:26 v1.3.0 09:32:26 v1.3.1 09:32:26 v2.0.0 09:32:26 v2.1.0 09:32:26 v2.1.1 09:32:26 v2.1.1-dev.1 09:32:26 v2.1.1-dev.2 09:32:26 v2.2.0 09:32:26 v2.2.1-dev.1 09:32:26 v2.2.1-dev.2 09:32:26 v2.2.1-dev.3 09:32:26 v2.2.1-dev.4 09:32:26 v2.2.1-dev.5 09:32:26 v2.2.1-dev.6 09:32:26 v2.2.1-dev.7 09:32:26 v2.2.1-dev.8 09:32:26 v2.3.0-dev.10 09:32:26 v2.3.0-dev.11 09:32:26 v2.3.0-dev.12 09:32:26 v2.3.0-dev.13 09:32:26 v2.3.0-dev.14 09:32:26 v2.3.0-dev.15 09:32:26 v2.3.0-dev.16 09:32:26 v2.3.0-dev.17 09:32:26 v2.3.0-dev.18 09:32:26 v2.3.0-dev.8 09:32:26 v2.3.0-dev.9 [Pipeline] sh 09:32:27 + lftools sign git-tag v2.3.0-dev.18 09:32:27 Signing Git tag with Sigul... 09:32:27 Signing v2.3.0-dev.18 [Pipeline] echo 09:32:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:32:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:32:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:32:28 $ docker stop --time=1 d75041bce32527d23e9b475f4cdef50d8e9753fbeb91147930dbe2f9f060583a 09:32:29 $ docker rm -f d75041bce32527d23e9b475f4cdef50d8e9753fbeb91147930dbe2f9f060583a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:32:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:32:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:32:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:30 prd-ubuntu20.04-docker-8c-8g-1332 does not seem to be running inside a container 09:32:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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 09:32:30 $ docker top 9fa2cf164b79d7ed88904109285c85fe4459f6b94cb7f9e16f1f194c5d30e6d1 -eo pid,comm 09:32:30 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). 09:32:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:32:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:32:30 [ssh-agent] Looking for ssh-agent implementation... 09:32:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:32:30 $ docker exec 9fa2cf164b79d7ed88904109285c85fe4459f6b94cb7f9e16f1f194c5d30e6d1 ssh-agent 09:32:31 SSH_AUTH_SOCK=/tmp/ssh-x8t2qNA00d5v/agent.32 09:32:31 SSH_AGENT_PID=38 09:32:31 Running ssh-add (command line suppressed) 09:32:31 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16876756726550332576.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16876756726550332576.key) 09:32:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:32:31 + git semver bump pre 09:32:31 2022-09-27 09:32:31,661 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:32:31 2022-09-27 09:32:31,661 [bump_version] DEBUG bumping version:2.3.0-dev.18 on axis:pre with prefix:dev 09:32:31 2022-09-27 09:32:31,661 [bump_version] DEBUG bumped version:2.3.0-dev.19 09:32:31 2022-09-27 09:32:31,661 [write_version] DEBUG write version:2.3.0-dev.19 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 09:32:31 2022-09-27 09:32:31,661 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:32:31 2022-09-27 09:32:31,661 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:32:31 2022-09-27 09:32:31,663 [execute] INFO git cat-file --batch-check 09:32:31 2022-09-27 09:32:31,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:32:31 2022-09-27 09:32:31,670 [execute] INFO git cat-file --batch 09:32:31 2022-09-27 09:32:31,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:32:31 2022-09-27 09:32:31,676 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:32:31 2.3.0-dev.19 [Pipeline] } 09:32:31 $ docker exec --env ******** --env ******** 9fa2cf164b79d7ed88904109285c85fe4459f6b94cb7f9e16f1f194c5d30e6d1 ssh-agent -k 09:32:31 unset SSH_AUTH_SOCK; 09:32:31 unset SSH_AGENT_PID; 09:32:31 echo Agent pid 38 killed; 09:32:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:32:32 + git semver [Pipeline] } 09:32:32 $ docker stop --time=1 9fa2cf164b79d7ed88904109285c85fe4459f6b94cb7f9e16f1f194c5d30e6d1 09:32:33 $ docker rm -f 9fa2cf164b79d7ed88904109285c85fe4459f6b94cb7f9e16f1f194c5d30e6d1 [Pipeline] // withDockerContainer [Pipeline] sh 09:32:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:32:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:32:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:34 prd-ubuntu20.04-docker-8c-8g-1332 does not seem to be running inside a container 09:32:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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 09:32:34 $ docker top fc329cf74935afb7fbdcd56beee11335c8f77ab59aabfafb42eea1094d255655 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:32:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:32:34 [ssh-agent] Looking for ssh-agent implementation... 09:32:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:32:34 $ docker exec fc329cf74935afb7fbdcd56beee11335c8f77ab59aabfafb42eea1094d255655 ssh-agent 09:32:35 SSH_AUTH_SOCK=/tmp/ssh-MDQjX3n8U42v/agent.33 09:32:35 SSH_AGENT_PID=39 09:32:35 Running ssh-add (command line suppressed) 09:32:35 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5848034572087978733.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5848034572087978733.key) 09:32:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:32:35 + git semver push 09:32:35 2022-09-27 09:32:35,668 [run_push] DEBUG push 09:32:35 2022-09-27 09:32:35,669 [execute] INFO git cat-file --batch-check 09:32:35 2022-09-27 09:32:35,669 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:32:35 2022-09-27 09:32:35,674 [execute] INFO git rev-list 9e6942825424349c7b987c084436812ee2d8d9d8 -- 09:32:35 2022-09-27 09:32:35,674 [execute] DEBUG Popen(['git', 'rev-list', '9e6942825424349c7b987c084436812ee2d8d9d8', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:32:35 2022-09-27 09:32:35,682 [execute] INFO git fetch -v origin 09:32:35 2022-09-27 09:32:35,682 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:32:36 2022-09-27 09:32:36,261 [run_push] DEBUG no remote changes detected 09:32:36 2022-09-27 09:32:36,261 [execute] INFO git push origin semver 09:32:36 2022-09-27 09:32:36,262 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:32:37 2022-09-27 09:32:37,124 [run_push] DEBUG push all version tags 09:32:37 2022-09-27 09:32:37,124 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:32:37 2022-09-27 09:32:37,124 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 09:32:38 2022-09-27 09:32:37,985 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:32:38 2.3.0-dev.19 [Pipeline] } 09:32:38 $ docker exec --env ******** --env ******** fc329cf74935afb7fbdcd56beee11335c8f77ab59aabfafb42eea1094d255655 ssh-agent -k 09:32:38 unset SSH_AUTH_SOCK; 09:32:38 unset SSH_AGENT_PID; 09:32:38 echo Agent pid 39 killed; 09:32:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:32:38 + git semver [Pipeline] } 09:32:38 $ docker stop --time=1 fc329cf74935afb7fbdcd56beee11335c8f77ab59aabfafb42eea1094d255655 09:32:40 $ docker rm -f fc329cf74935afb7fbdcd56beee11335c8f77ab59aabfafb42eea1094d255655 [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 09:32:40 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 09:32:40 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 09:32:40 total 16 09:32:40 drwxr-xr-x 3 root root 4096 Sep 27 09:24 . 09:32:40 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 09:32 .. 09:32:40 drwxr-xr-x 2 root root 4096 Sep 27 09:24 cost 09:32:40 -rw-r--r-- 1 root root 88 Sep 27 09:24 cost.csv 09:32:40 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 09:32:40 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 09:32:40 total 16 09:32:40 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 09:24 . 09:32:40 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 09:32 .. 09:32:40 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 09:24 cost 09:32:40 -rw-r--r-- 1 jenkins jenkins 88 Sep 27 09:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:32:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:32:41 ---> package-listing.sh 09:32:41 ++ facter osfamily 09:32:41 ++ tr '[:upper:]' '[:lower:]' 09:32:42 + OS_FAMILY=debian 09:32:42 + workspace=/w/workspace/exfoundry_device-virtual-go_main 09:32:42 + START_PACKAGES=/tmp/packages_start.txt 09:32:42 + END_PACKAGES=/tmp/packages_end.txt 09:32:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:32:42 + PACKAGES=/tmp/packages_start.txt 09:32:42 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 09:32:42 + PACKAGES=/tmp/packages_end.txt 09:32:42 + case "${OS_FAMILY}" in 09:32:42 + dpkg -l 09:32:42 + grep '^ii' 09:32:42 + '[' -f /tmp/packages_start.txt ']' 09:32:42 + '[' -f /tmp/packages_end.txt ']' 09:32:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:32:42 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 09:32:42 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 09:32:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 09:32:42 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:32:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:32:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:43 prd-ubuntu20.04-docker-8c-8g-1332 does not seem to be running inside a container 09:32:43 $ 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/exfoundry_device-virtual-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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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 09:32:43 $ docker top 0061305f7ecc81da239fad3aac89e750f859c67915dfba2a28c5ab31ea9d1a38 -eo pid,comm [Pipeline] { [Pipeline] sh 09:32:43 + touch /tmp/pre-build-complete [Pipeline] sh 09:32:43 + mkdir -p /var/log/sysstat [Pipeline] sh 09:32:44 + ls /var/log/sa-host 09:32:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:32:44 provisioning config files... 09:32:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11183830402767277357tmp [Pipeline] { [Pipeline] echo 09:32:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:32:44 ---> create-netrc.sh [Pipeline] } 09:32:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:32:45 ---> python-tools-install.sh [Pipeline] echo 09:32:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:32:45 ---> sudo-logs.sh 09:32:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:32:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:32:45 ---> job-cost.sh 09:32:45 lf-activate-venv: SKIPPING 09:32:45 DEBUG: total: 0.2199999988079071 09:32:45 INFO: Retrieving Stack Cost... 09:32:46 INFO: Retrieving Pricing Info for: v3-standard-8 09:32:46 INFO: Archiving Costs [Pipeline] echo 09:32:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:32:46 ---> logs-deploy.sh 09:32:46 lf-activate-venv: SKIPPING 09:32:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/54 09:32:46 INFO: archiving workspace using pattern(s): 09:32:47 Archives upload complete. 09:32:47 INFO: archiving logs to Nexus 09:32:48 ---> uname -a: 09:32:48 Linux prd-ubuntu20-04-docker-8c-8g-1332 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 09:32:48 09:32:48 09:32:48 ---> lscpu: 09:32:48 Architecture: x86_64 09:32:48 CPU op-mode(s): 32-bit, 64-bit 09:32:48 Byte Order: Little Endian 09:32:48 Address sizes: 40 bits physical, 48 bits virtual 09:32:48 CPU(s): 8 09:32:48 On-line CPU(s) list: 0-7 09:32:48 Thread(s) per core: 1 09:32:48 Core(s) per socket: 1 09:32:48 Socket(s): 8 09:32:48 NUMA node(s): 1 09:32:48 Vendor ID: AuthenticAMD 09:32:48 CPU family: 23 09:32:48 Model: 49 09:32:48 Model name: AMD EPYC-Rome Processor 09:32:48 Stepping: 0 09:32:48 CPU MHz: 2799.998 09:32:48 BogoMIPS: 5599.99 09:32:48 Virtualization: AMD-V 09:32:48 Hypervisor vendor: KVM 09:32:48 Virtualization type: full 09:32:48 L1d cache: 256 KiB 09:32:48 L1i cache: 256 KiB 09:32:48 L2 cache: 4 MiB 09:32:48 L3 cache: 128 MiB 09:32:48 NUMA node0 CPU(s): 0-7 09:32:48 Vulnerability Itlb multihit: Not affected 09:32:48 Vulnerability L1tf: Not affected 09:32:48 Vulnerability Mds: Not affected 09:32:48 Vulnerability Meltdown: Not affected 09:32:48 Vulnerability Mmio stale data: Not affected 09:32:48 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:32:48 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 09:32:48 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 09:32:48 Vulnerability Srbds: Not affected 09:32:48 Vulnerability Tsx async abort: Not affected 09:32:48 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 09:32:48 09:32:48 09:32:48 ---> nproc: 09:32:48 8 09:32:48 09:32:48