Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 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-ssh8831235274442098251.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh590516381388970403.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8155627308604686511.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh9683831604801462913.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-ssh12515809511973265591.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118087 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 > 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 Avoid second fetch Checking out Revision bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 (main) Commit message: "Merge pull request #318 from lenny-intel/levski-change-log" > git config core.sparsecheckout # timeout=10 > git checkout -f bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 # timeout=10 > git rev-list --no-walk 201f27941933de2c4e8d8fa6587725948dc61081 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:35:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:35:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:35:05 ========================================================= 09:35:05 EdgeX Global Pipelines Version Info 09:35:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:35:06 ------------------- 09:35:06 stable info: 09:35:06 ------------------- 09:35:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:35:06 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:35:06 Message: update stable to v1.0.244 09:35:06 ------------------- 09:35:06 experimental info: 09:35:06 ------------------- 09:35:06 Commited By: **** collab-it+edgex@linuxfoundation.org 09:35:06 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:35:06 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bcd4d59 [Pipeline] echo 09:35:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:35:06 provisioning config files... 09:35:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6062342955883895345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:35:07 ---> docker-login.sh 09:35:07 nexus3.edgexfoundry.org:10001 09:35:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:07 Configure a credential helper to remove this warning. See 09:35:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:07 09:35:07 Login Succeeded 09:35:07 nexus3.edgexfoundry.org:10002 09:35:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:07 Configure a credential helper to remove this warning. See 09:35:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:07 09:35:07 Login Succeeded 09:35:07 nexus3.edgexfoundry.org:10003 09:35:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:08 Configure a credential helper to remove this warning. See 09:35:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:08 09:35:08 Login Succeeded 09:35:08 nexus3.edgexfoundry.org:10004 09:35:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:08 Configure a credential helper to remove this warning. See 09:35:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:08 09:35:08 Login Succeeded 09:35:08 docker.io 09:35:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:08 Configure a credential helper to remove this warning. See 09:35:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:08 09:35:08 Login Succeeded 09:35:08 ---> docker-login.sh ends [Pipeline] } 09:35:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:35:08 + git rev-list -1 --merges bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9~1..bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 [Pipeline] echo 09:35:09 -----------> git rev-list -1 --merges bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9~1..bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 09:35:09 bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 [false] [Pipeline] sh 09:35:09 + git log --format=format:%s -1 bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 [Pipeline] echo 09:35:09 ========================================================= 09:35:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:35:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:35:09 + git log --format=format:%s -1 bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 [Pipeline] echo 09:35:09 [semverPrep] GIT_COMMIT: bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9, Commit Message: Merge pull request #318 from lenny-intel/levski-change-log [Pipeline] echo 09:35:09 [semverPrep] This is not a build commit. [Pipeline] sh 09:35:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:35:10 + grep -v github /etc/ssh/ssh_known_hosts 09:35:10 + [ -e /tmp/ssh_known_hosts ] 09:35:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:35:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:35:10 + sudo tee -a /etc/ssh/ssh_known_hosts 09:35:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:35:10 09:35:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:35:10 0.1.4: Pulling from edgex-devops/py-git-semver 09:35:10 b85a868b505f: Pulling fs layer 09:35:10 e2be974225ed: Pulling fs layer 09:35:10 339a4e72a1f5: Pulling fs layer 09:35:10 988bab9f4d93: Pulling fs layer 09:35:10 1469e6f7b9e6: Pulling fs layer 09:35:10 988bab9f4d93: Waiting 09:35:10 eaf3925da568: Pulling fs layer 09:35:10 bab4dde63d76: Pulling fs layer 09:35:10 bde34c3a00c8: Pulling fs layer 09:35:10 eaf3925da568: Waiting 09:35:10 b352a97aabf1: Pulling fs layer 09:35:10 4872d77fe225: Pulling fs layer 09:35:10 5851b861e8e6: Pulling fs layer 09:35:10 b352a97aabf1: Waiting 09:35:10 bde34c3a00c8: Waiting 09:35:10 4872d77fe225: Waiting 09:35:10 5851b861e8e6: Waiting 09:35:10 e2be974225ed: Verifying Checksum 09:35:10 e2be974225ed: Download complete 09:35:10 988bab9f4d93: Verifying Checksum 09:35:10 988bab9f4d93: Download complete 09:35:11 1469e6f7b9e6: Verifying Checksum 09:35:11 1469e6f7b9e6: Download complete 09:35:11 339a4e72a1f5: Verifying Checksum 09:35:11 339a4e72a1f5: Download complete 09:35:11 eaf3925da568: Verifying Checksum 09:35:11 eaf3925da568: Download complete 09:35:11 bde34c3a00c8: Verifying Checksum 09:35:11 bde34c3a00c8: Download complete 09:35:11 b352a97aabf1: Verifying Checksum 09:35:11 b352a97aabf1: Download complete 09:35:11 4872d77fe225: Verifying Checksum 09:35:11 4872d77fe225: Download complete 09:35:11 5851b861e8e6: Download complete 09:35:11 b85a868b505f: Download complete 09:35:11 bab4dde63d76: Verifying Checksum 09:35:11 bab4dde63d76: Download complete 09:35:12 b85a868b505f: Pull complete 09:35:12 e2be974225ed: Pull complete 09:35:12 339a4e72a1f5: Pull complete 09:35:13 988bab9f4d93: Pull complete 09:35:13 1469e6f7b9e6: Pull complete 09:35:13 eaf3925da568: Pull complete 09:35:15 bab4dde63d76: Pull complete 09:35:15 bde34c3a00c8: Pull complete 09:35:15 b352a97aabf1: Pull complete 09:35:15 4872d77fe225: Pull complete 09:35:15 5851b861e8e6: Pull complete 09:35:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:35:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:35:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:35:15 prd-ubuntu20.04-docker-8c-8g-118087 does not seem to be running inside a container 09:35:15 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:35:17 $ docker top 35ce065698de6d39818a944b8c3cd5e5579c7ca822004b4c70b6992d7eff9497 -eo pid,comm 09:35:17 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:35:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:35:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:35:17 [ssh-agent] Looking for ssh-agent implementation... 09:35:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:35:17 $ docker exec 35ce065698de6d39818a944b8c3cd5e5579c7ca822004b4c70b6992d7eff9497 ssh-agent 09:35:17 SSH_AUTH_SOCK=/tmp/ssh-edSGxw1ksFSa/agent.31 09:35:17 SSH_AGENT_PID=37 09:35:17 Running ssh-add (command line suppressed) 09:35:17 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12397506531229120760.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12397506531229120760.key) 09:35:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:35:17 + git tag --points-at HEAD [Pipeline] } 09:35:17 $ docker exec --env ******** --env ******** 35ce065698de6d39818a944b8c3cd5e5579c7ca822004b4c70b6992d7eff9497 ssh-agent -k 09:35:18 unset SSH_AUTH_SOCK; 09:35:18 unset SSH_AGENT_PID; 09:35:18 echo Agent pid 37 killed; 09:35:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:35:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:35:18 [ssh-agent] Looking for ssh-agent implementation... 09:35:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:35:18 $ docker exec 35ce065698de6d39818a944b8c3cd5e5579c7ca822004b4c70b6992d7eff9497 ssh-agent 09:35:18 SSH_AUTH_SOCK=/tmp/ssh-ScIc7f9ZgTWm/agent.69 09:35:18 SSH_AGENT_PID=75 09:35:18 Running ssh-add (command line suppressed) 09:35:18 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18394992480464488857.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18394992480464488857.key) 09:35:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:35:18 + git semver init 09:35:19 2022-11-03 09:35:18,971 [run_init] DEBUG init version:0.0.0 force:False 09:35:19 2022-11-03 09:35:18,971 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 09:35:19 2022-11-03 09:35:18,972 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 09:35:19 2022-11-03 09:35:18,972 [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:35:20 2022-11-03 09:35:20,180 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 09:35:20 2022-11-03 09:35:20,181 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 09:35:20 2022-11-03 09:35:20,181 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:35:20 2022-11-03 09:35:20,181 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:35:20 2.3.0-dev.29 [Pipeline] } 09:35:20 $ docker exec --env ******** --env ******** 35ce065698de6d39818a944b8c3cd5e5579c7ca822004b4c70b6992d7eff9497 ssh-agent -k 09:35:20 unset SSH_AUTH_SOCK; 09:35:20 unset SSH_AGENT_PID; 09:35:20 echo Agent pid 75 killed; 09:35:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:35:20 + git semver [Pipeline] } 09:35:21 $ docker stop --time=1 35ce065698de6d39818a944b8c3cd5e5579c7ca822004b4c70b6992d7eff9497 09:35:22 $ docker rm -f 35ce065698de6d39818a944b8c3cd5e5579c7ca822004b4c70b6992d7eff9497 [Pipeline] // withDockerContainer [Pipeline] sh 09:35:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:35:22 Stashed 1 file(s) [Pipeline] echo 09:35:22 [edgeXSemver]: initialized semver on version 2.3.0-dev.29 [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:35:23 provisioning config files... 09:35:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1110753572852830470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:35:23 ---> docker-login.sh 09:35:23 nexus3.edgexfoundry.org:10001 09:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:23 Configure a credential helper to remove this warning. See 09:35:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:23 09:35:23 Login Succeeded 09:35:23 nexus3.edgexfoundry.org:10002 09:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:23 Configure a credential helper to remove this warning. See 09:35:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:23 09:35:23 Login Succeeded 09:35:23 nexus3.edgexfoundry.org:10003 09:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:23 Configure a credential helper to remove this warning. See 09:35:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:23 09:35:23 Login Succeeded 09:35:23 nexus3.edgexfoundry.org:10004 09:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:23 Configure a credential helper to remove this warning. See 09:35:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:23 09:35:23 Login Succeeded 09:35:23 docker.io 09:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:24 Configure a credential helper to remove this warning. See 09:35:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:24 09:35:24 Login Succeeded 09:35:24 ---> docker-login.sh ends [Pipeline] } 09:35:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:35:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:35:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:35:24 ========================================================= 09:35:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:35:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:24 + 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:35:24 Sending build context to Docker daemon 23.24MB 09:35:24 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 09:35:24 Step 2/12 : FROM ${BASE} AS builder 09:35:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:35:24 213ec9aee27d: Pulling fs layer 09:35:24 4583459ba037: Pulling fs layer 09:35:24 93c1e223e6f2: Pulling fs layer 09:35:24 53926ce57604: Pulling fs layer 09:35:24 21b2b0c7a3f4: Pulling fs layer 09:35:24 22ff95d597cd: Pulling fs layer 09:35:24 12d6caf4c0d1: Pulling fs layer 09:35:24 96b7cbca73a9: Pulling fs layer 09:35:24 a7acece74701: Pulling fs layer 09:35:24 22ff95d597cd: Waiting 09:35:24 12d6caf4c0d1: Waiting 09:35:24 53926ce57604: Waiting 09:35:24 96b7cbca73a9: Waiting 09:35:24 a7acece74701: Waiting 09:35:24 21b2b0c7a3f4: Waiting 09:35:24 93c1e223e6f2: Verifying Checksum 09:35:24 93c1e223e6f2: Download complete 09:35:24 4583459ba037: Download complete 09:35:24 21b2b0c7a3f4: Verifying Checksum 09:35:24 21b2b0c7a3f4: Download complete 09:35:24 22ff95d597cd: Verifying Checksum 09:35:24 22ff95d597cd: Download complete 09:35:24 213ec9aee27d: Download complete 09:35:24 12d6caf4c0d1: Verifying Checksum 09:35:24 12d6caf4c0d1: Download complete 09:35:24 213ec9aee27d: Pull complete 09:35:25 4583459ba037: Pull complete 09:35:25 93c1e223e6f2: Pull complete 09:35:25 a7acece74701: Verifying Checksum 09:35:25 a7acece74701: Download complete 09:35:25 96b7cbca73a9: Verifying Checksum 09:35:25 96b7cbca73a9: Download complete 09:35:25 53926ce57604: Verifying Checksum 09:35:25 53926ce57604: Download complete 09:35:29 53926ce57604: Pull complete 09:35:29 21b2b0c7a3f4: Pull complete 09:35:29 22ff95d597cd: Pull complete 09:35:29 12d6caf4c0d1: Pull complete 09:35:31 96b7cbca73a9: Pull complete 09:35:33 a7acece74701: Pull complete 09:35:33 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 09:35:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:35:33 ---> db6d94c90886 09:35:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:35:35 ---> Running in 9e65a84e42f8 09:35:35 Removing intermediate container 9e65a84e42f8 09:35:35 ---> f2aedc9bf5b9 09:35:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:35:35 ---> Running in 2895758741d5 09:35:35 Removing intermediate container 2895758741d5 09:35:35 ---> 89f284bf6f7d 09:35:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:35:35 ---> Running in b137562936ca 09:35:35 Removing intermediate container b137562936ca 09:35:35 ---> 47b3eed3d9f9 09:35:35 Step 6/12 : WORKDIR /device-virtual-go 09:35:35 ---> Running in b06fcfe4a1b7 09:35:36 Removing intermediate container b06fcfe4a1b7 09:35:36 ---> 0aece967a28a 09:35:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:35:36 ---> Running in 69b967229c69 09:35:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:35:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:35:36 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:35:36 (2/4) Installing libedit (20210910.3.1-r0) 09:35:36 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:35:36 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:35:36 Executing busybox-1.35.0-r17.trigger 09:35:36 OK: 216 MiB in 55 packages 09:35:37 Removing intermediate container 69b967229c69 09:35:37 ---> 44e62fc0bd79 09:35:37 Step 8/12 : COPY go.mod vendor* ./ 09:35:37 ---> c3dc672b4267 09:35:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:35:37 ---> Running in a77084ba786e 09:35:38 Still waiting to schedule task 09:35:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:35:55 Removing intermediate container a77084ba786e 09:35:55 ---> afd5282bf4d8 09:35:55 Step 10/12 : COPY . . 09:35:56 ---> a031575ee095 09:35:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:35:56 ---> Running in 9a2381789964 09:35:56 Removing intermediate container 9a2381789964 09:35:56 ---> d83d7f618f94 09:35:56 Step 12/12 : RUN $MAKE 09:35:56 ---> Running in 8091668d175f 09:35:56 noop 09:35:57 Removing intermediate container 8091668d175f 09:35:57 ---> 7bff8bdb29db 09:35:57 Successfully built 7bff8bdb29db 09:35:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:57 + docker inspect -f . ci-base-image-x86_64 09:35:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:35:57 prd-ubuntu20.04-docker-8c-8g-118087 does not seem to be running inside a container 09:35:57 $ 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 ******** ci-base-image-x86_64 cat 09:35:58 $ docker top 736212bc3187e2f29a1d94058e012097946b94f3dee7523e0040728acc0a258f -eo pid,comm [Pipeline] { [Pipeline] sh 09:35:58 + go version 09:35:58 go version go1.18.7 linux/amd64 [Pipeline] } 09:35:58 $ docker stop --time=1 736212bc3187e2f29a1d94058e012097946b94f3dee7523e0040728acc0a258f 09:35:59 $ docker rm -f 736212bc3187e2f29a1d94058e012097946b94f3dee7523e0040728acc0a258f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:00 + docker inspect -f . ci-base-image-x86_64 09:36:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:36:00 prd-ubuntu20.04-docker-8c-8g-118087 does not seem to be running inside a container 09:36:00 $ 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 ******** ci-base-image-x86_64 cat 09:36:00 $ docker top 270abf495d8e512f37696089eea53e7c6df060ba1d16bdf938e73a38f629e8e9 -eo pid,comm [Pipeline] { [Pipeline] sh 09:36:01 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 09:36:01 + make test 09:36:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:36:01 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:36:11 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:36:12 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements 09:36:20 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:36:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:36:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:36:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:36:23 ./bin/test-attribution-txt.sh [Pipeline] echo 09:36:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:36:23 $ docker stop --time=1 270abf495d8e512f37696089eea53e7c6df060ba1d16bdf938e73a38f629e8e9 09:36:24 $ docker rm -f 270abf495d8e512f37696089eea53e7c6df060ba1d16bdf938e73a38f629e8e9 [Pipeline] // withDockerContainer [Pipeline] sh 09:36:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:36:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:36:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:36:26 + ls -al . 09:36:26 total 204 09:36:26 drwxrwxr-x 9 jenkins jenkins 4096 Nov 3 09:36 . 09:36:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:35 .. 09:36:26 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:36 .git 09:36:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:35 .github 09:36:26 -rw-rw-r-- 1 jenkins jenkins 337 Nov 3 09:35 .gitignore 09:36:26 -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 09:35 .golangci.yml 09:36:26 drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 09:35 .semver 09:36:26 -rw-rw-r-- 1 jenkins jenkins 8527 Nov 3 09:35 Attribution.txt 09:36:26 -rw-rw-r-- 1 jenkins jenkins 11367 Nov 3 09:35 CHANGELOG.md 09:36:26 -rw-rw-r-- 1 jenkins jenkins 1709 Nov 3 09:35 Dockerfile 09:36:26 -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 09:35 GOVERNANCE.md 09:36:26 -rw-rw-r-- 1 jenkins jenkins 660 Nov 3 09:35 Jenkinsfile 09:36:26 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 09:35 LICENSE 09:36:26 -rw-rw-r-- 1 jenkins jenkins 2457 Nov 3 09:35 Makefile 09:36:26 -rw-rw-r-- 1 jenkins jenkins 623 Nov 3 09:35 OWNERS.md 09:36:26 -rw-rw-r-- 1 jenkins jenkins 3578 Nov 3 09:35 README.md 09:36:26 -rw-rw-r-- 1 jenkins jenkins 12 Nov 3 09:35 VERSION 09:36:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:35 bin 09:36:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:35 cmd 09:36:26 -rw-r--r-- 1 jenkins jenkins 44128 Nov 3 09:36 coverage.out 09:36:26 -rw-rw-r-- 1 jenkins jenkins 3388 Nov 3 09:35 go.mod 09:36:26 -rw-rw-r-- 1 jenkins jenkins 44543 Nov 3 09:35 go.sum 09:36:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:35 internal 09:36:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:35 snap 09:36:26 -rw-rw-r-- 1 jenkins jenkins 235 Nov 3 09:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:26 + 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=bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 --label arch=amd64 --label version=2.3.0-dev.29 . 09:36:26 Sending build context to Docker daemon 23.28MB 09:36:26 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 09:36:26 Step 2/25 : FROM ${BASE} AS builder 09:36:26 ---> 7bff8bdb29db 09:36:26 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:36:26 ---> Running in 511268551fc9 09:36:26 Removing intermediate container 511268551fc9 09:36:26 ---> 905d0cf8fefe 09:36:26 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:36:26 ---> Running in ce250cb1a24e 09:36:26 Removing intermediate container ce250cb1a24e 09:36:26 ---> b53c7f00e2eb 09:36:26 Step 5/25 : ARG ADD_BUILD_TAGS="" 09:36:26 ---> Running in eba3f3c51b4c 09:36:26 Removing intermediate container eba3f3c51b4c 09:36:26 ---> 40a291b6b8c2 09:36:26 Step 6/25 : WORKDIR /device-virtual-go 09:36:26 ---> Running in 5d11ccfd683e 09:36:26 Removing intermediate container 5d11ccfd683e 09:36:26 ---> 6269a3bb0d65 09:36:26 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:36:27 ---> Running in 5d107b9d8e7a 09:36:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:36:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:36:27 OK: 216 MiB in 55 packages 09:36:27 Removing intermediate container 5d107b9d8e7a 09:36:27 ---> ac9ad6a44537 09:36:27 Step 8/25 : COPY go.mod vendor* ./ 09:36:28 ---> 67c789ae93ad 09:36:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:36:28 ---> Running in e83be1f107ea 09:36:28 Removing intermediate container e83be1f107ea 09:36:28 ---> ba9a50953616 09:36:28 Step 10/25 : COPY . . 09:36:29 ---> 32173d66d774 09:36:29 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:36:29 ---> Running in 5294ac359d3a 09:36:29 Removing intermediate container 5294ac359d3a 09:36:29 ---> 9813debc62ea 09:36:29 Step 12/25 : RUN $MAKE 09:36:29 ---> Running in 50fd2fc59743 09:36:29 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.29" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 09:36:51 Removing intermediate container 50fd2fc59743 09:36:51 ---> 3604df890e24 09:36:51 Step 13/25 : FROM alpine:3.16 09:36:51 3.16: Pulling from library/alpine 09:36:51 213ec9aee27d: Already exists 09:36:51 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:36:51 Status: Downloaded newer image for alpine:3.16 09:36:51 ---> 9c6f07244728 09:36:51 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:36:51 ---> Running in 621ae6441ebe 09:36:51 Removing intermediate container 621ae6441ebe 09:36:51 ---> 7189bf7dbb21 09:36:51 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 09:36:51 ---> Running in 50bc939f8301 09:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:36:51 (1/6) Installing dumb-init (1.2.5-r1) 09:36:51 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:36:51 (3/6) Installing libsodium (1.0.18-r0) 09:36:51 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:36:51 (5/6) Installing libzmq (4.3.4-r0) 09:36:51 (6/6) Installing zeromq (4.3.4-r0) 09:36:51 Executing busybox-1.35.0-r17.trigger 09:36:51 OK: 8 MiB in 20 packages 09:36:52 Removing intermediate container 50bc939f8301 09:36:52 ---> 6bd159e259e2 09:36:52 Step 16/25 : WORKDIR / 09:36:52 ---> Running in d21571b412b5 09:36:52 Removing intermediate container d21571b412b5 09:36:52 ---> fa4ef2632c9d 09:36:52 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:36:52 ---> 4a4106ffe71a 09:36:52 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 09:36:52 ---> e622d23e314a 09:36:52 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 09:36:52 ---> 7e31889142f9 09:36:52 Step 20/25 : EXPOSE 59900 09:36:53 ---> Running in 58dcda4b93dd 09:36:53 Removing intermediate container 58dcda4b93dd 09:36:53 ---> 006b275afe6c 09:36:53 Step 21/25 : ENTRYPOINT ["/device-virtual"] 09:36:53 ---> Running in 51136c90660c 09:36:53 Removing intermediate container 51136c90660c 09:36:53 ---> bc4b6df37709 09:36:53 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:36:53 ---> Running in 6b1f2b7b587c 09:36:53 Removing intermediate container 6b1f2b7b587c 09:36:53 ---> 224fbb923931 09:36:53 Step 23/25 : LABEL arch=amd64 09:36:53 ---> Running in e0366defd95d 09:36:53 Removing intermediate container e0366defd95d 09:36:53 ---> a91584fb858a 09:36:53 Step 24/25 : LABEL git_sha=bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 09:36:53 ---> Running in 511a471d3c8e 09:36:53 Removing intermediate container 511a471d3c8e 09:36:53 ---> 0aa3cee0c9e3 09:36:53 Step 25/25 : LABEL version=2.3.0-dev.29 09:36:53 ---> Running in 4c8157306f42 09:36:53 Removing intermediate container 4c8157306f42 09:36:53 ---> e53c20bb0cf2 09:36:53 [Warning] One or more build-args [ARCH] were not consumed 09:36:53 Successfully built e53c20bb0cf2 09:36:53 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:36:53 provisioning config files... 09:36:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2806572410231787175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:36:54 ---> docker-login.sh 09:36:54 nexus3.edgexfoundry.org:10001 09:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:54 Configure a credential helper to remove this warning. See 09:36:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:54 09:36:54 Login Succeeded 09:36:54 nexus3.edgexfoundry.org:10002 09:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:54 Configure a credential helper to remove this warning. See 09:36:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:54 09:36:54 Login Succeeded 09:36:54 nexus3.edgexfoundry.org:10003 09:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:54 Configure a credential helper to remove this warning. See 09:36:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:54 09:36:54 Login Succeeded 09:36:54 nexus3.edgexfoundry.org:10004 09:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:54 Configure a credential helper to remove this warning. See 09:36:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:54 09:36:54 Login Succeeded 09:36:54 docker.io 09:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:54 Configure a credential helper to remove this warning. See 09:36:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:54 09:36:54 Login Succeeded 09:36:54 ---> docker-login.sh ends [Pipeline] } 09:36:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:36:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:36:55 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 09:36:55 bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 09:36:55 latest 09:36:55 2.3.0-dev.29 09:36:55 bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9-2.3.0-dev.29 09:36:55 main 09:36:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:55 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:55 + docker push nexus3.edgexfoundry.org:10004/device-virtual:bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 09:36:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 09:36:55 e5fd9081a034: Preparing 09:36:55 e74d8beab82d: Preparing 09:36:55 83f038c96a07: Preparing 09:36:55 6988726c9b81: Preparing 09:36:55 994393dc58e7: Preparing 09:36:55 994393dc58e7: Layer already exists 09:36:55 e74d8beab82d: Pushed 09:36:55 83f038c96a07: Pushed 09:36:55 6988726c9b81: Pushed 09:36:58 e5fd9081a034: Pushed 09:36:58 bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9: digest: sha256:1478104b99de8c76313f75bb12de9759fa1f18cfd6aa22f548aa7b0f571c0422 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:58 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 09:36:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 09:36:59 e5fd9081a034: Preparing 09:36:59 e74d8beab82d: Preparing 09:36:59 83f038c96a07: Preparing 09:36:59 6988726c9b81: Preparing 09:36:59 994393dc58e7: Preparing 09:36:59 83f038c96a07: Layer already exists 09:36:59 994393dc58e7: Layer already exists 09:36:59 e5fd9081a034: Layer already exists 09:36:59 e74d8beab82d: Layer already exists 09:36:59 6988726c9b81: Layer already exists 09:36:59 latest: digest: sha256:1478104b99de8c76313f75bb12de9759fa1f18cfd6aa22f548aa7b0f571c0422 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:59 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.29 09:36:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 09:36:59 e5fd9081a034: Preparing 09:36:59 e74d8beab82d: Preparing 09:36:59 83f038c96a07: Preparing 09:36:59 6988726c9b81: Preparing 09:36:59 994393dc58e7: Preparing 09:36:59 994393dc58e7: Layer already exists 09:36:59 83f038c96a07: Layer already exists 09:36:59 e74d8beab82d: Layer already exists 09:36:59 e5fd9081a034: Layer already exists 09:36:59 6988726c9b81: Layer already exists 09:36:59 2.3.0-dev.29: digest: sha256:1478104b99de8c76313f75bb12de9759fa1f18cfd6aa22f548aa7b0f571c0422 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:00 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9-2.3.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual:bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9-2.3.0-dev.29 09:37:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 09:37:00 e5fd9081a034: Preparing 09:37:00 e74d8beab82d: Preparing 09:37:00 83f038c96a07: Preparing 09:37:00 6988726c9b81: Preparing 09:37:00 994393dc58e7: Preparing 09:37:00 994393dc58e7: Layer already exists 09:37:00 83f038c96a07: Layer already exists 09:37:00 6988726c9b81: Layer already exists 09:37:00 e74d8beab82d: Layer already exists 09:37:00 e5fd9081a034: Layer already exists 09:37:00 bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9-2.3.0-dev.29: digest: sha256:1478104b99de8c76313f75bb12de9759fa1f18cfd6aa22f548aa7b0f571c0422 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:00 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 09:37:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 09:37:00 e5fd9081a034: Preparing 09:37:00 e74d8beab82d: Preparing 09:37:00 83f038c96a07: Preparing 09:37:00 6988726c9b81: Preparing 09:37:00 994393dc58e7: Preparing 09:37:00 e74d8beab82d: Layer already exists 09:37:00 83f038c96a07: Layer already exists 09:37:00 6988726c9b81: Layer already exists 09:37:00 994393dc58e7: Layer already exists 09:37:00 e5fd9081a034: Layer already exists 09:37:00 main: digest: sha256:1478104b99de8c76313f75bb12de9759fa1f18cfd6aa22f548aa7b0f571c0422 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:37:00 ===================================================== [Pipeline] echo 09:37:00 taggedImages: 09:37:00 - nexus3.edgexfoundry.org:10004/device-virtual:bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 09:37:00 - nexus3.edgexfoundry.org:10004/device-virtual:latest 09:37:00 - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.29 09:37:00 - nexus3.edgexfoundry.org:10004/device-virtual:bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9-2.3.0-dev.29 09:37:00 - 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:37:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:37:01 09:37:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:37:01 latest: Pulling from edgex-lftools-log-publisher 09:37:01 5eb5b503b376: Pulling fs layer 09:37:01 5c69ac0246d0: Pulling fs layer 09:37:01 ec43610c2a17: Pulling fs layer 09:37:01 3a2ae6a8a46f: Pulling fs layer 09:37:01 33b1e0a273af: Pulling fs layer 09:37:01 5d3b04190fa2: Pulling fs layer 09:37:01 2f39f015ded8: Pulling fs layer 09:37:01 33b1e0a273af: Waiting 09:37:01 3a2ae6a8a46f: Waiting 09:37:01 5d3b04190fa2: Waiting 09:37:01 2f39f015ded8: Waiting 09:37:01 5c69ac0246d0: Download complete 09:37:01 3a2ae6a8a46f: Verifying Checksum 09:37:01 3a2ae6a8a46f: Download complete 09:37:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118088 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 09:37:01 Running in /w/workspace/device-virtual-go/65 [Pipeline] { [Pipeline] checkout 09:37:01 The recommended git tool is: git 09:37:01 33b1e0a273af: Verifying Checksum 09:37:01 33b1e0a273af: Download complete 09:37:01 5d3b04190fa2: Verifying Checksum 09:37:01 5d3b04190fa2: Download complete 09:37:01 ec43610c2a17: Verifying Checksum 09:37:01 ec43610c2a17: Download complete 09:37:01 5eb5b503b376: Verifying Checksum 09:37:01 5eb5b503b376: Download complete 09:37:02 2f39f015ded8: Verifying Checksum 09:37:02 2f39f015ded8: Download complete 09:37:03 5eb5b503b376: Pull complete 09:37:03 5c69ac0246d0: Pull complete 09:37:03 ec43610c2a17: Pull complete 09:37:03 3a2ae6a8a46f: Pull complete 09:37:04 33b1e0a273af: Pull complete 09:37:04 5d3b04190fa2: Pull complete 09:37:06 using credential edgex-jenkins-ssh 09:37:06 Cloning the remote Git repository 09:37:06 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:37:06 > git init /w/workspace/device-virtual-go/65 # timeout=10 09:37:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:37:07 > git --version # timeout=10 09:37:07 > git --version # 'git version 2.25.1' 09:37:07 using GIT_SSH to set credentials SSH Credentials for GitHub 09:37:07 Verifying host key using known hosts file 09:37:07 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 09:37:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:37:09 2f39f015ded8: Pull complete 09:37:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:37:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:37:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:09 prd-ubuntu20.04-docker-8c-8g-118087 does not seem to be running inside a container 09:37:09 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:37:09 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:37:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:37:10 Avoid second fetch 09:37:10 Checking out Revision bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 (main) 09:37:11 Commit message: "Merge pull request #318 from lenny-intel/levski-change-log" 09:37:11 $ docker top b29bf52aa8f3c2283a1ecce3977c207ef01e22e37849ee27940822f2fcc404ea -eo pid,comm [Pipeline] { 09:37:11 09:37:11 GitHub has been notified of this commit’s build result 09:37:11 [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:37:11 ---> job-cost.sh 09:37:11 lf-activate-venv: SKIPPING 09:37:11 INFO: No Stack... 09:37:10 > git config core.sparsecheckout # timeout=10 09:37:10 > git checkout -f bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 # timeout=10 09:37:11 INFO: Retrieving Pricing Info for: v3-standard-8 09:37:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:37:11 % Total % Received % Xferd Average Speed Time Time Time Current 09:37:11 Dload Upload Total Spent Left Speed 09:37:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 09:37:12 INFO: Archiving Costs [Pipeline] sh 09:37:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:37:12 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 09:37:12 + cut -d, -f6 [Pipeline] lock 09:37:12 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-65-stack-cost] 09:37:12 Resource [jenkins-edgexfoundry-device-virtual-go-main-65-stack-cost] did not exist. Created. 09:37:12 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-65-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:37:12 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 09:37:12 /etc/docker/daemon.json 09:37:12 { 09:37:12 "registry-mirrors": [ 09:37:12 "https://nexus3.edgexfoundry.org:10001" 09:37:12 ], 09:37:12 "bip": "10.250.0.254/24", 09:37:12 "hosts": [ 09:37:12 "tcp://0.0.0.0:5555", 09:37:12 "unix:///var/run/docker.sock" 09:37:12 ], 09:37:12 "mtu": 1458, 09:37:12 "selinux-enabled": true, 09:37:12 "seccomp-profile": "/etc/docker/seccomp.json" 09:37:12 } [Pipeline] sh 09:37:13 + echo total: 0.2199999988079071 [Pipeline] stash 09:37:13 Stashed 1 file(s) [Pipeline] } 09:37:13 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-65-stack-cost] [Pipeline] // lock [Pipeline] } 09:37:13 $ docker stop --time=1 b29bf52aa8f3c2283a1ecce3977c207ef01e22e37849ee27940822f2fcc404ea 09:37:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 09:37:14 $ docker rm -f b29bf52aa8f3c2283a1ecce3977c207ef01e22e37849ee27940822f2fcc404ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:37:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:37:32 provisioning config files... 09:37:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/65@tmp/config3716149454623338399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:37:33 ---> docker-login.sh 09:37:33 nexus3.edgexfoundry.org:10001 09:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:37:33 Configure a credential helper to remove this warning. See 09:37:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:37:33 09:37:33 Login Succeeded 09:37:33 nexus3.edgexfoundry.org:10002 09:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:37:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:37:34 Configure a credential helper to remove this warning. See 09:37:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:37:34 09:37:34 Login Succeeded 09:37:34 nexus3.edgexfoundry.org:10003 09:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:37:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:37:34 Configure a credential helper to remove this warning. See 09:37:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:37:34 09:37:34 Login Succeeded 09:37:34 nexus3.edgexfoundry.org:10004 09:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:37:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:37:34 Configure a credential helper to remove this warning. See 09:37:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:37:34 09:37:34 Login Succeeded 09:37:34 docker.io 09:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:37:35 Configure a credential helper to remove this warning. See 09:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:37:35 09:37:35 Login Succeeded 09:37:35 ---> docker-login.sh ends [Pipeline] } 09:37:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:37:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:37:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:37:36 ========================================================= 09:37:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:37:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:36 + 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:37:36 Sending build context to Docker daemon 11.77MB 09:37:36 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 09:37:36 Step 2/12 : FROM ${BASE} AS builder 09:37:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:37:36 9b18e9b68314: Pulling fs layer 09:37:36 35d82f9e3411: Pulling fs layer 09:37:36 e16973657156: Pulling fs layer 09:37:36 fc693d55d65f: Pulling fs layer 09:37:36 7e9fc2657dce: Pulling fs layer 09:37:36 dda99020689f: Pulling fs layer 09:37:36 db1c61fa0a46: Pulling fs layer 09:37:36 891c053d2c06: Pulling fs layer 09:37:36 fc693d55d65f: Waiting 09:37:36 dda99020689f: Waiting 09:37:36 db1c61fa0a46: Waiting 09:37:36 7e9fc2657dce: Waiting 09:37:36 891c053d2c06: Waiting 09:37:36 e16973657156: Verifying Checksum 09:37:36 e16973657156: Download complete 09:37:36 35d82f9e3411: Verifying Checksum 09:37:36 35d82f9e3411: Download complete 09:37:36 7e9fc2657dce: Verifying Checksum 09:37:36 7e9fc2657dce: Download complete 09:37:36 dda99020689f: Verifying Checksum 09:37:36 dda99020689f: Download complete 09:37:36 9b18e9b68314: Verifying Checksum 09:37:37 9b18e9b68314: Pull complete 09:37:38 891c053d2c06: Verifying Checksum 09:37:38 891c053d2c06: Download complete 09:37:38 35d82f9e3411: Pull complete 09:37:38 e16973657156: Pull complete 09:37:39 db1c61fa0a46: Verifying Checksum 09:37:39 db1c61fa0a46: Download complete 09:37:39 fc693d55d65f: Verifying Checksum 09:37:39 fc693d55d65f: Download complete 09:37:52 fc693d55d65f: Pull complete 09:37:52 7e9fc2657dce: Pull complete 09:37:52 dda99020689f: Pull complete 09:37:58 db1c61fa0a46: Pull complete 09:38:00 891c053d2c06: Pull complete 09:38:00 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 09:38:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:38:00 ---> f96f9c87975a 09:38:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:38:02 ---> Running in 37ed0b191c4c 09:38:02 Removing intermediate container 37ed0b191c4c 09:38:02 ---> 9cfaa93d13c1 09:38:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:38:02 ---> Running in 5b3c7fa6e960 09:38:02 Removing intermediate container 5b3c7fa6e960 09:38:02 ---> 6145633645ee 09:38:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:38:02 ---> Running in 627a5adfedfa 09:38:03 Removing intermediate container 627a5adfedfa 09:38:03 ---> 485bf480df79 09:38:03 Step 6/12 : WORKDIR /device-virtual-go 09:38:03 ---> Running in fadd3935efd1 09:38:03 Removing intermediate container fadd3935efd1 09:38:03 ---> 0ec118af5c3c 09:38:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:38:03 ---> Running in e853ea94a235 09:38:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:38:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:38:05 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:38:05 (2/4) Installing libedit (20210910.3.1-r0) 09:38:05 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:38:05 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:38:05 Executing busybox-1.35.0-r17.trigger 09:38:05 OK: 226 MiB in 55 packages 09:38:06 Removing intermediate container e853ea94a235 09:38:06 ---> cd372e1237ca 09:38:06 Step 8/12 : COPY go.mod vendor* ./ 09:38:08 ---> fa16730f1aef 09:38:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:38:08 ---> Running in df8954bdda0a 09:39:05 Removing intermediate container df8954bdda0a 09:39:05 ---> 2b42f7bc7e30 09:39:05 Step 10/12 : COPY . . 09:39:05 ---> 754cf9f02562 09:39:05 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:39:05 ---> Running in d81a9e4d59b5 09:39:05 Removing intermediate container d81a9e4d59b5 09:39:05 ---> ad7cc038255a 09:39:05 Step 12/12 : RUN $MAKE 09:39:05 ---> Running in da03e111fec9 09:39:05 noop 09:39:05 Removing intermediate container da03e111fec9 09:39:05 ---> 311e6bd90da0 09:39:05 Successfully built 311e6bd90da0 09:39:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:05 + docker inspect -f . ci-base-image-arm64 09:39:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:39:05 prd-ubuntu20.04-docker-arm64-4c-16g-118088 does not seem to be running inside a container 09:39:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/65 -v /w/workspace/device-virtual-go/65:/w/workspace/device-virtual-go/65:rw,z -v /w/workspace/device-virtual-go/65@tmp:/w/workspace/device-virtual-go/65@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:39:06 $ docker top b05b506ab1041b6d1774115bdf9124a418c8f82875b1405c59344ffadf92abdb -eo pid,comm [Pipeline] { [Pipeline] sh 09:39:07 + go version 09:39:07 go version go1.18.7 linux/arm64 [Pipeline] } 09:39:07 $ docker stop --time=1 b05b506ab1041b6d1774115bdf9124a418c8f82875b1405c59344ffadf92abdb 09:39:09 $ docker rm -f b05b506ab1041b6d1774115bdf9124a418c8f82875b1405c59344ffadf92abdb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:10 + docker inspect -f . ci-base-image-arm64 09:39:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:39:10 prd-ubuntu20.04-docker-arm64-4c-16g-118088 does not seem to be running inside a container 09:39:10 $ 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/65 -v /w/workspace/device-virtual-go/65:/w/workspace/device-virtual-go/65:rw,z -v /w/workspace/device-virtual-go/65@tmp:/w/workspace/device-virtual-go/65@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:39:11 $ docker top 63a09002e13f7232dc86da9b5df21f7a0f7c2951201a3468bd5fafee6ad2a4fa -eo pid,comm [Pipeline] { [Pipeline] sh 09:39:12 + git config --global --add safe.directory /w/workspace/device-virtual-go/65 [Pipeline] fileExists [Pipeline] sh 09:39:12 + make test 09:39:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:39:14 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:40:51 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:40:51 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.154s coverage: 65.7% of statements 09:40:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:40:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:41:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:41:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:41:03 ./bin/test-attribution-txt.sh [Pipeline] echo 09:41:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:41:03 $ docker stop --time=1 63a09002e13f7232dc86da9b5df21f7a0f7c2951201a3468bd5fafee6ad2a4fa 09:41:05 $ docker rm -f 63a09002e13f7232dc86da9b5df21f7a0f7c2951201a3468bd5fafee6ad2a4fa [Pipeline] // withDockerContainer [Pipeline] sh 09:41:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:41:06 Warning: overwriting stash ‘coverage-report’ 09:41:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:41:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:41:07 + ls -al . 09:41:07 total 200 09:41:07 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:39 . 09:41:07 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:37 .. 09:41:07 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:37 .git 09:41:07 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:37 .github 09:41:07 -rw-rw-r-- 1 jenkins jenkins 337 Nov 3 09:37 .gitignore 09:41:07 -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 09:37 .golangci.yml 09:41:07 -rw-rw-r-- 1 jenkins jenkins 8527 Nov 3 09:37 Attribution.txt 09:41:07 -rw-rw-r-- 1 jenkins jenkins 11367 Nov 3 09:37 CHANGELOG.md 09:41:07 -rw-rw-r-- 1 jenkins jenkins 1709 Nov 3 09:37 Dockerfile 09:41:07 -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 09:37 GOVERNANCE.md 09:41:07 -rw-rw-r-- 1 jenkins jenkins 660 Nov 3 09:37 Jenkinsfile 09:41:07 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 09:37 LICENSE 09:41:07 -rw-rw-r-- 1 jenkins jenkins 2457 Nov 3 09:37 Makefile 09:41:07 -rw-rw-r-- 1 jenkins jenkins 623 Nov 3 09:37 OWNERS.md 09:41:07 -rw-rw-r-- 1 jenkins jenkins 3578 Nov 3 09:37 README.md 09:41:07 -rw-rw-r-- 1 jenkins jenkins 12 Nov 3 09:35 VERSION 09:41:07 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:37 bin 09:41:07 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:37 cmd 09:41:07 -rw-r--r-- 1 jenkins jenkins 44128 Nov 3 09:40 coverage.out 09:41:07 -rw-rw-r-- 1 jenkins jenkins 3388 Nov 3 09:37 go.mod 09:41:07 -rw-rw-r-- 1 jenkins jenkins 44543 Nov 3 09:37 go.sum 09:41:07 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:37 internal 09:41:07 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:37 snap 09:41:07 -rw-rw-r-- 1 jenkins jenkins 235 Nov 3 09:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:07 + 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=bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 --label arch=arm64 --label version=2.3.0-dev.29 . 09:41:07 Sending build context to Docker daemon 11.81MB 09:41:07 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 09:41:07 Step 2/25 : FROM ${BASE} AS builder 09:41:07 ---> 311e6bd90da0 09:41:07 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:41:08 ---> Running in aceb8e331676 09:41:08 Removing intermediate container aceb8e331676 09:41:08 ---> 9f05c2a2997b 09:41:08 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:41:08 ---> Running in c6a223e152d0 09:41:09 Removing intermediate container c6a223e152d0 09:41:09 ---> 6f289270bc4a 09:41:09 Step 5/25 : ARG ADD_BUILD_TAGS="" 09:41:09 ---> Running in 7c67f35ad69f 09:41:09 Removing intermediate container 7c67f35ad69f 09:41:09 ---> 35d60e702f90 09:41:09 Step 6/25 : WORKDIR /device-virtual-go 09:41:09 ---> Running in 65f30374e21c 09:41:10 Removing intermediate container 65f30374e21c 09:41:10 ---> e197f6f43093 09:41:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:41:10 ---> Running in 073fcf454892 09:41:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:41:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:41:12 OK: 226 MiB in 55 packages 09:41:13 Removing intermediate container 073fcf454892 09:41:13 ---> fc03e28a1a37 09:41:13 Step 8/25 : COPY go.mod vendor* ./ 09:41:13 ---> cfc392ba9cd2 09:41:13 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:41:13 ---> Running in b505cf5f4a46 09:41:15 Removing intermediate container b505cf5f4a46 09:41:15 ---> eeba312844b4 09:41:15 Step 10/25 : COPY . . 09:41:16 ---> 6bfbe28458d5 09:41:16 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:41:16 ---> Running in 1f580af4ba5a 09:41:17 Removing intermediate container 1f580af4ba5a 09:41:17 ---> d7d0866d988e 09:41:17 Step 12/25 : RUN $MAKE 09:41:17 ---> Running in d1fbc593bb94 09:41:18 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.29" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 09:44:09 Removing intermediate container d1fbc593bb94 09:44:09 ---> 6d34ed15bea9 09:44:09 Step 13/25 : FROM alpine:3.16 09:44:09 3.16: Pulling from library/alpine 09:44:09 9b18e9b68314: Already exists 09:44:09 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:44:09 Status: Downloaded newer image for alpine:3.16 09:44:09 ---> a6215f271958 09:44:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:44:09 ---> Running in e1d4e6938507 09:44:09 Removing intermediate container e1d4e6938507 09:44:09 ---> 80cc2133e263 09:44:09 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 09:44:09 ---> Running in a71c1a9d085c 09:44:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:44:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:44:09 (1/6) Installing dumb-init (1.2.5-r1) 09:44:09 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:44:09 (3/6) Installing libsodium (1.0.18-r0) 09:44:09 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:44:09 (5/6) Installing libzmq (4.3.4-r0) 09:44:09 (6/6) Installing zeromq (4.3.4-r0) 09:44:09 Executing busybox-1.35.0-r17.trigger 09:44:09 OK: 8 MiB in 20 packages 09:44:10 Removing intermediate container a71c1a9d085c 09:44:10 ---> a244dadfaaed 09:44:10 Step 16/25 : WORKDIR / 09:44:10 ---> Running in bdb9325ba2a8 09:44:10 Removing intermediate container bdb9325ba2a8 09:44:10 ---> bba130671573 09:44:10 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:44:11 ---> 26c3329bb95f 09:44:11 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 09:44:11 ---> 7fa0cc493741 09:44:11 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 09:44:13 ---> b6c6ed60a5b2 09:44:13 Step 20/25 : EXPOSE 59900 09:44:13 ---> Running in 9e14f51bbd70 09:44:13 Removing intermediate container 9e14f51bbd70 09:44:13 ---> 260d3404bf2f 09:44:13 Step 21/25 : ENTRYPOINT ["/device-virtual"] 09:44:13 ---> Running in aa53d991522b 09:44:13 Removing intermediate container aa53d991522b 09:44:13 ---> c197516f08df 09:44:13 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:44:14 ---> Running in 3660ac47cc2a 09:44:14 Removing intermediate container 3660ac47cc2a 09:44:14 ---> cb51e195c62f 09:44:14 Step 23/25 : LABEL arch=arm64 09:44:14 ---> Running in 6ea469fc257d 09:44:14 Removing intermediate container 6ea469fc257d 09:44:14 ---> c09eb58640a1 09:44:14 Step 24/25 : LABEL git_sha=bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 09:44:14 ---> Running in 11b5cccb8280 09:44:14 Removing intermediate container 11b5cccb8280 09:44:14 ---> e61224cf1865 09:44:14 Step 25/25 : LABEL version=2.3.0-dev.29 09:44:15 ---> Running in b33a6f7bcceb 09:44:15 Removing intermediate container b33a6f7bcceb 09:44:15 ---> 49d611438200 09:44:15 [Warning] One or more build-args [ARCH] were not consumed 09:44:15 Successfully built 49d611438200 09:44:15 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:44:15 provisioning config files... 09:44:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/65@tmp/config250012701192588417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:15 ---> docker-login.sh 09:44:15 nexus3.edgexfoundry.org:10001 09:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:16 Configure a credential helper to remove this warning. See 09:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:16 09:44:16 Login Succeeded 09:44:16 nexus3.edgexfoundry.org:10002 09:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:16 Configure a credential helper to remove this warning. See 09:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:16 09:44:16 Login Succeeded 09:44:16 nexus3.edgexfoundry.org:10003 09:44:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:17 Configure a credential helper to remove this warning. See 09:44:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:17 09:44:17 Login Succeeded 09:44:17 nexus3.edgexfoundry.org:10004 09:44:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:17 Configure a credential helper to remove this warning. See 09:44:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:17 09:44:17 Login Succeeded 09:44:17 docker.io 09:44:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:18 Configure a credential helper to remove this warning. See 09:44:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:18 09:44:18 Login Succeeded 09:44:18 ---> docker-login.sh ends [Pipeline] } 09:44:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:44:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:44:18 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 09:44:18 bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 09:44:18 latest 09:44:18 2.3.0-dev.29 09:44:18 bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9-2.3.0-dev.29 09:44:18 main 09:44:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:18 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 09:44:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:44:18 2192d66f4848: Preparing 09:44:18 a61e0b57ebdc: Preparing 09:44:18 c60c92a00559: Preparing 09:44:18 c6f27e57f2d0: Preparing 09:44:18 5d3e392a13a0: Preparing 09:44:19 5d3e392a13a0: Layer already exists 09:44:19 a61e0b57ebdc: Pushed 09:44:19 c60c92a00559: Pushed 09:44:20 c6f27e57f2d0: Pushed 09:44:25 2192d66f4848: Pushed 09:44:25 bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9: digest: sha256:af9c00560e7ca921297b08f06602cc3c14d5a43f96dcebd6a358f5ccd1887994 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:25 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 09:44:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:44:26 2192d66f4848: Preparing 09:44:26 a61e0b57ebdc: Preparing 09:44:26 c60c92a00559: Preparing 09:44:26 c6f27e57f2d0: Preparing 09:44:26 5d3e392a13a0: Preparing 09:44:26 5d3e392a13a0: Layer already exists 09:44:26 c60c92a00559: Layer already exists 09:44:26 2192d66f4848: Layer already exists 09:44:26 a61e0b57ebdc: Layer already exists 09:44:26 c6f27e57f2d0: Layer already exists 09:44:26 latest: digest: sha256:af9c00560e7ca921297b08f06602cc3c14d5a43f96dcebd6a358f5ccd1887994 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:26 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.29 09:44:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:44:27 2192d66f4848: Preparing 09:44:27 a61e0b57ebdc: Preparing 09:44:27 c60c92a00559: Preparing 09:44:27 c6f27e57f2d0: Preparing 09:44:27 5d3e392a13a0: Preparing 09:44:27 a61e0b57ebdc: Layer already exists 09:44:27 c6f27e57f2d0: Layer already exists 09:44:27 5d3e392a13a0: Layer already exists 09:44:27 2192d66f4848: Layer already exists 09:44:27 c60c92a00559: Layer already exists 09:44:27 2.3.0-dev.29: digest: sha256:af9c00560e7ca921297b08f06602cc3c14d5a43f96dcebd6a358f5ccd1887994 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:27 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9-2.3.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9-2.3.0-dev.29 09:44:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:44:28 2192d66f4848: Preparing 09:44:28 a61e0b57ebdc: Preparing 09:44:28 c60c92a00559: Preparing 09:44:28 c6f27e57f2d0: Preparing 09:44:28 5d3e392a13a0: Preparing 09:44:28 c60c92a00559: Layer already exists 09:44:28 5d3e392a13a0: Layer already exists 09:44:28 a61e0b57ebdc: Layer already exists 09:44:28 2192d66f4848: Layer already exists 09:44:28 c6f27e57f2d0: Layer already exists 09:44:28 bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9-2.3.0-dev.29: digest: sha256:af9c00560e7ca921297b08f06602cc3c14d5a43f96dcebd6a358f5ccd1887994 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:28 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 09:44:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:44:28 2192d66f4848: Preparing 09:44:28 a61e0b57ebdc: Preparing 09:44:28 c60c92a00559: Preparing 09:44:28 c6f27e57f2d0: Preparing 09:44:28 5d3e392a13a0: Preparing 09:44:28 a61e0b57ebdc: Layer already exists 09:44:28 5d3e392a13a0: Layer already exists 09:44:28 c60c92a00559: Layer already exists 09:44:28 c6f27e57f2d0: Layer already exists 09:44:28 2192d66f4848: Layer already exists 09:44:29 main: digest: sha256:af9c00560e7ca921297b08f06602cc3c14d5a43f96dcebd6a358f5ccd1887994 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:44:29 ===================================================== [Pipeline] echo 09:44:29 taggedImages: 09:44:29 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 09:44:29 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 09:44:29 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.29 09:44:29 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9-2.3.0-dev.29 09:44:29 - 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:44:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:44:29 09:44:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:44:30 arm64: Pulling from edgex-lftools-log-publisher 09:44:30 8998bd30e6a1: Pulling fs layer 09:44:30 04944245beec: Pulling fs layer 09:44:30 699f458cf7ca: Pulling fs layer 09:44:30 765212b225bb: Pulling fs layer 09:44:30 f23df028b6ca: Pulling fs layer 09:44:30 d65c8cfc05b1: Pulling fs layer 09:44:30 2437ff75d9bd: Pulling fs layer 09:44:30 f23df028b6ca: Waiting 09:44:30 d65c8cfc05b1: Waiting 09:44:30 2437ff75d9bd: Waiting 09:44:30 765212b225bb: Waiting 09:44:30 04944245beec: Verifying Checksum 09:44:30 04944245beec: Download complete 09:44:30 765212b225bb: Verifying Checksum 09:44:30 765212b225bb: Download complete 09:44:30 f23df028b6ca: Download complete 09:44:30 d65c8cfc05b1: Verifying Checksum 09:44:30 d65c8cfc05b1: Download complete 09:44:30 699f458cf7ca: Download complete 09:44:30 8998bd30e6a1: Verifying Checksum 09:44:30 8998bd30e6a1: Download complete 09:44:33 2437ff75d9bd: Verifying Checksum 09:44:33 2437ff75d9bd: Download complete 09:44:35 8998bd30e6a1: Pull complete 09:44:36 04944245beec: Pull complete 09:44:38 699f458cf7ca: Pull complete 09:44:38 765212b225bb: Pull complete 09:44:38 f23df028b6ca: Pull complete 09:44:39 d65c8cfc05b1: Pull complete 09:44:54 2437ff75d9bd: Pull complete 09:44:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:44:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:44:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:54 prd-ubuntu20.04-docker-arm64-4c-16g-118088 does not seem to be running inside a container 09:44:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/65 -v /w/workspace/device-virtual-go/65:/w/workspace/device-virtual-go/65:rw,z -v /w/workspace/device-virtual-go/65@tmp:/w/workspace/device-virtual-go/65@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:44:57 $ docker top 5d00d10815967c1b82729acc870a0fbc4b3fdfd54cc1f5a5b5e250506a3519e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:57 ---> job-cost.sh 09:44:57 lf-activate-venv: SKIPPING 09:44:57 INFO: No Stack... 09:44:58 INFO: Retrieving Pricing Info for: v3-standard-4 09:44:59 INFO: Archiving Costs [Pipeline] sh 09:44:59 + cat /w/workspace/device-virtual-go/65/archives/cost.csv 09:44:59 + cut -d, -f6 [Pipeline] lock 09:44:59 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-65-stack-cost] 09:44:59 Resource [jenkins-edgexfoundry-device-virtual-go-main-65-stack-cost] did not exist. Created. 09:44:59 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-65-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:45:00 /w/workspace/device-virtual-go/65@tmp/durable-57768344/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:45:01 + echo total: 0.10999999940395355 [Pipeline] stash 09:45:01 Warning: overwriting stash ‘stack-cost’ 09:45:01 Stashed 1 file(s) [Pipeline] } 09:45:01 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-65-stack-cost] [Pipeline] // lock [Pipeline] } 09:45:01 $ docker stop --time=1 5d00d10815967c1b82729acc870a0fbc4b3fdfd54cc1f5a5b5e250506a3519e6 09:45:02 $ docker rm -f 5d00d10815967c1b82729acc870a0fbc4b3fdfd54cc1f5a5b5e250506a3519e6 [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:45:03 provisioning config files... 09:45:03 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8118421785738299876tmp [Pipeline] { [Pipeline] sh 09:45:03 + set +x 09:45:03 + curl -s https://codecov.io/bash 09:45:03 + bash -s -- 09:45:03 09:45:03 _____ _ 09:45:03 / ____| | | 09:45:03 | | ___ __| | ___ ___ _____ __ 09:45:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:45:03 | |___| (_) | (_| | __/ (_| (_) \ V / 09:45:03 \_____\___/ \__,_|\___|\___\___/ \_/ 09:45:03 Bash-1.0.6 09:45:03 09:45:03 09:45:03 ==> git version 2.25.1 found 09:45:03 ==> 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:45:03 Release-Date: 2020-01-08 09:45:03 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:45:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:45:03 ==> Jenkins CI detected. 09:45:03 current dir:  /w/workspace/exfoundry_device-virtual-go_main 09:45:03 project root: . 09:45:03 --> token set from env 09:45:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:45:03 ==> Running gcov in . (disable via -X gcov) 09:45:03 ==> Python coveragepy not found 09:45:03 ==> Searching for coverage reports in: 09:45:03 + . 09:45:03 -> Found 1 reports 09:45:03 ==> Detecting git/mercurial file structure 09:45:03 ==> Reading reports 09:45:03 + ./coverage.out bytes=44128 09:45:03 ==> Appending adjustments 09:45:03 https://docs.codecov.io/docs/fixing-reports 09:45:03 + Found adjustments 09:45:03 ==> Gzipping contents 09:45:03 8.0K /tmp/codecov.lCENIB.gz 09:45:03 ==> Uploading reports 09:45:03 url: https://codecov.io 09:45:03 query: branch=main&commit=bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F65%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:45:03 -> Pinging Codecov 09:45:03 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=bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F65%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:45:04 -> Uploading to 09:45:04 https://storage.googleapis.com/codecov/v4/raw/2022-11-03/5E52B4B073DB2E39498172D8E973AA87/bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9/585df948-df6b-467c-9c5d-1713658c6825.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221103T094504Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=326a7227cf9ab144b43f5880f2425c3d76be7fa8ddb12a2fbb77cb896b403a30 09:45:04 % Total % Received % Xferd Average Speed Time Time Time Current 09:45:04 Dload Upload Total Spent Left Speed 09:45:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5473 0 0 100 5473 0 27228 --:--:-- --:--:-- --:--:-- 27228 09:45:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 [Pipeline] } 09:45:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:45:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:45:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:45:04 09:45:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:45:05 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:45:05 df9b9388f04a: Pulling fs layer 09:45:05 52dc419b0ee2: Pulling fs layer 09:45:05 25bc292e5bac: Pulling fs layer 09:45:05 114826534d7a: Pulling fs layer 09:45:05 4657fd5d0bcf: Pulling fs layer 09:45:05 6ad1cebc031e: Pulling fs layer 09:45:05 8a3aa393b2d8: Pulling fs layer 09:45:05 8a3aa393b2d8: Waiting 09:45:05 6ad1cebc031e: Waiting 09:45:05 114826534d7a: Waiting 09:45:05 4657fd5d0bcf: Waiting 09:45:05 25bc292e5bac: Verifying Checksum 09:45:05 25bc292e5bac: Download complete 09:45:05 52dc419b0ee2: Verifying Checksum 09:45:05 52dc419b0ee2: Download complete 09:45:05 4657fd5d0bcf: Download complete 09:45:05 df9b9388f04a: Download complete 09:45:05 6ad1cebc031e: Verifying Checksum 09:45:05 6ad1cebc031e: Download complete 09:45:05 df9b9388f04a: Pull complete 09:45:05 52dc419b0ee2: Pull complete 09:45:05 25bc292e5bac: Pull complete 09:45:06 114826534d7a: Verifying Checksum 09:45:06 114826534d7a: Download complete 09:45:06 8a3aa393b2d8: Verifying Checksum 09:45:06 8a3aa393b2d8: Download complete 09:45:09 114826534d7a: Pull complete 09:45:09 4657fd5d0bcf: Pull complete 09:45:09 6ad1cebc031e: Pull complete 09:45:13 8a3aa393b2d8: Pull complete 09:45:13 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:45:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:45:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:45:13 prd-ubuntu20.04-docker-8c-8g-118087 does not seem to be running inside a container 09:45:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:45:15 $ docker top 423cffe92580becfbda53445777974ee855876beaac9bd98ca3c224fef2fc301 -eo pid,comm [Pipeline] { [Pipeline] echo 09:45:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 09:45:15 + set -o pipefail 09:45:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 09:45:20 09:45:20 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 09:45:20 09:45:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/27d7e5e3-fcb8-4624-bade-40b23b2e7e79 09:45:20 09:45:20 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:45:20 09:45:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:45:20 09:45:20 09:45:20 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:45:20 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:45:20 More details here: https://snyk.co/ue1NS [Pipeline] } 09:45:20 $ docker stop --time=1 423cffe92580becfbda53445777974ee855876beaac9bd98ca3c224fef2fc301 09:45:22 $ docker rm -f 423cffe92580becfbda53445777974ee855876beaac9bd98ca3c224fef2fc301 [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:45:23 + git log --format=format:%s -1 bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 [Pipeline] sh 09:45:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:45:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:45:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:45:24 prd-ubuntu20.04-docker-8c-8g-118087 does not seem to be running inside a container 09:45:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:45:24 $ docker top 514ccb42f156e610e5a7be2d96071d402f795e8c3016633f2f190c807e1f5acb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:45:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:45:24 [ssh-agent] Looking for ssh-agent implementation... 09:45:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:45:24 $ docker exec 514ccb42f156e610e5a7be2d96071d402f795e8c3016633f2f190c807e1f5acb ssh-agent 09:45:24 SSH_AUTH_SOCK=/tmp/ssh-AvA1WIdhYWPX/agent.31 09:45:24 SSH_AGENT_PID=37 09:45:24 Running ssh-add (command line suppressed) 09:45:25 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5246716076839537805.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5246716076839537805.key) 09:45:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:45:25 + git semver tag 09:45:25 2022-11-03 09:45:25,539 [run_tag] DEBUG tag force:False 09:45:25 2022-11-03 09:45:25,539 [check_head_tag] DEBUG check head tag 09:45:25 2022-11-03 09:45:25,540 [execute] INFO git cat-file --batch-check 09:45:25 2022-11-03 09:45:25,540 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 09:45:25 2022-11-03 09:45:25,544 [execute] INFO git cat-file --batch 09:45:25 2022-11-03 09:45:25,544 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 09:45:25 2022-11-03 09:45:25,559 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:45:25 2022-11-03 09:45:25,560 [execute] INFO git tag -a v2.3.0-dev.29 -m v2.3.0-dev.29 09:45:25 2022-11-03 09:45:25,560 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.29', '-m', 'v2.3.0-dev.29'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 09:45:25 2022-11-03 09:45:25,565 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:45:25 2.3.0-dev.29 [Pipeline] } 09:45:25 $ docker exec --env ******** --env ******** 514ccb42f156e610e5a7be2d96071d402f795e8c3016633f2f190c807e1f5acb ssh-agent -k 09:45:25 unset SSH_AUTH_SOCK; 09:45:25 unset SSH_AGENT_PID; 09:45:25 echo Agent pid 37 killed; 09:45:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:45:26 + git semver [Pipeline] } 09:45:26 $ docker stop --time=1 514ccb42f156e610e5a7be2d96071d402f795e8c3016633f2f190c807e1f5acb 09:45:27 $ docker rm -f 514ccb42f156e610e5a7be2d96071d402f795e8c3016633f2f190c807e1f5acb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:45:28 09:45:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:45:28 0.23.1-centos7: Pulling from edgex-lftools 09:45:28 ab5ef0e58194: Pulling fs layer 09:45:28 9712f1f96733: Pulling fs layer 09:45:28 63f879dbbcfc: Pulling fs layer 09:45:28 0d9ebad4ef96: Pulling fs layer 09:45:28 e9a5061849ea: Pulling fs layer 09:45:28 d747dcd14b5f: Pulling fs layer 09:45:28 2de7ff778b66: Pulling fs layer 09:45:28 0d9ebad4ef96: Waiting 09:45:28 2de7ff778b66: Waiting 09:45:28 e9a5061849ea: Waiting 09:45:28 d747dcd14b5f: Waiting 09:45:28 9712f1f96733: Verifying Checksum 09:45:28 9712f1f96733: Download complete 09:45:28 63f879dbbcfc: Verifying Checksum 09:45:28 63f879dbbcfc: Download complete 09:45:28 0d9ebad4ef96: Verifying Checksum 09:45:28 0d9ebad4ef96: Download complete 09:45:28 d747dcd14b5f: Download complete 09:45:28 e9a5061849ea: Verifying Checksum 09:45:28 e9a5061849ea: Download complete 09:45:28 2de7ff778b66: Verifying Checksum 09:45:28 2de7ff778b66: Download complete 09:45:28 ab5ef0e58194: Verifying Checksum 09:45:28 ab5ef0e58194: Download complete 09:45:32 ab5ef0e58194: Pull complete 09:45:32 9712f1f96733: Pull complete 09:45:32 63f879dbbcfc: Pull complete 09:45:35 0d9ebad4ef96: Pull complete 09:45:35 e9a5061849ea: Pull complete 09:45:35 d747dcd14b5f: Pull complete 09:45:36 2de7ff778b66: Pull complete 09:45:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:45:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:45:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:45:36 prd-ubuntu20.04-docker-8c-8g-118087 does not seem to be running inside a container 09:45:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:45:39 $ docker top 6efe26efd10b40941ca42f66f4a70a4b344e2c7b943e1659711609c8992e811e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:45:39 provisioning config files... 09:45:39 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1915365779162191599tmp 09:45:39 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7325839014039275424tmp 09:45:39 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7165839531466349373tmp [Pipeline] { [Pipeline] echo 09:45:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:45:39 ---> sigul-configuration.sh 09:45:39 gpg: directory `/root/.gnupg' created 09:45:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:45:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:45:39 gpg: keyring `/root/.gnupg/secring.gpg' created 09:45:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:45:39 gpg: CAST5 encrypted data 09:45:39 gpg: encrypted with 1 passphrase 09:45:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:45:40 + mkdir /home/jenkins 09:45:40 + mkdir /home/jenkins/sigul [Pipeline] sh 09:45:40 + 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:45:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:45:40 ---> sigul-install.sh 09:45:40 Sigul already installed; skipping installation. [Pipeline] sh 09:45:40 + git tag --list 09:45:40 v1.0.0 09:45:40 v1.1.0 09:45:40 v1.1.1 09:45:40 v1.2.1 09:45:40 v1.2.2 09:45:40 v1.2.3 09:45:40 v1.3.0 09:45:40 v1.3.1 09:45:40 v2.0.0 09:45:40 v2.1.0 09:45:40 v2.1.1 09:45:40 v2.1.1-dev.1 09:45:40 v2.1.1-dev.2 09:45:40 v2.2.0 09:45:40 v2.2.1-dev.1 09:45:40 v2.2.1-dev.2 09:45:40 v2.2.1-dev.3 09:45:40 v2.2.1-dev.4 09:45:40 v2.2.1-dev.5 09:45:40 v2.2.1-dev.6 09:45:40 v2.2.1-dev.7 09:45:40 v2.2.1-dev.8 09:45:40 v2.3.0-dev.10 09:45:40 v2.3.0-dev.11 09:45:40 v2.3.0-dev.12 09:45:40 v2.3.0-dev.13 09:45:40 v2.3.0-dev.14 09:45:40 v2.3.0-dev.15 09:45:40 v2.3.0-dev.16 09:45:40 v2.3.0-dev.17 09:45:40 v2.3.0-dev.18 09:45:40 v2.3.0-dev.19 09:45:40 v2.3.0-dev.20 09:45:40 v2.3.0-dev.21 09:45:40 v2.3.0-dev.22 09:45:40 v2.3.0-dev.23 09:45:40 v2.3.0-dev.24 09:45:40 v2.3.0-dev.25 09:45:40 v2.3.0-dev.26 09:45:40 v2.3.0-dev.27 09:45:40 v2.3.0-dev.28 09:45:40 v2.3.0-dev.29 09:45:40 v2.3.0-dev.8 09:45:40 v2.3.0-dev.9 [Pipeline] sh 09:45:41 + lftools sign git-tag v2.3.0-dev.29 09:45:41 Signing Git tag with Sigul... 09:45:41 Signing v2.3.0-dev.29 [Pipeline] echo 09:45:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:45:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:45:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:45:42 $ docker stop --time=1 6efe26efd10b40941ca42f66f4a70a4b344e2c7b943e1659711609c8992e811e 09:45:43 $ docker rm -f 6efe26efd10b40941ca42f66f4a70a4b344e2c7b943e1659711609c8992e811e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:45:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:45:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:45:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:45:44 prd-ubuntu20.04-docker-8c-8g-118087 does not seem to be running inside a container 09:45:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:45:44 $ docker top 53fd0407741100077e5349759f4d9e0407fd4c287e91e4f8d6f172be25375ab0 -eo pid,comm 09:45:44 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:45:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:45:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:45:44 [ssh-agent] Looking for ssh-agent implementation... 09:45:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:45:45 $ docker exec 53fd0407741100077e5349759f4d9e0407fd4c287e91e4f8d6f172be25375ab0 ssh-agent 09:45:45 SSH_AUTH_SOCK=/tmp/ssh-gCLIGoIZBXDz/agent.32 09:45:45 SSH_AGENT_PID=38 09:45:45 Running ssh-add (command line suppressed) 09:45:45 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4157113569389966692.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4157113569389966692.key) 09:45:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:45:45 + git semver bump pre 09:45:45 2022-11-03 09:45:45,799 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:45:45 2022-11-03 09:45:45,799 [bump_version] DEBUG bumping version:2.3.0-dev.29 on axis:pre with prefix:dev 09:45:45 2022-11-03 09:45:45,799 [bump_version] DEBUG bumped version:2.3.0-dev.30 09:45:45 2022-11-03 09:45:45,799 [write_version] DEBUG write version:2.3.0-dev.30 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 09:45:45 2022-11-03 09:45:45,799 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:45:45 2022-11-03 09:45:45,799 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:45:45 2022-11-03 09:45:45,801 [execute] INFO git cat-file --batch-check 09:45:45 2022-11-03 09:45:45,801 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:45:45 2022-11-03 09:45:45,806 [execute] INFO git cat-file --batch 09:45:45 2022-11-03 09:45:45,806 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:45:45 2022-11-03 09:45:45,811 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:45:45 2.3.0-dev.30 [Pipeline] } 09:45:45 $ docker exec --env ******** --env ******** 53fd0407741100077e5349759f4d9e0407fd4c287e91e4f8d6f172be25375ab0 ssh-agent -k 09:45:45 unset SSH_AUTH_SOCK; 09:45:45 unset SSH_AGENT_PID; 09:45:45 echo Agent pid 38 killed; 09:45:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:45:46 + git semver [Pipeline] } 09:45:46 $ docker stop --time=1 53fd0407741100077e5349759f4d9e0407fd4c287e91e4f8d6f172be25375ab0 09:45:47 $ docker rm -f 53fd0407741100077e5349759f4d9e0407fd4c287e91e4f8d6f172be25375ab0 [Pipeline] // withDockerContainer [Pipeline] sh 09:45:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:45:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:45:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:45:48 prd-ubuntu20.04-docker-8c-8g-118087 does not seem to be running inside a container 09:45:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:45:48 $ docker top ea92429d9910acd9c93030eb629b691ecc682dd186171760add74d04fed3c961 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:45:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:45:49 [ssh-agent] Looking for ssh-agent implementation... 09:45:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:45:49 $ docker exec ea92429d9910acd9c93030eb629b691ecc682dd186171760add74d04fed3c961 ssh-agent 09:45:49 SSH_AUTH_SOCK=/tmp/ssh-L5N2LpWlCn9T/agent.33 09:45:49 SSH_AGENT_PID=39 09:45:49 Running ssh-add (command line suppressed) 09:45:49 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_857290327459725678.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_857290327459725678.key) 09:45:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:45:49 + git semver push 09:45:49 2022-11-03 09:45:49,824 [run_push] DEBUG push 09:45:49 2022-11-03 09:45:49,825 [execute] INFO git cat-file --batch-check 09:45:49 2022-11-03 09:45:49,825 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:45:49 2022-11-03 09:45:49,830 [execute] INFO git rev-list 7fe54c21114a61f1ecbfb8014272aebd1f9333f1 -- 09:45:49 2022-11-03 09:45:49,830 [execute] DEBUG Popen(['git', 'rev-list', '7fe54c21114a61f1ecbfb8014272aebd1f9333f1', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:45:49 2022-11-03 09:45:49,838 [execute] INFO git fetch -v origin 09:45:49 2022-11-03 09:45:49,838 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:45:50 2022-11-03 09:45:50,433 [run_push] DEBUG no remote changes detected 09:45:50 2022-11-03 09:45:50,433 [execute] INFO git push origin semver 09:45:50 2022-11-03 09:45:50,434 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:45:51 2022-11-03 09:45:51,250 [run_push] DEBUG push all version tags 09:45:51 2022-11-03 09:45:51,250 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:45:51 2022-11-03 09:45:51,251 [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:45:52 2022-11-03 09:45:52,085 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:45:52 2.3.0-dev.30 [Pipeline] } 09:45:52 $ docker exec --env ******** --env ******** ea92429d9910acd9c93030eb629b691ecc682dd186171760add74d04fed3c961 ssh-agent -k 09:45:52 unset SSH_AUTH_SOCK; 09:45:52 unset SSH_AGENT_PID; 09:45:52 echo Agent pid 39 killed; 09:45:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:45:52 + git semver [Pipeline] } 09:45:53 $ docker stop --time=1 ea92429d9910acd9c93030eb629b691ecc682dd186171760add74d04fed3c961 09:45:54 $ docker rm -f ea92429d9910acd9c93030eb629b691ecc682dd186171760add74d04fed3c961 [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:45:54 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 09:45:54 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 09:45:54 total 16 09:45:54 drwxr-xr-x 3 root root 4096 Nov 3 09:37 . 09:45:54 drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 09:45 .. 09:45:54 drwxr-xr-x 2 root root 4096 Nov 3 09:37 cost 09:45:54 -rw-r--r-- 1 root root 88 Nov 3 09:37 cost.csv 09:45:54 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 09:45:54 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 09:45:54 total 16 09:45:54 drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 09:37 . 09:45:54 drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 09:45 .. 09:45:54 drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 09:37 cost 09:45:54 -rw-r--r-- 1 jenkins jenkins 88 Nov 3 09:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:45:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:45:56 ---> package-listing.sh 09:45:56 ++ facter osfamily 09:45:56 ++ tr '[:upper:]' '[:lower:]' 09:45:56 + OS_FAMILY=debian 09:45:56 + workspace=/w/workspace/exfoundry_device-virtual-go_main 09:45:56 + START_PACKAGES=/tmp/packages_start.txt 09:45:56 + END_PACKAGES=/tmp/packages_end.txt 09:45:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:45:56 + PACKAGES=/tmp/packages_start.txt 09:45:56 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 09:45:56 + PACKAGES=/tmp/packages_end.txt 09:45:56 + case "${OS_FAMILY}" in 09:45:56 + dpkg -l 09:45:56 + grep '^ii' 09:45:56 + '[' -f /tmp/packages_start.txt ']' 09:45:56 + '[' -f /tmp/packages_end.txt ']' 09:45:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:45:56 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 09:45:56 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 09:45:56 + 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:45:56 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:45:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:45:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:45:57 prd-ubuntu20.04-docker-8c-8g-118087 does not seem to be running inside a container 09:45:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:45:57 $ docker top 75b8eda3f10ee0b74ca0145c37c8f745b4a4bbc95578eec706ea60013ac9da60 -eo pid,comm [Pipeline] { [Pipeline] sh 09:45:57 + touch /tmp/pre-build-complete [Pipeline] sh 09:45:58 + mkdir -p /var/log/sysstat [Pipeline] sh 09:45:58 + ls /var/log/sa-host 09:45:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:45:58 provisioning config files... 09:45:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11444815199368093678tmp [Pipeline] { [Pipeline] echo 09:45:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:45:58 ---> create-netrc.sh [Pipeline] } 09:45:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:45:59 ---> python-tools-install.sh [Pipeline] echo 09:45:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:45:59 ---> sudo-logs.sh 09:45:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:45:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:45:59 ---> job-cost.sh 09:45:59 lf-activate-venv: SKIPPING 09:45:59 DEBUG: total: 0.2199999988079071 09:45:59 INFO: Retrieving Stack Cost... 09:46:00 INFO: Retrieving Pricing Info for: v3-standard-8 09:46:00 INFO: Archiving Costs [Pipeline] echo 09:46:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:46:01 ---> logs-deploy.sh 09:46:01 lf-activate-venv: SKIPPING 09:46:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/65 09:46:01 INFO: archiving workspace using pattern(s): 09:46:01 Archives upload complete. 09:46:02 INFO: archiving logs to Nexus