Push event to branch main 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-ssh2436955200469987662.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-ssh3297292353426215880.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-ssh5458298803886881823.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-ssh16164398469413684996.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-ssh16486810011322808225.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118625 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) > 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 Commit message: "build: Update to use released SDK and go-mods (#320)" > git rev-list --no-walk bcd4d59cdc4959d1a0f5bb8dc06b88fb66ef40d9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:13:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:13:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:13:39 ========================================================= 16:13:39 EdgeX Global Pipelines Version Info 16:13:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:13:40 ------------------- 16:13:40 stable info: 16:13:40 ------------------- 16:13:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:13:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:13:40 Message: update stable to v1.0.244 16:13:41 ------------------- 16:13:41 experimental info: 16:13:41 ------------------- 16:13:41 Commited By: **** collab-it+edgex@linuxfoundation.org 16:13:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:13:41 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c2f1e9 [Pipeline] echo 16:13:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:13:41 provisioning config files... 16:13:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12120712875380174158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:42 ---> docker-login.sh 16:13:42 nexus3.edgexfoundry.org:10001 16:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:42 Configure a credential helper to remove this warning. See 16:13:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:42 16:13:42 Login Succeeded 16:13:42 nexus3.edgexfoundry.org:10002 16:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:42 Configure a credential helper to remove this warning. See 16:13:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:42 16:13:42 Login Succeeded 16:13:42 nexus3.edgexfoundry.org:10003 16:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:42 Configure a credential helper to remove this warning. See 16:13:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:42 16:13:42 Login Succeeded 16:13:42 nexus3.edgexfoundry.org:10004 16:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:42 Configure a credential helper to remove this warning. See 16:13:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:42 16:13:42 Login Succeeded 16:13:42 docker.io 16:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:43 Configure a credential helper to remove this warning. See 16:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:43 16:13:43 Login Succeeded 16:13:43 ---> docker-login.sh ends [Pipeline] } 16:13:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:13:43 + git rev-list -1 --merges 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23~1..0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] echo 16:13:43 -----------> git rev-list -1 --merges 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23~1..0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [false] [Pipeline] sh 16:13:43 + git log --format=format:%s -1 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] echo 16:13:43 ========================================================= 16:13:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:13:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:13:44 + git log --format=format:%s -1 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] echo 16:13:44 [semverPrep] GIT_COMMIT: 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23, Commit Message: build: Update to use released SDK and go-mods (#320) [Pipeline] echo 16:13:44 [semverPrep] This is not a build commit. [Pipeline] sh 16:13:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:13:44 + grep -v github /etc/ssh/ssh_known_hosts 16:13:44 + [ -e /tmp/ssh_known_hosts ] 16:13:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:13:44 + + sudo tee -a /etc/ssh/ssh_known_hosts 16:13:44 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:13:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:13:45 16:13:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:13:45 0.1.4: Pulling from edgex-devops/py-git-semver 16:13:45 b85a868b505f: Pulling fs layer 16:13:45 e2be974225ed: Pulling fs layer 16:13:45 339a4e72a1f5: Pulling fs layer 16:13:45 988bab9f4d93: Pulling fs layer 16:13:45 1469e6f7b9e6: Pulling fs layer 16:13:45 eaf3925da568: Pulling fs layer 16:13:45 bab4dde63d76: Pulling fs layer 16:13:45 bde34c3a00c8: Pulling fs layer 16:13:45 b352a97aabf1: Pulling fs layer 16:13:45 4872d77fe225: Pulling fs layer 16:13:45 5851b861e8e6: Pulling fs layer 16:13:45 988bab9f4d93: Waiting 16:13:45 4872d77fe225: Waiting 16:13:45 b352a97aabf1: Waiting 16:13:45 bde34c3a00c8: Waiting 16:13:45 1469e6f7b9e6: Waiting 16:13:45 bab4dde63d76: Waiting 16:13:45 eaf3925da568: Waiting 16:13:45 e2be974225ed: Verifying Checksum 16:13:45 e2be974225ed: Download complete 16:13:45 988bab9f4d93: Verifying Checksum 16:13:45 988bab9f4d93: Download complete 16:13:45 1469e6f7b9e6: Verifying Checksum 16:13:45 1469e6f7b9e6: Download complete 16:13:45 eaf3925da568: Verifying Checksum 16:13:45 eaf3925da568: Download complete 16:13:45 339a4e72a1f5: Verifying Checksum 16:13:45 339a4e72a1f5: Download complete 16:13:45 bde34c3a00c8: Verifying Checksum 16:13:45 bde34c3a00c8: Download complete 16:13:45 b352a97aabf1: Download complete 16:13:45 4872d77fe225: Download complete 16:13:45 5851b861e8e6: Verifying Checksum 16:13:45 5851b861e8e6: Download complete 16:13:45 b85a868b505f: Verifying Checksum 16:13:45 b85a868b505f: Download complete 16:13:45 bab4dde63d76: Verifying Checksum 16:13:45 bab4dde63d76: Download complete 16:13:46 b85a868b505f: Pull complete 16:13:47 e2be974225ed: Pull complete 16:13:47 339a4e72a1f5: Pull complete 16:13:47 988bab9f4d93: Pull complete 16:13:47 1469e6f7b9e6: Pull complete 16:13:47 eaf3925da568: Pull complete 16:13:49 bab4dde63d76: Pull complete 16:13:49 bde34c3a00c8: Pull complete 16:13:49 b352a97aabf1: Pull complete 16:13:49 4872d77fe225: Pull complete 16:13:49 5851b861e8e6: Pull complete 16:13:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:13:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:13:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:13:50 prd-ubuntu20.04-docker-8c-8g-118625 does not seem to be running inside a container 16:13:50 $ 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 16:13:51 $ docker top 31176c1410e72cb7b0a121a315f8a179ae1ba78898d8b1b5fdf14b85fa6d9ac0 -eo pid,comm 16:13:51 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). 16:13:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:13:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:13:51 [ssh-agent] Looking for ssh-agent implementation... 16:13:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:13:51 $ docker exec 31176c1410e72cb7b0a121a315f8a179ae1ba78898d8b1b5fdf14b85fa6d9ac0 ssh-agent 16:13:51 SSH_AUTH_SOCK=/tmp/ssh-vxhJ6VDZWdun/agent.32 16:13:51 SSH_AGENT_PID=38 16:13:51 Running ssh-add (command line suppressed) 16:13:52 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11457017600768222987.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11457017600768222987.key) 16:13:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:13:52 + git tag --points-at HEAD [Pipeline] } 16:13:52 $ docker exec --env ******** --env ******** 31176c1410e72cb7b0a121a315f8a179ae1ba78898d8b1b5fdf14b85fa6d9ac0 ssh-agent -k 16:13:52 unset SSH_AUTH_SOCK; 16:13:52 unset SSH_AGENT_PID; 16:13:52 echo Agent pid 38 killed; 16:13:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:13:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:13:52 [ssh-agent] Looking for ssh-agent implementation... 16:13:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:13:52 $ docker exec 31176c1410e72cb7b0a121a315f8a179ae1ba78898d8b1b5fdf14b85fa6d9ac0 ssh-agent 16:13:52 SSH_AUTH_SOCK=/tmp/ssh-22Kd7Z48U899/agent.70 16:13:52 SSH_AGENT_PID=76 16:13:52 Running ssh-add (command line suppressed) 16:13:52 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10510592956284522799.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10510592956284522799.key) 16:13:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:13:53 + git semver init 16:13:53 2022-11-08 16:13:53,380 [run_init] DEBUG init version:0.0.0 force:False 16:13:53 2022-11-08 16:13:53,381 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 16:13:53 2022-11-08 16:13:53,382 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 16:13:53 2022-11-08 16:13:53,383 [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) 16:13:54 2022-11-08 16:13:54,649 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 16:13:54 2022-11-08 16:13:54,650 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 16:13:54 2022-11-08 16:13:54,650 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:13:54 2022-11-08 16:13:54,650 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:13:54 2.3.0-dev.30 [Pipeline] } 16:13:54 $ docker exec --env ******** --env ******** 31176c1410e72cb7b0a121a315f8a179ae1ba78898d8b1b5fdf14b85fa6d9ac0 ssh-agent -k 16:13:54 unset SSH_AUTH_SOCK; 16:13:54 unset SSH_AGENT_PID; 16:13:54 echo Agent pid 76 killed; 16:13:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:13:55 + git semver [Pipeline] } 16:13:55 $ docker stop --time=1 31176c1410e72cb7b0a121a315f8a179ae1ba78898d8b1b5fdf14b85fa6d9ac0 16:13:56 $ docker rm -f 31176c1410e72cb7b0a121a315f8a179ae1ba78898d8b1b5fdf14b85fa6d9ac0 [Pipeline] // withDockerContainer [Pipeline] sh 16:13:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:13:57 Stashed 1 file(s) [Pipeline] echo 16:13:57 [edgeXSemver]: initialized semver on version 2.3.0-dev.30 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:13:57 provisioning config files... 16:13:57 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14782653213783769543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:57 ---> docker-login.sh 16:13:57 nexus3.edgexfoundry.org:10001 16:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:57 Configure a credential helper to remove this warning. See 16:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:57 16:13:57 Login Succeeded 16:13:57 nexus3.edgexfoundry.org:10002 16:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:57 Configure a credential helper to remove this warning. See 16:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:57 16:13:57 Login Succeeded 16:13:57 nexus3.edgexfoundry.org:10003 16:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:58 Configure a credential helper to remove this warning. See 16:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:58 16:13:58 Login Succeeded 16:13:58 nexus3.edgexfoundry.org:10004 16:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:58 Configure a credential helper to remove this warning. See 16:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:58 16:13:58 Login Succeeded 16:13:58 docker.io 16:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:58 Configure a credential helper to remove this warning. See 16:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:58 16:13:58 Login Succeeded 16:13:58 ---> docker-login.sh ends [Pipeline] } 16:13:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:13:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:13:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:13:58 ========================================================= 16:13:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:13:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:58 + 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 . 16:13:58 Sending build context to Docker daemon 23.24MB 16:13:58 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:13:58 Step 2/12 : FROM ${BASE} AS builder 16:13:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:13:58 213ec9aee27d: Pulling fs layer 16:13:58 4583459ba037: Pulling fs layer 16:13:58 93c1e223e6f2: Pulling fs layer 16:13:58 53926ce57604: Pulling fs layer 16:13:58 21b2b0c7a3f4: Pulling fs layer 16:13:58 22ff95d597cd: Pulling fs layer 16:13:58 12d6caf4c0d1: Pulling fs layer 16:13:58 96b7cbca73a9: Pulling fs layer 16:13:58 a7acece74701: Pulling fs layer 16:13:58 53926ce57604: Waiting 16:13:58 12d6caf4c0d1: Waiting 16:13:58 21b2b0c7a3f4: Waiting 16:13:58 22ff95d597cd: Waiting 16:13:58 96b7cbca73a9: Waiting 16:13:58 a7acece74701: Waiting 16:13:59 93c1e223e6f2: Verifying Checksum 16:13:59 93c1e223e6f2: Download complete 16:13:59 4583459ba037: Download complete 16:13:59 21b2b0c7a3f4: Verifying Checksum 16:13:59 21b2b0c7a3f4: Download complete 16:13:59 22ff95d597cd: Verifying Checksum 16:13:59 22ff95d597cd: Download complete 16:13:59 213ec9aee27d: Download complete 16:13:59 12d6caf4c0d1: Verifying Checksum 16:13:59 12d6caf4c0d1: Download complete 16:13:59 213ec9aee27d: Pull complete 16:13:59 4583459ba037: Pull complete 16:13:59 93c1e223e6f2: Pull complete 16:13:59 a7acece74701: Verifying Checksum 16:13:59 a7acece74701: Download complete 16:13:59 53926ce57604: Verifying Checksum 16:13:59 53926ce57604: Download complete 16:14:00 96b7cbca73a9: Verifying Checksum 16:14:00 96b7cbca73a9: Download complete 16:14:03 53926ce57604: Pull complete 16:14:03 21b2b0c7a3f4: Pull complete 16:14:03 22ff95d597cd: Pull complete 16:14:03 12d6caf4c0d1: Pull complete 16:14:06 96b7cbca73a9: Pull complete 16:14:06 a7acece74701: Pull complete 16:14:06 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:14:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:14:06 ---> db6d94c90886 16:14:06 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:14:08 ---> Running in 444cacff697b 16:14:08 Removing intermediate container 444cacff697b 16:14:08 ---> b747895d726d 16:14:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:14:08 ---> Running in 422fffea18b6 16:14:08 Removing intermediate container 422fffea18b6 16:14:08 ---> fb726b691f9b 16:14:08 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:14:08 ---> Running in 11c50f39a923 16:14:08 Removing intermediate container 11c50f39a923 16:14:08 ---> 3ef7a5b7b063 16:14:08 Step 6/12 : WORKDIR /device-virtual-go 16:14:08 ---> Running in 449e90ad6869 16:14:08 Removing intermediate container 449e90ad6869 16:14:08 ---> 45d1a41157fc 16:14:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:14:09 ---> Running in b805f06dfc4b 16:14:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:14:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:14:09 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:14:09 (2/4) Installing libedit (20210910.3.1-r0) 16:14:09 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:14:09 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:14:09 Executing busybox-1.35.0-r17.trigger 16:14:09 OK: 216 MiB in 55 packages 16:14:09 Removing intermediate container b805f06dfc4b 16:14:09 ---> 88aa67d361c6 16:14:09 Step 8/12 : COPY go.mod vendor* ./ 16:14:10 ---> bd4c7f40dbca 16:14:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:14:10 ---> Running in 6907e56bf307 16:14:12 Still waiting to schedule task 16:14:12 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:14:28 Removing intermediate container 6907e56bf307 16:14:28 ---> 30e6916951c7 16:14:28 Step 10/12 : COPY . . 16:14:28 ---> 0cb7afa70971 16:14:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:14:28 ---> Running in 70ef4bea5c6d 16:14:28 Removing intermediate container 70ef4bea5c6d 16:14:28 ---> c175c7da8067 16:14:28 Step 12/12 : RUN $MAKE 16:14:28 ---> Running in fa8c37e3a2d0 16:14:28 noop 16:14:28 Removing intermediate container fa8c37e3a2d0 16:14:28 ---> 2a1e26836b7c 16:14:28 Successfully built 2a1e26836b7c 16:14:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:28 + docker inspect -f . ci-base-image-x86_64 16:14:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:14:28 prd-ubuntu20.04-docker-8c-8g-118625 does not seem to be running inside a container 16:14:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:14:28 $ docker top 5b8baa135fcc46012cec870f31d84a76d07fe2d8fb95b8534e79125fc87126a5 -eo pid,comm [Pipeline] { [Pipeline] sh 16:14:29 + go version 16:14:29 go version go1.18.7 linux/amd64 [Pipeline] } 16:14:29 $ docker stop --time=1 5b8baa135fcc46012cec870f31d84a76d07fe2d8fb95b8534e79125fc87126a5 16:14:30 $ docker rm -f 5b8baa135fcc46012cec870f31d84a76d07fe2d8fb95b8534e79125fc87126a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:30 + docker inspect -f . ci-base-image-x86_64 16:14:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:14:31 prd-ubuntu20.04-docker-8c-8g-118625 does not seem to be running inside a container 16:14:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:14:31 $ docker top 0aed839f4a0dd69e9e362067a863b2c9a183ef7e6787bad2f971931325d1beaa -eo pid,comm [Pipeline] { [Pipeline] sh 16:14:31 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 16:14:32 + make test 16:14:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:14:32 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:14:42 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:14:42 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 16:14:48 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." 16:14:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:14:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:14:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:14:51 ./bin/test-attribution-txt.sh [Pipeline] echo 16:14:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:14:51 $ docker stop --time=1 0aed839f4a0dd69e9e362067a863b2c9a183ef7e6787bad2f971931325d1beaa 16:14:53 $ docker rm -f 0aed839f4a0dd69e9e362067a863b2c9a183ef7e6787bad2f971931325d1beaa [Pipeline] // withDockerContainer [Pipeline] sh 16:14:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:14:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:14:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:14:54 + ls -al . 16:14:54 total 204 16:14:54 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 16:14 . 16:14:54 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:13 .. 16:14:54 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:14 .git 16:14:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:13 .github 16:14:54 -rw-rw-r-- 1 jenkins jenkins 337 Nov 8 16:13 .gitignore 16:14:54 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 16:13 .golangci.yml 16:14:54 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:13 .semver 16:14:54 -rw-rw-r-- 1 jenkins jenkins 8527 Nov 8 16:13 Attribution.txt 16:14:54 -rw-rw-r-- 1 jenkins jenkins 11367 Nov 8 16:13 CHANGELOG.md 16:14:54 -rw-rw-r-- 1 jenkins jenkins 1709 Nov 8 16:13 Dockerfile 16:14:54 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:13 GOVERNANCE.md 16:14:54 -rw-rw-r-- 1 jenkins jenkins 660 Nov 8 16:13 Jenkinsfile 16:14:54 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 16:13 LICENSE 16:14:54 -rw-rw-r-- 1 jenkins jenkins 2457 Nov 8 16:13 Makefile 16:14:54 -rw-rw-r-- 1 jenkins jenkins 623 Nov 8 16:13 OWNERS.md 16:14:54 -rw-rw-r-- 1 jenkins jenkins 3578 Nov 8 16:13 README.md 16:14:54 -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 16:13 VERSION 16:14:54 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:13 bin 16:14:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:13 cmd 16:14:54 -rw-r--r-- 1 jenkins jenkins 44128 Nov 8 16:14 coverage.out 16:14:54 -rw-rw-r-- 1 jenkins jenkins 3339 Nov 8 16:13 go.mod 16:14:54 -rw-rw-r-- 1 jenkins jenkins 44445 Nov 8 16:13 go.sum 16:14:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:13 internal 16:14:54 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:13 snap 16:14:54 -rw-rw-r-- 1 jenkins jenkins 235 Nov 8 16:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:54 + 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-dev.30 . 16:14:54 Sending build context to Docker daemon 23.29MB 16:14:54 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:14:54 Step 2/25 : FROM ${BASE} AS builder 16:14:54 ---> 2a1e26836b7c 16:14:54 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:14:55 ---> Running in 021ced3483cc 16:14:55 Removing intermediate container 021ced3483cc 16:14:55 ---> ecca58b8e6b3 16:14:55 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:14:55 ---> Running in f74d13dd86e9 16:14:55 Removing intermediate container f74d13dd86e9 16:14:55 ---> 24eb7eb175e0 16:14:55 Step 5/25 : ARG ADD_BUILD_TAGS="" 16:14:55 ---> Running in c9c8b01a7625 16:14:55 Removing intermediate container c9c8b01a7625 16:14:55 ---> ad9f0dc725ea 16:14:55 Step 6/25 : WORKDIR /device-virtual-go 16:14:55 ---> Running in 7d92dd20fdbc 16:14:55 Removing intermediate container 7d92dd20fdbc 16:14:55 ---> a5d985165f07 16:14:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:14:55 ---> Running in 6572c50c33c4 16:14:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:14:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:14:56 OK: 216 MiB in 55 packages 16:14:56 Removing intermediate container 6572c50c33c4 16:14:56 ---> ed99ceef2cb6 16:14:56 Step 8/25 : COPY go.mod vendor* ./ 16:14:56 ---> e21dfa386a04 16:14:56 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:14:56 ---> Running in b4d8ab84c27e 16:14:57 Removing intermediate container b4d8ab84c27e 16:14:57 ---> 0a6f864c9446 16:14:57 Step 10/25 : COPY . . 16:14:57 ---> 1a5851772e24 16:14:57 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:14:57 ---> Running in 55ab5155edf0 16:14:58 Removing intermediate container 55ab5155edf0 16:14:58 ---> 543cc3ab82a2 16:14:58 Step 12/25 : RUN $MAKE 16:14:58 ---> Running in 4fc690939f42 16:14:58 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 16:15:16 Removing intermediate container 4fc690939f42 16:15:16 ---> 81b37c8d2d09 16:15:16 Step 13/25 : FROM alpine:3.16 16:15:16 3.16: Pulling from library/alpine 16:15:16 213ec9aee27d: Already exists 16:15:16 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:15:16 Status: Downloaded newer image for alpine:3.16 16:15:16 ---> 9c6f07244728 16:15:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:15:17 ---> Running in 5b0ed122bcef 16:15:17 Removing intermediate container 5b0ed122bcef 16:15:17 ---> 51edb1f43771 16:15:17 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 16:15:17 ---> Running in b3ff4814e4dc 16:15:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:15:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:15:17 (1/6) Installing dumb-init (1.2.5-r1) 16:15:17 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:15:17 (3/6) Installing libsodium (1.0.18-r0) 16:15:17 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:15:17 (5/6) Installing libzmq (4.3.4-r0) 16:15:17 (6/6) Installing zeromq (4.3.4-r0) 16:15:17 Executing busybox-1.35.0-r17.trigger 16:15:17 OK: 8 MiB in 20 packages 16:15:18 Removing intermediate container b3ff4814e4dc 16:15:18 ---> 0377ca159b89 16:15:18 Step 16/25 : WORKDIR / 16:15:18 ---> Running in ccc565519915 16:15:18 Removing intermediate container ccc565519915 16:15:18 ---> 5e9f4dcc2d43 16:15:18 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:15:18 ---> ab9162c904b7 16:15:18 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 16:15:18 ---> 308108946dc7 16:15:18 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 16:15:19 ---> 1151f8cc8326 16:15:19 Step 20/25 : EXPOSE 59900 16:15:19 ---> Running in 19035bb8e5ad 16:15:19 Removing intermediate container 19035bb8e5ad 16:15:19 ---> 346aa9ba9710 16:15:19 Step 21/25 : ENTRYPOINT ["/device-virtual"] 16:15:19 ---> Running in 6c2c2da4a711 16:15:19 Removing intermediate container 6c2c2da4a711 16:15:19 ---> c2c8a1038594 16:15:19 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:15:19 ---> Running in 99b157965f32 16:15:19 Removing intermediate container 99b157965f32 16:15:19 ---> f755abac7c5a 16:15:19 Step 23/25 : LABEL arch=amd64 16:15:19 ---> Running in 90b134068bb6 16:15:19 Removing intermediate container 90b134068bb6 16:15:19 ---> c7d3ae2f6c65 16:15:19 Step 24/25 : LABEL git_sha=0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 16:15:19 ---> Running in 7fc4e8af2f40 16:15:19 Removing intermediate container 7fc4e8af2f40 16:15:19 ---> 4de27cf4a619 16:15:19 Step 25/25 : LABEL version=2.3.0-dev.30 16:15:19 ---> Running in 531a42d0f6b9 16:15:20 Removing intermediate container 531a42d0f6b9 16:15:20 ---> a1f2052f8f39 16:15:20 [Warning] One or more build-args [ARCH] were not consumed 16:15:20 Successfully built a1f2052f8f39 16:15:20 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:15:20 provisioning config files... 16:15:20 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16821365766164211502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:20 ---> docker-login.sh 16:15:20 nexus3.edgexfoundry.org:10001 16:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:20 Configure a credential helper to remove this warning. See 16:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:20 16:15:20 Login Succeeded 16:15:20 nexus3.edgexfoundry.org:10002 16:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:20 Configure a credential helper to remove this warning. See 16:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:20 16:15:20 Login Succeeded 16:15:20 nexus3.edgexfoundry.org:10003 16:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:21 Configure a credential helper to remove this warning. See 16:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:21 16:15:21 Login Succeeded 16:15:21 nexus3.edgexfoundry.org:10004 16:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:21 Configure a credential helper to remove this warning. See 16:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:21 16:15:21 Login Succeeded 16:15:21 docker.io 16:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:21 Configure a credential helper to remove this warning. See 16:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:21 16:15:21 Login Succeeded 16:15:21 ---> docker-login.sh ends [Pipeline] } 16:15:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:15:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:15:21 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 16:15:21 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 16:15:21 latest 16:15:21 2.3.0-dev.30 16:15:21 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0-dev.30 16:15:21 main 16:15:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:21 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 16:15:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:15:22 0c7900c01921: Preparing 16:15:22 5750ec327647: Preparing 16:15:22 0ed4de1740be: Preparing 16:15:22 d8094a0f7ae6: Preparing 16:15:22 994393dc58e7: Preparing 16:15:22 994393dc58e7: Layer already exists 16:15:22 0ed4de1740be: Pushed 16:15:22 5750ec327647: Pushed 16:15:22 d8094a0f7ae6: Pushed 16:15:25 0c7900c01921: Pushed 16:15:25 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23: digest: sha256:478c78cf8c1ebaf3501776ea2a6bfea7e48768a5127469cef01fbe91c3309237 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:25 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 16:15:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:15:25 0c7900c01921: Preparing 16:15:25 5750ec327647: Preparing 16:15:25 0ed4de1740be: Preparing 16:15:25 d8094a0f7ae6: Preparing 16:15:25 994393dc58e7: Preparing 16:15:25 0ed4de1740be: Layer already exists 16:15:25 994393dc58e7: Layer already exists 16:15:25 d8094a0f7ae6: Layer already exists 16:15:25 0c7900c01921: Layer already exists 16:15:25 5750ec327647: Layer already exists 16:15:25 latest: digest: sha256:478c78cf8c1ebaf3501776ea2a6bfea7e48768a5127469cef01fbe91c3309237 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:26 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.30 16:15:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:15:26 0c7900c01921: Preparing 16:15:26 5750ec327647: Preparing 16:15:26 0ed4de1740be: Preparing 16:15:26 d8094a0f7ae6: Preparing 16:15:26 994393dc58e7: Preparing 16:15:26 0c7900c01921: Layer already exists 16:15:26 994393dc58e7: Layer already exists 16:15:26 5750ec327647: Layer already exists 16:15:26 d8094a0f7ae6: Layer already exists 16:15:26 0ed4de1740be: Layer already exists 16:15:26 2.3.0-dev.30: digest: sha256:478c78cf8c1ebaf3501776ea2a6bfea7e48768a5127469cef01fbe91c3309237 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:26 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0-dev.30 16:15:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:15:26 0c7900c01921: Preparing 16:15:26 5750ec327647: Preparing 16:15:26 0ed4de1740be: Preparing 16:15:26 d8094a0f7ae6: Preparing 16:15:26 994393dc58e7: Preparing 16:15:26 5750ec327647: Layer already exists 16:15:26 0c7900c01921: Layer already exists 16:15:26 0ed4de1740be: Layer already exists 16:15:26 d8094a0f7ae6: Layer already exists 16:15:26 994393dc58e7: Layer already exists 16:15:26 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0-dev.30: digest: sha256:478c78cf8c1ebaf3501776ea2a6bfea7e48768a5127469cef01fbe91c3309237 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 16:15:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:15:27 0c7900c01921: Preparing 16:15:27 5750ec327647: Preparing 16:15:27 0ed4de1740be: Preparing 16:15:27 d8094a0f7ae6: Preparing 16:15:27 994393dc58e7: Preparing 16:15:27 d8094a0f7ae6: Layer already exists 16:15:27 0ed4de1740be: Layer already exists 16:15:27 5750ec327647: Layer already exists 16:15:27 0c7900c01921: Layer already exists 16:15:27 994393dc58e7: Layer already exists 16:15:27 main: digest: sha256:478c78cf8c1ebaf3501776ea2a6bfea7e48768a5127469cef01fbe91c3309237 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:15:27 ===================================================== [Pipeline] echo 16:15:27 taggedImages: 16:15:27 - nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 16:15:27 - nexus3.edgexfoundry.org:10004/device-virtual:latest 16:15:27 - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.30 16:15:27 - nexus3.edgexfoundry.org:10004/device-virtual:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0-dev.30 16:15:27 - 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 16:15:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:15:27 16:15:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:15:28 latest: Pulling from edgex-lftools-log-publisher 16:15:28 5eb5b503b376: Pulling fs layer 16:15:28 5c69ac0246d0: Pulling fs layer 16:15:28 ec43610c2a17: Pulling fs layer 16:15:28 3a2ae6a8a46f: Pulling fs layer 16:15:28 33b1e0a273af: Pulling fs layer 16:15:28 5d3b04190fa2: Pulling fs layer 16:15:28 2f39f015ded8: Pulling fs layer 16:15:28 33b1e0a273af: Waiting 16:15:28 5d3b04190fa2: Waiting 16:15:28 2f39f015ded8: Waiting 16:15:28 3a2ae6a8a46f: Waiting 16:15:28 5c69ac0246d0: Verifying Checksum 16:15:28 5c69ac0246d0: Download complete 16:15:28 3a2ae6a8a46f: Verifying Checksum 16:15:28 3a2ae6a8a46f: Download complete 16:15:28 33b1e0a273af: Verifying Checksum 16:15:28 33b1e0a273af: Download complete 16:15:28 5d3b04190fa2: Verifying Checksum 16:15:28 5d3b04190fa2: Download complete 16:15:28 ec43610c2a17: Verifying Checksum 16:15:28 ec43610c2a17: Download complete 16:15:28 5eb5b503b376: Verifying Checksum 16:15:28 5eb5b503b376: Download complete 16:15:29 2f39f015ded8: Download complete 16:15:29 5eb5b503b376: Pull complete 16:15:29 5c69ac0246d0: Pull complete 16:15:30 ec43610c2a17: Pull complete 16:15:30 3a2ae6a8a46f: Pull complete 16:15:30 33b1e0a273af: Pull complete 16:15:30 5d3b04190fa2: Pull complete 16:15:34 2f39f015ded8: Pull complete 16:15:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:15:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:15:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:15:34 prd-ubuntu20.04-docker-8c-8g-118625 does not seem to be running inside a container 16:15:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:15:36 $ docker top 0cf987f50b38f0a7609f902a65589cb3304e5d81f1348bc763b50bd6fd6304c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:36 ---> job-cost.sh 16:15:36 lf-activate-venv: SKIPPING 16:15:36 INFO: No Stack... 16:15:37 INFO: Retrieving Pricing Info for: v3-standard-8 16:15:37 INFO: Archiving Costs [Pipeline] sh 16:15:37 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 16:15:37 + cut -d, -f6 [Pipeline] lock 16:15:37 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-66-stack-cost] 16:15:37 Resource [jenkins-edgexfoundry-device-virtual-go-main-66-stack-cost] did not exist. Created. 16:15:37 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-66-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:15:38 + echo total: 0.2199999988079071 [Pipeline] stash 16:15:38 Stashed 1 file(s) [Pipeline] } 16:15:38 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-66-stack-cost] [Pipeline] // lock [Pipeline] } 16:15:38 $ docker stop --time=1 0cf987f50b38f0a7609f902a65589cb3304e5d81f1348bc763b50bd6fd6304c2 16:15:39 $ docker rm -f 0cf987f50b38f0a7609f902a65589cb3304e5d81f1348bc763b50bd6fd6304c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:16:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118627 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 16:16:51 Running in /w/workspace/device-virtual-go/66 [Pipeline] { [Pipeline] checkout 16:16:51 The recommended git tool is: git 16:16:58 using credential edgex-jenkins-ssh 16:16:58 Cloning the remote Git repository 16:16:58 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 16:16:58 > git init /w/workspace/device-virtual-go/66 # timeout=10 16:16:59 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:16:59 > git --version # timeout=10 16:16:59 > git --version # 'git version 2.25.1' 16:16:59 using GIT_SSH to set credentials SSH Credentials for GitHub 16:16:59 Verifying host key using known hosts file 16:16:59 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. 16:16:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:17:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:17:03 Avoid second fetch 16:17:03 Checking out Revision 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 (main) 16:17:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:17:03 > git config core.sparsecheckout # timeout=10 16:17:03 > git checkout -f 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 # timeout=10 16:17:03 Commit message: "build: Update to use released SDK and go-mods (#320)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:17:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:17:04 % Total % Received % Xferd Average Speed Time Time Time Current 16:17:04 Dload Upload Total Spent Left Speed 16:17:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 157k 0 --:--:-- --:--:-- --:--:-- 159k [Pipeline] sh 16:17:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:17:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:17:06 + sudo tee /etc/docker/daemon.new 16:17:06 { 16:17:06 "registry-mirrors": [ 16:17:06 "https://nexus3.edgexfoundry.org:10001" 16:17:06 ], 16:17:06 "bip": "10.250.0.254/24", 16:17:06 "hosts": [ 16:17:06 "tcp://0.0.0.0:5555", 16:17:06 "unix:///var/run/docker.sock" 16:17:06 ], 16:17:06 "mtu": 1458, 16:17:06 "selinux-enabled": true, 16:17:06 "seccomp-profile": "/etc/docker/seccomp.json" 16:17:06 } [Pipeline] sh 16:17:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:17:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:17:25 provisioning config files... 16:17:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/66@tmp/config15724953809450967977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:25 ---> docker-login.sh 16:17:25 nexus3.edgexfoundry.org:10001 16:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:26 Configure a credential helper to remove this warning. See 16:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:26 16:17:26 Login Succeeded 16:17:26 nexus3.edgexfoundry.org:10002 16:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:26 Configure a credential helper to remove this warning. See 16:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:26 16:17:26 Login Succeeded 16:17:26 nexus3.edgexfoundry.org:10003 16:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:27 Configure a credential helper to remove this warning. See 16:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:27 16:17:27 Login Succeeded 16:17:27 nexus3.edgexfoundry.org:10004 16:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:27 Configure a credential helper to remove this warning. See 16:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:27 16:17:27 Login Succeeded 16:17:27 docker.io 16:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:28 Configure a credential helper to remove this warning. See 16:17:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:28 16:17:28 Login Succeeded 16:17:28 ---> docker-login.sh ends [Pipeline] } 16:17:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:17:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:17:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:17:28 ========================================================= 16:17:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:17:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:28 + 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 . 16:17:29 Sending build context to Docker daemon 11.77MB 16:17:29 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:17:29 Step 2/12 : FROM ${BASE} AS builder 16:17:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:17:29 9b18e9b68314: Pulling fs layer 16:17:29 35d82f9e3411: Pulling fs layer 16:17:29 e16973657156: Pulling fs layer 16:17:29 fc693d55d65f: Pulling fs layer 16:17:29 7e9fc2657dce: Pulling fs layer 16:17:29 dda99020689f: Pulling fs layer 16:17:29 fc693d55d65f: Waiting 16:17:29 7e9fc2657dce: Waiting 16:17:29 db1c61fa0a46: Pulling fs layer 16:17:29 891c053d2c06: Pulling fs layer 16:17:29 dda99020689f: Waiting 16:17:29 db1c61fa0a46: Waiting 16:17:29 891c053d2c06: Waiting 16:17:29 e16973657156: Verifying Checksum 16:17:29 e16973657156: Download complete 16:17:29 35d82f9e3411: Verifying Checksum 16:17:29 35d82f9e3411: Download complete 16:17:29 7e9fc2657dce: Verifying Checksum 16:17:29 7e9fc2657dce: Download complete 16:17:29 dda99020689f: Verifying Checksum 16:17:29 dda99020689f: Download complete 16:17:29 9b18e9b68314: Verifying Checksum 16:17:29 9b18e9b68314: Download complete 16:17:30 9b18e9b68314: Pull complete 16:17:31 891c053d2c06: Verifying Checksum 16:17:31 891c053d2c06: Download complete 16:17:31 35d82f9e3411: Pull complete 16:17:31 e16973657156: Pull complete 16:17:32 db1c61fa0a46: Verifying Checksum 16:17:32 db1c61fa0a46: Download complete 16:17:32 fc693d55d65f: Verifying Checksum 16:17:32 fc693d55d65f: Download complete 16:17:47 fc693d55d65f: Pull complete 16:17:47 7e9fc2657dce: Pull complete 16:17:47 dda99020689f: Pull complete 16:17:54 db1c61fa0a46: Pull complete 16:17:56 891c053d2c06: Pull complete 16:17:56 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:17:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:17:56 ---> f96f9c87975a 16:17:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:17:58 ---> Running in eae39bfc22ce 16:17:58 Removing intermediate container eae39bfc22ce 16:17:58 ---> c8b08d0dbeb0 16:17:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:17:58 ---> Running in 943813dc5910 16:17:58 Removing intermediate container 943813dc5910 16:17:58 ---> 45c7d629b783 16:17:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:17:58 ---> Running in f5ae180e8a62 16:17:59 Removing intermediate container f5ae180e8a62 16:17:59 ---> ffa9f9f592e5 16:17:59 Step 6/12 : WORKDIR /device-virtual-go 16:17:59 ---> Running in f4743bbf3df6 16:17:59 Removing intermediate container f4743bbf3df6 16:17:59 ---> 5e332caa5434 16:17:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:17:59 ---> Running in 8935ebf08ab9 16:18:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:18:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:18:02 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:18:02 (2/4) Installing libedit (20210910.3.1-r0) 16:18:02 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:18:02 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:18:02 Executing busybox-1.35.0-r17.trigger 16:18:02 OK: 226 MiB in 55 packages 16:18:03 Removing intermediate container 8935ebf08ab9 16:18:03 ---> ef6c92486473 16:18:03 Step 8/12 : COPY go.mod vendor* ./ 16:18:04 ---> c39d74cb2ac5 16:18:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:18:04 ---> Running in 923789da8a27 16:19:12 Removing intermediate container 923789da8a27 16:19:12 ---> b3a1db58e1af 16:19:12 Step 10/12 : COPY . . 16:19:12 ---> 643d89d0692f 16:19:12 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:19:12 ---> Running in e62e4d667e93 16:19:12 Removing intermediate container e62e4d667e93 16:19:12 ---> 9eae9f4b526a 16:19:12 Step 12/12 : RUN $MAKE 16:19:12 ---> Running in c7c020e191d3 16:19:12 noop 16:19:12 Removing intermediate container c7c020e191d3 16:19:12 ---> 564d1aef639a 16:19:12 Successfully built 564d1aef639a 16:19:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:12 + docker inspect -f . ci-base-image-arm64 16:19:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:13 prd-ubuntu20.04-docker-arm64-4c-16g-118627 does not seem to be running inside a container 16:19:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/66 -v /w/workspace/device-virtual-go/66:/w/workspace/device-virtual-go/66:rw,z -v /w/workspace/device-virtual-go/66@tmp:/w/workspace/device-virtual-go/66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:19:14 $ docker top 754ff9c0a80eac030fefc55fa6c9c49cdd0a5bd03a939658b117ad3351b7e24e -eo pid,comm [Pipeline] { [Pipeline] sh 16:19:15 + go version 16:19:15 go version go1.18.7 linux/arm64 [Pipeline] } 16:19:15 $ docker stop --time=1 754ff9c0a80eac030fefc55fa6c9c49cdd0a5bd03a939658b117ad3351b7e24e 16:19:16 $ docker rm -f 754ff9c0a80eac030fefc55fa6c9c49cdd0a5bd03a939658b117ad3351b7e24e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:17 + docker inspect -f . ci-base-image-arm64 16:19:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:17 prd-ubuntu20.04-docker-arm64-4c-16g-118627 does not seem to be running inside a container 16:19:17 $ 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/66 -v /w/workspace/device-virtual-go/66:/w/workspace/device-virtual-go/66:rw,z -v /w/workspace/device-virtual-go/66@tmp:/w/workspace/device-virtual-go/66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:19:19 $ docker top acd7172d2760d89ccb76f86aa253b64e079e305cc2a9ea62f364bb985be0cac7 -eo pid,comm [Pipeline] { [Pipeline] sh 16:19:19 + git config --global --add safe.directory /w/workspace/device-virtual-go/66 [Pipeline] fileExists [Pipeline] sh 16:19:20 + make test 16:19:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:19:22 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:20:59 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:21:00 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.152s coverage: 65.7% of statements 16:21:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:21:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:21:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:21:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:21:39 ./bin/test-attribution-txt.sh [Pipeline] echo 16:21:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:21:39 $ docker stop --time=1 acd7172d2760d89ccb76f86aa253b64e079e305cc2a9ea62f364bb985be0cac7 16:21:41 $ docker rm -f acd7172d2760d89ccb76f86aa253b64e079e305cc2a9ea62f364bb985be0cac7 [Pipeline] // withDockerContainer [Pipeline] sh 16:21:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:21:42 Warning: overwriting stash ‘coverage-report’ 16:21:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:21:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:21:44 + ls -al . 16:21:44 total 200 16:21:44 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:19 . 16:21:44 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:16 .. 16:21:44 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:17 .git 16:21:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:17 .github 16:21:44 -rw-rw-r-- 1 jenkins jenkins 337 Nov 8 16:17 .gitignore 16:21:44 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 16:17 .golangci.yml 16:21:44 -rw-rw-r-- 1 jenkins jenkins 8527 Nov 8 16:17 Attribution.txt 16:21:44 -rw-rw-r-- 1 jenkins jenkins 11367 Nov 8 16:17 CHANGELOG.md 16:21:44 -rw-rw-r-- 1 jenkins jenkins 1709 Nov 8 16:17 Dockerfile 16:21:44 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:17 GOVERNANCE.md 16:21:44 -rw-rw-r-- 1 jenkins jenkins 660 Nov 8 16:17 Jenkinsfile 16:21:44 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 16:17 LICENSE 16:21:44 -rw-rw-r-- 1 jenkins jenkins 2457 Nov 8 16:17 Makefile 16:21:44 -rw-rw-r-- 1 jenkins jenkins 623 Nov 8 16:17 OWNERS.md 16:21:44 -rw-rw-r-- 1 jenkins jenkins 3578 Nov 8 16:17 README.md 16:21:44 -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 16:13 VERSION 16:21:44 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:17 bin 16:21:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:17 cmd 16:21:44 -rw-r--r-- 1 jenkins jenkins 44128 Nov 8 16:20 coverage.out 16:21:44 -rw-rw-r-- 1 jenkins jenkins 3339 Nov 8 16:17 go.mod 16:21:44 -rw-rw-r-- 1 jenkins jenkins 44445 Nov 8 16:17 go.sum 16:21:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:17 internal 16:21:44 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:17 snap 16:21:44 -rw-rw-r-- 1 jenkins jenkins 235 Nov 8 16:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:44 + 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-dev.30 . 16:21:44 Sending build context to Docker daemon 11.82MB 16:21:44 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:21:44 Step 2/25 : FROM ${BASE} AS builder 16:21:44 ---> 564d1aef639a 16:21:44 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:21:44 ---> Running in 27f483b1234f 16:21:45 Removing intermediate container 27f483b1234f 16:21:45 ---> 4e14b7111624 16:21:45 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:21:45 ---> Running in 7dcec740e906 16:21:45 Removing intermediate container 7dcec740e906 16:21:45 ---> 0ba6c482df9a 16:21:45 Step 5/25 : ARG ADD_BUILD_TAGS="" 16:21:45 ---> Running in 9478ecd0ab02 16:21:46 Removing intermediate container 9478ecd0ab02 16:21:46 ---> c2c0dcd95318 16:21:46 Step 6/25 : WORKDIR /device-virtual-go 16:21:46 ---> Running in 82c2ecef5ec4 16:21:46 Removing intermediate container 82c2ecef5ec4 16:21:46 ---> 4ffc9aecf4d6 16:21:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:21:46 ---> Running in 6b10cfc80a27 16:21:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:21:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:21:50 OK: 226 MiB in 55 packages 16:21:51 Removing intermediate container 6b10cfc80a27 16:21:51 ---> badefe1a5c93 16:21:51 Step 8/25 : COPY go.mod vendor* ./ 16:21:51 ---> 070441b67f7a 16:21:51 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:21:51 ---> Running in 937f8d0953b9 16:21:54 Removing intermediate container 937f8d0953b9 16:21:54 ---> d365035ece42 16:21:54 Step 10/25 : COPY . . 16:21:55 ---> 238e4ec95d9f 16:21:55 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:21:55 ---> Running in 9dcb64a1f1af 16:21:55 Removing intermediate container 9dcb64a1f1af 16:21:55 ---> 10413b0c7b26 16:21:55 Step 12/25 : RUN $MAKE 16:21:56 ---> Running in 5b0e2683db80 16:21:57 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 16:24:33 Removing intermediate container 5b0e2683db80 16:24:33 ---> c22b6258fad9 16:24:33 Step 13/25 : FROM alpine:3.16 16:24:33 3.16: Pulling from library/alpine 16:24:33 9b18e9b68314: Already exists 16:24:33 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:24:33 Status: Downloaded newer image for alpine:3.16 16:24:33 ---> a6215f271958 16:24:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:24:33 ---> Running in 3e927f05cb3e 16:24:33 Removing intermediate container 3e927f05cb3e 16:24:33 ---> b1e97e8ef534 16:24:33 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 16:24:33 ---> Running in c7c87e857841 16:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:24:33 (1/6) Installing dumb-init (1.2.5-r1) 16:24:33 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:24:33 (3/6) Installing libsodium (1.0.18-r0) 16:24:33 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:24:33 (5/6) Installing libzmq (4.3.4-r0) 16:24:33 (6/6) Installing zeromq (4.3.4-r0) 16:24:33 Executing busybox-1.35.0-r17.trigger 16:24:33 OK: 8 MiB in 20 packages 16:24:33 Removing intermediate container c7c87e857841 16:24:33 ---> f3c8c5f7e454 16:24:33 Step 16/25 : WORKDIR / 16:24:33 ---> Running in d596260f71c3 16:24:33 Removing intermediate container d596260f71c3 16:24:33 ---> 6efc40a0b80b 16:24:33 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:24:33 ---> be95ae1634b6 16:24:33 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 16:24:33 ---> d3cbba611f98 16:24:33 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 16:24:33 ---> b56e5be774ed 16:24:33 Step 20/25 : EXPOSE 59900 16:24:33 ---> Running in 0eacb87b2444 16:24:33 Removing intermediate container 0eacb87b2444 16:24:33 ---> 71482466c97d 16:24:33 Step 21/25 : ENTRYPOINT ["/device-virtual"] 16:24:33 ---> Running in 96e888806dcc 16:24:33 Removing intermediate container 96e888806dcc 16:24:33 ---> afc3ed2dba93 16:24:33 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:24:33 ---> Running in e5a37441d981 16:24:33 Removing intermediate container e5a37441d981 16:24:33 ---> 841b863833ed 16:24:33 Step 23/25 : LABEL arch=arm64 16:24:33 ---> Running in b4637fe77017 16:24:33 Removing intermediate container b4637fe77017 16:24:33 ---> 4346a507ddab 16:24:33 Step 24/25 : LABEL git_sha=0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 16:24:33 ---> Running in 1d0435bf23f9 16:24:34 Removing intermediate container 1d0435bf23f9 16:24:34 ---> b50e924bdf12 16:24:34 Step 25/25 : LABEL version=2.3.0-dev.30 16:24:34 ---> Running in 063ae0b6ba82 16:24:34 Removing intermediate container 063ae0b6ba82 16:24:34 ---> 464d613a8a5a 16:24:34 [Warning] One or more build-args [ARCH] were not consumed 16:24:34 Successfully built 464d613a8a5a 16:24:34 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 16:24:34 provisioning config files... 16:24:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/66@tmp/config4927529077309363114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:34 ---> docker-login.sh 16:24:34 nexus3.edgexfoundry.org:10001 16:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:35 Configure a credential helper to remove this warning. See 16:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:35 16:24:35 Login Succeeded 16:24:35 nexus3.edgexfoundry.org:10002 16:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:35 Configure a credential helper to remove this warning. See 16:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:35 16:24:35 Login Succeeded 16:24:35 nexus3.edgexfoundry.org:10003 16:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:35 Configure a credential helper to remove this warning. See 16:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:35 16:24:35 Login Succeeded 16:24:35 nexus3.edgexfoundry.org:10004 16:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:36 Configure a credential helper to remove this warning. See 16:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:36 16:24:36 Login Succeeded 16:24:36 docker.io 16:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:37 Configure a credential helper to remove this warning. See 16:24:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:37 16:24:37 Login Succeeded 16:24:37 ---> docker-login.sh ends [Pipeline] } 16:24:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:24:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:24:37 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 16:24:37 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 16:24:37 latest 16:24:37 2.3.0-dev.30 16:24:37 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0-dev.30 16:24:37 main 16:24:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:37 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:37 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 16:24:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:24:37 d4c46e5e5e87: Preparing 16:24:37 1ed0b983ebde: Preparing 16:24:37 aa367acb4dad: Preparing 16:24:37 418faa584abf: Preparing 16:24:37 5d3e392a13a0: Preparing 16:24:37 5d3e392a13a0: Layer already exists 16:24:38 1ed0b983ebde: Pushed 16:24:38 aa367acb4dad: Pushed 16:24:38 418faa584abf: Pushed 16:24:44 d4c46e5e5e87: Pushed 16:24:44 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23: digest: sha256:53f969433edf1db8b61cd5e37eacab6cda7302ceeb2ad10dc32d63132f70f817 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:44 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 16:24:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:24:44 d4c46e5e5e87: Preparing 16:24:44 1ed0b983ebde: Preparing 16:24:44 aa367acb4dad: Preparing 16:24:44 418faa584abf: Preparing 16:24:44 5d3e392a13a0: Preparing 16:24:44 5d3e392a13a0: Layer already exists 16:24:44 418faa584abf: Layer already exists 16:24:44 d4c46e5e5e87: Layer already exists 16:24:44 1ed0b983ebde: Layer already exists 16:24:44 aa367acb4dad: Layer already exists 16:24:44 latest: digest: sha256:53f969433edf1db8b61cd5e37eacab6cda7302ceeb2ad10dc32d63132f70f817 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:45 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.30 16:24:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:24:45 d4c46e5e5e87: Preparing 16:24:45 1ed0b983ebde: Preparing 16:24:45 aa367acb4dad: Preparing 16:24:45 418faa584abf: Preparing 16:24:45 5d3e392a13a0: Preparing 16:24:45 418faa584abf: Layer already exists 16:24:45 aa367acb4dad: Layer already exists 16:24:45 d4c46e5e5e87: Layer already exists 16:24:45 5d3e392a13a0: Layer already exists 16:24:45 1ed0b983ebde: Layer already exists 16:24:45 2.3.0-dev.30: digest: sha256:53f969433edf1db8b61cd5e37eacab6cda7302ceeb2ad10dc32d63132f70f817 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:46 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0-dev.30 16:24:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:24:46 d4c46e5e5e87: Preparing 16:24:46 1ed0b983ebde: Preparing 16:24:46 aa367acb4dad: Preparing 16:24:46 418faa584abf: Preparing 16:24:46 5d3e392a13a0: Preparing 16:24:46 5d3e392a13a0: Layer already exists 16:24:46 d4c46e5e5e87: Layer already exists 16:24:46 aa367acb4dad: Layer already exists 16:24:46 418faa584abf: Layer already exists 16:24:46 1ed0b983ebde: Layer already exists 16:24:46 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0-dev.30: digest: sha256:53f969433edf1db8b61cd5e37eacab6cda7302ceeb2ad10dc32d63132f70f817 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:47 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 16:24:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:24:47 d4c46e5e5e87: Preparing 16:24:47 1ed0b983ebde: Preparing 16:24:47 aa367acb4dad: Preparing 16:24:47 418faa584abf: Preparing 16:24:47 5d3e392a13a0: Preparing 16:24:47 418faa584abf: Layer already exists 16:24:47 aa367acb4dad: Layer already exists 16:24:47 d4c46e5e5e87: Layer already exists 16:24:47 5d3e392a13a0: Layer already exists 16:24:47 1ed0b983ebde: Layer already exists 16:24:47 main: digest: sha256:53f969433edf1db8b61cd5e37eacab6cda7302ceeb2ad10dc32d63132f70f817 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:24:47 ===================================================== [Pipeline] echo 16:24:47 taggedImages: 16:24:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 16:24:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 16:24:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.30 16:24:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:0c2f1e9213ddf10d1b3316c025c729eab3a2bc23-2.3.0-dev.30 16:24:47 - 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 16:24:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:24:48 16:24:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:24:48 arm64: Pulling from edgex-lftools-log-publisher 16:24:48 8998bd30e6a1: Pulling fs layer 16:24:48 04944245beec: Pulling fs layer 16:24:48 699f458cf7ca: Pulling fs layer 16:24:48 765212b225bb: Pulling fs layer 16:24:48 f23df028b6ca: Pulling fs layer 16:24:48 d65c8cfc05b1: Pulling fs layer 16:24:48 2437ff75d9bd: Pulling fs layer 16:24:48 765212b225bb: Waiting 16:24:48 f23df028b6ca: Waiting 16:24:48 d65c8cfc05b1: Waiting 16:24:48 2437ff75d9bd: Waiting 16:24:48 04944245beec: Verifying Checksum 16:24:48 04944245beec: Download complete 16:24:48 765212b225bb: Verifying Checksum 16:24:48 765212b225bb: Download complete 16:24:48 f23df028b6ca: Verifying Checksum 16:24:48 f23df028b6ca: Download complete 16:24:48 d65c8cfc05b1: Download complete 16:24:49 699f458cf7ca: Verifying Checksum 16:24:49 699f458cf7ca: Download complete 16:24:49 8998bd30e6a1: Verifying Checksum 16:24:49 8998bd30e6a1: Download complete 16:24:51 2437ff75d9bd: Verifying Checksum 16:24:51 2437ff75d9bd: Download complete 16:24:53 8998bd30e6a1: Pull complete 16:24:53 04944245beec: Pull complete 16:24:55 699f458cf7ca: Pull complete 16:24:55 765212b225bb: Pull complete 16:24:56 f23df028b6ca: Pull complete 16:24:56 d65c8cfc05b1: Pull complete 16:25:11 2437ff75d9bd: Pull complete 16:25:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:25:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:25:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:11 prd-ubuntu20.04-docker-arm64-4c-16g-118627 does not seem to be running inside a container 16:25:11 $ 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/66 -v /w/workspace/device-virtual-go/66:/w/workspace/device-virtual-go/66:rw,z -v /w/workspace/device-virtual-go/66@tmp:/w/workspace/device-virtual-go/66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:25:14 $ docker top c30180003f2ff6665b03a1baa3182457e568a62a2cafd7d7252913323a877a4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:14 ---> job-cost.sh 16:25:14 lf-activate-venv: SKIPPING 16:25:14 INFO: No Stack... 16:25:15 INFO: Retrieving Pricing Info for: v3-standard-4 16:25:16 INFO: Archiving Costs [Pipeline] sh 16:25:16 + cut -d, -f6 16:25:16 + cat /w/workspace/device-virtual-go/66/archives/cost.csv [Pipeline] lock 16:25:16 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-66-stack-cost] 16:25:16 Resource [jenkins-edgexfoundry-device-virtual-go-main-66-stack-cost] did not exist. Created. 16:25:16 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-66-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:25:17 /w/workspace/device-virtual-go/66@tmp/durable-356ebb67/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:25:18 + echo total: 0.10999999940395355 [Pipeline] stash 16:25:18 Warning: overwriting stash ‘stack-cost’ 16:25:18 Stashed 1 file(s) [Pipeline] } 16:25:18 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-66-stack-cost] [Pipeline] // lock [Pipeline] } 16:25:18 $ docker stop --time=1 c30180003f2ff6665b03a1baa3182457e568a62a2cafd7d7252913323a877a4d 16:25:19 $ docker rm -f c30180003f2ff6665b03a1baa3182457e568a62a2cafd7d7252913323a877a4d [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 16:25:20 provisioning config files... 16:25:20 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16730578507975251579tmp [Pipeline] { [Pipeline] sh 16:25:20 + set +x 16:25:20 + curl -s https://codecov.io/bash 16:25:20 + bash -s -- 16:25:20 16:25:20 _____ _ 16:25:20 / ____| | | 16:25:20 | | ___ __| | ___ ___ _____ __ 16:25:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:25:20 | |___| (_) | (_| | __/ (_| (_) \ V / 16:25:20 \_____\___/ \__,_|\___|\___\___/ \_/ 16:25:20 Bash-1.0.6 16:25:20 16:25:20 16:25:20 ==> git version 2.25.1 found 16:25:20 ==> 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 16:25:20 Release-Date: 2020-01-08 16:25:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:25:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:25:20 ==> Jenkins CI detected. 16:25:20 current dir:  /w/workspace/exfoundry_device-virtual-go_main 16:25:20 project root: . 16:25:20 --> token set from env 16:25:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:25:20 ==> Running gcov in . (disable via -X gcov) 16:25:20 ==> Python coveragepy not found 16:25:20 ==> Searching for coverage reports in: 16:25:20 + . 16:25:20 -> Found 1 reports 16:25:20 ==> Detecting git/mercurial file structure 16:25:20 ==> Reading reports 16:25:20 + ./coverage.out bytes=44128 16:25:20 ==> Appending adjustments 16:25:20 https://docs.codecov.io/docs/fixing-reports 16:25:20 + Found adjustments 16:25:20 ==> Gzipping contents 16:25:20 8.0K /tmp/codecov.x7fi1b.gz 16:25:20 ==> Uploading reports 16:25:20 url: https://codecov.io 16:25:20 query: branch=main&commit=0c2f1e9213ddf10d1b3316c025c729eab3a2bc23&build=66&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F66%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:25:20 -> Pinging Codecov 16:25:20 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=66&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F66%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:25:20 -> Uploading to 16:25:20 https://storage.googleapis.com/codecov/v4/raw/2022-11-08/5E52B4B073DB2E39498172D8E973AA87/0c2f1e9213ddf10d1b3316c025c729eab3a2bc23/36df89c9-3566-46fc-9454-0e3b91e591f5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T162520Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1b3156ec161e445aa8bf578c5a7d36d3a60bef94246383f4725e6d63e9747147 16:25:20 % Total % Received % Xferd Average Speed Time Time Time Current 16:25:20 Dload Upload Total Spent Left Speed 16:25:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5478 0 0 100 5478 0 27253 --:--:-- --:--:-- --:--:-- 27253 16:25:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] } 16:25:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:25:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:25:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:25:21 16:25:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:25:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:25:21 df9b9388f04a: Pulling fs layer 16:25:21 52dc419b0ee2: Pulling fs layer 16:25:21 25bc292e5bac: Pulling fs layer 16:25:21 114826534d7a: Pulling fs layer 16:25:21 4657fd5d0bcf: Pulling fs layer 16:25:21 6ad1cebc031e: Pulling fs layer 16:25:21 8a3aa393b2d8: Pulling fs layer 16:25:21 6ad1cebc031e: Waiting 16:25:21 4657fd5d0bcf: Waiting 16:25:21 8a3aa393b2d8: Waiting 16:25:21 114826534d7a: Waiting 16:25:21 25bc292e5bac: Download complete 16:25:21 52dc419b0ee2: Verifying Checksum 16:25:21 52dc419b0ee2: Download complete 16:25:21 4657fd5d0bcf: Verifying Checksum 16:25:21 4657fd5d0bcf: Download complete 16:25:21 df9b9388f04a: Download complete 16:25:22 6ad1cebc031e: Verifying Checksum 16:25:22 6ad1cebc031e: Download complete 16:25:22 df9b9388f04a: Pull complete 16:25:22 52dc419b0ee2: Pull complete 16:25:22 25bc292e5bac: Pull complete 16:25:22 114826534d7a: Verifying Checksum 16:25:22 114826534d7a: Download complete 16:25:22 8a3aa393b2d8: Verifying Checksum 16:25:22 8a3aa393b2d8: Download complete 16:25:27 114826534d7a: Pull complete 16:25:27 4657fd5d0bcf: Pull complete 16:25:27 6ad1cebc031e: Pull complete 16:25:29 8a3aa393b2d8: Pull complete 16:25:29 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:25:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:25:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:29 prd-ubuntu20.04-docker-8c-8g-118625 does not seem to be running inside a container 16:25:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:25:31 $ docker top fe60675c07ef0ac3564d2608aa94695cfc12535cefd471fcdacb7ff8cf2b62bd -eo pid,comm [Pipeline] { [Pipeline] echo 16:25:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 16:25:32 + set -o pipefail 16:25:32 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 16:25:38 16:25:38 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 16:25:38 16:25:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/8714ef2a-6025-4550-a51f-2bc922487e1c 16:25:38 16:25:38 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:25:38 16:25:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:25:38 16:25:38 16:25:38 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:25:38 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:25:38 More details here: https://snyk.co/ue1NS [Pipeline] } 16:25:38 $ docker stop --time=1 fe60675c07ef0ac3564d2608aa94695cfc12535cefd471fcdacb7ff8cf2b62bd 16:25:41 $ docker rm -f fe60675c07ef0ac3564d2608aa94695cfc12535cefd471fcdacb7ff8cf2b62bd [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 16:25:41 + git log --format=format:%s -1 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 [Pipeline] sh 16:25:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:25:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:25:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:42 prd-ubuntu20.04-docker-8c-8g-118625 does not seem to be running inside a container 16:25:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:25:43 $ docker top ec27cb285cec11ffd12680661dd73fcef5bd0ad9d87445faa15d80225dc5d7c1 -eo pid,comm 16:25:43 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). 16:25:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:25:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:25:43 [ssh-agent] Looking for ssh-agent implementation... 16:25:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:25:43 $ docker exec ec27cb285cec11ffd12680661dd73fcef5bd0ad9d87445faa15d80225dc5d7c1 ssh-agent 16:25:43 SSH_AUTH_SOCK=/tmp/ssh-IjcKvcaDD0aM/agent.31 16:25:43 SSH_AGENT_PID=37 16:25:43 Running ssh-add (command line suppressed) 16:25:43 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9375090789727928837.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9375090789727928837.key) 16:25:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:25:43 + git semver tag 16:25:44 2022-11-08 16:25:43,942 [run_tag] DEBUG tag force:False 16:25:44 2022-11-08 16:25:43,942 [check_head_tag] DEBUG check head tag 16:25:44 2022-11-08 16:25:43,943 [execute] INFO git cat-file --batch-check 16:25:44 2022-11-08 16:25:43,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 16:25:44 2022-11-08 16:25:43,947 [execute] INFO git cat-file --batch 16:25:44 2022-11-08 16:25:43,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 16:25:44 2022-11-08 16:25:43,961 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:25:44 2022-11-08 16:25:43,962 [execute] INFO git tag -a v2.3.0-dev.30 -m v2.3.0-dev.30 16:25:44 2022-11-08 16:25:43,962 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.30', '-m', 'v2.3.0-dev.30'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 16:25:44 2022-11-08 16:25:43,966 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:25:44 2.3.0-dev.30 [Pipeline] } 16:25:44 $ docker exec --env ******** --env ******** ec27cb285cec11ffd12680661dd73fcef5bd0ad9d87445faa15d80225dc5d7c1 ssh-agent -k 16:25:44 unset SSH_AUTH_SOCK; 16:25:44 unset SSH_AGENT_PID; 16:25:44 echo Agent pid 37 killed; 16:25:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:25:44 + git semver [Pipeline] } 16:25:44 $ docker stop --time=1 ec27cb285cec11ffd12680661dd73fcef5bd0ad9d87445faa15d80225dc5d7c1 16:25:46 $ docker rm -f ec27cb285cec11ffd12680661dd73fcef5bd0ad9d87445faa15d80225dc5d7c1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:25:46 16:25:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:25:46 0.23.1-centos7: Pulling from edgex-lftools 16:25:46 ab5ef0e58194: Pulling fs layer 16:25:46 9712f1f96733: Pulling fs layer 16:25:46 63f879dbbcfc: Pulling fs layer 16:25:46 0d9ebad4ef96: Pulling fs layer 16:25:46 e9a5061849ea: Pulling fs layer 16:25:46 d747dcd14b5f: Pulling fs layer 16:25:46 0d9ebad4ef96: Waiting 16:25:46 e9a5061849ea: Waiting 16:25:46 2de7ff778b66: Pulling fs layer 16:25:46 2de7ff778b66: Waiting 16:25:46 d747dcd14b5f: Waiting 16:25:46 9712f1f96733: Verifying Checksum 16:25:46 9712f1f96733: Download complete 16:25:46 63f879dbbcfc: Verifying Checksum 16:25:46 63f879dbbcfc: Download complete 16:25:47 e9a5061849ea: Verifying Checksum 16:25:47 e9a5061849ea: Download complete 16:25:47 d747dcd14b5f: Download complete 16:25:47 ab5ef0e58194: Download complete 16:25:47 0d9ebad4ef96: Verifying Checksum 16:25:47 0d9ebad4ef96: Download complete 16:25:47 2de7ff778b66: Verifying Checksum 16:25:47 2de7ff778b66: Download complete 16:25:50 ab5ef0e58194: Pull complete 16:25:50 9712f1f96733: Pull complete 16:25:50 63f879dbbcfc: Pull complete 16:25:54 0d9ebad4ef96: Pull complete 16:25:54 e9a5061849ea: Pull complete 16:25:54 d747dcd14b5f: Pull complete 16:25:55 2de7ff778b66: Pull complete 16:25:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:25:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:25:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:55 prd-ubuntu20.04-docker-8c-8g-118625 does not seem to be running inside a container 16:25:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:25:58 $ docker top 531de7fdd504b689b360bba177d0348c978d0f31af512e432b793526597e304e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:25:58 provisioning config files... 16:25:58 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14990897987976974417tmp 16:25:58 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16104866152679220680tmp 16:25:58 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14800227035385482116tmp [Pipeline] { [Pipeline] echo 16:25:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:25:58 ---> sigul-configuration.sh 16:25:58 gpg: directory `/root/.gnupg' created 16:25:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:25:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:25:58 gpg: keyring `/root/.gnupg/secring.gpg' created 16:25:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:25:58 gpg: CAST5 encrypted data 16:25:58 gpg: encrypted with 1 passphrase 16:25:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:25:58 + mkdir /home/jenkins 16:25:58 + mkdir /home/jenkins/sigul [Pipeline] sh 16:25:58 + 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 16:25:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:25:59 ---> sigul-install.sh 16:25:59 Sigul already installed; skipping installation. [Pipeline] sh 16:25:59 + git tag --list 16:25:59 v1.0.0 16:25:59 v1.1.0 16:25:59 v1.1.1 16:25:59 v1.2.1 16:25:59 v1.2.2 16:25:59 v1.2.3 16:25:59 v1.3.0 16:25:59 v1.3.1 16:25:59 v2.0.0 16:25:59 v2.1.0 16:25:59 v2.1.1 16:25:59 v2.1.1-dev.1 16:25:59 v2.1.1-dev.2 16:25:59 v2.2.0 16:25:59 v2.2.1-dev.1 16:25:59 v2.2.1-dev.2 16:25:59 v2.2.1-dev.3 16:25:59 v2.2.1-dev.4 16:25:59 v2.2.1-dev.5 16:25:59 v2.2.1-dev.6 16:25:59 v2.2.1-dev.7 16:25:59 v2.2.1-dev.8 16:25:59 v2.3.0-dev.10 16:25:59 v2.3.0-dev.11 16:25:59 v2.3.0-dev.12 16:25:59 v2.3.0-dev.13 16:25:59 v2.3.0-dev.14 16:25:59 v2.3.0-dev.15 16:25:59 v2.3.0-dev.16 16:25:59 v2.3.0-dev.17 16:25:59 v2.3.0-dev.18 16:25:59 v2.3.0-dev.19 16:25:59 v2.3.0-dev.20 16:25:59 v2.3.0-dev.21 16:25:59 v2.3.0-dev.22 16:25:59 v2.3.0-dev.23 16:25:59 v2.3.0-dev.24 16:25:59 v2.3.0-dev.25 16:25:59 v2.3.0-dev.26 16:25:59 v2.3.0-dev.27 16:25:59 v2.3.0-dev.28 16:25:59 v2.3.0-dev.29 16:25:59 v2.3.0-dev.30 16:25:59 v2.3.0-dev.8 16:25:59 v2.3.0-dev.9 [Pipeline] sh 16:25:59 + lftools sign git-tag v2.3.0-dev.30 16:26:00 Signing Git tag with Sigul... 16:26:00 Signing v2.3.0-dev.30 [Pipeline] echo 16:26:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:26:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:26:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:26:00 $ docker stop --time=1 531de7fdd504b689b360bba177d0348c978d0f31af512e432b793526597e304e 16:26:02 $ docker rm -f 531de7fdd504b689b360bba177d0348c978d0f31af512e432b793526597e304e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:26:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:26:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:26:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:03 prd-ubuntu20.04-docker-8c-8g-118625 does not seem to be running inside a container 16:26:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:26:03 $ docker top 6ab4c8680e6536d9fc01447c913be15a635505621f65cfd852a9ca8b4abec157 -eo pid,comm 16:26:03 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). 16:26:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:26:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:26:03 [ssh-agent] Looking for ssh-agent implementation... 16:26:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:26:03 $ docker exec 6ab4c8680e6536d9fc01447c913be15a635505621f65cfd852a9ca8b4abec157 ssh-agent 16:26:03 SSH_AUTH_SOCK=/tmp/ssh-WECaXOh5BMDu/agent.31 16:26:03 SSH_AGENT_PID=37 16:26:03 Running ssh-add (command line suppressed) 16:26:03 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2449411146380795596.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2449411146380795596.key) 16:26:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:26:04 + git semver bump pre 16:26:04 2022-11-08 16:26:04,368 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:26:04 2022-11-08 16:26:04,368 [bump_version] DEBUG bumping version:2.3.0-dev.30 on axis:pre with prefix:dev 16:26:04 2022-11-08 16:26:04,368 [bump_version] DEBUG bumped version:2.3.0-dev.31 16:26:04 2022-11-08 16:26:04,368 [write_version] DEBUG write version:2.3.0-dev.31 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 16:26:04 2022-11-08 16:26:04,368 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:26:04 2022-11-08 16:26:04,368 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:26:04 2022-11-08 16:26:04,370 [execute] INFO git cat-file --batch-check 16:26:04 2022-11-08 16:26:04,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:26:04 2022-11-08 16:26:04,375 [execute] INFO git cat-file --batch 16:26:04 2022-11-08 16:26:04,376 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:26:04 2022-11-08 16:26:04,380 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:26:04 2.3.0-dev.31 [Pipeline] } 16:26:04 $ docker exec --env ******** --env ******** 6ab4c8680e6536d9fc01447c913be15a635505621f65cfd852a9ca8b4abec157 ssh-agent -k 16:26:04 unset SSH_AUTH_SOCK; 16:26:04 unset SSH_AGENT_PID; 16:26:04 echo Agent pid 37 killed; 16:26:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:26:04 + git semver [Pipeline] } 16:26:05 $ docker stop --time=1 6ab4c8680e6536d9fc01447c913be15a635505621f65cfd852a9ca8b4abec157 16:26:06 $ docker rm -f 6ab4c8680e6536d9fc01447c913be15a635505621f65cfd852a9ca8b4abec157 [Pipeline] // withDockerContainer [Pipeline] sh 16:26:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:26:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:26:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:07 prd-ubuntu20.04-docker-8c-8g-118625 does not seem to be running inside a container 16:26:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:26:07 $ docker top d623a8c924ea9fd76b2b4d89a5b6c8d408d6d516d9efb6fab4cf22ea8d32837d -eo pid,comm 16:26:07 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). 16:26:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:26:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:26:07 [ssh-agent] Looking for ssh-agent implementation... 16:26:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:26:07 $ docker exec d623a8c924ea9fd76b2b4d89a5b6c8d408d6d516d9efb6fab4cf22ea8d32837d ssh-agent 16:26:07 SSH_AUTH_SOCK=/tmp/ssh-E8fjhQMTW4C4/agent.33 16:26:07 SSH_AGENT_PID=39 16:26:07 Running ssh-add (command line suppressed) 16:26:07 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3740972466131654762.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3740972466131654762.key) 16:26:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:26:08 + git semver push 16:26:08 2022-11-08 16:26:08,455 [run_push] DEBUG push 16:26:08 2022-11-08 16:26:08,455 [execute] INFO git cat-file --batch-check 16:26:08 2022-11-08 16:26:08,456 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:26:08 2022-11-08 16:26:08,459 [execute] INFO git rev-list 075b7591172e2f7c9caa2903d7a182fbce47e085 -- 16:26:08 2022-11-08 16:26:08,459 [execute] DEBUG Popen(['git', 'rev-list', '075b7591172e2f7c9caa2903d7a182fbce47e085', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:26:08 2022-11-08 16:26:08,468 [execute] INFO git fetch -v origin 16:26:08 2022-11-08 16:26:08,468 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:26:09 2022-11-08 16:26:09,070 [run_push] DEBUG no remote changes detected 16:26:09 2022-11-08 16:26:09,070 [execute] INFO git push origin semver 16:26:09 2022-11-08 16:26:09,070 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:26:10 2022-11-08 16:26:09,921 [run_push] DEBUG push all version tags 16:26:10 2022-11-08 16:26:09,922 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:26:10 2022-11-08 16:26:09,922 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 16:26:10 2022-11-08 16:26:10,751 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:26:10 2.3.0-dev.31 [Pipeline] } 16:26:10 $ docker exec --env ******** --env ******** d623a8c924ea9fd76b2b4d89a5b6c8d408d6d516d9efb6fab4cf22ea8d32837d ssh-agent -k 16:26:11 unset SSH_AUTH_SOCK; 16:26:11 unset SSH_AGENT_PID; 16:26:11 echo Agent pid 39 killed; 16:26:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:26:11 + git semver [Pipeline] } 16:26:11 $ docker stop --time=1 d623a8c924ea9fd76b2b4d89a5b6c8d408d6d516d9efb6fab4cf22ea8d32837d 16:26:12 $ docker rm -f d623a8c924ea9fd76b2b4d89a5b6c8d408d6d516d9efb6fab4cf22ea8d32837d [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 16:26:13 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 16:26:13 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 16:26:13 total 16 16:26:13 drwxr-xr-x 3 root root 4096 Nov 8 16:15 . 16:26:13 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:25 .. 16:26:13 drwxr-xr-x 2 root root 4096 Nov 8 16:15 cost 16:26:13 -rw-r--r-- 1 root root 88 Nov 8 16:15 cost.csv 16:26:13 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 16:26:13 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 16:26:13 total 16 16:26:13 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:15 . 16:26:13 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:25 .. 16:26:13 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 16:15 cost 16:26:13 -rw-r--r-- 1 jenkins jenkins 88 Nov 8 16:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:26:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:26:14 ---> package-listing.sh 16:26:14 ++ facter osfamily 16:26:14 ++ tr '[:upper:]' '[:lower:]' 16:26:14 + OS_FAMILY=debian 16:26:14 + workspace=/w/workspace/exfoundry_device-virtual-go_main 16:26:14 + START_PACKAGES=/tmp/packages_start.txt 16:26:14 + END_PACKAGES=/tmp/packages_end.txt 16:26:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:26:14 + PACKAGES=/tmp/packages_start.txt 16:26:14 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 16:26:14 + PACKAGES=/tmp/packages_end.txt 16:26:14 + case "${OS_FAMILY}" in 16:26:14 + dpkg -l 16:26:14 + grep '^ii' 16:26:14 + '[' -f /tmp/packages_start.txt ']' 16:26:14 + '[' -f /tmp/packages_end.txt ']' 16:26:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:26:14 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 16:26:14 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 16:26:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 16:26:14 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 16:26:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:15 prd-ubuntu20.04-docker-8c-8g-118625 does not seem to be running inside a container 16:26:15 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:26:16 $ docker top 60022f8c8356fbced45ad3078833344fdd140fa0b7bc539e3489934f2cd778ca -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:16 + touch /tmp/pre-build-complete [Pipeline] sh 16:26:16 + mkdir -p /var/log/sysstat [Pipeline] sh 16:26:17 + ls /var/log/sa-host 16:26:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:26:17 provisioning config files... 16:26:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16634983086889992950tmp [Pipeline] { [Pipeline] echo 16:26:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:26:17 ---> create-netrc.sh [Pipeline] } 16:26:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:26:17 ---> python-tools-install.sh [Pipeline] echo 16:26:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:26:18 ---> sudo-logs.sh 16:26:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:26:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:26:18 ---> job-cost.sh 16:26:18 lf-activate-venv: SKIPPING 16:26:18 DEBUG: total: 0.2199999988079071 16:26:18 INFO: Retrieving Stack Cost... 16:26:18 INFO: Retrieving Pricing Info for: v3-standard-8 16:26:19 INFO: Archiving Costs [Pipeline] echo 16:26:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:26:19 ---> logs-deploy.sh 16:26:19 lf-activate-venv: SKIPPING 16:26:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/66 16:26:19 INFO: archiving workspace using pattern(s): 16:26:20 Archives upload complete. 16:26:20 INFO: archiving logs to Nexus