Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dd725dc5af4dc794521be28a3a3263c7b7e9f65e 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-ssh14002022482944739745.key > 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-ssh18217145064049009002.key > 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-ssh3660013202016938279.key > 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-ssh12048213104033511892.key > 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-ssh16709238848070469439.key > 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-923 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 > 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 dd725dc5af4dc794521be28a3a3263c7b7e9f65e (main) Commit message: "refactor!: Rename command line flags for the sake of consistency (#323)" > 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 dd725dc5af4dc794521be28a3a3263c7b7e9f65e # timeout=10 > git rev-list --no-walk e07a2b47d6b01394d573ef881097266a6362f197 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:07:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:07:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:07:46 ========================================================= 18:07:46 EdgeX Global Pipelines Version Info 18:07:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:07:47 ------------------- 18:07:47 stable info: 18:07:47 ------------------- 18:07:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:07:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:07:47 Message: update stable to v1.0.244 18:07:47 ------------------- 18:07:47 experimental info: 18:07:47 ------------------- 18:07:47 Commited By: **** collab-it+edgex@linuxfoundation.org 18:07:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:07:47 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:07:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 18:07:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 18:07:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:07:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:07:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:07:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd725dc [Pipeline] echo 18:07:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:07:48 provisioning config files... 18:07:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2053305259306795022tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:07:48 ---> docker-login.sh 18:07:48 nexus3.edgexfoundry.org:10001 18:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:49 Configure a credential helper to remove this warning. See 18:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:49 18:07:49 Login Succeeded 18:07:49 nexus3.edgexfoundry.org:10002 18:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:49 Configure a credential helper to remove this warning. See 18:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:49 18:07:49 Login Succeeded 18:07:49 nexus3.edgexfoundry.org:10003 18:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:49 Configure a credential helper to remove this warning. See 18:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:49 18:07:49 Login Succeeded 18:07:49 nexus3.edgexfoundry.org:10004 18:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:49 Configure a credential helper to remove this warning. See 18:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:49 18:07:49 Login Succeeded 18:07:49 docker.io 18:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:49 Configure a credential helper to remove this warning. See 18:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:49 18:07:49 Login Succeeded 18:07:49 ---> docker-login.sh ends [Pipeline] } 18:07:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:07:50 + git rev-list -1 --merges dd725dc5af4dc794521be28a3a3263c7b7e9f65e~1..dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] echo 18:07:50 -----------> git rev-list -1 --merges dd725dc5af4dc794521be28a3a3263c7b7e9f65e~1..dd725dc5af4dc794521be28a3a3263c7b7e9f65e dd725dc5af4dc794521be28a3a3263c7b7e9f65e [false] [Pipeline] sh 18:07:50 + git log --format=format:%s -1 dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] echo 18:07:50 ========================================================= 18:07:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:07:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:07:50 + git log --format=format:%s -1 dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] echo 18:07:50 [semverPrep] GIT_COMMIT: dd725dc5af4dc794521be28a3a3263c7b7e9f65e, Commit Message: refactor!: Rename command line flags for the sake of consistency (#323) [Pipeline] echo 18:07:50 [semverPrep] This is not a build commit. [Pipeline] sh 18:07:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:07:51 + grep -v github /etc/ssh/ssh_known_hosts 18:07:51 + [ -e /tmp/ssh_known_hosts ] 18:07:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:07:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:07:51 + sudo tee -a /etc/ssh/ssh_known_hosts 18:07:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:07:51 18:07:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:07:51 0.1.4: Pulling from edgex-devops/py-git-semver 18:07:51 b85a868b505f: Pulling fs layer 18:07:51 e2be974225ed: Pulling fs layer 18:07:51 339a4e72a1f5: Pulling fs layer 18:07:51 988bab9f4d93: Pulling fs layer 18:07:51 1469e6f7b9e6: Pulling fs layer 18:07:51 eaf3925da568: Pulling fs layer 18:07:51 bab4dde63d76: Pulling fs layer 18:07:51 bde34c3a00c8: Pulling fs layer 18:07:51 b352a97aabf1: Pulling fs layer 18:07:51 4872d77fe225: Pulling fs layer 18:07:51 5851b861e8e6: Pulling fs layer 18:07:51 988bab9f4d93: Waiting 18:07:51 1469e6f7b9e6: Waiting 18:07:51 eaf3925da568: Waiting 18:07:51 bab4dde63d76: Waiting 18:07:51 bde34c3a00c8: Waiting 18:07:51 b352a97aabf1: Waiting 18:07:51 4872d77fe225: Waiting 18:07:51 5851b861e8e6: Waiting 18:07:51 e2be974225ed: Download complete 18:07:51 988bab9f4d93: Verifying Checksum 18:07:51 988bab9f4d93: Download complete 18:07:52 1469e6f7b9e6: Verifying Checksum 18:07:52 1469e6f7b9e6: Download complete 18:07:52 eaf3925da568: Verifying Checksum 18:07:52 eaf3925da568: Download complete 18:07:52 339a4e72a1f5: Verifying Checksum 18:07:52 339a4e72a1f5: Download complete 18:07:52 bde34c3a00c8: Verifying Checksum 18:07:52 bde34c3a00c8: Download complete 18:07:52 b352a97aabf1: Download complete 18:07:52 4872d77fe225: Download complete 18:07:52 5851b861e8e6: Verifying Checksum 18:07:52 5851b861e8e6: Download complete 18:07:52 b85a868b505f: Verifying Checksum 18:07:52 b85a868b505f: Download complete 18:07:52 bab4dde63d76: Verifying Checksum 18:07:52 bab4dde63d76: Download complete 18:07:53 b85a868b505f: Pull complete 18:07:53 e2be974225ed: Pull complete 18:07:53 339a4e72a1f5: Pull complete 18:07:54 988bab9f4d93: Pull complete 18:07:54 1469e6f7b9e6: Pull complete 18:07:54 eaf3925da568: Pull complete 18:07:55 bab4dde63d76: Pull complete 18:07:56 bde34c3a00c8: Pull complete 18:07:56 b352a97aabf1: Pull complete 18:07:56 4872d77fe225: Pull complete 18:07:56 5851b861e8e6: Pull complete 18:07:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:07:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:07:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:56 prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container 18:07:56 $ 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 18:07:57 $ docker top 53930c02a226eab6d470de097993d3b9b54c7e140c0c1acede2c490d9cf15cca -eo pid,comm 18:07:57 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). 18:07:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:07:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:07:57 [ssh-agent] Looking for ssh-agent implementation... 18:07:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:07:57 $ docker exec 53930c02a226eab6d470de097993d3b9b54c7e140c0c1acede2c490d9cf15cca ssh-agent 18:07:58 SSH_AUTH_SOCK=/tmp/ssh-FrmGwU387Bj6/agent.33 18:07:58 SSH_AGENT_PID=39 18:07:58 Running ssh-add (command line suppressed) 18:07:58 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16762412815203041735.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16762412815203041735.key) 18:07:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:07:58 + git tag --points-at HEAD [Pipeline] } 18:07:58 $ docker exec --env ******** --env ******** 53930c02a226eab6d470de097993d3b9b54c7e140c0c1acede2c490d9cf15cca ssh-agent -k 18:07:58 unset SSH_AUTH_SOCK; 18:07:58 unset SSH_AGENT_PID; 18:07:58 echo Agent pid 39 killed; 18:07:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:07:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:07:58 [ssh-agent] Looking for ssh-agent implementation... 18:07:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:07:58 $ docker exec 53930c02a226eab6d470de097993d3b9b54c7e140c0c1acede2c490d9cf15cca ssh-agent 18:07:58 SSH_AUTH_SOCK=/tmp/ssh-a7kds2DOeFg9/agent.71 18:07:58 SSH_AGENT_PID=77 18:07:58 Running ssh-add (command line suppressed) 18:07:58 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17534557096918136368.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17534557096918136368.key) 18:07:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:07:59 + git semver init 18:07:59 2023-01-03 18:07:59,377 [run_init] DEBUG init version:0.0.0 force:False 18:07:59 2023-01-03 18:07:59,378 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 18:07:59 2023-01-03 18:07:59,378 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 18:07:59 2023-01-03 18:07:59,379 [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) 18:08:00 2023-01-03 18:08:00,518 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 18:08:00 2023-01-03 18:08:00,518 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 18:08:00 2023-01-03 18:08:00,519 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 18:08:00 2023-01-03 18:08:00,519 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 18:08:00 3.0.0-dev.2 [Pipeline] } 18:08:00 $ docker exec --env ******** --env ******** 53930c02a226eab6d470de097993d3b9b54c7e140c0c1acede2c490d9cf15cca ssh-agent -k 18:08:00 unset SSH_AUTH_SOCK; 18:08:00 unset SSH_AGENT_PID; 18:08:00 echo Agent pid 77 killed; 18:08:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:08:01 + git semver [Pipeline] } 18:08:01 $ docker stop --time=1 53930c02a226eab6d470de097993d3b9b54c7e140c0c1acede2c490d9cf15cca 18:08:02 $ docker rm -f --volumes 53930c02a226eab6d470de097993d3b9b54c7e140c0c1acede2c490d9cf15cca [Pipeline] // withDockerContainer [Pipeline] sh 18:08:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:08:03 Stashed 1 file(s) [Pipeline] echo 18:08:03 [edgeXSemver]: initialized semver on version 3.0.0-dev.2 [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 18:08:03 provisioning config files... 18:08:03 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16522980783610642164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:03 ---> docker-login.sh 18:08:03 nexus3.edgexfoundry.org:10001 18:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:03 Configure a credential helper to remove this warning. See 18:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:03 18:08:03 Login Succeeded 18:08:03 nexus3.edgexfoundry.org:10002 18:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:03 Configure a credential helper to remove this warning. See 18:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:03 18:08:03 Login Succeeded 18:08:03 nexus3.edgexfoundry.org:10003 18:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:04 Configure a credential helper to remove this warning. See 18:08:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:04 18:08:04 Login Succeeded 18:08:04 nexus3.edgexfoundry.org:10004 18:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:04 Configure a credential helper to remove this warning. See 18:08:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:04 18:08:04 Login Succeeded 18:08:04 docker.io 18:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:04 Configure a credential helper to remove this warning. See 18:08:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:04 18:08:04 Login Succeeded 18:08:04 ---> docker-login.sh ends [Pipeline] } 18:08:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:08:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:08:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:08:04 ========================================================= 18:08:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:08:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:04 + 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 . 18:08:04 Sending build context to Docker daemon 23.3MB 18:08:04 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:08:04 Step 2/12 : FROM ${BASE} AS builder 18:08:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:08:05 213ec9aee27d: Pulling fs layer 18:08:05 4583459ba037: Pulling fs layer 18:08:05 93c1e223e6f2: Pulling fs layer 18:08:05 53926ce57604: Pulling fs layer 18:08:05 21b2b0c7a3f4: Pulling fs layer 18:08:05 53926ce57604: Waiting 18:08:05 22ff95d597cd: Pulling fs layer 18:08:05 21b2b0c7a3f4: Waiting 18:08:05 12d6caf4c0d1: Pulling fs layer 18:08:05 96b7cbca73a9: Pulling fs layer 18:08:05 a7acece74701: Pulling fs layer 18:08:05 22ff95d597cd: Waiting 18:08:05 12d6caf4c0d1: Waiting 18:08:05 96b7cbca73a9: Waiting 18:08:05 93c1e223e6f2: Verifying Checksum 18:08:05 93c1e223e6f2: Download complete 18:08:05 4583459ba037: Download complete 18:08:05 21b2b0c7a3f4: Verifying Checksum 18:08:05 21b2b0c7a3f4: Download complete 18:08:05 22ff95d597cd: Download complete 18:08:05 213ec9aee27d: Verifying Checksum 18:08:05 12d6caf4c0d1: Download complete 18:08:05 213ec9aee27d: Pull complete 18:08:05 4583459ba037: Pull complete 18:08:05 93c1e223e6f2: Pull complete 18:08:05 a7acece74701: Verifying Checksum 18:08:05 a7acece74701: Download complete 18:08:05 96b7cbca73a9: Verifying Checksum 18:08:05 96b7cbca73a9: Download complete 18:08:05 53926ce57604: Verifying Checksum 18:08:05 53926ce57604: Download complete 18:08:09 53926ce57604: Pull complete 18:08:09 21b2b0c7a3f4: Pull complete 18:08:09 22ff95d597cd: Pull complete 18:08:09 12d6caf4c0d1: Pull complete 18:08:11 96b7cbca73a9: Pull complete 18:08:11 a7acece74701: Pull complete 18:08:11 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:08:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:08:11 ---> db6d94c90886 18:08:11 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:08:13 ---> Running in 3e632ed4460e 18:08:13 Removing intermediate container 3e632ed4460e 18:08:13 ---> a6711924373b 18:08:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:08:13 ---> Running in b36146221623 18:08:13 Removing intermediate container b36146221623 18:08:13 ---> caecf833a384 18:08:13 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:08:13 ---> Running in 9f262e111920 18:08:14 Removing intermediate container 9f262e111920 18:08:14 ---> eb7c89c27f97 18:08:14 Step 6/12 : WORKDIR /device-virtual-go 18:08:14 ---> Running in 6f4167199673 18:08:14 Removing intermediate container 6f4167199673 18:08:14 ---> dd7c7583b667 18:08:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:08:14 ---> Running in 5a6eab8ad8c6 18:08:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:08:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:08:14 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:08:14 (2/4) Installing libedit (20210910.3.1-r0) 18:08:14 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:08:14 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:08:14 Executing busybox-1.35.0-r17.trigger 18:08:14 OK: 216 MiB in 55 packages 18:08:15 Removing intermediate container 5a6eab8ad8c6 18:08:15 ---> c560912787bf 18:08:15 Step 8/12 : COPY go.mod vendor* ./ 18:08:15 ---> 737055965259 18:08:15 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:08:15 ---> Running in 0f4d5cf6b30f 18:08:18 Still waiting to schedule task 18:08:18 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:08:33 Removing intermediate container 0f4d5cf6b30f 18:08:33 ---> 6c0e6de4e13f 18:08:33 Step 10/12 : COPY . . 18:08:33 ---> 403e53a0f080 18:08:33 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:08:33 ---> Running in ccea789c4b7e 18:08:33 Removing intermediate container ccea789c4b7e 18:08:33 ---> abc68c5b7e1d 18:08:33 Step 12/12 : RUN $MAKE 18:08:33 ---> Running in b7ab6f25ee68 18:08:33 noop 18:08:33 Removing intermediate container b7ab6f25ee68 18:08:33 ---> cb15cc9d345b 18:08:33 Successfully built cb15cc9d345b 18:08:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:33 + docker inspect -f . ci-base-image-x86_64 18:08:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:33 prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container 18:08:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:08:34 $ docker top 8a3ce1a680d6546d98219fba66efed1bceb798b65e6cbfba416e6e2a27382d37 -eo pid,comm [Pipeline] { [Pipeline] sh 18:08:34 + go version 18:08:34 go version go1.18.7 linux/amd64 [Pipeline] } 18:08:34 $ docker stop --time=1 8a3ce1a680d6546d98219fba66efed1bceb798b65e6cbfba416e6e2a27382d37 18:08:35 $ docker rm -f --volumes 8a3ce1a680d6546d98219fba66efed1bceb798b65e6cbfba416e6e2a27382d37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:36 + docker inspect -f . ci-base-image-x86_64 18:08:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:36 prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container 18:08:36 $ 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 18:08:36 $ docker top 22c2bf2a3f96a87088d9c7a94ceff3d77817ea8d2e294244a7856dbca8717c15 -eo pid,comm [Pipeline] { [Pipeline] sh 18:08:37 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 18:08:37 + make test 18:08:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:08:37 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:08:47 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:08:47 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements 18:08:54 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." 18:08:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:08:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:08:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:08:56 ./bin/test-attribution-txt.sh [Pipeline] echo 18:08:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:08:57 $ docker stop --time=1 22c2bf2a3f96a87088d9c7a94ceff3d77817ea8d2e294244a7856dbca8717c15 18:08:58 $ docker rm -f --volumes 22c2bf2a3f96a87088d9c7a94ceff3d77817ea8d2e294244a7856dbca8717c15 [Pipeline] // withDockerContainer [Pipeline] sh 18:08:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:08:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:08:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:09:00 + ls -al . 18:09:00 total 204 18:09:00 drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 18:08 . 18:09:00 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:07 .. 18:09:00 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:08 .git 18:09:00 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:07 .github 18:09:00 -rw-rw-r-- 1 jenkins jenkins 337 Jan 3 18:07 .gitignore 18:09:00 -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 18:07 .golangci.yml 18:09:00 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:08 .semver 18:09:00 -rw-rw-r-- 1 jenkins jenkins 8527 Jan 3 18:07 Attribution.txt 18:09:00 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 3 18:07 CHANGELOG.md 18:09:00 -rw-rw-r-- 1 jenkins jenkins 1691 Jan 3 18:07 Dockerfile 18:09:00 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:07 GOVERNANCE.md 18:09:00 -rw-rw-r-- 1 jenkins jenkins 660 Jan 3 18:07 Jenkinsfile 18:09:00 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 18:07 LICENSE 18:09:00 -rw-rw-r-- 1 jenkins jenkins 2457 Jan 3 18:07 Makefile 18:09:00 -rw-rw-r-- 1 jenkins jenkins 623 Jan 3 18:07 OWNERS.md 18:09:00 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 3 18:07 README.md 18:09:00 -rw-rw-r-- 1 jenkins jenkins 11 Jan 3 18:08 VERSION 18:09:00 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:07 bin 18:09:00 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:07 cmd 18:09:00 -rw-r--r-- 1 jenkins jenkins 44128 Jan 3 18:08 coverage.out 18:09:00 -rw-rw-r-- 1 jenkins jenkins 3340 Jan 3 18:07 go.mod 18:09:00 -rw-rw-r-- 1 jenkins jenkins 44412 Jan 3 18:07 go.sum 18:09:00 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:07 internal 18:09:00 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:07 snap 18:09:00 -rw-rw-r-- 1 jenkins jenkins 235 Jan 3 18:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:00 + 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=dd725dc5af4dc794521be28a3a3263c7b7e9f65e --label arch=amd64 --label version=3.0.0-dev.2 . 18:09:00 Sending build context to Docker daemon 23.34MB 18:09:00 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:09:00 Step 2/25 : FROM ${BASE} AS builder 18:09:00 ---> cb15cc9d345b 18:09:00 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:09:00 ---> Running in bb1f9802a456 18:09:00 Removing intermediate container bb1f9802a456 18:09:00 ---> a80318ab8aa5 18:09:00 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 18:09:00 ---> Running in dc037e862ac6 18:09:00 Removing intermediate container dc037e862ac6 18:09:00 ---> 5290787b9ac3 18:09:00 Step 5/25 : ARG ADD_BUILD_TAGS="" 18:09:00 ---> Running in f884f3de7a2e 18:09:00 Removing intermediate container f884f3de7a2e 18:09:00 ---> ac91bb179f5e 18:09:00 Step 6/25 : WORKDIR /device-virtual-go 18:09:00 ---> Running in a7a0d8c0b0f8 18:09:00 Removing intermediate container a7a0d8c0b0f8 18:09:00 ---> 8cba924e0985 18:09:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:09:01 ---> Running in 011b45f51840 18:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:09:01 OK: 216 MiB in 55 packages 18:09:01 Removing intermediate container 011b45f51840 18:09:01 ---> 92ff2683bfdb 18:09:01 Step 8/25 : COPY go.mod vendor* ./ 18:09:01 ---> 794cfd34688e 18:09:01 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:09:02 ---> Running in fee1811668d6 18:09:02 Removing intermediate container fee1811668d6 18:09:02 ---> a18192041a40 18:09:02 Step 10/25 : COPY . . 18:09:03 ---> 1e16e7e3f104 18:09:03 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:09:03 ---> Running in 8effb456ca19 18:09:03 Removing intermediate container 8effb456ca19 18:09:03 ---> d7e3885bc8c8 18:09:03 Step 12/25 : RUN $MAKE 18:09:03 ---> Running in 64f2008bd417 18:09:03 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 18:09:25 Removing intermediate container 64f2008bd417 18:09:25 ---> 609e233f9199 18:09:25 Step 13/25 : FROM alpine:3.16 18:09:25 3.16: Pulling from library/alpine 18:09:25 ca7dd9ec2225: Pulling fs layer 18:09:25 ca7dd9ec2225: Download complete 18:09:25 ca7dd9ec2225: Pull complete 18:09:25 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:09:25 Status: Downloaded newer image for alpine:3.16 18:09:25 ---> bfe296a52501 18:09:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:09:25 ---> Running in d735c420f814 18:09:25 Removing intermediate container d735c420f814 18:09:25 ---> f81de5915cde 18:09:25 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 18:09:25 ---> Running in ae51a38af6b8 18:09:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:09:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:09:25 (1/6) Installing dumb-init (1.2.5-r1) 18:09:25 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:09:25 (3/6) Installing libsodium (1.0.18-r0) 18:09:25 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:09:25 (5/6) Installing libzmq (4.3.4-r0) 18:09:25 (6/6) Installing zeromq (4.3.4-r0) 18:09:25 Executing busybox-1.35.0-r17.trigger 18:09:25 OK: 8 MiB in 20 packages 18:09:25 Removing intermediate container ae51a38af6b8 18:09:25 ---> 25a7ec76cf8d 18:09:25 Step 16/25 : WORKDIR / 18:09:25 ---> Running in d226bcaa4b7e 18:09:25 Removing intermediate container d226bcaa4b7e 18:09:25 ---> f55738076a92 18:09:25 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:09:25 ---> afe8d6363368 18:09:25 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 18:09:25 ---> 62f0cd2581fe 18:09:25 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 18:09:25 ---> e2ea5ca60899 18:09:25 Step 20/25 : EXPOSE 59900 18:09:25 ---> Running in a5fc6bd7b6a7 18:09:25 Removing intermediate container a5fc6bd7b6a7 18:09:25 ---> 5b5c89c12955 18:09:25 Step 21/25 : ENTRYPOINT ["/device-virtual"] 18:09:25 ---> Running in 9bc53e5051b7 18:09:25 Removing intermediate container 9bc53e5051b7 18:09:25 ---> bf2bb5995130 18:09:25 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:09:25 ---> Running in e20896a474d7 18:09:25 Removing intermediate container e20896a474d7 18:09:25 ---> 3782ff5440c9 18:09:25 Step 23/25 : LABEL arch=amd64 18:09:25 ---> Running in 610e5e9018f8 18:09:25 Removing intermediate container 610e5e9018f8 18:09:25 ---> c20e652dfe11 18:09:25 Step 24/25 : LABEL git_sha=dd725dc5af4dc794521be28a3a3263c7b7e9f65e 18:09:25 ---> Running in b228ae69d922 18:09:25 Removing intermediate container b228ae69d922 18:09:25 ---> d912888052e5 18:09:25 Step 25/25 : LABEL version=3.0.0-dev.2 18:09:25 ---> Running in 9b914bafbccd 18:09:25 Removing intermediate container 9b914bafbccd 18:09:25 ---> 9ca290e5a4fb 18:09:25 [Warning] One or more build-args [ARCH] were not consumed 18:09:25 Successfully built 9ca290e5a4fb 18:09:25 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:09:25 provisioning config files... 18:09:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11581631121648631927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:26 ---> docker-login.sh 18:09:26 nexus3.edgexfoundry.org:10001 18:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:26 Configure a credential helper to remove this warning. See 18:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:26 18:09:26 Login Succeeded 18:09:26 nexus3.edgexfoundry.org:10002 18:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:26 Configure a credential helper to remove this warning. See 18:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:26 18:09:26 Login Succeeded 18:09:26 nexus3.edgexfoundry.org:10003 18:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:26 Configure a credential helper to remove this warning. See 18:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:26 18:09:26 Login Succeeded 18:09:26 nexus3.edgexfoundry.org:10004 18:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:26 Configure a credential helper to remove this warning. See 18:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:26 18:09:26 Login Succeeded 18:09:26 docker.io 18:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:26 Configure a credential helper to remove this warning. See 18:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:26 18:09:26 Login Succeeded 18:09:26 ---> docker-login.sh ends [Pipeline] } 18:09:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:09:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:09:26 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 18:09:26 dd725dc5af4dc794521be28a3a3263c7b7e9f65e 18:09:26 latest 18:09:26 3.0.0-dev.2 18:09:26 dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 18:09:26 main 18:09:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual:dd725dc5af4dc794521be28a3a3263c7b7e9f65e 18:09:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 18:09:27 9d7500956c58: Preparing 18:09:27 aae295f12bfc: Preparing 18:09:27 3f6d72410b29: Preparing 18:09:27 e4dcee5531d5: Preparing 18:09:27 e5e13b0c77cb: Preparing 18:09:27 e5e13b0c77cb: Layer already exists 18:09:27 aae295f12bfc: Pushed 18:09:27 3f6d72410b29: Pushed 18:09:27 e4dcee5531d5: Pushed 18:09:30 9d7500956c58: Pushed 18:09:30 dd725dc5af4dc794521be28a3a3263c7b7e9f65e: digest: sha256:52b8f886386b888d4e54acedee990c5563ed9791ae714bcea7ffbaf7d090e7f9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:30 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:30 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 18:09:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 18:09:30 9d7500956c58: Preparing 18:09:30 aae295f12bfc: Preparing 18:09:30 3f6d72410b29: Preparing 18:09:30 e4dcee5531d5: Preparing 18:09:30 e5e13b0c77cb: Preparing 18:09:30 9d7500956c58: Layer already exists 18:09:30 e5e13b0c77cb: Layer already exists 18:09:30 aae295f12bfc: Layer already exists 18:09:30 e4dcee5531d5: Layer already exists 18:09:30 3f6d72410b29: Layer already exists 18:09:30 latest: digest: sha256:52b8f886386b888d4e54acedee990c5563ed9791ae714bcea7ffbaf7d090e7f9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:31 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.2 18:09:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 18:09:31 9d7500956c58: Preparing 18:09:31 aae295f12bfc: Preparing 18:09:31 3f6d72410b29: Preparing 18:09:31 e4dcee5531d5: Preparing 18:09:31 e5e13b0c77cb: Preparing 18:09:31 e5e13b0c77cb: Layer already exists 18:09:31 3f6d72410b29: Layer already exists 18:09:31 aae295f12bfc: Layer already exists 18:09:31 e4dcee5531d5: Layer already exists 18:09:31 9d7500956c58: Layer already exists 18:09:31 3.0.0-dev.2: digest: sha256:52b8f886386b888d4e54acedee990c5563ed9791ae714bcea7ffbaf7d090e7f9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:31 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual:dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 18:09:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 18:09:31 9d7500956c58: Preparing 18:09:31 aae295f12bfc: Preparing 18:09:31 3f6d72410b29: Preparing 18:09:31 e4dcee5531d5: Preparing 18:09:31 e5e13b0c77cb: Preparing 18:09:31 e5e13b0c77cb: Layer already exists 18:09:31 9d7500956c58: Layer already exists 18:09:31 aae295f12bfc: Layer already exists 18:09:31 3f6d72410b29: Layer already exists 18:09:31 e4dcee5531d5: Layer already exists 18:09:31 dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2: digest: sha256:52b8f886386b888d4e54acedee990c5563ed9791ae714bcea7ffbaf7d090e7f9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:32 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:32 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 18:09:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 18:09:32 9d7500956c58: Preparing 18:09:32 aae295f12bfc: Preparing 18:09:32 3f6d72410b29: Preparing 18:09:32 e4dcee5531d5: Preparing 18:09:32 e5e13b0c77cb: Preparing 18:09:32 3f6d72410b29: Layer already exists 18:09:32 aae295f12bfc: Layer already exists 18:09:32 9d7500956c58: Layer already exists 18:09:32 e5e13b0c77cb: Layer already exists 18:09:32 e4dcee5531d5: Layer already exists 18:09:32 main: digest: sha256:52b8f886386b888d4e54acedee990c5563ed9791ae714bcea7ffbaf7d090e7f9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:09:32 ===================================================== [Pipeline] echo 18:09:32 taggedImages: 18:09:32 - nexus3.edgexfoundry.org:10004/device-virtual:dd725dc5af4dc794521be28a3a3263c7b7e9f65e 18:09:32 - nexus3.edgexfoundry.org:10004/device-virtual:latest 18:09:32 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.2 18:09:32 - nexus3.edgexfoundry.org:10004/device-virtual:dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 18:09:32 - 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 18:09:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:09:33 18:09:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:09:33 latest: Pulling from edgex-lftools-log-publisher 18:09:33 5eb5b503b376: Pulling fs layer 18:09:33 5c69ac0246d0: Pulling fs layer 18:09:33 ec43610c2a17: Pulling fs layer 18:09:33 3a2ae6a8a46f: Pulling fs layer 18:09:33 33b1e0a273af: Pulling fs layer 18:09:33 5d3b04190fa2: Pulling fs layer 18:09:33 2f39f015ded8: Pulling fs layer 18:09:33 33b1e0a273af: Waiting 18:09:33 5d3b04190fa2: Waiting 18:09:33 2f39f015ded8: Waiting 18:09:33 3a2ae6a8a46f: Waiting 18:09:33 5c69ac0246d0: Verifying Checksum 18:09:33 5c69ac0246d0: Download complete 18:09:33 3a2ae6a8a46f: Verifying Checksum 18:09:33 3a2ae6a8a46f: Download complete 18:09:33 33b1e0a273af: Verifying Checksum 18:09:33 33b1e0a273af: Download complete 18:09:33 5d3b04190fa2: Verifying Checksum 18:09:33 5d3b04190fa2: Download complete 18:09:33 ec43610c2a17: Verifying Checksum 18:09:33 ec43610c2a17: Download complete 18:09:33 5eb5b503b376: Verifying Checksum 18:09:33 5eb5b503b376: Download complete 18:09:34 2f39f015ded8: Download complete 18:09:34 5eb5b503b376: Pull complete 18:09:34 5c69ac0246d0: Pull complete 18:09:35 ec43610c2a17: Pull complete 18:09:35 3a2ae6a8a46f: Pull complete 18:09:35 33b1e0a273af: Pull complete 18:09:35 5d3b04190fa2: Pull complete 18:09:39 2f39f015ded8: Pull complete 18:09:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:09:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:09:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:39 prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container 18:09:39 $ 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 18:09:41 $ docker top 2ee683c5bc490581fc1bfabd3a52000145eac45ba05c5139113465e1cf85a733 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:41 ---> job-cost.sh 18:09:41 lf-activate-venv: SKIPPING 18:09:41 INFO: No Stack... 18:09:41 INFO: Retrieving Pricing Info for: v3-standard-8 18:09:42 INFO: Archiving Costs [Pipeline] sh 18:09:42 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 18:09:42 + cut -d, -f6 [Pipeline] lock 18:09:42 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] 18:09:42 Resource [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] did not exist. Created. 18:09:42 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:09:43 + echo total: 0.2199999988079071 [Pipeline] stash 18:09:43 Stashed 1 file(s) [Pipeline] } 18:09:43 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 18:09:43 $ docker stop --time=1 2ee683c5bc490581fc1bfabd3a52000145eac45ba05c5139113465e1cf85a733 18:09:44 $ docker rm -f --volumes 2ee683c5bc490581fc1bfabd3a52000145eac45ba05c5139113465e1cf85a733 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:10:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-925 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 18:10:53 Running in /w/workspace/device-virtual-go/73 [Pipeline] { [Pipeline] checkout 18:10:53 The recommended git tool is: git 18:10:59 using credential edgex-jenkins-ssh 18:10:59 Cloning the remote Git repository 18:10:59 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 18:10:59 > git init /w/workspace/device-virtual-go/73 # timeout=10 18:11:00 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:11:00 > git --version # timeout=10 18:11:00 > git --version # 'git version 2.25.1' 18:11:00 using GIT_SSH to set credentials SSH Credentials for GitHub 18:11:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:11:02 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:11:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:11:03 Avoid second fetch 18:11:03 Checking out Revision dd725dc5af4dc794521be28a3a3263c7b7e9f65e (main) 18:11:03 > git config core.sparsecheckout # timeout=10 18:11:03 > git checkout -f dd725dc5af4dc794521be28a3a3263c7b7e9f65e # timeout=10 18:11:03 Commit message: "refactor!: Rename command line flags for the sake of consistency (#323)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:11:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:11:04 % Total % Received % Xferd Average Speed Time Time Time Current 18:11:04 Dload Upload Total Spent Left Speed 18:11:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 18:11:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:11:05 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 18:11:05 /etc/docker/daemon.json 18:11:05 { 18:11:05 "registry-mirrors": [ 18:11:05 "https://nexus3.edgexfoundry.org:10001" 18:11:05 ], 18:11:05 "bip": "10.250.0.254/24", 18:11:05 "hosts": [ 18:11:05 "tcp://0.0.0.0:5555", 18:11:05 "unix:///var/run/docker.sock" 18:11:05 ], 18:11:05 "mtu": 1458, 18:11:05 "selinux-enabled": true, 18:11:05 "seccomp-profile": "/etc/docker/seccomp.json" 18:11:05 } [Pipeline] sh 18:11:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:11:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:11:24 provisioning config files... 18:11:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/73@tmp/config4680213431219292549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:25 ---> docker-login.sh 18:11:25 nexus3.edgexfoundry.org:10001 18:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:25 Configure a credential helper to remove this warning. See 18:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:25 18:11:25 Login Succeeded 18:11:25 nexus3.edgexfoundry.org:10002 18:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:26 Configure a credential helper to remove this warning. See 18:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:26 18:11:26 Login Succeeded 18:11:26 nexus3.edgexfoundry.org:10003 18:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:26 Configure a credential helper to remove this warning. See 18:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:26 18:11:26 Login Succeeded 18:11:26 nexus3.edgexfoundry.org:10004 18:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:27 Configure a credential helper to remove this warning. See 18:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:27 18:11:27 Login Succeeded 18:11:27 docker.io 18:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:27 Configure a credential helper to remove this warning. See 18:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:27 18:11:27 Login Succeeded 18:11:27 ---> docker-login.sh ends [Pipeline] } 18:11:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:11:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:11:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:11:27 ========================================================= 18:11:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:11:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11: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 . 18:11:28 Sending build context to Docker daemon 11.8MB 18:11:28 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:11:28 Step 2/12 : FROM ${BASE} AS builder 18:11:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:11:28 9b18e9b68314: Pulling fs layer 18:11:28 35d82f9e3411: Pulling fs layer 18:11:28 e16973657156: Pulling fs layer 18:11:28 fc693d55d65f: Pulling fs layer 18:11:28 7e9fc2657dce: Pulling fs layer 18:11:28 dda99020689f: Pulling fs layer 18:11:28 db1c61fa0a46: Pulling fs layer 18:11:28 891c053d2c06: Pulling fs layer 18:11:28 dda99020689f: Waiting 18:11:28 db1c61fa0a46: Waiting 18:11:28 891c053d2c06: Waiting 18:11:28 fc693d55d65f: Waiting 18:11:28 7e9fc2657dce: Waiting 18:11:28 e16973657156: Verifying Checksum 18:11:28 e16973657156: Download complete 18:11:28 35d82f9e3411: Download complete 18:11:29 7e9fc2657dce: Verifying Checksum 18:11:29 7e9fc2657dce: Download complete 18:11:29 dda99020689f: Verifying Checksum 18:11:29 dda99020689f: Download complete 18:11:29 9b18e9b68314: Verifying Checksum 18:11:29 9b18e9b68314: Download complete 18:11:30 9b18e9b68314: Pull complete 18:11:30 891c053d2c06: Verifying Checksum 18:11:30 891c053d2c06: Download complete 18:11:30 35d82f9e3411: Pull complete 18:11:30 e16973657156: Pull complete 18:11:31 db1c61fa0a46: Download complete 18:11:31 fc693d55d65f: Download complete 18:11:44 fc693d55d65f: Pull complete 18:11:44 7e9fc2657dce: Pull complete 18:11:44 dda99020689f: Pull complete 18:11:49 db1c61fa0a46: Pull complete 18:11:51 891c053d2c06: Pull complete 18:11:51 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:11:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:11:51 ---> f96f9c87975a 18:11:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:11:53 ---> Running in 98c985c1f1c2 18:11:53 Removing intermediate container 98c985c1f1c2 18:11:53 ---> fe467da48df3 18:11:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:11:53 ---> Running in a17140c07892 18:11:54 Removing intermediate container a17140c07892 18:11:54 ---> 9b7d077894d7 18:11:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:11:54 ---> Running in 16dd5c104909 18:11:54 Removing intermediate container 16dd5c104909 18:11:54 ---> 02914e363788 18:11:54 Step 6/12 : WORKDIR /device-virtual-go 18:11:54 ---> Running in 5c182efd29e6 18:11:55 Removing intermediate container 5c182efd29e6 18:11:55 ---> 7206cecf4a8c 18:11:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:11:55 ---> Running in c47f302387dc 18:11:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:11:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:11:57 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:11:57 (2/4) Installing libedit (20210910.3.1-r0) 18:11:57 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:11:57 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:11:57 Executing busybox-1.35.0-r17.trigger 18:11:57 OK: 226 MiB in 55 packages 18:11:58 Removing intermediate container c47f302387dc 18:11:58 ---> f433420338f3 18:11:58 Step 8/12 : COPY go.mod vendor* ./ 18:11:59 ---> 7ab35b984751 18:11:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:11:59 ---> Running in 1314915cefa2 18:12:56 Removing intermediate container 1314915cefa2 18:12:56 ---> d9ae3086367a 18:12:56 Step 10/12 : COPY . . 18:12:56 ---> 499bfdc51cba 18:12:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:12:56 ---> Running in 21099abead6a 18:12:56 Removing intermediate container 21099abead6a 18:12:56 ---> 883c9284d336 18:12:56 Step 12/12 : RUN $MAKE 18:12:56 ---> Running in f46170ca120a 18:12:57 noop 18:12:58 Removing intermediate container f46170ca120a 18:12:58 ---> b0a3d3092b7e 18:12:58 Successfully built b0a3d3092b7e 18:12:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:59 + docker inspect -f . ci-base-image-arm64 18:12:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:59 prd-ubuntu20.04-docker-arm64-4c-16g-925 does not seem to be running inside a container 18:12:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/73 -v /w/workspace/device-virtual-go/73:/w/workspace/device-virtual-go/73:rw,z -v /w/workspace/device-virtual-go/73@tmp:/w/workspace/device-virtual-go/73@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 18:13:00 $ docker top f3a2ace20f7ef597ab78f1175bc3223ed766c107204768a949d9b924881ed0c2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:13:01 + go version 18:13:01 go version go1.18.7 linux/arm64 [Pipeline] } 18:13:01 $ docker stop --time=1 f3a2ace20f7ef597ab78f1175bc3223ed766c107204768a949d9b924881ed0c2 18:13:03 $ docker rm -f --volumes f3a2ace20f7ef597ab78f1175bc3223ed766c107204768a949d9b924881ed0c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:03 + docker inspect -f . ci-base-image-arm64 18:13:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:04 prd-ubuntu20.04-docker-arm64-4c-16g-925 does not seem to be running inside a container 18:13:04 $ 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/73 -v /w/workspace/device-virtual-go/73:/w/workspace/device-virtual-go/73:rw,z -v /w/workspace/device-virtual-go/73@tmp:/w/workspace/device-virtual-go/73@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 18:13:05 $ docker top e9ed87bedbbffa45886120520d15d069dedd0358b6a7f88b0974a99f54bb2a64 -eo pid,comm [Pipeline] { [Pipeline] sh 18:13:06 + git config --global --add safe.directory /w/workspace/device-virtual-go/73 [Pipeline] fileExists [Pipeline] sh 18:13:06 + make test 18:13:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:13:08 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:14:45 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:14:45 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements 18:14:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:14:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:15:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:15:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:15:00 ./bin/test-attribution-txt.sh [Pipeline] echo 18:15:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:15:00 $ docker stop --time=1 e9ed87bedbbffa45886120520d15d069dedd0358b6a7f88b0974a99f54bb2a64 18:15:02 $ docker rm -f --volumes e9ed87bedbbffa45886120520d15d069dedd0358b6a7f88b0974a99f54bb2a64 [Pipeline] // withDockerContainer [Pipeline] sh 18:15:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:15:03 Warning: overwriting stash ‘coverage-report’ 18:15:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:15:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:15:04 + ls -al . 18:15:04 total 200 18:15:04 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:13 . 18:15:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:11 .. 18:15:04 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:11 .git 18:15:04 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:11 .github 18:15:04 -rw-rw-r-- 1 jenkins jenkins 337 Jan 3 18:11 .gitignore 18:15:04 -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 18:11 .golangci.yml 18:15:04 -rw-rw-r-- 1 jenkins jenkins 8527 Jan 3 18:11 Attribution.txt 18:15:04 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 3 18:11 CHANGELOG.md 18:15:04 -rw-rw-r-- 1 jenkins jenkins 1691 Jan 3 18:11 Dockerfile 18:15:04 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:11 GOVERNANCE.md 18:15:04 -rw-rw-r-- 1 jenkins jenkins 660 Jan 3 18:11 Jenkinsfile 18:15:04 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 18:11 LICENSE 18:15:04 -rw-rw-r-- 1 jenkins jenkins 2457 Jan 3 18:11 Makefile 18:15:04 -rw-rw-r-- 1 jenkins jenkins 623 Jan 3 18:11 OWNERS.md 18:15:04 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 3 18:11 README.md 18:15:04 -rw-rw-r-- 1 jenkins jenkins 11 Jan 3 18:08 VERSION 18:15:04 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:11 bin 18:15:04 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:11 cmd 18:15:04 -rw-r--r-- 1 jenkins jenkins 44128 Jan 3 18:14 coverage.out 18:15:04 -rw-rw-r-- 1 jenkins jenkins 3340 Jan 3 18:11 go.mod 18:15:04 -rw-rw-r-- 1 jenkins jenkins 44412 Jan 3 18:11 go.sum 18:15:04 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:11 internal 18:15:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:11 snap 18:15:04 -rw-rw-r-- 1 jenkins jenkins 235 Jan 3 18:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:04 + 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=dd725dc5af4dc794521be28a3a3263c7b7e9f65e --label arch=arm64 --label version=3.0.0-dev.2 . 18:15:05 Sending build context to Docker daemon 11.85MB 18:15:05 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:15:05 Step 2/25 : FROM ${BASE} AS builder 18:15:05 ---> b0a3d3092b7e 18:15:05 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:15:05 ---> Running in a4e8dc4d0d05 18:15:05 Removing intermediate container a4e8dc4d0d05 18:15:05 ---> 2b32596ef703 18:15:05 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 18:15:05 ---> Running in 644942f29239 18:15:06 Removing intermediate container 644942f29239 18:15:06 ---> b6bd59325eaf 18:15:06 Step 5/25 : ARG ADD_BUILD_TAGS="" 18:15:06 ---> Running in c8949d3d0219 18:15:06 Removing intermediate container c8949d3d0219 18:15:06 ---> 6f658f7c607d 18:15:06 Step 6/25 : WORKDIR /device-virtual-go 18:15:06 ---> Running in 250e0d51a0b4 18:15:07 Removing intermediate container 250e0d51a0b4 18:15:07 ---> ddfc54535070 18:15:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:15:07 ---> Running in 3d922625d1b9 18:15:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:15:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:15:11 OK: 226 MiB in 55 packages 18:15:12 Removing intermediate container 3d922625d1b9 18:15:12 ---> 537b04eff18b 18:15:12 Step 8/25 : COPY go.mod vendor* ./ 18:15:12 ---> dcd320b6d939 18:15:12 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:15:12 ---> Running in 867b697f9197 18:15:15 Removing intermediate container 867b697f9197 18:15:15 ---> ddcfd97ec426 18:15:15 Step 10/25 : COPY . . 18:15:16 ---> 47d730ab2620 18:15:16 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:15:16 ---> Running in 4a5b3a267de7 18:15:16 Removing intermediate container 4a5b3a267de7 18:15:16 ---> b7f4cfc35a66 18:15:16 Step 12/25 : RUN $MAKE 18:15:16 ---> Running in ba54a29a4e25 18:15:17 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 18:18:09 Removing intermediate container ba54a29a4e25 18:18:09 ---> 02f1cd294cd8 18:18:09 Step 13/25 : FROM alpine:3.16 18:18:09 3.16: Pulling from library/alpine 18:18:09 6875df1f5354: Pulling fs layer 18:18:09 6875df1f5354: Verifying Checksum 18:18:09 6875df1f5354: Download complete 18:18:09 6875df1f5354: Pull complete 18:18:09 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:18:09 Status: Downloaded newer image for alpine:3.16 18:18:09 ---> 2b4661558fb8 18:18:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:18:09 ---> Running in abd2158d3550 18:18:09 Removing intermediate container abd2158d3550 18:18:09 ---> d78ce5428275 18:18:09 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 18:18:09 ---> Running in b49e503a195b 18:18:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:18:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:18:09 (1/6) Installing dumb-init (1.2.5-r1) 18:18:09 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:18:09 (3/6) Installing libsodium (1.0.18-r0) 18:18:09 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:18:09 (5/6) Installing libzmq (4.3.4-r0) 18:18:09 (6/6) Installing zeromq (4.3.4-r0) 18:18:09 Executing busybox-1.35.0-r17.trigger 18:18:09 OK: 8 MiB in 20 packages 18:18:09 Removing intermediate container b49e503a195b 18:18:09 ---> 74f8cec9b767 18:18:09 Step 16/25 : WORKDIR / 18:18:09 ---> Running in 7287a020563d 18:18:09 Removing intermediate container 7287a020563d 18:18:09 ---> 490539046aed 18:18:09 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:18:09 ---> 9c40dadd8e54 18:18:09 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 18:18:09 ---> 3fd2ffbe4ba2 18:18:09 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 18:18:09 ---> 42e1d5f35352 18:18:09 Step 20/25 : EXPOSE 59900 18:18:09 ---> Running in cc2a9e17cf4b 18:18:09 Removing intermediate container cc2a9e17cf4b 18:18:09 ---> 664fdd990c51 18:18:09 Step 21/25 : ENTRYPOINT ["/device-virtual"] 18:18:09 ---> Running in 8fbbf10bf1e6 18:18:09 Removing intermediate container 8fbbf10bf1e6 18:18:09 ---> 89311c4238e4 18:18:09 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:18:09 ---> Running in 03affe0b87cc 18:18:09 Removing intermediate container 03affe0b87cc 18:18:09 ---> d204b059ca10 18:18:09 Step 23/25 : LABEL arch=arm64 18:18:09 ---> Running in 7669b2b2507e 18:18:09 Removing intermediate container 7669b2b2507e 18:18:09 ---> cec1f5142108 18:18:09 Step 24/25 : LABEL git_sha=dd725dc5af4dc794521be28a3a3263c7b7e9f65e 18:18:09 ---> Running in 6959315d53cc 18:18:09 Removing intermediate container 6959315d53cc 18:18:09 ---> 6a4e3e907a62 18:18:09 Step 25/25 : LABEL version=3.0.0-dev.2 18:18:09 ---> Running in 04059de55814 18:18:09 Removing intermediate container 04059de55814 18:18:09 ---> 02e679f5dce3 18:18:09 [Warning] One or more build-args [ARCH] were not consumed 18:18:09 Successfully built 02e679f5dce3 18:18:09 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 18:18:09 provisioning config files... 18:18:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/73@tmp/config8850081459162738512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:18:10 ---> docker-login.sh 18:18:10 nexus3.edgexfoundry.org:10001 18:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:10 Configure a credential helper to remove this warning. See 18:18:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:10 18:18:10 Login Succeeded 18:18:10 nexus3.edgexfoundry.org:10002 18:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:10 Configure a credential helper to remove this warning. See 18:18:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:10 18:18:10 Login Succeeded 18:18:10 nexus3.edgexfoundry.org:10003 18:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:11 Configure a credential helper to remove this warning. See 18:18:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:11 18:18:11 Login Succeeded 18:18:11 nexus3.edgexfoundry.org:10004 18:18:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:11 Configure a credential helper to remove this warning. See 18:18:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:11 18:18:11 Login Succeeded 18:18:11 docker.io 18:18:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:12 Configure a credential helper to remove this warning. See 18:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:12 18:18:12 Login Succeeded 18:18:12 ---> docker-login.sh ends [Pipeline] } 18:18:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:18:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:18:12 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 18:18:12 dd725dc5af4dc794521be28a3a3263c7b7e9f65e 18:18:12 latest 18:18:12 3.0.0-dev.2 18:18:12 dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 18:18:12 main 18:18:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:12 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:12 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:dd725dc5af4dc794521be28a3a3263c7b7e9f65e 18:18:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 18:18:12 a8a779c0da64: Preparing 18:18:12 bd72c4c7040a: Preparing 18:18:12 8289f97085ec: Preparing 18:18:12 59c6b1841887: Preparing 18:18:12 17bec77d7fdc: Preparing 18:18:12 17bec77d7fdc: Layer already exists 18:18:13 8289f97085ec: Pushed 18:18:13 bd72c4c7040a: Pushed 18:18:14 59c6b1841887: Pushed 18:18:19 a8a779c0da64: Pushed 18:18:19 dd725dc5af4dc794521be28a3a3263c7b7e9f65e: digest: sha256:c35660b065b031e7df627545a9098138dbd2455e1805b4c1c8bf8006371d5174 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:19 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 18:18:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 18:18:20 a8a779c0da64: Preparing 18:18:20 bd72c4c7040a: Preparing 18:18:20 8289f97085ec: Preparing 18:18:20 59c6b1841887: Preparing 18:18:20 17bec77d7fdc: Preparing 18:18:20 bd72c4c7040a: Layer already exists 18:18:20 59c6b1841887: Layer already exists 18:18:20 a8a779c0da64: Layer already exists 18:18:20 17bec77d7fdc: Layer already exists 18:18:20 8289f97085ec: Layer already exists 18:18:20 latest: digest: sha256:c35660b065b031e7df627545a9098138dbd2455e1805b4c1c8bf8006371d5174 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:20 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.2 18:18:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 18:18:21 a8a779c0da64: Preparing 18:18:21 bd72c4c7040a: Preparing 18:18:21 8289f97085ec: Preparing 18:18:21 59c6b1841887: Preparing 18:18:21 17bec77d7fdc: Preparing 18:18:21 59c6b1841887: Layer already exists 18:18:21 a8a779c0da64: Layer already exists 18:18:21 17bec77d7fdc: Layer already exists 18:18:21 8289f97085ec: Layer already exists 18:18:21 bd72c4c7040a: Layer already exists 18:18:21 3.0.0-dev.2: digest: sha256:c35660b065b031e7df627545a9098138dbd2455e1805b4c1c8bf8006371d5174 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:21 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 18:18:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 18:18:21 a8a779c0da64: Preparing 18:18:21 bd72c4c7040a: Preparing 18:18:21 8289f97085ec: Preparing 18:18:21 59c6b1841887: Preparing 18:18:21 17bec77d7fdc: Preparing 18:18:21 a8a779c0da64: Layer already exists 18:18:21 17bec77d7fdc: Layer already exists 18:18:21 8289f97085ec: Layer already exists 18:18:21 bd72c4c7040a: Layer already exists 18:18:21 59c6b1841887: Layer already exists 18:18:21 dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2: digest: sha256:c35660b065b031e7df627545a9098138dbd2455e1805b4c1c8bf8006371d5174 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:22 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 18:18:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 18:18:22 a8a779c0da64: Preparing 18:18:22 bd72c4c7040a: Preparing 18:18:22 8289f97085ec: Preparing 18:18:22 59c6b1841887: Preparing 18:18:22 17bec77d7fdc: Preparing 18:18:22 17bec77d7fdc: Layer already exists 18:18:22 a8a779c0da64: Layer already exists 18:18:22 8289f97085ec: Layer already exists 18:18:22 59c6b1841887: Layer already exists 18:18:22 bd72c4c7040a: Layer already exists 18:18:22 main: digest: sha256:c35660b065b031e7df627545a9098138dbd2455e1805b4c1c8bf8006371d5174 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:18:22 ===================================================== [Pipeline] echo 18:18:22 taggedImages: 18:18:22 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:dd725dc5af4dc794521be28a3a3263c7b7e9f65e 18:18:22 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 18:18:22 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.2 18:18:22 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:dd725dc5af4dc794521be28a3a3263c7b7e9f65e-3.0.0-dev.2 18:18:22 - 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 18:18:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:18:23 18:18:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:18:23 arm64: Pulling from edgex-lftools-log-publisher 18:18:23 8998bd30e6a1: Pulling fs layer 18:18:23 04944245beec: Pulling fs layer 18:18:23 699f458cf7ca: Pulling fs layer 18:18:23 765212b225bb: Pulling fs layer 18:18:23 f23df028b6ca: Pulling fs layer 18:18:23 d65c8cfc05b1: Pulling fs layer 18:18:23 2437ff75d9bd: Pulling fs layer 18:18:23 f23df028b6ca: Waiting 18:18:23 d65c8cfc05b1: Waiting 18:18:23 2437ff75d9bd: Waiting 18:18:23 765212b225bb: Waiting 18:18:23 04944245beec: Verifying Checksum 18:18:23 04944245beec: Download complete 18:18:23 765212b225bb: Download complete 18:18:24 f23df028b6ca: Verifying Checksum 18:18:24 f23df028b6ca: Download complete 18:18:24 d65c8cfc05b1: Verifying Checksum 18:18:24 d65c8cfc05b1: Download complete 18:18:24 699f458cf7ca: Verifying Checksum 18:18:24 699f458cf7ca: Download complete 18:18:24 8998bd30e6a1: Verifying Checksum 18:18:24 8998bd30e6a1: Download complete 18:18:26 2437ff75d9bd: Verifying Checksum 18:18:26 2437ff75d9bd: Download complete 18:18:28 8998bd30e6a1: Pull complete 18:18:28 04944245beec: Pull complete 18:18:30 699f458cf7ca: Pull complete 18:18:30 765212b225bb: Pull complete 18:18:31 f23df028b6ca: Pull complete 18:18:31 d65c8cfc05b1: Pull complete 18:18:44 2437ff75d9bd: Pull complete 18:18:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:18:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:18:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:18:44 prd-ubuntu20.04-docker-arm64-4c-16g-925 does not seem to be running inside a container 18:18:44 $ 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/73 -v /w/workspace/device-virtual-go/73:/w/workspace/device-virtual-go/73:rw,z -v /w/workspace/device-virtual-go/73@tmp:/w/workspace/device-virtual-go/73@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 18:18:47 $ docker top 9d1f7aea4a1aa2ccba1883996292c298e0bdd8f42a5f3ca7ff461a8854fa2184 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:18:48 ---> job-cost.sh 18:18:48 lf-activate-venv: SKIPPING 18:18:48 INFO: No Stack... 18:18:48 INFO: Retrieving Pricing Info for: v3-standard-4 18:18:49 INFO: Archiving Costs [Pipeline] sh 18:18:49 + cat /w/workspace/device-virtual-go/73/archives/cost.csv 18:18:49 + cut -d, -f6 [Pipeline] lock 18:18:50 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] 18:18:50 Resource [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] did not exist. Created. 18:18:50 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:18:50 /w/workspace/device-virtual-go/73@tmp/durable-305fba86/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:18:51 + echo total: 0.10999999940395355 [Pipeline] stash 18:18:51 Warning: overwriting stash ‘stack-cost’ 18:18:51 Stashed 1 file(s) [Pipeline] } 18:18:51 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 18:18:51 $ docker stop --time=1 9d1f7aea4a1aa2ccba1883996292c298e0bdd8f42a5f3ca7ff461a8854fa2184 18:18:52 $ docker rm -f --volumes 9d1f7aea4a1aa2ccba1883996292c298e0bdd8f42a5f3ca7ff461a8854fa2184 [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 18:18:53 provisioning config files... 18:18:53 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3210182596043946789tmp [Pipeline] { [Pipeline] sh 18:18:53 + set +x 18:18:53 + curl -s https://codecov.io/bash 18:18:53 + bash -s -- 18:18:53 18:18:53 _____ _ 18:18:53 / ____| | | 18:18:53 | | ___ __| | ___ ___ _____ __ 18:18:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:18:53 | |___| (_) | (_| | __/ (_| (_) \ V / 18:18:53 \_____\___/ \__,_|\___|\___\___/ \_/ 18:18:53 Bash-1.0.6 18:18:53 18:18:53 18:18:53 ==> git version 2.25.1 found 18:18:53 ==> 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 18:18:53 Release-Date: 2020-01-08 18:18:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:18:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:18:53 ==> Jenkins CI detected. 18:18:53 current dir:  /w/workspace/exfoundry_device-virtual-go_main 18:18:53 project root: . 18:18:53 --> token set from env 18:18:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:18:53 ==> Running gcov in . (disable via -X gcov) 18:18:53 ==> Python coveragepy not found 18:18:53 ==> Searching for coverage reports in: 18:18:53 + . 18:18:53 -> Found 1 reports 18:18:53 ==> Detecting git/mercurial file structure 18:18:53 ==> Reading reports 18:18:53 + ./coverage.out bytes=44128 18:18:53 ==> Appending adjustments 18:18:53 https://docs.codecov.io/docs/fixing-reports 18:18:53 + Found adjustments 18:18:53 ==> Gzipping contents 18:18:53 8.0K /tmp/codecov.oJPExd.gz 18:18:53 ==> Uploading reports 18:18:53 url: https://codecov.io 18:18:53 query: branch=main&commit=dd725dc5af4dc794521be28a3a3263c7b7e9f65e&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:18:53 -> Pinging Codecov 18:18:53 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=dd725dc5af4dc794521be28a3a3263c7b7e9f65e&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:18:53 -> Uploading to 18:18:53 https://storage.googleapis.com/codecov/v4/raw/2023-01-03/5E52B4B073DB2E39498172D8E973AA87/dd725dc5af4dc794521be28a3a3263c7b7e9f65e/8117c544-41e3-460b-9b73-15b9c3cd3e01.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T181853Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8f1a9465875d8d3d60e7cfb0edf29cccf2004ecb835444216a48eb6939c9e99b 18:18:53 % Total % Received % Xferd Average Speed Time Time Time Current 18:18:53 Dload Upload Total Spent Left Speed 18:18:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5494 0 0 100 5494 0 23279 --:--:-- --:--:-- --:--:-- 23279 18:18:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] } 18:18:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:18:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:18:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:18:54 18:18:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:18:55 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:18:55 df9b9388f04a: Pulling fs layer 18:18:55 52dc419b0ee2: Pulling fs layer 18:18:55 25bc292e5bac: Pulling fs layer 18:18:55 114826534d7a: Pulling fs layer 18:18:55 4657fd5d0bcf: Pulling fs layer 18:18:55 6ad1cebc031e: Pulling fs layer 18:18:55 8a3aa393b2d8: Pulling fs layer 18:18:55 114826534d7a: Waiting 18:18:55 4657fd5d0bcf: Waiting 18:18:55 6ad1cebc031e: Waiting 18:18:55 8a3aa393b2d8: Waiting 18:18:55 25bc292e5bac: Verifying Checksum 18:18:55 25bc292e5bac: Download complete 18:18:55 52dc419b0ee2: Download complete 18:18:55 4657fd5d0bcf: Verifying Checksum 18:18:55 4657fd5d0bcf: Download complete 18:18:55 df9b9388f04a: Verifying Checksum 18:18:55 df9b9388f04a: Download complete 18:18:55 df9b9388f04a: Pull complete 18:18:55 6ad1cebc031e: Verifying Checksum 18:18:55 6ad1cebc031e: Download complete 18:18:55 52dc419b0ee2: Pull complete 18:18:55 25bc292e5bac: Pull complete 18:18:55 114826534d7a: Verifying Checksum 18:18:55 114826534d7a: Download complete 18:18:56 8a3aa393b2d8: Verifying Checksum 18:18:56 8a3aa393b2d8: Download complete 18:18:59 114826534d7a: Pull complete 18:18:59 4657fd5d0bcf: Pull complete 18:18:59 6ad1cebc031e: Pull complete 18:19:02 8a3aa393b2d8: Pull complete 18:19:02 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:19:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:19:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:02 prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container 18:19:02 $ 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 18:19:04 $ docker top fb44f8ab715d630763aa75c2ea3f4e55cdcf30493744653eb24f47bd6bfae2cd -eo pid,comm [Pipeline] { [Pipeline] echo 18:19:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 18:19:04 + set -o pipefail 18:19:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 18:19:12 18:19:12 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 18:19:12 18:19:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/d2e4c06d-5ecb-4fb4-af82-68fed49902f2 18:19:12 18:19:12 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:19:12 18:19:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:19:12 18:19:12 18:19:12 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:19:12 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:19:12 More details here: https://snyk.co/ue1NS [Pipeline] } 18:19:12 $ docker stop --time=1 fb44f8ab715d630763aa75c2ea3f4e55cdcf30493744653eb24f47bd6bfae2cd 18:19:14 $ docker rm -f --volumes fb44f8ab715d630763aa75c2ea3f4e55cdcf30493744653eb24f47bd6bfae2cd [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 18:19:15 + git log --format=format:%s -1 dd725dc5af4dc794521be28a3a3263c7b7e9f65e [Pipeline] sh 18:19:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:19:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:19:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:16 prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container 18:19:16 $ 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 18:19:16 $ docker top b9688384d86a0d3e82da30ff51d7b66344ab09748f9b36b5dcc59c1ac2aa6646 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:19:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:19:16 [ssh-agent] Looking for ssh-agent implementation... 18:19:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:19:16 $ docker exec b9688384d86a0d3e82da30ff51d7b66344ab09748f9b36b5dcc59c1ac2aa6646 ssh-agent 18:19:17 SSH_AUTH_SOCK=/tmp/ssh-PozMBJrTkREc/agent.31 18:19:17 SSH_AGENT_PID=37 18:19:17 Running ssh-add (command line suppressed) 18:19:17 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_284127598394523854.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_284127598394523854.key) 18:19:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:19:17 + git semver tag 18:19:17 2023-01-03 18:19:17,618 [run_tag] DEBUG tag force:False 18:19:17 2023-01-03 18:19:17,618 [check_head_tag] DEBUG check head tag 18:19:17 2023-01-03 18:19:17,619 [execute] INFO git cat-file --batch-check 18:19:17 2023-01-03 18:19:17,620 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 18:19:17 2023-01-03 18:19:17,624 [execute] INFO git cat-file --batch 18:19:17 2023-01-03 18:19:17,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 18:19:17 2023-01-03 18:19:17,645 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 18:19:17 2023-01-03 18:19:17,645 [execute] INFO git tag -a v3.0.0-dev.2 -m v3.0.0-dev.2 18:19:17 2023-01-03 18:19:17,645 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.2', '-m', 'v3.0.0-dev.2'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 18:19:17 2023-01-03 18:19:17,650 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 18:19:17 3.0.0-dev.2 [Pipeline] } 18:19:17 $ docker exec --env ******** --env ******** b9688384d86a0d3e82da30ff51d7b66344ab09748f9b36b5dcc59c1ac2aa6646 ssh-agent -k 18:19:17 unset SSH_AUTH_SOCK; 18:19:17 unset SSH_AGENT_PID; 18:19:17 echo Agent pid 37 killed; 18:19:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:19:18 + git semver [Pipeline] } 18:19:18 $ docker stop --time=1 b9688384d86a0d3e82da30ff51d7b66344ab09748f9b36b5dcc59c1ac2aa6646 18:19:19 $ docker rm -f --volumes b9688384d86a0d3e82da30ff51d7b66344ab09748f9b36b5dcc59c1ac2aa6646 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:19:20 18:19:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:19:20 0.23.1-centos7: Pulling from edgex-lftools 18:19:20 ab5ef0e58194: Pulling fs layer 18:19:20 9712f1f96733: Pulling fs layer 18:19:20 63f879dbbcfc: Pulling fs layer 18:19:20 0d9ebad4ef96: Pulling fs layer 18:19:20 e9a5061849ea: Pulling fs layer 18:19:20 d747dcd14b5f: Pulling fs layer 18:19:20 2de7ff778b66: Pulling fs layer 18:19:20 e9a5061849ea: Waiting 18:19:20 d747dcd14b5f: Waiting 18:19:20 2de7ff778b66: Waiting 18:19:20 0d9ebad4ef96: Waiting 18:19:20 9712f1f96733: Download complete 18:19:20 63f879dbbcfc: Verifying Checksum 18:19:20 63f879dbbcfc: Download complete 18:19:20 e9a5061849ea: Verifying Checksum 18:19:20 e9a5061849ea: Download complete 18:19:20 d747dcd14b5f: Download complete 18:19:21 ab5ef0e58194: Verifying Checksum 18:19:21 ab5ef0e58194: Download complete 18:19:21 0d9ebad4ef96: Verifying Checksum 18:19:21 0d9ebad4ef96: Download complete 18:19:21 2de7ff778b66: Verifying Checksum 18:19:21 2de7ff778b66: Download complete 18:19:23 ab5ef0e58194: Pull complete 18:19:23 9712f1f96733: Pull complete 18:19:24 63f879dbbcfc: Pull complete 18:19:27 0d9ebad4ef96: Pull complete 18:19:27 e9a5061849ea: Pull complete 18:19:27 d747dcd14b5f: Pull complete 18:19:28 2de7ff778b66: Pull complete 18:19:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:19:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:19:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:28 prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container 18:19: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:19:30 $ docker top 9970011be1f0e1a00a626489b762cbb5c6797dfb1ddebdf23fc2c3bc29cf10ea -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:19:30 provisioning config files... 18:19:30 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16895982468480614186tmp 18:19:30 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12721993778450488857tmp 18:19:31 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9795513143990948300tmp [Pipeline] { [Pipeline] echo 18:19:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:19:31 ---> sigul-configuration.sh 18:19:31 gpg: directory `/root/.gnupg' created 18:19:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:19:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:19:31 gpg: keyring `/root/.gnupg/secring.gpg' created 18:19:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:19:31 gpg: CAST5 encrypted data 18:19:31 gpg: encrypted with 1 passphrase 18:19:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:19:31 + mkdir /home/jenkins 18:19:31 + mkdir /home/jenkins/sigul [Pipeline] sh 18:19:31 + 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 18:19:31 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:19:32 ---> sigul-install.sh 18:19:32 Sigul already installed; skipping installation. [Pipeline] sh 18:19:32 + git tag --list 18:19:32 v1.0.0 18:19:32 v1.1.0 18:19:32 v1.1.1 18:19:32 v1.2.1 18:19:32 v1.2.2 18:19:32 v1.2.3 18:19:32 v1.3.0 18:19:32 v1.3.1 18:19:32 v2.0.0 18:19:32 v2.1.0 18:19:32 v2.1.1 18:19:32 v2.1.1-dev.1 18:19:32 v2.1.1-dev.2 18:19:32 v2.2.0 18:19:32 v2.2.1-dev.1 18:19:32 v2.2.1-dev.2 18:19:32 v2.2.1-dev.3 18:19:32 v2.2.1-dev.4 18:19:32 v2.2.1-dev.5 18:19:32 v2.2.1-dev.6 18:19:32 v2.2.1-dev.7 18:19:32 v2.2.1-dev.8 18:19:32 v2.3.0 18:19:32 v2.3.0-dev.10 18:19:32 v2.3.0-dev.11 18:19:32 v2.3.0-dev.12 18:19:32 v2.3.0-dev.13 18:19:32 v2.3.0-dev.14 18:19:32 v2.3.0-dev.15 18:19:32 v2.3.0-dev.16 18:19:32 v2.3.0-dev.17 18:19:32 v2.3.0-dev.18 18:19:32 v2.3.0-dev.19 18:19:32 v2.3.0-dev.20 18:19:32 v2.3.0-dev.21 18:19:32 v2.3.0-dev.22 18:19:32 v2.3.0-dev.23 18:19:32 v2.3.0-dev.24 18:19:32 v2.3.0-dev.25 18:19:32 v2.3.0-dev.26 18:19:32 v2.3.0-dev.27 18:19:32 v2.3.0-dev.28 18:19:32 v2.3.0-dev.29 18:19:32 v2.3.0-dev.30 18:19:32 v2.3.0-dev.8 18:19:32 v2.3.0-dev.9 18:19:32 v3.0.0-dev.1 18:19:32 v3.0.0-dev.2 [Pipeline] sh 18:19:32 + lftools sign git-tag v3.0.0-dev.2 18:19:33 Signing Git tag with Sigul... 18:19:33 Signing v3.0.0-dev.2 [Pipeline] echo 18:19:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:19:33 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:19:33 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:19:33 $ docker stop --time=1 9970011be1f0e1a00a626489b762cbb5c6797dfb1ddebdf23fc2c3bc29cf10ea 18:19:35 $ docker rm -f --volumes 9970011be1f0e1a00a626489b762cbb5c6797dfb1ddebdf23fc2c3bc29cf10ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:19:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:19:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:19:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:35 prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container 18:19:35 $ 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 18:19:36 $ docker top eeb04da3b13f25883d2877af1cee79ffd62c6a9894ff98a64b42807c337c1583 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:19:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:19:36 [ssh-agent] Looking for ssh-agent implementation... 18:19:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:19:36 $ docker exec eeb04da3b13f25883d2877af1cee79ffd62c6a9894ff98a64b42807c337c1583 ssh-agent 18:19:36 SSH_AUTH_SOCK=/tmp/ssh-adFbItD9kk5t/agent.31 18:19:36 SSH_AGENT_PID=37 18:19:36 Running ssh-add (command line suppressed) 18:19:36 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2809557437079048568.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2809557437079048568.key) 18:19:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:19:37 + git semver bump pre 18:19:37 2023-01-03 18:19:37,229 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 18:19:37 2023-01-03 18:19:37,230 [bump_version] DEBUG bumping version:3.0.0-dev.2 on axis:pre with prefix:dev 18:19:37 2023-01-03 18:19:37,230 [bump_version] DEBUG bumped version:3.0.0-dev.3 18:19:37 2023-01-03 18:19:37,230 [write_version] DEBUG write version:3.0.0-dev.3 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 18:19:37 2023-01-03 18:19:37,230 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 18:19:37 2023-01-03 18:19:37,230 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 18:19:37 2023-01-03 18:19:37,231 [execute] INFO git cat-file --batch-check 18:19:37 2023-01-03 18:19:37,232 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:19:37 2023-01-03 18:19:37,237 [execute] INFO git cat-file --batch 18:19:37 2023-01-03 18:19:37,237 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:19:37 2023-01-03 18:19:37,242 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 18:19:37 3.0.0-dev.3 [Pipeline] } 18:19:37 $ docker exec --env ******** --env ******** eeb04da3b13f25883d2877af1cee79ffd62c6a9894ff98a64b42807c337c1583 ssh-agent -k 18:19:37 unset SSH_AUTH_SOCK; 18:19:37 unset SSH_AGENT_PID; 18:19:37 echo Agent pid 37 killed; 18:19:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:19:37 + git semver [Pipeline] } 18:19:38 $ docker stop --time=1 eeb04da3b13f25883d2877af1cee79ffd62c6a9894ff98a64b42807c337c1583 18:19:39 $ docker rm -f --volumes eeb04da3b13f25883d2877af1cee79ffd62c6a9894ff98a64b42807c337c1583 [Pipeline] // withDockerContainer [Pipeline] sh 18:19:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:19:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:19:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:39 prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container 18:19:40 $ 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 18:19:40 $ docker top 43042b79a862cf8088841be661a11a353c60ef86eee6e0a49535952b7a7c70d9 -eo pid,comm 18:19:40 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). 18:19:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:19:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:19:40 [ssh-agent] Looking for ssh-agent implementation... 18:19:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:19:40 $ docker exec 43042b79a862cf8088841be661a11a353c60ef86eee6e0a49535952b7a7c70d9 ssh-agent 18:19:40 SSH_AUTH_SOCK=/tmp/ssh-opchVZ9Lpafy/agent.31 18:19:40 SSH_AGENT_PID=37 18:19:40 Running ssh-add (command line suppressed) 18:19:40 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5047955515833220437.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5047955515833220437.key) 18:19:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:19:41 + git semver push 18:19:41 2023-01-03 18:19:41,320 [run_push] DEBUG push 18:19:41 2023-01-03 18:19:41,321 [execute] INFO git cat-file --batch-check 18:19:41 2023-01-03 18:19:41,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:19:41 2023-01-03 18:19:41,326 [execute] INFO git rev-list 1b6cba0300d651cb1fc0c62d52e9fe3fa636f240 -- 18:19:41 2023-01-03 18:19:41,326 [execute] DEBUG Popen(['git', 'rev-list', '1b6cba0300d651cb1fc0c62d52e9fe3fa636f240', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:19:41 2023-01-03 18:19:41,335 [execute] INFO git fetch -v origin 18:19:41 2023-01-03 18:19:41,335 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:19:41 2023-01-03 18:19:41,864 [run_push] DEBUG no remote changes detected 18:19:41 2023-01-03 18:19:41,865 [execute] INFO git push origin semver 18:19:41 2023-01-03 18:19:41,865 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:19:42 2023-01-03 18:19:42,681 [run_push] DEBUG push all version tags 18:19:42 2023-01-03 18:19:42,682 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:19:42 2023-01-03 18:19:42,682 [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) 18:19:43 2023-01-03 18:19:43,449 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 18:19:43 3.0.0-dev.3 [Pipeline] } 18:19:43 $ docker exec --env ******** --env ******** 43042b79a862cf8088841be661a11a353c60ef86eee6e0a49535952b7a7c70d9 ssh-agent -k 18:19:43 unset SSH_AUTH_SOCK; 18:19:43 unset SSH_AGENT_PID; 18:19:43 echo Agent pid 37 killed; 18:19:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:19:44 + git semver [Pipeline] } 18:19:44 $ docker stop --time=1 43042b79a862cf8088841be661a11a353c60ef86eee6e0a49535952b7a7c70d9 18:19:45 $ docker rm -f --volumes 43042b79a862cf8088841be661a11a353c60ef86eee6e0a49535952b7a7c70d9 [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 18:19:46 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 18:19:46 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 18:19:46 total 16 18:19:46 drwxr-xr-x 3 root root 4096 Jan 3 18:09 . 18:19:46 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 18:19 .. 18:19:46 drwxr-xr-x 2 root root 4096 Jan 3 18:09 cost 18:19:46 -rw-r--r-- 1 root root 88 Jan 3 18:09 cost.csv 18:19:46 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 18:19:46 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 18:19:46 total 16 18:19:46 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:09 . 18:19:46 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 18:19 .. 18:19:46 drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 18:09 cost 18:19:46 -rw-r--r-- 1 jenkins jenkins 88 Jan 3 18:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:19:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:19:47 ---> package-listing.sh 18:19:47 ++ facter osfamily 18:19:47 ++ tr '[:upper:]' '[:lower:]' 18:19:47 + OS_FAMILY=debian 18:19:47 + workspace=/w/workspace/exfoundry_device-virtual-go_main 18:19:47 + START_PACKAGES=/tmp/packages_start.txt 18:19:47 + END_PACKAGES=/tmp/packages_end.txt 18:19:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:19:47 + PACKAGES=/tmp/packages_start.txt 18:19:47 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 18:19:47 + PACKAGES=/tmp/packages_end.txt 18:19:47 + case "${OS_FAMILY}" in 18:19:47 + dpkg -l 18:19:47 + grep '^ii' 18:19:47 + '[' -f /tmp/packages_start.txt ']' 18:19:47 + '[' -f /tmp/packages_end.txt ']' 18:19:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:19:47 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 18:19:47 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 18:19:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 18:19:47 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 18:19:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:19:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:48 prd-ubuntu20.04-docker-8c-8g-923 does not seem to be running inside a container 18:19:48 $ 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 18:19:49 $ docker top 1a196470ff24569fdc2406b7faf3d4861531a23c79c2982188f0168ec1e3de63 -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:49 + touch /tmp/pre-build-complete [Pipeline] sh 18:19:49 + mkdir -p /var/log/sysstat [Pipeline] sh 18:19:49 + ls /var/log/sa-host 18:19:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:19:50 provisioning config files... 18:19:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14922186882428744537tmp [Pipeline] { [Pipeline] echo 18:19:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:19:50 ---> create-netrc.sh [Pipeline] } 18:19:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:19:50 ---> python-tools-install.sh [Pipeline] echo 18:19:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:19:50 ---> sudo-logs.sh 18:19:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:19:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:19:51 ---> job-cost.sh 18:19:51 lf-activate-venv: SKIPPING 18:19:51 DEBUG: total: 0.2199999988079071 18:19:51 INFO: Retrieving Stack Cost... 18:19:51 INFO: Retrieving Pricing Info for: v3-standard-8 18:19:52 INFO: Archiving Costs [Pipeline] echo 18:19:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:19:52 ---> logs-deploy.sh 18:19:52 lf-activate-venv: SKIPPING 18:19:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/73 18:19:52 INFO: archiving workspace using pattern(s): 18:19:53 Archives upload complete. 18:19:53 INFO: archiving logs to Nexus