Started by upstream project "edgexfoundry/cd-management/release" build number 120 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 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-ssh5499501237478602429.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-ssh9189228755029199734.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-ssh8169898269952162351.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-ssh9969774249131423804.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-ssh9783861756815124190.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-118848 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 (main) Commit message: "build: Update to use released SDK and go-mods (#320)" > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 # timeout=10 > git rev-list --no-walk 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:25:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:25:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:25:37 ========================================================= 22:25:37 EdgeX Global Pipelines Version Info 22:25:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:25:38 ------------------- 22:25:38 stable info: 22:25:38 ------------------- 22:25:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:25:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:25:38 Message: update stable to v1.0.244 22:25:38 ------------------- 22:25:38 experimental info: 22:25:38 ------------------- 22:25:38 Commited By: **** collab-it+edgex@linuxfoundation.org 22:25:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:25:38 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c2f1e9 [Pipeline] echo 22:25:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:39 provisioning config files... 22:25:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11135697250978020700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:39 ---> docker-login.sh 22:25:39 nexus3.edgexfoundry.org:10001 22:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:40 Configure a credential helper to remove this warning. See 22:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:40 22:25:40 Login Succeeded 22:25:40 nexus3.edgexfoundry.org:10002 22:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:40 Configure a credential helper to remove this warning. See 22:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:40 22:25:40 Login Succeeded 22:25:40 nexus3.edgexfoundry.org:10003 22:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:40 Configure a credential helper to remove this warning. See 22:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:40 22:25:40 Login Succeeded 22:25:40 nexus3.edgexfoundry.org:10004 22:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:40 Configure a credential helper to remove this warning. See 22:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:40 22:25:40 Login Succeeded 22:25:40 docker.io 22:25:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:40 Configure a credential helper to remove this warning. See 22:25:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:40 22:25:40 Login Succeeded 22:25:40 ---> docker-login.sh ends [Pipeline] } 22:25:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:25:41 + git rev-list -1 --merges 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23~1..0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] echo 22:25:41 -----------> git rev-list -1 --merges 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23~1..0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [false] [Pipeline] sh 22:25:41 + git log --format=format:%s -1 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] echo 22:25:41 ========================================================= 22:25:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 22:25:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:25:41 + git log --format=format:%s -1 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] echo 22:25:41 [semverPrep] GIT_COMMIT: 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23, Commit Message: build: Update to use released SDK and go-mods (#320) [Pipeline] echo 22:25:41 [semverPrep] This is not a build commit. [Pipeline] sh 22:25:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:25:42 + grep -v github /etc/ssh/ssh_known_hosts 22:25:42 + [ -e /tmp/ssh_known_hosts ] 22:25:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:25:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:25:42 + sudo tee -a /etc/ssh/ssh_known_hosts 22:25:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:25:42 22:25:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:25:42 0.1.4: Pulling from edgex-devops/py-git-semver 22:25:42 b85a868b505f: Pulling fs layer 22:25:42 e2be974225ed: Pulling fs layer 22:25:42 339a4e72a1f5: Pulling fs layer 22:25:42 988bab9f4d93: Pulling fs layer 22:25:42 1469e6f7b9e6: Pulling fs layer 22:25:42 eaf3925da568: Pulling fs layer 22:25:42 bab4dde63d76: Pulling fs layer 22:25:42 bde34c3a00c8: Pulling fs layer 22:25:42 b352a97aabf1: Pulling fs layer 22:25:42 4872d77fe225: Pulling fs layer 22:25:42 5851b861e8e6: Pulling fs layer 22:25:42 1469e6f7b9e6: Waiting 22:25:42 eaf3925da568: Waiting 22:25:42 bab4dde63d76: Waiting 22:25:42 4872d77fe225: Waiting 22:25:42 bde34c3a00c8: Waiting 22:25:42 988bab9f4d93: Waiting 22:25:42 b352a97aabf1: Waiting 22:25:42 5851b861e8e6: Waiting 22:25:42 e2be974225ed: Download complete 22:25:42 988bab9f4d93: Verifying Checksum 22:25:42 988bab9f4d93: Download complete 22:25:43 1469e6f7b9e6: Verifying Checksum 22:25:43 1469e6f7b9e6: Download complete 22:25:43 339a4e72a1f5: Verifying Checksum 22:25:43 339a4e72a1f5: Download complete 22:25:43 eaf3925da568: Download complete 22:25:43 bde34c3a00c8: Download complete 22:25:43 b352a97aabf1: Verifying Checksum 22:25:43 b352a97aabf1: Download complete 22:25:43 4872d77fe225: Verifying Checksum 22:25:43 4872d77fe225: Download complete 22:25:43 5851b861e8e6: Verifying Checksum 22:25:43 b85a868b505f: Verifying Checksum 22:25:43 b85a868b505f: Download complete 22:25:43 bab4dde63d76: Verifying Checksum 22:25:43 bab4dde63d76: Download complete 22:25:44 b85a868b505f: Pull complete 22:25:44 e2be974225ed: Pull complete 22:25:44 339a4e72a1f5: Pull complete 22:25:45 988bab9f4d93: Pull complete 22:25:45 1469e6f7b9e6: Pull complete 22:25:45 eaf3925da568: Pull complete 22:25:47 bab4dde63d76: Pull complete 22:25:47 bde34c3a00c8: Pull complete 22:25:47 b352a97aabf1: Pull complete 22:25:47 4872d77fe225: Pull complete 22:25:47 5851b861e8e6: Pull complete 22:25:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:25:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:25:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:47 prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container 22:25:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:25:48 $ docker top 22235aae1bad5abbbaafd12bcd6b26673390bbdbb70bffb6c171b3ebaa649924 -eo pid,comm 22:25:48 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). 22:25:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:25:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:25:49 [ssh-agent] Looking for ssh-agent implementation... 22:25:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:25:49 $ docker exec 22235aae1bad5abbbaafd12bcd6b26673390bbdbb70bffb6c171b3ebaa649924 ssh-agent 22:25:49 SSH_AUTH_SOCK=/tmp/ssh-CRx8mEdwscao/agent.33 22:25:49 SSH_AGENT_PID=39 22:25:49 Running ssh-add (command line suppressed) 22:25:49 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18350648233273447920.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18350648233273447920.key) 22:25:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:25:49 + git tag --points-at 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] } 22:25:49 $ docker exec --env ******** --env ******** 22235aae1bad5abbbaafd12bcd6b26673390bbdbb70bffb6c171b3ebaa649924 ssh-agent -k 22:25:49 unset SSH_AUTH_SOCK; 22:25:49 unset SSH_AGENT_PID; 22:25:49 echo Agent pid 39 killed; 22:25:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:25:49 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.3.0|v2.3.0-dev.30' [Pipeline] sshagent 22:25:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:25:49 [ssh-agent] Looking for ssh-agent implementation... 22:25:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:25:49 $ docker exec 22235aae1bad5abbbaafd12bcd6b26673390bbdbb70bffb6c171b3ebaa649924 ssh-agent 22:25:50 SSH_AUTH_SOCK=/tmp/ssh-CpqDArIiaUac/agent.71 22:25:50 SSH_AGENT_PID=77 22:25:50 Running ssh-add (command line suppressed) 22:25:50 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8664729298936945163.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8664729298936945163.key) 22:25:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:25:50 + git semver init 22:25:50 2022-11-09 22:25:50,616 [run_init] DEBUG init version:0.0.0 force:False 22:25:50 2022-11-09 22:25:50,616 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 22:25:50 2022-11-09 22:25:50,617 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 22:25:50 2022-11-09 22:25:50,617 [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) 22:25:52 2022-11-09 22:25:51,730 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 22:25:52 2022-11-09 22:25:51,730 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 22:25:52 2022-11-09 22:25:51,731 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:25:52 2022-11-09 22:25:51,731 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:25:52 2.3.0 [Pipeline] } 22:25:52 $ docker exec --env ******** --env ******** 22235aae1bad5abbbaafd12bcd6b26673390bbdbb70bffb6c171b3ebaa649924 ssh-agent -k 22:25:52 unset SSH_AUTH_SOCK; 22:25:52 unset SSH_AGENT_PID; 22:25:52 echo Agent pid 77 killed; 22:25:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:25:52 + git semver [Pipeline] } 22:25:52 $ docker stop --time=1 22235aae1bad5abbbaafd12bcd6b26673390bbdbb70bffb6c171b3ebaa649924 22:25:54 $ docker rm -f 22235aae1bad5abbbaafd12bcd6b26673390bbdbb70bffb6c171b3ebaa649924 [Pipeline] // withDockerContainer [Pipeline] sh 22:25:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:25:54 Stashed 1 file(s) [Pipeline] echo 22:25:54 [edgeXSemver]: initialized semver on version 2.3.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:25:55 + git checkout 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 22:25:55 HEAD is now at 0c2f1e9 build: Update to use released SDK and go-mods (#320) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:55 provisioning config files... 22:25:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12197645889503118525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:55 ---> docker-login.sh 22:25:55 nexus3.edgexfoundry.org:10001 22:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:55 Configure a credential helper to remove this warning. See 22:25:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:55 22:25:55 Login Succeeded 22:25:55 nexus3.edgexfoundry.org:10002 22:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:55 Configure a credential helper to remove this warning. See 22:25:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:55 22:25:55 Login Succeeded 22:25:55 nexus3.edgexfoundry.org:10003 22:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:55 Configure a credential helper to remove this warning. See 22:25:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:55 22:25:55 Login Succeeded 22:25:55 nexus3.edgexfoundry.org:10004 22:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:55 Configure a credential helper to remove this warning. See 22:25:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:55 22:25:55 Login Succeeded 22:25:55 docker.io 22:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:56 Configure a credential helper to remove this warning. See 22:25:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:56 22:25:56 Login Succeeded 22:25:56 ---> docker-login.sh ends [Pipeline] } 22:25:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:25:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:25:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:25:56 ========================================================= 22:25:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:25:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:56 + 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 . 22:25:56 Sending build context to Docker daemon 23.25MB 22:25:56 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:25:56 Step 2/12 : FROM ${BASE} AS builder 22:25:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:25:56 213ec9aee27d: Pulling fs layer 22:25:56 4583459ba037: Pulling fs layer 22:25:56 93c1e223e6f2: Pulling fs layer 22:25:56 53926ce57604: Pulling fs layer 22:25:56 21b2b0c7a3f4: Pulling fs layer 22:25:56 22ff95d597cd: Pulling fs layer 22:25:56 12d6caf4c0d1: Pulling fs layer 22:25:56 96b7cbca73a9: Pulling fs layer 22:25:56 a7acece74701: Pulling fs layer 22:25:56 53926ce57604: Waiting 22:25:56 21b2b0c7a3f4: Waiting 22:25:56 22ff95d597cd: Waiting 22:25:56 a7acece74701: Waiting 22:25:56 12d6caf4c0d1: Waiting 22:25:56 96b7cbca73a9: Waiting 22:25:56 93c1e223e6f2: Verifying Checksum 22:25:56 93c1e223e6f2: Download complete 22:25:56 4583459ba037: Download complete 22:25:56 21b2b0c7a3f4: Verifying Checksum 22:25:56 21b2b0c7a3f4: Download complete 22:25:56 22ff95d597cd: Verifying Checksum 22:25:56 22ff95d597cd: Download complete 22:25:56 213ec9aee27d: Verifying Checksum 22:25:56 12d6caf4c0d1: Verifying Checksum 22:25:56 12d6caf4c0d1: Download complete 22:25:56 213ec9aee27d: Pull complete 22:25:57 4583459ba037: Pull complete 22:25:57 93c1e223e6f2: Pull complete 22:25:57 a7acece74701: Verifying Checksum 22:25:57 a7acece74701: Download complete 22:25:57 96b7cbca73a9: Verifying Checksum 22:25:57 96b7cbca73a9: Download complete 22:25:57 53926ce57604: Verifying Checksum 22:25:57 53926ce57604: Download complete 22:26:01 53926ce57604: Pull complete 22:26:01 21b2b0c7a3f4: Pull complete 22:26:01 22ff95d597cd: Pull complete 22:26:01 12d6caf4c0d1: Pull complete 22:26:03 96b7cbca73a9: Pull complete 22:26:04 a7acece74701: Pull complete 22:26:04 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:26:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:26:04 ---> db6d94c90886 22:26:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:26:06 ---> Running in 1658ada423ae 22:26:06 Removing intermediate container 1658ada423ae 22:26:06 ---> 3099182a0a40 22:26:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:26:06 ---> Running in 5b4b5be5a805 22:26:06 Removing intermediate container 5b4b5be5a805 22:26:06 ---> 9c8e48c5f91a 22:26:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:26:06 ---> Running in 8fdf377d9f73 22:26:06 Removing intermediate container 8fdf377d9f73 22:26:06 ---> 7398808295e8 22:26:06 Step 6/12 : WORKDIR /device-virtual-go 22:26:06 ---> Running in a2c2e74fa14e 22:26:06 Removing intermediate container a2c2e74fa14e 22:26:06 ---> ce59b1974867 22:26:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:26:06 ---> Running in c87455df4060 22:26:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:26:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:26:07 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:26:07 (2/4) Installing libedit (20210910.3.1-r0) 22:26:07 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:26:07 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:26:07 Executing busybox-1.35.0-r17.trigger 22:26:07 OK: 216 MiB in 55 packages 22:26:07 Removing intermediate container c87455df4060 22:26:07 ---> 3b5680fddbf4 22:26:07 Step 8/12 : COPY go.mod vendor* ./ 22:26:07 ---> fae19419775f 22:26:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:26:07 ---> Running in 3d4f50379fe8 22:26:09 Still waiting to schedule task 22:26:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:26:26 Removing intermediate container 3d4f50379fe8 22:26:26 ---> 755ea34084cf 22:26:26 Step 10/12 : COPY . . 22:26:26 ---> ec163c0aad8e 22:26:26 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:26:26 ---> Running in c88711c14ce0 22:26:26 Removing intermediate container c88711c14ce0 22:26:26 ---> 067a634683f7 22:26:26 Step 12/12 : RUN $MAKE 22:26:26 ---> Running in acc3147d70b5 22:26:26 noop 22:26:26 Removing intermediate container acc3147d70b5 22:26:26 ---> 817a094c8f88 22:26:26 Successfully built 817a094c8f88 22:26:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:26 + docker inspect -f . ci-base-image-x86_64 22:26:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:26 prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container 22:26:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:26:26 $ docker top 78a705a78d7065b8561207fb02c5a0a074d73038f6f48b708759ae41d471acbe -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:27 + go version 22:26:27 go version go1.18.7 linux/amd64 [Pipeline] } 22:26:27 $ docker stop --time=1 78a705a78d7065b8561207fb02c5a0a074d73038f6f48b708759ae41d471acbe 22:26:28 $ docker rm -f 78a705a78d7065b8561207fb02c5a0a074d73038f6f48b708759ae41d471acbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:28 + docker inspect -f . ci-base-image-x86_64 22:26:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:28 prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container 22:26:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:26:29 $ docker top a5f4d997b7ac79805256d4bcd31ab2a8fd3df0412475d0221032a4b6211d4d16 -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:29 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 22:26:29 + make test 22:26:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:26:30 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:26:40 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:26:40 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 22:26:46 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." 22:26:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:26:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:26:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:26:50 ./bin/test-attribution-txt.sh [Pipeline] echo 22:26:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:26:50 $ docker stop --time=1 a5f4d997b7ac79805256d4bcd31ab2a8fd3df0412475d0221032a4b6211d4d16 22:26:52 $ docker rm -f a5f4d997b7ac79805256d4bcd31ab2a8fd3df0412475d0221032a4b6211d4d16 [Pipeline] // withDockerContainer [Pipeline] sh 22:26:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:26:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:26:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:26:53 + ls -al . 22:26:53 total 204 22:26:53 drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 22:26 . 22:26:53 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 22:25 .. 22:26:53 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 22:26 .git 22:26:53 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 22:25 .github 22:26:53 -rw-rw-r-- 1 jenkins jenkins 337 Nov 9 22:25 .gitignore 22:26:53 -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 22:25 .golangci.yml 22:26:53 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 22:25 .semver 22:26:53 -rw-rw-r-- 1 jenkins jenkins 8527 Nov 9 22:25 Attribution.txt 22:26:53 -rw-rw-r-- 1 jenkins jenkins 11367 Nov 9 22:25 CHANGELOG.md 22:26:53 -rw-rw-r-- 1 jenkins jenkins 1709 Nov 9 22:25 Dockerfile 22:26:53 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 22:25 GOVERNANCE.md 22:26:53 -rw-rw-r-- 1 jenkins jenkins 660 Nov 9 22:25 Jenkinsfile 22:26:53 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 22:25 LICENSE 22:26:53 -rw-rw-r-- 1 jenkins jenkins 2457 Nov 9 22:25 Makefile 22:26:53 -rw-rw-r-- 1 jenkins jenkins 623 Nov 9 22:25 OWNERS.md 22:26:53 -rw-rw-r-- 1 jenkins jenkins 3578 Nov 9 22:25 README.md 22:26:53 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 22:25 VERSION 22:26:53 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 22:25 bin 22:26:53 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 22:25 cmd 22:26:53 -rw-r--r-- 1 jenkins jenkins 44128 Nov 9 22:26 coverage.out 22:26:53 -rw-rw-r-- 1 jenkins jenkins 3339 Nov 9 22:25 go.mod 22:26:53 -rw-rw-r-- 1 jenkins jenkins 44445 Nov 9 22:25 go.sum 22:26:53 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 22:25 internal 22:26:53 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 22:25 snap 22:26:53 -rw-rw-r-- 1 jenkins jenkins 235 Nov 9 22:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:53 + 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=0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 --label arch=amd64 --label version=2.3.0 . 22:26:53 Sending build context to Docker daemon 23.3MB 22:26:53 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:26:53 Step 2/25 : FROM ${BASE} AS builder 22:26:53 ---> 817a094c8f88 22:26:53 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:26:53 ---> Running in 9c67476413f3 22:26:53 Removing intermediate container 9c67476413f3 22:26:53 ---> 1d8f0212303f 22:26:53 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:26:53 ---> Running in c45b9705c4d0 22:26:53 Removing intermediate container c45b9705c4d0 22:26:53 ---> 4e4a750e3fb5 22:26:53 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:26:53 ---> Running in 2d5314ea80c0 22:26:53 Removing intermediate container 2d5314ea80c0 22:26:53 ---> f81762fd78c6 22:26:53 Step 6/25 : WORKDIR /device-virtual-go 22:26:53 ---> Running in 4df89cbaa2c6 22:26:54 Removing intermediate container 4df89cbaa2c6 22:26:54 ---> 2155bcedf028 22:26:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:26:54 ---> Running in f29491d401bf 22:26:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:26:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:26:54 OK: 216 MiB in 55 packages 22:26:55 Removing intermediate container f29491d401bf 22:26:55 ---> 8eb28c8e2dc9 22:26:55 Step 8/25 : COPY go.mod vendor* ./ 22:26:55 ---> 02340adf1fc2 22:26:55 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:26:55 ---> Running in 955c2f3f4e12 22:26:55 Removing intermediate container 955c2f3f4e12 22:26:55 ---> 7dbfef3d42f3 22:26:55 Step 10/25 : COPY . . 22:26:56 ---> 23dd9622c0df 22:26:56 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:26:56 ---> Running in 93f1d1ff1186 22:26:56 Removing intermediate container 93f1d1ff1186 22:26:56 ---> d469f21cb1c0 22:26:56 Step 12/25 : RUN $MAKE 22:26:56 ---> Running in 4431f0939beb 22:26:56 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 22:27:18 Removing intermediate container 4431f0939beb 22:27:18 ---> 541f9c445360 22:27:18 Step 13/25 : FROM alpine:3.16 22:27:18 3.16: Pulling from library/alpine 22:27:18 213ec9aee27d: Already exists 22:27:18 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:27:18 Status: Downloaded newer image for alpine:3.16 22:27:18 ---> 9c6f07244728 22:27:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:27:18 ---> Running in ada0fb683d6b 22:27:18 Removing intermediate container ada0fb683d6b 22:27:18 ---> efe477ef5563 22:27:18 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 22:27:18 ---> Running in 93d587177f55 22:27:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:27:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:27:18 (1/6) Installing dumb-init (1.2.5-r1) 22:27:18 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:27:18 (3/6) Installing libsodium (1.0.18-r0) 22:27:18 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:27:18 (5/6) Installing libzmq (4.3.4-r0) 22:27:18 (6/6) Installing zeromq (4.3.4-r0) 22:27:18 Executing busybox-1.35.0-r17.trigger 22:27:18 OK: 8 MiB in 20 packages 22:27:18 Removing intermediate container 93d587177f55 22:27:18 ---> bbdaf679ff6d 22:27:18 Step 16/25 : WORKDIR / 22:27:18 ---> Running in 5c95bb399897 22:27:18 Removing intermediate container 5c95bb399897 22:27:18 ---> 8a8464976616 22:27:18 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:27:18 ---> 700c8bdbd36c 22:27:18 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:27:18 ---> 30289c53be6d 22:27:18 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:27:18 ---> 87af6b8732fe 22:27:18 Step 20/25 : EXPOSE 59900 22:27:18 ---> Running in 22b1db3c3665 22:27:18 Removing intermediate container 22b1db3c3665 22:27:18 ---> 9ec6b31cc692 22:27:18 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:27:18 ---> Running in e36bd8fdf60c 22:27:18 Removing intermediate container e36bd8fdf60c 22:27:18 ---> 74dd129c94f1 22:27:18 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:27:18 ---> Running in cbb0c5c2daf5 22:27:18 Removing intermediate container cbb0c5c2daf5 22:27:18 ---> a5e52dc2564c 22:27:18 Step 23/25 : LABEL arch=amd64 22:27:18 ---> Running in de77acc821c2 22:27:18 Removing intermediate container de77acc821c2 22:27:18 ---> 59a4d3bca6c0 22:27:18 Step 24/25 : LABEL git_sha=0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 22:27:18 ---> Running in f145171f7f86 22:27:18 Removing intermediate container f145171f7f86 22:27:18 ---> d90e193b6776 22:27:18 Step 25/25 : LABEL version=2.3.0 22:27:18 ---> Running in d5a07e4762d4 22:27:18 Removing intermediate container d5a07e4762d4 22:27:18 ---> d831ce9a1ec2 22:27:18 [Warning] One or more build-args [ARCH] were not consumed 22:27:18 Successfully built d831ce9a1ec2 22:27:18 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:27:18 provisioning config files... 22:27:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10564326497493483810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:27:19 ---> docker-login.sh 22:27:19 nexus3.edgexfoundry.org:10001 22:27:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:19 Configure a credential helper to remove this warning. See 22:27:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:19 22:27:19 Login Succeeded 22:27:19 nexus3.edgexfoundry.org:10002 22:27:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:19 Configure a credential helper to remove this warning. See 22:27:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:19 22:27:19 Login Succeeded 22:27:19 nexus3.edgexfoundry.org:10003 22:27:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:19 Configure a credential helper to remove this warning. See 22:27:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:19 22:27:19 Login Succeeded 22:27:19 nexus3.edgexfoundry.org:10004 22:27:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:19 Configure a credential helper to remove this warning. See 22:27:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:19 22:27:19 Login Succeeded 22:27:19 docker.io 22:27:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:19 Configure a credential helper to remove this warning. See 22:27:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:19 22:27:19 Login Succeeded 22:27:19 ---> docker-login.sh ends [Pipeline] } 22:27:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:27:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:27:19 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 22:27:19 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 22:27:19 latest 22:27:19 2.3.0 22:27:19 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 22:27:19 main 22:27:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:19 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 22:27:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:27:20 56c549fbde95: Preparing 22:27:20 50d99aea6236: Preparing 22:27:20 457423b4a798: Preparing 22:27:20 a4864a484d90: Preparing 22:27:20 994393dc58e7: Preparing 22:27:20 994393dc58e7: Layer already exists 22:27:20 50d99aea6236: Pushed 22:27:20 457423b4a798: Pushed 22:27:20 a4864a484d90: Pushed 22:27:22 56c549fbde95: Pushed 22:27:22 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23: digest: sha256:525b2cd733d4aca4c77268ca1a6347472811f038d3788faad0b597bd19265e97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:22 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 22:27:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:27:23 56c549fbde95: Preparing 22:27:23 50d99aea6236: Preparing 22:27:23 457423b4a798: Preparing 22:27:23 a4864a484d90: Preparing 22:27:23 994393dc58e7: Preparing 22:27:23 457423b4a798: Layer already exists 22:27:23 56c549fbde95: Layer already exists 22:27:23 50d99aea6236: Layer already exists 22:27:23 a4864a484d90: Layer already exists 22:27:23 994393dc58e7: Layer already exists 22:27:23 latest: digest: sha256:525b2cd733d4aca4c77268ca1a6347472811f038d3788faad0b597bd19265e97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:23 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0 22:27:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:27:23 56c549fbde95: Preparing 22:27:23 50d99aea6236: Preparing 22:27:23 457423b4a798: Preparing 22:27:23 a4864a484d90: Preparing 22:27:23 994393dc58e7: Preparing 22:27:23 50d99aea6236: Layer already exists 22:27:23 457423b4a798: Layer already exists 22:27:23 a4864a484d90: Layer already exists 22:27:23 56c549fbde95: Layer already exists 22:27:23 994393dc58e7: Layer already exists 22:27:23 2.3.0: digest: sha256:525b2cd733d4aca4c77268ca1a6347472811f038d3788faad0b597bd19265e97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:24 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 22:27:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:27:24 56c549fbde95: Preparing 22:27:24 50d99aea6236: Preparing 22:27:24 457423b4a798: Preparing 22:27:24 a4864a484d90: Preparing 22:27:24 994393dc58e7: Preparing 22:27:24 a4864a484d90: Layer already exists 22:27:24 994393dc58e7: Layer already exists 22:27:24 50d99aea6236: Layer already exists 22:27:24 56c549fbde95: Layer already exists 22:27:24 457423b4a798: Layer already exists 22:27:24 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0: digest: sha256:525b2cd733d4aca4c77268ca1a6347472811f038d3788faad0b597bd19265e97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:24 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 22:27:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:27:25 56c549fbde95: Preparing 22:27:25 50d99aea6236: Preparing 22:27:25 457423b4a798: Preparing 22:27:25 a4864a484d90: Preparing 22:27:25 994393dc58e7: Preparing 22:27:25 a4864a484d90: Layer already exists 22:27:25 56c549fbde95: Layer already exists 22:27:25 50d99aea6236: Layer already exists 22:27:25 457423b4a798: Layer already exists 22:27:25 994393dc58e7: Layer already exists 22:27:25 main: digest: sha256:525b2cd733d4aca4c77268ca1a6347472811f038d3788faad0b597bd19265e97 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:27:25 ===================================================== [Pipeline] echo 22:27:25 taggedImages: 22:27:25 - nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 22:27:25 - nexus3.edgexfoundry.org:10004/device-virtual:latest 22:27:25 - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0 22:27:25 - nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 22:27:25 - 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 22:27:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:27:25 22:27:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:27:25 latest: Pulling from edgex-lftools-log-publisher 22:27:25 5eb5b503b376: Pulling fs layer 22:27:25 5c69ac0246d0: Pulling fs layer 22:27:25 ec43610c2a17: Pulling fs layer 22:27:25 3a2ae6a8a46f: Pulling fs layer 22:27:25 33b1e0a273af: Pulling fs layer 22:27:25 5d3b04190fa2: Pulling fs layer 22:27:25 2f39f015ded8: Pulling fs layer 22:27:25 3a2ae6a8a46f: Waiting 22:27:25 5d3b04190fa2: Waiting 22:27:25 2f39f015ded8: Waiting 22:27:25 33b1e0a273af: Waiting 22:27:25 5c69ac0246d0: Download complete 22:27:25 3a2ae6a8a46f: Download complete 22:27:25 33b1e0a273af: Verifying Checksum 22:27:25 33b1e0a273af: Download complete 22:27:25 5d3b04190fa2: Download complete 22:27:26 ec43610c2a17: Verifying Checksum 22:27:26 ec43610c2a17: Download complete 22:27:26 5eb5b503b376: Verifying Checksum 22:27:26 5eb5b503b376: Download complete 22:27:26 2f39f015ded8: Download complete 22:27:27 5eb5b503b376: Pull complete 22:27:27 5c69ac0246d0: Pull complete 22:27:27 ec43610c2a17: Pull complete 22:27:27 3a2ae6a8a46f: Pull complete 22:27:28 33b1e0a273af: Pull complete 22:27:28 5d3b04190fa2: Pull complete 22:27:32 2f39f015ded8: Pull complete 22:27:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:27:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:27:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:27:32 prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container 22:27:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:27:33 $ docker top 09ec27867cca59e275ac06c124cf03c2346177b15fcd050e15f5d5f9bed5ecce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:27:33 ---> job-cost.sh 22:27:33 lf-activate-venv: SKIPPING 22:27:33 INFO: No Stack... 22:27:34 INFO: Retrieving Pricing Info for: v3-standard-8 22:27:34 INFO: Archiving Costs [Pipeline] sh 22:27:35 + + cut -d, -f6 22:27:35 cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [Pipeline] lock 22:27:35 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] 22:27:35 Resource [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] did not exist. Created. 22:27:35 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:27:35 + echo total: 0.2199999988079071 [Pipeline] stash 22:27:35 Stashed 1 file(s) [Pipeline] } 22:27:35 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } 22:27:35 $ docker stop --time=1 09ec27867cca59e275ac06c124cf03c2346177b15fcd050e15f5d5f9bed5ecce 22:27:36 $ docker rm -f 09ec27867cca59e275ac06c124cf03c2346177b15fcd050e15f5d5f9bed5ecce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:27:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118849 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 22:27:39 Running in /w/workspace/device-virtual-go/71 [Pipeline] { [Pipeline] checkout 22:27:39 The recommended git tool is: git 22:27:44 using credential edgex-jenkins-ssh 22:27:44 Cloning the remote Git repository 22:27:44 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:27:44 > git init /w/workspace/device-virtual-go/71 # timeout=10 22:27:44 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:27:44 > git --version # timeout=10 22:27:44 > git --version # 'git version 2.25.1' 22:27:44 using GIT_SSH to set credentials SSH Credentials for GitHub 22:27:44 Verifying host key using known hosts file 22:27:44 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. 22:27:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:27:46 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:27:47 Avoid second fetch 22:27:47 Checking out Revision 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 (main) 22:27:47 Commit message: "build: Update to use released SDK and go-mods (#320)" 22:27:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:27:47 > git config core.sparsecheckout # timeout=10 22:27:47 > git checkout -f 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:27:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:27:48 % Total % Received % Xferd Average Speed Time Time Time Current 22:27:48 Dload Upload Total Spent Left Speed 22:27:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 219k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh 22:27:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:27:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:27:49 + sudo tee /etc/docker/daemon.new 22:27:49 { 22:27:49 "registry-mirrors": [ 22:27:49 "https://nexus3.edgexfoundry.org:10001" 22:27:49 ], 22:27:49 "bip": "10.250.0.254/24", 22:27:49 "hosts": [ 22:27:49 "tcp://0.0.0.0:5555", 22:27:49 "unix:///var/run/docker.sock" 22:27:49 ], 22:27:49 "mtu": 1458, 22:27:49 "selinux-enabled": true, 22:27:49 "seccomp-profile": "/etc/docker/seccomp.json" 22:27:49 } [Pipeline] sh 22:27:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:27:50 + sudo service docker restart [Pipeline] sh 22:28:09 + git checkout 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 22:28:09 HEAD is now at 0c2f1e9 build: Update to use released SDK and go-mods (#320) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:28:09 provisioning config files... 22:28:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/71@tmp/config2758735205817004757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:09 ---> docker-login.sh 22:28:09 nexus3.edgexfoundry.org:10001 22:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:10 Configure a credential helper to remove this warning. See 22:28:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:10 22:28:10 Login Succeeded 22:28:10 nexus3.edgexfoundry.org:10002 22:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:10 Configure a credential helper to remove this warning. See 22:28:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:10 22:28:10 Login Succeeded 22:28:10 nexus3.edgexfoundry.org:10003 22:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:10 Configure a credential helper to remove this warning. See 22:28:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:10 22:28:10 Login Succeeded 22:28:10 nexus3.edgexfoundry.org:10004 22:28:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:11 Configure a credential helper to remove this warning. See 22:28:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:11 22:28:11 Login Succeeded 22:28:11 docker.io 22:28:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:11 Configure a credential helper to remove this warning. See 22:28:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:11 22:28:11 Login Succeeded 22:28:11 ---> docker-login.sh ends [Pipeline] } 22:28:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:28:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:11 ========================================================= 22:28:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:28:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:12 + 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 . 22:28:12 Sending build context to Docker daemon 11.77MB 22:28:12 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:28:12 Step 2/12 : FROM ${BASE} AS builder 22:28:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:28:12 9b18e9b68314: Pulling fs layer 22:28:12 35d82f9e3411: Pulling fs layer 22:28:12 e16973657156: Pulling fs layer 22:28:12 fc693d55d65f: Pulling fs layer 22:28:12 7e9fc2657dce: Pulling fs layer 22:28:12 dda99020689f: Pulling fs layer 22:28:12 db1c61fa0a46: Pulling fs layer 22:28:12 fc693d55d65f: Waiting 22:28:12 7e9fc2657dce: Waiting 22:28:12 dda99020689f: Waiting 22:28:12 db1c61fa0a46: Waiting 22:28:12 891c053d2c06: Pulling fs layer 22:28:12 891c053d2c06: Waiting 22:28:12 e16973657156: Download complete 22:28:12 35d82f9e3411: Verifying Checksum 22:28:12 35d82f9e3411: Download complete 22:28:12 7e9fc2657dce: Verifying Checksum 22:28:12 7e9fc2657dce: Download complete 22:28:12 dda99020689f: Verifying Checksum 22:28:12 dda99020689f: Download complete 22:28:12 9b18e9b68314: Download complete 22:28:13 9b18e9b68314: Pull complete 22:28:14 891c053d2c06: Verifying Checksum 22:28:14 891c053d2c06: Download complete 22:28:14 35d82f9e3411: Pull complete 22:28:14 e16973657156: Pull complete 22:28:15 db1c61fa0a46: Verifying Checksum 22:28:15 db1c61fa0a46: Download complete 22:28:15 fc693d55d65f: Verifying Checksum 22:28:15 fc693d55d65f: Download complete 22:28:28 fc693d55d65f: Pull complete 22:28:28 7e9fc2657dce: Pull complete 22:28:28 dda99020689f: Pull complete 22:28:34 db1c61fa0a46: Pull complete 22:28:36 891c053d2c06: Pull complete 22:28:36 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:28:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:28:36 ---> f96f9c87975a 22:28:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:28:38 ---> Running in e71014065f1a 22:28:38 Removing intermediate container e71014065f1a 22:28:38 ---> 28748ce9959c 22:28:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:28:38 ---> Running in 52a4fb84fbda 22:28:39 Removing intermediate container 52a4fb84fbda 22:28:39 ---> 51bee3167cf5 22:28:39 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:28:39 ---> Running in dd61e5dc0fdf 22:28:39 Removing intermediate container dd61e5dc0fdf 22:28:39 ---> 0af693f1832d 22:28:39 Step 6/12 : WORKDIR /device-virtual-go 22:28:39 ---> Running in 2d5cd8f612c4 22:28:39 Removing intermediate container 2d5cd8f612c4 22:28:39 ---> ac3c23838d5b 22:28:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:28:39 ---> Running in 0619bb36540a 22:28:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:28:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:28:42 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:28:42 (2/4) Installing libedit (20210910.3.1-r0) 22:28:42 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:28:42 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:28:42 Executing busybox-1.35.0-r17.trigger 22:28:42 OK: 226 MiB in 55 packages 22:28:43 Removing intermediate container 0619bb36540a 22:28:43 ---> e0d9e7a73d22 22:28:43 Step 8/12 : COPY go.mod vendor* ./ 22:28:43 ---> 6cff27dfddf8 22:28:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:28:43 ---> Running in 906e1e138d8a 22:29:40 Removing intermediate container 906e1e138d8a 22:29:40 ---> 25affd4b98db 22:29:40 Step 10/12 : COPY . . 22:29:40 ---> 718be833d512 22:29:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:29:40 ---> Running in e2810d75b5f8 22:29:40 Removing intermediate container e2810d75b5f8 22:29:40 ---> a8fd87f19392 22:29:40 Step 12/12 : RUN $MAKE 22:29:40 ---> Running in 0f8ae3351518 22:29:40 noop 22:29:41 Removing intermediate container 0f8ae3351518 22:29:41 ---> 4ebfae9df1b1 22:29:41 Successfully built 4ebfae9df1b1 22:29:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:41 + docker inspect -f . ci-base-image-arm64 22:29:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:41 prd-ubuntu20.04-docker-arm64-4c-16g-118849 does not seem to be running inside a container 22:29:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/71 -v /w/workspace/device-virtual-go/71:/w/workspace/device-virtual-go/71:rw,z -v /w/workspace/device-virtual-go/71@tmp:/w/workspace/device-virtual-go/71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:29:44 $ docker top 54e799985710242c4b6a0b1f1ef01e423472062fe6fe71c95c8d34afaae58cf5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:45 + go version 22:29:45 go version go1.18.7 linux/arm64 [Pipeline] } 22:29:45 $ docker stop --time=1 54e799985710242c4b6a0b1f1ef01e423472062fe6fe71c95c8d34afaae58cf5 22:29:46 $ docker rm -f 54e799985710242c4b6a0b1f1ef01e423472062fe6fe71c95c8d34afaae58cf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:47 + docker inspect -f . ci-base-image-arm64 22:29:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:47 prd-ubuntu20.04-docker-arm64-4c-16g-118849 does not seem to be running inside a container 22:29:47 $ 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/71 -v /w/workspace/device-virtual-go/71:/w/workspace/device-virtual-go/71:rw,z -v /w/workspace/device-virtual-go/71@tmp:/w/workspace/device-virtual-go/71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:29:48 $ docker top e40939677f99b8a1f51f2bc50ca916ebf664358546d7debb1be2fbf1f7250667 -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:49 + git config --global --add safe.directory /w/workspace/device-virtual-go/71 [Pipeline] fileExists [Pipeline] sh 22:29:49 + make test 22:29:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:29:51 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:31:12 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:31:12 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.132s coverage: 65.7% of statements 22:31:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:31:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:31:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:31:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:31:31 ./bin/test-attribution-txt.sh [Pipeline] echo 22:31:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:31:31 $ docker stop --time=1 e40939677f99b8a1f51f2bc50ca916ebf664358546d7debb1be2fbf1f7250667 22:31:32 $ docker rm -f e40939677f99b8a1f51f2bc50ca916ebf664358546d7debb1be2fbf1f7250667 [Pipeline] // withDockerContainer [Pipeline] sh 22:31:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:31:33 Warning: overwriting stash ‘coverage-report’ 22:31:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:31:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:31:34 + ls -al . 22:31:34 total 200 22:31:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 22:29 . 22:31:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 22:27 .. 22:31:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 22:28 .git 22:31:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 22:27 .github 22:31:34 -rw-rw-r-- 1 jenkins jenkins 337 Nov 9 22:27 .gitignore 22:31:34 -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 22:27 .golangci.yml 22:31:34 -rw-rw-r-- 1 jenkins jenkins 8527 Nov 9 22:27 Attribution.txt 22:31:34 -rw-rw-r-- 1 jenkins jenkins 11367 Nov 9 22:27 CHANGELOG.md 22:31:34 -rw-rw-r-- 1 jenkins jenkins 1709 Nov 9 22:27 Dockerfile 22:31:34 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 22:27 GOVERNANCE.md 22:31:34 -rw-rw-r-- 1 jenkins jenkins 660 Nov 9 22:27 Jenkinsfile 22:31:34 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 22:27 LICENSE 22:31:34 -rw-rw-r-- 1 jenkins jenkins 2457 Nov 9 22:27 Makefile 22:31:34 -rw-rw-r-- 1 jenkins jenkins 623 Nov 9 22:27 OWNERS.md 22:31:34 -rw-rw-r-- 1 jenkins jenkins 3578 Nov 9 22:27 README.md 22:31:34 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 22:25 VERSION 22:31:34 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 22:27 bin 22:31:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 22:27 cmd 22:31:34 -rw-r--r-- 1 jenkins jenkins 44128 Nov 9 22:31 coverage.out 22:31:34 -rw-rw-r-- 1 jenkins jenkins 3339 Nov 9 22:27 go.mod 22:31:34 -rw-rw-r-- 1 jenkins jenkins 44445 Nov 9 22:27 go.sum 22:31:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 22:27 internal 22:31:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 22:27 snap 22:31:34 -rw-rw-r-- 1 jenkins jenkins 235 Nov 9 22:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:35 + 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=0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 --label arch=arm64 --label version=2.3.0 . 22:31:35 Sending build context to Docker daemon 11.82MB 22:31:35 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:31:35 Step 2/25 : FROM ${BASE} AS builder 22:31:35 ---> 4ebfae9df1b1 22:31:35 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:31:35 ---> Running in 80052b58a2b7 22:31:35 Removing intermediate container 80052b58a2b7 22:31:35 ---> 2083cdb5777a 22:31:35 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:31:35 ---> Running in e63b79fcfecd 22:31:36 Removing intermediate container e63b79fcfecd 22:31:36 ---> be997b1562ac 22:31:36 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:31:36 ---> Running in 011e331c4ade 22:31:36 Removing intermediate container 011e331c4ade 22:31:36 ---> 5e591085977f 22:31:36 Step 6/25 : WORKDIR /device-virtual-go 22:31:36 ---> Running in 5afbb0b7f2f8 22:31:37 Removing intermediate container 5afbb0b7f2f8 22:31:37 ---> 4c92ba3a638a 22:31:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:31:37 ---> Running in b2d35d031be2 22:31:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:31:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:31:39 OK: 226 MiB in 55 packages 22:31:40 Removing intermediate container b2d35d031be2 22:31:40 ---> e3fbccf2d19f 22:31:40 Step 8/25 : COPY go.mod vendor* ./ 22:31:40 ---> 73a6290f8791 22:31:40 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:31:40 ---> Running in 39093a7c044d 22:31:42 Removing intermediate container 39093a7c044d 22:31:42 ---> a3f1083b7321 22:31:42 Step 10/25 : COPY . . 22:31:43 ---> b99e1df8294a 22:31:43 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:31:43 ---> Running in 56f14b0e399d 22:31:43 Removing intermediate container 56f14b0e399d 22:31:43 ---> aaceba3c5ad4 22:31:43 Step 12/25 : RUN $MAKE 22:31:44 ---> Running in 758a9fab16f3 22:31:45 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 22:34:06 Removing intermediate container 758a9fab16f3 22:34:06 ---> 923898ca80b3 22:34:06 Step 13/25 : FROM alpine:3.16 22:34:06 3.16: Pulling from library/alpine 22:34:06 9b18e9b68314: Already exists 22:34:06 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:34:06 Status: Downloaded newer image for alpine:3.16 22:34:06 ---> a6215f271958 22:34:06 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:34:06 ---> Running in 1944928e59ab 22:34:06 Removing intermediate container 1944928e59ab 22:34:06 ---> 576fea9dbf2d 22:34:06 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 22:34:06 ---> Running in 2595f51f0721 22:34:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:34:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:34:07 (1/6) Installing dumb-init (1.2.5-r1) 22:34:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:34:07 (3/6) Installing libsodium (1.0.18-r0) 22:34:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:34:07 (5/6) Installing libzmq (4.3.4-r0) 22:34:07 (6/6) Installing zeromq (4.3.4-r0) 22:34:07 Executing busybox-1.35.0-r17.trigger 22:34:07 OK: 8 MiB in 20 packages 22:34:08 Removing intermediate container 2595f51f0721 22:34:08 ---> 57f7f161d610 22:34:08 Step 16/25 : WORKDIR / 22:34:08 ---> Running in 8adb3e0f1ea7 22:34:08 Removing intermediate container 8adb3e0f1ea7 22:34:08 ---> 453b8024805f 22:34:08 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:34:09 ---> 5c33204e86bc 22:34:09 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:34:10 ---> 5bf53302c4c6 22:34:10 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:34:12 ---> 520d35f83309 22:34:12 Step 20/25 : EXPOSE 59900 22:34:12 ---> Running in 0a3fc3c0cfba 22:34:12 Removing intermediate container 0a3fc3c0cfba 22:34:12 ---> 0e7dfcbc1b63 22:34:12 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:34:12 ---> Running in 15b760b8b944 22:34:12 Removing intermediate container 15b760b8b944 22:34:12 ---> 49c70351e9f4 22:34:12 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:34:12 ---> Running in 51eff1030698 22:34:12 Removing intermediate container 51eff1030698 22:34:12 ---> 2e5ae07e2ca1 22:34:12 Step 23/25 : LABEL arch=arm64 22:34:12 ---> Running in 02f39ead822f 22:34:13 Removing intermediate container 02f39ead822f 22:34:13 ---> 3196c59d1285 22:34:13 Step 24/25 : LABEL git_sha=0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 22:34:13 ---> Running in fa076a7b09ad 22:34:13 Removing intermediate container fa076a7b09ad 22:34:13 ---> afe83a42ebb4 22:34:13 Step 25/25 : LABEL version=2.3.0 22:34:13 ---> Running in 475f0d8e9e36 22:34:13 Removing intermediate container 475f0d8e9e36 22:34:13 ---> a01b190deeff 22:34:13 [Warning] One or more build-args [ARCH] were not consumed 22:34:13 Successfully built a01b190deeff 22:34:13 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 22:34:14 provisioning config files... 22:34:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/71@tmp/config13724443249783368291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:34:14 ---> docker-login.sh 22:34:14 nexus3.edgexfoundry.org:10001 22:34:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:34:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:34:14 Configure a credential helper to remove this warning. See 22:34:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:34:14 22:34:14 Login Succeeded 22:34:14 nexus3.edgexfoundry.org:10002 22:34:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:34:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:34:14 Configure a credential helper to remove this warning. See 22:34:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:34:14 22:34:14 Login Succeeded 22:34:14 nexus3.edgexfoundry.org:10003 22:34:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:34:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:34:15 Configure a credential helper to remove this warning. See 22:34:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:34:15 22:34:15 Login Succeeded 22:34:15 nexus3.edgexfoundry.org:10004 22:34:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:34:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:34:15 Configure a credential helper to remove this warning. See 22:34:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:34:15 22:34:15 Login Succeeded 22:34:15 docker.io 22:34:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:34:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:34:16 Configure a credential helper to remove this warning. See 22:34:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:34:16 22:34:16 Login Succeeded 22:34:16 ---> docker-login.sh ends [Pipeline] } 22:34:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:34:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:34:16 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 22:34:16 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 22:34:16 latest 22:34:16 2.3.0 22:34:16 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 22:34:16 main 22:34:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:16 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 22:34:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:34:16 cf069fba0ba1: Preparing 22:34:16 8cdfb23b2fd0: Preparing 22:34:16 68dc26b84ff1: Preparing 22:34:16 7b220441d16c: Preparing 22:34:16 5d3e392a13a0: Preparing 22:34:16 5d3e392a13a0: Layer already exists 22:34:17 8cdfb23b2fd0: Pushed 22:34:17 68dc26b84ff1: Pushed 22:34:17 7b220441d16c: Pushed 22:34:23 cf069fba0ba1: Pushed 22:34:23 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23: digest: sha256:66ecb37d9917af333189bfe4ceef078bb0f4d09aef8d1475ffe819f90d45952f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:23 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 22:34:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:34:23 cf069fba0ba1: Preparing 22:34:23 8cdfb23b2fd0: Preparing 22:34:23 68dc26b84ff1: Preparing 22:34:23 7b220441d16c: Preparing 22:34:23 5d3e392a13a0: Preparing 22:34:23 cf069fba0ba1: Layer already exists 22:34:23 68dc26b84ff1: Layer already exists 22:34:23 8cdfb23b2fd0: Layer already exists 22:34:23 5d3e392a13a0: Layer already exists 22:34:23 7b220441d16c: Layer already exists 22:34:23 latest: digest: sha256:66ecb37d9917af333189bfe4ceef078bb0f4d09aef8d1475ffe819f90d45952f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:24 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0 22:34:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:34:24 cf069fba0ba1: Preparing 22:34:24 8cdfb23b2fd0: Preparing 22:34:24 68dc26b84ff1: Preparing 22:34:24 7b220441d16c: Preparing 22:34:24 5d3e392a13a0: Preparing 22:34:24 8cdfb23b2fd0: Layer already exists 22:34:24 cf069fba0ba1: Layer already exists 22:34:24 7b220441d16c: Layer already exists 22:34:24 68dc26b84ff1: Layer already exists 22:34:24 5d3e392a13a0: Layer already exists 22:34:24 2.3.0: digest: sha256:66ecb37d9917af333189bfe4ceef078bb0f4d09aef8d1475ffe819f90d45952f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:25 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 22:34:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:34:25 cf069fba0ba1: Preparing 22:34:25 8cdfb23b2fd0: Preparing 22:34:25 68dc26b84ff1: Preparing 22:34:25 7b220441d16c: Preparing 22:34:25 5d3e392a13a0: Preparing 22:34:25 7b220441d16c: Layer already exists 22:34:25 5d3e392a13a0: Layer already exists 22:34:25 8cdfb23b2fd0: Layer already exists 22:34:25 68dc26b84ff1: Layer already exists 22:34:25 cf069fba0ba1: Layer already exists 22:34:25 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0: digest: sha256:66ecb37d9917af333189bfe4ceef078bb0f4d09aef8d1475ffe819f90d45952f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:25 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 22:34:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:34:26 cf069fba0ba1: Preparing 22:34:26 8cdfb23b2fd0: Preparing 22:34:26 68dc26b84ff1: Preparing 22:34:26 7b220441d16c: Preparing 22:34:26 5d3e392a13a0: Preparing 22:34:26 7b220441d16c: Layer already exists 22:34:26 cf069fba0ba1: Layer already exists 22:34:26 5d3e392a13a0: Layer already exists 22:34:26 68dc26b84ff1: Layer already exists 22:34:26 8cdfb23b2fd0: Layer already exists 22:34:26 main: digest: sha256:66ecb37d9917af333189bfe4ceef078bb0f4d09aef8d1475ffe819f90d45952f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:34:26 ===================================================== [Pipeline] echo 22:34:26 taggedImages: 22:34:26 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 22:34:26 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 22:34:26 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0 22:34:26 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0 22:34:26 - 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 22:34:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:34:26 22:34:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:34:26 arm64: Pulling from edgex-lftools-log-publisher 22:34:26 8998bd30e6a1: Pulling fs layer 22:34:26 04944245beec: Pulling fs layer 22:34:26 699f458cf7ca: Pulling fs layer 22:34:26 765212b225bb: Pulling fs layer 22:34:26 f23df028b6ca: Pulling fs layer 22:34:26 d65c8cfc05b1: Pulling fs layer 22:34:26 2437ff75d9bd: Pulling fs layer 22:34:26 765212b225bb: Waiting 22:34:26 f23df028b6ca: Waiting 22:34:26 d65c8cfc05b1: Waiting 22:34:26 2437ff75d9bd: Waiting 22:34:27 04944245beec: Verifying Checksum 22:34:27 04944245beec: Download complete 22:34:27 765212b225bb: Verifying Checksum 22:34:27 765212b225bb: Download complete 22:34:27 f23df028b6ca: Download complete 22:34:27 d65c8cfc05b1: Verifying Checksum 22:34:27 d65c8cfc05b1: Download complete 22:34:27 699f458cf7ca: Verifying Checksum 22:34:27 699f458cf7ca: Download complete 22:34:27 8998bd30e6a1: Verifying Checksum 22:34:27 8998bd30e6a1: Download complete 22:34:30 2437ff75d9bd: Verifying Checksum 22:34:30 2437ff75d9bd: Download complete 22:34:31 8998bd30e6a1: Pull complete 22:34:32 04944245beec: Pull complete 22:34:33 699f458cf7ca: Pull complete 22:34:33 765212b225bb: Pull complete 22:34:34 f23df028b6ca: Pull complete 22:34:34 d65c8cfc05b1: Pull complete 22:34:49 2437ff75d9bd: Pull complete 22:34:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:34:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:34:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:34:49 prd-ubuntu20.04-docker-arm64-4c-16g-118849 does not seem to be running inside a container 22:34:49 $ 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/71 -v /w/workspace/device-virtual-go/71:/w/workspace/device-virtual-go/71:rw,z -v /w/workspace/device-virtual-go/71@tmp:/w/workspace/device-virtual-go/71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:34:52 $ docker top 901d338fa8a05ef90b24e8fb4c591f68b02152e9c8ecf86a2735bb7064b525fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:34:53 ---> job-cost.sh 22:34:53 lf-activate-venv: SKIPPING 22:34:53 INFO: No Stack... 22:34:53 INFO: Retrieving Pricing Info for: v3-standard-4 22:34:54 INFO: Archiving Costs [Pipeline] sh 22:34:54 + cat /w/workspace/device-virtual-go/71/archives/cost.csv 22:34:54 + cut -d, -f6 [Pipeline] lock 22:34:54 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] 22:34:54 Resource [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] did not exist. Created. 22:34:54 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:34:55 /w/workspace/device-virtual-go/71@tmp/durable-1bd0d1cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:34:55 + echo total: 0.10999999940395355 [Pipeline] stash 22:34:55 Warning: overwriting stash ‘stack-cost’ 22:34:55 Stashed 1 file(s) [Pipeline] } 22:34:55 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } 22:34:55 $ docker stop --time=1 901d338fa8a05ef90b24e8fb4c591f68b02152e9c8ecf86a2735bb7064b525fc 22:34:57 $ docker rm -f 901d338fa8a05ef90b24e8fb4c591f68b02152e9c8ecf86a2735bb7064b525fc [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 22:34:57 provisioning config files... 22:34:57 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4688575381569439403tmp [Pipeline] { [Pipeline] sh 22:34:58 + set +x 22:34:58 + curl -s https://codecov.io/bash 22:34:58 + bash -s -- 22:34:58 22:34:58 _____ _ 22:34:58 / ____| | | 22:34:58 | | ___ __| | ___ ___ _____ __ 22:34:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:34:58 | |___| (_) | (_| | __/ (_| (_) \ V / 22:34:58 \_____\___/ \__,_|\___|\___\___/ \_/ 22:34:58 Bash-1.0.6 22:34:58 22:34:58 22:34:58 ==> git version 2.25.1 found 22:34:58 ==> 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 22:34:58 Release-Date: 2020-01-08 22:34:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:34:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:34:58 ==> Jenkins CI detected. 22:34:58 current dir:  /w/workspace/exfoundry_device-virtual-go_main 22:34:58 project root: . 22:34:58 --> token set from env 22:34:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:34:58 ==> Running gcov in . (disable via -X gcov) 22:34:58 ==> Python coveragepy not found 22:34:58 ==> Searching for coverage reports in: 22:34:58 + . 22:34:58 -> Found 1 reports 22:34:58 ==> Detecting git/mercurial file structure 22:34:58 ==> Reading reports 22:34:58 + ./coverage.out bytes=44128 22:34:58 ==> Appending adjustments 22:34:58 https://docs.codecov.io/docs/fixing-reports 22:34:58 + Found adjustments 22:34:58 ==> Gzipping contents 22:34:58 8.0K /tmp/codecov.28nQP5.gz 22:34:58 ==> Uploading reports 22:34:58 url: https://codecov.io 22:34:58 query: branch=main&commit=0c2f1e9213ddf10d1b3316c025c729eab3a2bc23&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:34:58 -> Pinging Codecov 22:34:58 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=0c2f1e9213ddf10d1b3316c025c729eab3a2bc23&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:34:58 -> Uploading to 22:34:58 https://storage.googleapis.com/codecov/v4/raw/2022-11-09/5E52B4B073DB2E39498172D8E973AA87/0c2f1e9213ddf10d1b3316c025c729eab3a2bc23/6cbe7fe8-3256-4fa7-acc8-82413f18412d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221109T223458Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=59cbddc2dedcec00653a22a0910145e005f232a94617dc0e56b26caa7abebd25 22:34:58 % Total % Received % Xferd Average Speed Time Time Time Current 22:34:58 Dload Upload Total Spent Left Speed 22:34:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5492 0 0 100 5492 0 20803 --:--:-- --:--:-- --:--:-- 20803 22:34:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] } 22:34:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:34:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:34:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:34:59 22:34:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:34:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:34:59 df9b9388f04a: Pulling fs layer 22:34:59 52dc419b0ee2: Pulling fs layer 22:34:59 25bc292e5bac: Pulling fs layer 22:34:59 114826534d7a: Pulling fs layer 22:34:59 4657fd5d0bcf: Pulling fs layer 22:34:59 6ad1cebc031e: Pulling fs layer 22:34:59 8a3aa393b2d8: Pulling fs layer 22:34:59 4657fd5d0bcf: Waiting 22:34:59 6ad1cebc031e: Waiting 22:34:59 114826534d7a: Waiting 22:34:59 8a3aa393b2d8: Waiting 22:34:59 25bc292e5bac: Verifying Checksum 22:34:59 25bc292e5bac: Download complete 22:34:59 52dc419b0ee2: Verifying Checksum 22:34:59 52dc419b0ee2: Download complete 22:34:59 4657fd5d0bcf: Verifying Checksum 22:34:59 4657fd5d0bcf: Download complete 22:34:59 df9b9388f04a: Download complete 22:35:00 df9b9388f04a: Pull complete 22:35:00 6ad1cebc031e: Verifying Checksum 22:35:00 6ad1cebc031e: Download complete 22:35:00 52dc419b0ee2: Pull complete 22:35:00 25bc292e5bac: Pull complete 22:35:00 114826534d7a: Verifying Checksum 22:35:00 114826534d7a: Download complete 22:35:00 8a3aa393b2d8: Verifying Checksum 22:35:00 8a3aa393b2d8: Download complete 22:35:04 114826534d7a: Pull complete 22:35:04 4657fd5d0bcf: Pull complete 22:35:04 6ad1cebc031e: Pull complete 22:35:07 8a3aa393b2d8: Pull complete 22:35:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:35:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:35:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:07 prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container 22:35:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:35:09 $ docker top 8811da1d015ce08913300915465b1e88cd91c7e10d257d772233c5d45c6f9d65 -eo pid,comm [Pipeline] { [Pipeline] echo 22:35:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 22:35:09 + set -o pipefail 22:35:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 22:35:18 22:35:18 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 22:35:18 22:35:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/3b70db3b-ff1f-40c7-a396-dcda3ad41595 22:35:18 22:35:18 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:35:18 22:35:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:35:18 22:35:18 22:35:18 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:35:18 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:35:18 More details here: https://snyk.co/ue1NS [Pipeline] } 22:35:18 $ docker stop --time=1 8811da1d015ce08913300915465b1e88cd91c7e10d257d772233c5d45c6f9d65 22:35:20 $ docker rm -f 8811da1d015ce08913300915465b1e88cd91c7e10d257d772233c5d45c6f9d65 [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 22:35:20 + git log --format=format:%s -1 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] sh 22:35:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:35:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:35:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:21 prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container 22:35:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:35:21 $ docker top e482c349545061cd5dfcbe89487411a6b6e81fab7f4a97677c1bb490dc97f9a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:35:21 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.3.0|v2.3.0-dev.30' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:35:22 + git semver [Pipeline] } 22:35:22 $ docker stop --time=1 e482c349545061cd5dfcbe89487411a6b6e81fab7f4a97677c1bb490dc97f9a8 22:35:23 $ docker rm -f e482c349545061cd5dfcbe89487411a6b6e81fab7f4a97677c1bb490dc97f9a8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:35:24 22:35:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:35:24 0.23.1-centos7: Pulling from edgex-lftools 22:35:24 ab5ef0e58194: Pulling fs layer 22:35:24 9712f1f96733: Pulling fs layer 22:35:24 63f879dbbcfc: Pulling fs layer 22:35:24 0d9ebad4ef96: Pulling fs layer 22:35:24 e9a5061849ea: Pulling fs layer 22:35:24 d747dcd14b5f: Pulling fs layer 22:35:24 2de7ff778b66: Pulling fs layer 22:35:24 0d9ebad4ef96: Waiting 22:35:24 d747dcd14b5f: Waiting 22:35:24 2de7ff778b66: Waiting 22:35:24 e9a5061849ea: Waiting 22:35:24 9712f1f96733: Verifying Checksum 22:35:24 9712f1f96733: Download complete 22:35:24 63f879dbbcfc: Verifying Checksum 22:35:24 63f879dbbcfc: Download complete 22:35:24 0d9ebad4ef96: Verifying Checksum 22:35:24 0d9ebad4ef96: Download complete 22:35:25 ab5ef0e58194: Verifying Checksum 22:35:25 ab5ef0e58194: Download complete 22:35:25 e9a5061849ea: Verifying Checksum 22:35:25 e9a5061849ea: Download complete 22:35:25 2de7ff778b66: Verifying Checksum 22:35:25 2de7ff778b66: Download complete 22:35:28 ab5ef0e58194: Pull complete 22:35:28 9712f1f96733: Pull complete 22:35:28 63f879dbbcfc: Pull complete 22:35:32 0d9ebad4ef96: Pull complete 22:35:32 e9a5061849ea: Pull complete 22:35:32 d747dcd14b5f: Pull complete 22:35:34 2de7ff778b66: Pull complete 22:35:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:35:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:35:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:34 prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container 22:35:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:35:36 $ docker top 305ab5317006f8500097dede5672dad0ba0631f135f527f71d7700f3a2c1a905 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:35:36 provisioning config files... 22:35:36 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2864517376675340543tmp 22:35:36 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6693515577062568332tmp 22:35:36 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config720098719192438803tmp [Pipeline] { [Pipeline] echo 22:35:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:35:36 ---> sigul-configuration.sh 22:35:36 gpg: directory `/root/.gnupg' created 22:35:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:35:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:35:36 gpg: keyring `/root/.gnupg/secring.gpg' created 22:35:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:35:36 gpg: CAST5 encrypted data 22:35:36 gpg: encrypted with 1 passphrase 22:35:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:35:36 + mkdir /home/jenkins 22:35:36 + mkdir /home/jenkins/sigul [Pipeline] sh 22:35:36 + 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 22:35:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:35:37 ---> sigul-install.sh 22:35:37 Sigul already installed; skipping installation. [Pipeline] sh 22:35:37 + git tag --list 22:35:37 v1.0.0 22:35:37 v1.1.0 22:35:37 v1.1.1 22:35:37 v1.2.1 22:35:37 v1.2.2 22:35:37 v1.2.3 22:35:37 v1.3.0 22:35:37 v1.3.1 22:35:37 v2.0.0 22:35:37 v2.1.0 22:35:37 v2.1.1 22:35:37 v2.1.1-dev.1 22:35:37 v2.1.1-dev.2 22:35:37 v2.2.0 22:35:37 v2.2.1-dev.1 22:35:37 v2.2.1-dev.2 22:35:37 v2.2.1-dev.3 22:35:37 v2.2.1-dev.4 22:35:37 v2.2.1-dev.5 22:35:37 v2.2.1-dev.6 22:35:37 v2.2.1-dev.7 22:35:37 v2.2.1-dev.8 22:35:37 v2.3.0 22:35:37 v2.3.0-dev.10 22:35:37 v2.3.0-dev.11 22:35:37 v2.3.0-dev.12 22:35:37 v2.3.0-dev.13 22:35:37 v2.3.0-dev.14 22:35:37 v2.3.0-dev.15 22:35:37 v2.3.0-dev.16 22:35:37 v2.3.0-dev.17 22:35:37 v2.3.0-dev.18 22:35:37 v2.3.0-dev.19 22:35:37 v2.3.0-dev.20 22:35:37 v2.3.0-dev.21 22:35:37 v2.3.0-dev.22 22:35:37 v2.3.0-dev.23 22:35:37 v2.3.0-dev.24 22:35:37 v2.3.0-dev.25 22:35:37 v2.3.0-dev.26 22:35:37 v2.3.0-dev.27 22:35:37 v2.3.0-dev.28 22:35:37 v2.3.0-dev.29 22:35:37 v2.3.0-dev.30 22:35:37 v2.3.0-dev.8 22:35:37 v2.3.0-dev.9 [Pipeline] sh 22:35:37 + lftools sign git-tag v2.3.0 22:35:38 Signing Git tag with Sigul... 22:35:38 Signing v2.3.0 [Pipeline] echo 22:35:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:35:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:35:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:35:39 $ docker stop --time=1 305ab5317006f8500097dede5672dad0ba0631f135f527f71d7700f3a2c1a905 22:35:40 $ docker rm -f 305ab5317006f8500097dede5672dad0ba0631f135f527f71d7700f3a2c1a905 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:35:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:35:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:35:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:41 prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container 22:35:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:35:41 $ docker top 4bcc4ee1a5ee299a72d520ceeddb99661109c18e163eab2cc88026e6b139f53c -eo pid,comm 22:35:41 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). 22:35:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:35:41 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.3.0|v2.3.0-dev.30' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:35:42 + git semver [Pipeline] } 22:35:42 $ docker stop --time=1 4bcc4ee1a5ee299a72d520ceeddb99661109c18e163eab2cc88026e6b139f53c 22:35:43 $ docker rm -f 4bcc4ee1a5ee299a72d520ceeddb99661109c18e163eab2cc88026e6b139f53c [Pipeline] // withDockerContainer [Pipeline] sh 22:35:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:35:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:35:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:44 prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container 22:35: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:35:44 $ docker top 5552dc1f2e7168ddbe74fde3d604d9223fdc7e7000294bd2849036c11a69c75c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:35:44 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.3.0|v2.3.0-dev.30' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:35:45 + git semver [Pipeline] } 22:35:45 $ docker stop --time=1 5552dc1f2e7168ddbe74fde3d604d9223fdc7e7000294bd2849036c11a69c75c 22:35:46 $ docker rm -f 5552dc1f2e7168ddbe74fde3d604d9223fdc7e7000294bd2849036c11a69c75c [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 22:35:47 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 22:35:47 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 22:35:47 total 16 22:35:47 drwxr-xr-x 3 root root 4096 Nov 9 22:27 . 22:35:47 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 22:35 .. 22:35:47 drwxr-xr-x 2 root root 4096 Nov 9 22:27 cost 22:35:47 -rw-r--r-- 1 root root 88 Nov 9 22:27 cost.csv 22:35:47 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 22:35:47 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 22:35:47 total 16 22:35:47 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 22:27 . 22:35:47 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 22:35 .. 22:35:47 drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 22:27 cost 22:35:47 -rw-r--r-- 1 jenkins jenkins 88 Nov 9 22:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:35:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:35:48 ---> package-listing.sh 22:35:48 ++ facter osfamily 22:35:48 ++ tr '[:upper:]' '[:lower:]' 22:35:48 + OS_FAMILY=debian 22:35:48 + workspace=/w/workspace/exfoundry_device-virtual-go_main 22:35:48 + START_PACKAGES=/tmp/packages_start.txt 22:35:48 + END_PACKAGES=/tmp/packages_end.txt 22:35:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:35:48 + PACKAGES=/tmp/packages_start.txt 22:35:48 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 22:35:48 + PACKAGES=/tmp/packages_end.txt 22:35:48 + case "${OS_FAMILY}" in 22:35:48 + dpkg -l 22:35:48 + grep '^ii' 22:35:48 + '[' -f /tmp/packages_start.txt ']' 22:35:48 + '[' -f /tmp/packages_end.txt ']' 22:35:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:35:48 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 22:35:48 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 22:35:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 22:35:48 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 22:35:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:35:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:49 prd-ubuntu20.04-docker-8c-8g-118848 does not seem to be running inside a container 22:35:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:35:49 $ docker top cb94af4c91b816cba794a894effb1b24916d61fe01f712abfcc7e3253af31f6f -eo pid,comm [Pipeline] { [Pipeline] sh 22:35:50 + touch /tmp/pre-build-complete [Pipeline] sh 22:35:50 + mkdir -p /var/log/sysstat [Pipeline] sh 22:35:50 + ls /var/log/sa-host 22:35:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:35:50 provisioning config files... 22:35:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13132082015272025240tmp [Pipeline] { [Pipeline] echo 22:35:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:35:51 ---> create-netrc.sh [Pipeline] } 22:35:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:35:51 ---> python-tools-install.sh [Pipeline] echo 22:35:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:35:51 ---> sudo-logs.sh 22:35:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:35:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:35:52 ---> job-cost.sh 22:35:52 lf-activate-venv: SKIPPING 22:35:52 DEBUG: total: 0.2199999988079071 22:35:52 INFO: Retrieving Stack Cost... 22:35:52 INFO: Retrieving Pricing Info for: v3-standard-8 22:35:52 INFO: Archiving Costs [Pipeline] echo 22:35:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:35:53 ---> logs-deploy.sh 22:35:53 lf-activate-venv: SKIPPING 22:35:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/71 22:35:53 INFO: archiving workspace using pattern(s): 22:35:54 Archives upload complete. 22:35:54 INFO: archiving logs to Nexus