Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6a6923f6f990075cc9d362fe0d250c605a9d159f 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-ssh3767790910030094231.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh3433441299021730125.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh14385258460922674335.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh8378662190717246295.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-ssh13032853504267425939.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15205 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 6a6923f6f990075cc9d362fe0d250c605a9d159f (main) Commit message: "Merge pull request #406 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.90" > 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 6a6923f6f990075cc9d362fe0d250c605a9d159f # timeout=10 > git rev-list --no-walk d55cfd14756feee5759f983c7252b83ebf242d79 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:09:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:09:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:09:11 ========================================================= 14:09:11 EdgeX Global Pipelines Version Info 14:09:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:09:12 ------------------- 14:09:12 stable info: 14:09:12 ------------------- 14:09:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:09:12 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 14:09:12 Message: update stable to v1.0.249 14:09:13 ------------------- 14:09:13 experimental info: 14:09:13 ------------------- 14:09:13 Commited By: **** collab-it+edgex@linuxfoundation.org 14:09:13 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 14:09:13 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:09:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:09:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:09:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:09:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a6923f6f990075cc9d362fe0d250c605a9d159f [Pipeline] echo 14:09:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a6923f [Pipeline] echo 14:09:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:09:14 provisioning config files... 14:09:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7699442432305421374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:09:14 ---> docker-login.sh 14:09:14 nexus3.edgexfoundry.org:10001 14:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:14 Configure a credential helper to remove this warning. See 14:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:14 14:09:14 Login Succeeded 14:09:14 nexus3.edgexfoundry.org:10002 14:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:14 Configure a credential helper to remove this warning. See 14:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:14 14:09:14 Login Succeeded 14:09:14 nexus3.edgexfoundry.org:10003 14:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:14 Configure a credential helper to remove this warning. See 14:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:14 14:09:14 Login Succeeded 14:09:14 nexus3.edgexfoundry.org:10004 14:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:14 Configure a credential helper to remove this warning. See 14:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:14 14:09:14 Login Succeeded 14:09:14 docker.io 14:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:15 Configure a credential helper to remove this warning. See 14:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:15 14:09:15 Login Succeeded 14:09:15 ---> docker-login.sh ends [Pipeline] } 14:09:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:09:15 + git rev-list -1 --merges 6a6923f6f990075cc9d362fe0d250c605a9d159f~1..6a6923f6f990075cc9d362fe0d250c605a9d159f [Pipeline] echo 14:09:15 -----------> git rev-list -1 --merges 6a6923f6f990075cc9d362fe0d250c605a9d159f~1..6a6923f6f990075cc9d362fe0d250c605a9d159f 6a6923f6f990075cc9d362fe0d250c605a9d159f 14:09:15 6a6923f6f990075cc9d362fe0d250c605a9d159f [false] [Pipeline] sh 14:09:16 + git log --format=format:%s -1 6a6923f6f990075cc9d362fe0d250c605a9d159f [Pipeline] echo 14:09:16 ========================================================= 14:09:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:09:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:09:16 + git log --format=format:%s -1 6a6923f6f990075cc9d362fe0d250c605a9d159f [Pipeline] echo 14:09:16 [semverPrep] GIT_COMMIT: 6a6923f6f990075cc9d362fe0d250c605a9d159f, Commit Message: Merge pull request #406 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.90 [Pipeline] echo 14:09:16 [semverPrep] This is not a build commit. [Pipeline] sh 14:09:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:09:16 + grep -v github /etc/ssh/ssh_known_hosts 14:09:16 + [ -e /tmp/ssh_known_hosts ] 14:09:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:09:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:09:16 + sudo tee -a /etc/ssh/ssh_known_hosts 14:09:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:09:17 14:09:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:09:17 0.1.4: Pulling from edgex-devops/py-git-semver 14:09:17 b85a868b505f: Pulling fs layer 14:09:17 e2be974225ed: Pulling fs layer 14:09:17 339a4e72a1f5: Pulling fs layer 14:09:17 988bab9f4d93: Pulling fs layer 14:09:17 1469e6f7b9e6: Pulling fs layer 14:09:17 eaf3925da568: Pulling fs layer 14:09:17 bab4dde63d76: Pulling fs layer 14:09:17 bde34c3a00c8: Pulling fs layer 14:09:17 b352a97aabf1: Pulling fs layer 14:09:17 4872d77fe225: Pulling fs layer 14:09:17 5851b861e8e6: Pulling fs layer 14:09:17 bab4dde63d76: Waiting 14:09:17 988bab9f4d93: Waiting 14:09:17 1469e6f7b9e6: Waiting 14:09:17 eaf3925da568: Waiting 14:09:17 b352a97aabf1: Waiting 14:09:17 bde34c3a00c8: Waiting 14:09:17 e2be974225ed: Download complete 14:09:17 988bab9f4d93: Download complete 14:09:17 339a4e72a1f5: Verifying Checksum 14:09:17 339a4e72a1f5: Download complete 14:09:17 1469e6f7b9e6: Verifying Checksum 14:09:17 1469e6f7b9e6: Download complete 14:09:17 eaf3925da568: Download complete 14:09:17 bde34c3a00c8: Download complete 14:09:17 b352a97aabf1: Download complete 14:09:17 4872d77fe225: Verifying Checksum 14:09:17 4872d77fe225: Download complete 14:09:17 5851b861e8e6: Verifying Checksum 14:09:17 5851b861e8e6: Download complete 14:09:17 b85a868b505f: Verifying Checksum 14:09:17 b85a868b505f: Download complete 14:09:18 bab4dde63d76: Verifying Checksum 14:09:18 bab4dde63d76: Download complete 14:09:19 b85a868b505f: Pull complete 14:09:19 e2be974225ed: Pull complete 14:09:19 339a4e72a1f5: Pull complete 14:09:19 988bab9f4d93: Pull complete 14:09:20 1469e6f7b9e6: Pull complete 14:09:20 eaf3925da568: Pull complete 14:09:22 bab4dde63d76: Pull complete 14:09:22 bde34c3a00c8: Pull complete 14:09:22 b352a97aabf1: Pull complete 14:09:22 4872d77fe225: Pull complete 14:09:22 5851b861e8e6: Pull complete 14:09:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:09:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:09:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:09:22 prd-ubuntu20.04-docker-8c-8g-15205 does not seem to be running inside a container 14:09:22 $ 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 14:09:24 $ docker top e8939e6ad89f9048db4b0ee618994cd4611a4720f7e3c5d1877d1fb4d48ec9d7 -eo pid,comm 14:09:24 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). 14:09:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:09:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:09:25 [ssh-agent] Looking for ssh-agent implementation... 14:09:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:09:25 $ docker exec e8939e6ad89f9048db4b0ee618994cd4611a4720f7e3c5d1877d1fb4d48ec9d7 ssh-agent 14:09:25 SSH_AUTH_SOCK=/tmp/ssh-xA7tbNPRV4c3/agent.32 14:09:25 SSH_AGENT_PID=38 14:09:25 Running ssh-add (command line suppressed) 14:09:25 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6493315681707195330.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6493315681707195330.key) 14:09:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:09:25 + git tag --points-at HEAD [Pipeline] } 14:09:25 $ docker exec --env ******** --env ******** e8939e6ad89f9048db4b0ee618994cd4611a4720f7e3c5d1877d1fb4d48ec9d7 ssh-agent -k 14:09:25 unset SSH_AUTH_SOCK; 14:09:25 unset SSH_AGENT_PID; 14:09:25 echo Agent pid 38 killed; 14:09:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:09:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:09:25 [ssh-agent] Looking for ssh-agent implementation... 14:09:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:09:25 $ docker exec e8939e6ad89f9048db4b0ee618994cd4611a4720f7e3c5d1877d1fb4d48ec9d7 ssh-agent 14:09:26 SSH_AUTH_SOCK=/tmp/ssh-OkqflrLJ6xUw/agent.70 14:09:26 SSH_AGENT_PID=76 14:09:26 Running ssh-add (command line suppressed) 14:09:26 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7072639344316331639.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7072639344316331639.key) 14:09:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:09:26 + git semver init 14:09:26 2023-05-11 14:09:26,665 [run_init] DEBUG init version:0.0.0 force:False 14:09:26 2023-05-11 14:09:26,666 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 14:09:26 2023-05-11 14:09:26,667 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 14:09:26 2023-05-11 14:09:26,667 [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) 14:09:28 2023-05-11 14:09:27,716 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 14:09:28 2023-05-11 14:09:27,716 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 14:09:28 2023-05-11 14:09:27,717 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:09:28 2023-05-11 14:09:27,717 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:09:28 3.0.0-dev.46 [Pipeline] } 14:09:28 $ docker exec --env ******** --env ******** e8939e6ad89f9048db4b0ee618994cd4611a4720f7e3c5d1877d1fb4d48ec9d7 ssh-agent -k 14:09:28 unset SSH_AUTH_SOCK; 14:09:28 unset SSH_AGENT_PID; 14:09:28 echo Agent pid 76 killed; 14:09:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:09:28 + git semver [Pipeline] } 14:09:28 $ docker stop --time=1 e8939e6ad89f9048db4b0ee618994cd4611a4720f7e3c5d1877d1fb4d48ec9d7 14:09:30 $ docker rm -f --volumes e8939e6ad89f9048db4b0ee618994cd4611a4720f7e3c5d1877d1fb4d48ec9d7 [Pipeline] // withDockerContainer [Pipeline] sh 14:09:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:09:30 Stashed 1 file(s) [Pipeline] echo 14:09:30 [edgeXSemver]: initialized semver on version 3.0.0-dev.46 [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 14:09:30 provisioning config files... 14:09:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8766488959850986388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:09:31 ---> docker-login.sh 14:09:31 nexus3.edgexfoundry.org:10001 14:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:31 Configure a credential helper to remove this warning. See 14:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:31 14:09:31 Login Succeeded 14:09:31 nexus3.edgexfoundry.org:10002 14:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:31 Configure a credential helper to remove this warning. See 14:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:31 14:09:31 Login Succeeded 14:09:31 nexus3.edgexfoundry.org:10003 14:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:31 Configure a credential helper to remove this warning. See 14:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:31 14:09:31 Login Succeeded 14:09:31 nexus3.edgexfoundry.org:10004 14:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:31 Configure a credential helper to remove this warning. See 14:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:31 14:09:31 Login Succeeded 14:09:31 docker.io 14:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:09:31 Configure a credential helper to remove this warning. See 14:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:09:31 14:09:31 Login Succeeded 14:09:31 ---> docker-login.sh ends [Pipeline] } 14:09:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:09:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:09:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:09:31 ========================================================= 14:09:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 14:09:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 14:09:32 Sending build context to Docker daemon 23.64MB 14:09:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 14:09:32 Step 2/12 : FROM ${BASE} AS builder 14:09:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 14:09:32 f56be85fc22e: Pulling fs layer 14:09:32 85791d961cd3: Pulling fs layer 14:09:32 d694b5ae8c79: Pulling fs layer 14:09:32 9f32a84ed3da: Pulling fs layer 14:09:32 4d19c01a9841: Pulling fs layer 14:09:32 9325e15d5711: Pulling fs layer 14:09:32 556b6ee489ea: Pulling fs layer 14:09:32 c5a4b2cf53e6: Pulling fs layer 14:09:32 9f32a84ed3da: Waiting 14:09:32 4d19c01a9841: Waiting 14:09:32 9325e15d5711: Waiting 14:09:32 556b6ee489ea: Waiting 14:09:32 c5a4b2cf53e6: Waiting 14:09:32 85791d961cd3: Verifying Checksum 14:09:32 85791d961cd3: Download complete 14:09:32 9f32a84ed3da: Verifying Checksum 14:09:32 9f32a84ed3da: Download complete 14:09:32 4d19c01a9841: Verifying Checksum 14:09:32 4d19c01a9841: Download complete 14:09:32 f56be85fc22e: Verifying Checksum 14:09:32 f56be85fc22e: Download complete 14:09:32 9325e15d5711: Verifying Checksum 14:09:32 9325e15d5711: Download complete 14:09:32 f56be85fc22e: Pull complete 14:09:32 85791d961cd3: Pull complete 14:09:32 d694b5ae8c79: Verifying Checksum 14:09:32 d694b5ae8c79: Download complete 14:09:33 c5a4b2cf53e6: Verifying Checksum 14:09:33 c5a4b2cf53e6: Download complete 14:09:33 556b6ee489ea: Verifying Checksum 14:09:36 d694b5ae8c79: Pull complete 14:09:36 9f32a84ed3da: Pull complete 14:09:36 4d19c01a9841: Pull complete 14:09:36 9325e15d5711: Pull complete 14:09:38 556b6ee489ea: Pull complete 14:09:39 c5a4b2cf53e6: Pull complete 14:09:39 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 14:09:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 14:09:39 ---> c4be618373d6 14:09:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:09:44 ---> Running in 417bda4c3eb3 14:09:44 Removing intermediate container 417bda4c3eb3 14:09:44 ---> df7074f556e2 14:09:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:09:44 ---> Running in 21e845f74011 14:09:44 Removing intermediate container 21e845f74011 14:09:44 ---> a266b06e76b2 14:09:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 14:09:44 ---> Running in 02d5d83a430d 14:09:44 Removing intermediate container 02d5d83a430d 14:09:44 ---> b846e421a15d 14:09:44 Step 6/12 : WORKDIR /device-virtual-go 14:09:44 ---> Running in d5691d2178dd 14:09:44 Removing intermediate container d5691d2178dd 14:09:44 ---> 78d56b2e2bc4 14:09:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:09:44 ---> Running in 4c9f3c87eca1 14:09:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:09:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:09:44 (1/4) Installing openssh-keygen (9.1_p1-r2) 14:09:44 (2/4) Installing libedit (20221030.3.1-r0) 14:09:44 (3/4) Installing openssh-client-common (9.1_p1-r2) 14:09:44 (4/4) Installing openssh-client-default (9.1_p1-r2) 14:09:44 Executing busybox-1.35.0-r29.trigger 14:09:44 OK: 269 MiB in 57 packages 14:09:45 Removing intermediate container 4c9f3c87eca1 14:09:45 ---> 0013cd781fd2 14:09:45 Step 8/12 : COPY go.mod vendor* ./ 14:09:45 ---> 586c1948895b 14:09:45 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:09:45 ---> Running in 4c7099abcebc 14:09:45 Still waiting to schedule task 14:09:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:10:17 Removing intermediate container 4c7099abcebc 14:10:17 ---> fd1f79d66bdf 14:10:17 Step 10/12 : COPY . . 14:10:17 ---> 7c7951f57e13 14:10:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:10:17 ---> Running in 308ebd83bc2e 14:10:17 Removing intermediate container 308ebd83bc2e 14:10:17 ---> bfcdf1ac3bd6 14:10:17 Step 12/12 : RUN $MAKE 14:10:17 ---> Running in 3e214614c333 14:10:17 noop 14:10:17 Removing intermediate container 3e214614c333 14:10:17 ---> 081bbe20d9fc 14:10:17 Successfully built 081bbe20d9fc 14:10:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:17 + docker inspect -f . ci-base-image-x86_64 14:10:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:10:17 prd-ubuntu20.04-docker-8c-8g-15205 does not seem to be running inside a container 14:10:17 $ 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 14:10:18 $ docker top aab6f74144486bf207922b5c1d030d9ad02fc6e1949e2a9741e84f73d688569b -eo pid,comm [Pipeline] { [Pipeline] sh 14:10:18 + go version 14:10:18 go version go1.20.2 linux/amd64 [Pipeline] } 14:10:18 $ docker stop --time=1 aab6f74144486bf207922b5c1d030d9ad02fc6e1949e2a9741e84f73d688569b 14:10:19 $ docker rm -f --volumes aab6f74144486bf207922b5c1d030d9ad02fc6e1949e2a9741e84f73d688569b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:20 + docker inspect -f . ci-base-image-x86_64 14:10:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:10:20 prd-ubuntu20.04-docker-8c-8g-15205 does not seem to be running inside a container 14:10:20 $ 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 14:10:20 $ docker top fc3a1128c660f29ccde2215659e78ddaf93deff339a76f4aebcdde39fa1ce703 -eo pid,comm [Pipeline] { [Pipeline] sh 14:10:20 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 14:10:21 + make test 14:10:21 go test ./... -coverprofile=coverage.out 14:10:26 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:10:34 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:10:34 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.022s coverage: 58.6% of statements 14:10:40 go vet ./... 14:10:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:10:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:10:44 ./bin/test-attribution-txt.sh [Pipeline] echo 14:10:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:10:44 $ docker stop --time=1 fc3a1128c660f29ccde2215659e78ddaf93deff339a76f4aebcdde39fa1ce703 14:10:46 $ docker rm -f --volumes fc3a1128c660f29ccde2215659e78ddaf93deff339a76f4aebcdde39fa1ce703 [Pipeline] // withDockerContainer [Pipeline] sh 14:10:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:10:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:10:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:10:48 + ls -al . 14:10:48 total 192 14:10:48 drwxrwxr-x 9 jenkins jenkins 4096 May 11 14:10 . 14:10:48 drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:09 .. 14:10:48 drwxrwxr-x 8 jenkins jenkins 4096 May 11 14:09 .git 14:10:48 drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:09 .github 14:10:48 -rw-rw-r-- 1 jenkins jenkins 337 May 11 14:09 .gitignore 14:10:48 -rw-rw-r-- 1 jenkins jenkins 41 May 11 14:09 .golangci.yml 14:10:48 drwxr-xr-x 3 jenkins jenkins 4096 May 11 14:09 .semver 14:10:48 -rw-rw-r-- 1 jenkins jenkins 8652 May 11 14:09 Attribution.txt 14:10:48 -rw-rw-r-- 1 jenkins jenkins 11367 May 11 14:09 CHANGELOG.md 14:10:48 -rw-rw-r-- 1 jenkins jenkins 1646 May 11 14:09 Dockerfile 14:10:48 -rw-rw-r-- 1 jenkins jenkins 677 May 11 14:09 GOVERNANCE.md 14:10:48 -rw-rw-r-- 1 jenkins jenkins 660 May 11 14:09 Jenkinsfile 14:10:48 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 14:09 LICENSE 14:10:48 -rw-rw-r-- 1 jenkins jenkins 1696 May 11 14:09 Makefile 14:10:48 -rw-rw-r-- 1 jenkins jenkins 623 May 11 14:09 OWNERS.md 14:10:48 -rw-rw-r-- 1 jenkins jenkins 4087 May 11 14:09 README.md 14:10:48 -rw-rw-r-- 1 jenkins jenkins 12 May 11 14:09 VERSION 14:10:48 drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:09 bin 14:10:48 drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:09 cmd 14:10:48 -rw-r--r-- 1 jenkins jenkins 43063 May 11 14:10 coverage.out 14:10:48 -rw-rw-r-- 1 jenkins jenkins 3209 May 11 14:09 go.mod 14:10:48 -rw-rw-r-- 1 jenkins jenkins 30994 May 11 14:09 go.sum 14:10:48 drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:09 internal 14:10:48 drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:09 snap 14:10:48 -rw-rw-r-- 1 jenkins jenkins 235 May 11 14:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:48 + 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=6a6923f6f990075cc9d362fe0d250c605a9d159f --label arch=amd64 --label version=3.0.0-dev.46 . 14:10:48 Sending build context to Docker daemon 23.68MB 14:10:48 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 14:10:48 Step 2/25 : FROM ${BASE} AS builder 14:10:48 ---> 081bbe20d9fc 14:10:48 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:10:48 ---> Running in 99f28cdc8eaa 14:10:48 Removing intermediate container 99f28cdc8eaa 14:10:48 ---> c6629e3dbe75 14:10:48 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 14:10:48 ---> Running in 3dff927e92ae 14:10:48 Removing intermediate container 3dff927e92ae 14:10:48 ---> 335ba0f28747 14:10:48 Step 5/25 : ARG ADD_BUILD_TAGS="" 14:10:48 ---> Running in 1e3c200d29bc 14:10:48 Removing intermediate container 1e3c200d29bc 14:10:48 ---> 1a3bcc8b4c3a 14:10:48 Step 6/25 : WORKDIR /device-virtual-go 14:10:48 ---> Running in 049906666bf6 14:10:48 Removing intermediate container 049906666bf6 14:10:48 ---> eac8e6c488b2 14:10:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:10:48 ---> Running in 7dc9897076e6 14:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:10:49 OK: 269 MiB in 57 packages 14:10:49 Removing intermediate container 7dc9897076e6 14:10:49 ---> eff1965d50fc 14:10:49 Step 8/25 : COPY go.mod vendor* ./ 14:10:49 ---> cb61492c6442 14:10:49 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:10:49 ---> Running in d39c0d8f83f1 14:10:50 Removing intermediate container d39c0d8f83f1 14:10:50 ---> 5c4cdf3d2e4b 14:10:50 Step 10/25 : COPY . . 14:10:51 ---> 6de1fb3977b8 14:10:51 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:10:51 ---> Running in 529208fdfc1c 14:10:51 Removing intermediate container 529208fdfc1c 14:10:51 ---> 3157b3ba718a 14:10:51 Step 12/25 : RUN $MAKE 14:10:51 ---> Running in baabc797ff94 14:10:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.46" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 14:11:09 Removing intermediate container baabc797ff94 14:11:09 ---> 74f7cbfc9910 14:11:09 Step 13/25 : FROM alpine:3.17 14:11:09 3.17: Pulling from library/alpine 14:11:09 f56be85fc22e: Already exists 14:11:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 14:11:09 Status: Downloaded newer image for alpine:3.17 14:11:09 ---> 9ed4aefc74f6 14:11:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 14:11:09 ---> Running in 2c371f1eebe9 14:11:09 Removing intermediate container 2c371f1eebe9 14:11:09 ---> b67ef4d218f3 14:11:09 Step 15/25 : RUN apk add --update --no-cache dumb-init 14:11:09 ---> Running in 355bbe694cc4 14:11:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:11:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:11:09 (1/1) Installing dumb-init (1.2.5-r2) 14:11:09 Executing busybox-1.35.0-r29.trigger 14:11:09 OK: 7 MiB in 16 packages 14:11:10 Removing intermediate container 355bbe694cc4 14:11:10 ---> ca644873b585 14:11:10 Step 16/25 : WORKDIR / 14:11:10 ---> Running in 300c9d108271 14:11:10 Removing intermediate container 300c9d108271 14:11:10 ---> 49be2e474045 14:11:10 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 14:11:10 ---> 63a848f7b05b 14:11:10 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 14:11:10 ---> fd165ae1329e 14:11:10 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 14:11:11 ---> aa6a28465a11 14:11:11 Step 20/25 : EXPOSE 59900 14:11:11 ---> Running in 4886ec361199 14:11:11 Removing intermediate container 4886ec361199 14:11:11 ---> f79a8b650046 14:11:11 Step 21/25 : ENTRYPOINT ["/device-virtual"] 14:11:11 ---> Running in 8a8fe144425f 14:11:11 Removing intermediate container 8a8fe144425f 14:11:11 ---> 1312a62e45f2 14:11:11 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 14:11:11 ---> Running in fe01db668b3c 14:11:11 Removing intermediate container fe01db668b3c 14:11:11 ---> 9ffbc8b2ee34 14:11:11 Step 23/25 : LABEL arch=amd64 14:11:11 ---> Running in 955a310f4ef3 14:11:11 Removing intermediate container 955a310f4ef3 14:11:11 ---> 9a57fc142a2c 14:11:11 Step 24/25 : LABEL git_sha=6a6923f6f990075cc9d362fe0d250c605a9d159f 14:11:11 ---> Running in 7b8df6156a9d 14:11:11 Removing intermediate container 7b8df6156a9d 14:11:11 ---> 598a289a654c 14:11:11 Step 25/25 : LABEL version=3.0.0-dev.46 14:11:11 ---> Running in e0f366e0e12a 14:11:11 Removing intermediate container e0f366e0e12a 14:11:11 ---> 1943fc71ded2 14:11:11 [Warning] One or more build-args [ARCH] were not consumed 14:11:11 Successfully built 1943fc71ded2 14:11:11 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:11:12 provisioning config files... 14:11:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4884162487920750191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:11:12 ---> docker-login.sh 14:11:12 nexus3.edgexfoundry.org:10001 14:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:12 Configure a credential helper to remove this warning. See 14:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:12 14:11:12 Login Succeeded 14:11:12 nexus3.edgexfoundry.org:10002 14:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:12 Configure a credential helper to remove this warning. See 14:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:12 14:11:12 Login Succeeded 14:11:12 nexus3.edgexfoundry.org:10003 14:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:12 Configure a credential helper to remove this warning. See 14:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:12 14:11:12 Login Succeeded 14:11:12 nexus3.edgexfoundry.org:10004 14:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:12 Configure a credential helper to remove this warning. See 14:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:12 14:11:12 Login Succeeded 14:11:12 docker.io 14:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:12 Configure a credential helper to remove this warning. See 14:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:12 14:11:12 Login Succeeded 14:11:12 ---> docker-login.sh ends [Pipeline] } 14:11:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:11:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:11:12 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 14:11:12 6a6923f6f990075cc9d362fe0d250c605a9d159f 14:11:12 latest 14:11:12 3.0.0-dev.46 14:11:12 6a6923f6f990075cc9d362fe0d250c605a9d159f-3.0.0-dev.46 14:11:12 main 14:11:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:13 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:6a6923f6f990075cc9d362fe0d250c605a9d159f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual:6a6923f6f990075cc9d362fe0d250c605a9d159f 14:11:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:11:13 ae2d2469c455: Preparing 14:11:13 eab40dba2266: Preparing 14:11:13 5318529fe557: Preparing 14:11:13 a488829a5e0f: Preparing 14:11:13 f1417ff83b31: Preparing 14:11:13 f1417ff83b31: Layer already exists 14:11:13 a488829a5e0f: Pushed 14:11:13 eab40dba2266: Pushed 14:11:13 5318529fe557: Pushed 14:11:16 ae2d2469c455: Pushed 14:11:16 6a6923f6f990075cc9d362fe0d250c605a9d159f: digest: sha256:11780b0a22a855af3f882f7f867e8876da2e3ae2f408e176dc7af67bc2f81a7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:16 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 14:11:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:11:16 ae2d2469c455: Preparing 14:11:16 eab40dba2266: Preparing 14:11:16 5318529fe557: Preparing 14:11:16 a488829a5e0f: Preparing 14:11:16 f1417ff83b31: Preparing 14:11:16 a488829a5e0f: Layer already exists 14:11:16 5318529fe557: Layer already exists 14:11:16 ae2d2469c455: Layer already exists 14:11:16 f1417ff83b31: Layer already exists 14:11:16 eab40dba2266: Layer already exists 14:11:16 latest: digest: sha256:11780b0a22a855af3f882f7f867e8876da2e3ae2f408e176dc7af67bc2f81a7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:17 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.46 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.46 14:11:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:11:17 ae2d2469c455: Preparing 14:11:17 eab40dba2266: Preparing 14:11:17 5318529fe557: Preparing 14:11:17 a488829a5e0f: Preparing 14:11:17 f1417ff83b31: Preparing 14:11:17 5318529fe557: Layer already exists 14:11:17 ae2d2469c455: Layer already exists 14:11:17 a488829a5e0f: Layer already exists 14:11:17 f1417ff83b31: Layer already exists 14:11:17 eab40dba2266: Layer already exists 14:11:17 3.0.0-dev.46: digest: sha256:11780b0a22a855af3f882f7f867e8876da2e3ae2f408e176dc7af67bc2f81a7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:17 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:6a6923f6f990075cc9d362fe0d250c605a9d159f-3.0.0-dev.46 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15206 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 14:11:17 Running in /w/workspace/device-virtual-go/118 [Pipeline] { [Pipeline] checkout 14:11:17 The recommended git tool is: git 14:11:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual:6a6923f6f990075cc9d362fe0d250c605a9d159f-3.0.0-dev.46 14:11:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:11:17 ae2d2469c455: Preparing 14:11:17 eab40dba2266: Preparing 14:11:17 5318529fe557: Preparing 14:11:17 a488829a5e0f: Preparing 14:11:17 f1417ff83b31: Preparing 14:11:17 eab40dba2266: Layer already exists 14:11:17 ae2d2469c455: Layer already exists 14:11:17 5318529fe557: Layer already exists 14:11:17 a488829a5e0f: Layer already exists 14:11:17 f1417ff83b31: Layer already exists 14:11:17 6a6923f6f990075cc9d362fe0d250c605a9d159f-3.0.0-dev.46: digest: sha256:11780b0a22a855af3f882f7f867e8876da2e3ae2f408e176dc7af67bc2f81a7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:18 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 14:11:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:11:18 ae2d2469c455: Preparing 14:11:18 eab40dba2266: Preparing 14:11:18 5318529fe557: Preparing 14:11:18 a488829a5e0f: Preparing 14:11:18 f1417ff83b31: Preparing 14:11:18 eab40dba2266: Layer already exists 14:11:18 5318529fe557: Layer already exists 14:11:18 a488829a5e0f: Layer already exists 14:11:18 ae2d2469c455: Layer already exists 14:11:18 f1417ff83b31: Layer already exists 14:11:18 main: digest: sha256:11780b0a22a855af3f882f7f867e8876da2e3ae2f408e176dc7af67bc2f81a7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:11:18 ===================================================== [Pipeline] echo 14:11:18 taggedImages: 14:11:18 - nexus3.edgexfoundry.org:10004/device-virtual:6a6923f6f990075cc9d362fe0d250c605a9d159f 14:11:18 - nexus3.edgexfoundry.org:10004/device-virtual:latest 14:11:18 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.46 14:11:18 - nexus3.edgexfoundry.org:10004/device-virtual:6a6923f6f990075cc9d362fe0d250c605a9d159f-3.0.0-dev.46 14:11:18 - 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 14:11:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:11:19 14:11:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:11:19 latest: Pulling from edgex-lftools-log-publisher 14:11:19 5eb5b503b376: Pulling fs layer 14:11:19 5c69ac0246d0: Pulling fs layer 14:11:19 ec43610c2a17: Pulling fs layer 14:11:19 3a2ae6a8a46f: Pulling fs layer 14:11:19 33b1e0a273af: Pulling fs layer 14:11:19 5d3b04190fa2: Pulling fs layer 14:11:19 2f39f015ded8: Pulling fs layer 14:11:19 3a2ae6a8a46f: Waiting 14:11:19 33b1e0a273af: Waiting 14:11:19 5c69ac0246d0: Download complete 14:11:19 3a2ae6a8a46f: Verifying Checksum 14:11:19 3a2ae6a8a46f: Download complete 14:11:19 33b1e0a273af: Verifying Checksum 14:11:19 33b1e0a273af: Download complete 14:11:19 ec43610c2a17: Verifying Checksum 14:11:19 ec43610c2a17: Download complete 14:11:19 5d3b04190fa2: Verifying Checksum 14:11:19 5d3b04190fa2: Download complete 14:11:19 5eb5b503b376: Download complete 14:11:20 2f39f015ded8: Download complete 14:11:20 5eb5b503b376: Pull complete 14:11:20 5c69ac0246d0: Pull complete 14:11:21 ec43610c2a17: Pull complete 14:11:21 3a2ae6a8a46f: Pull complete 14:11:21 33b1e0a273af: Pull complete 14:11:21 5d3b04190fa2: Pull complete 14:11:23 using credential edgex-jenkins-ssh 14:11:23 Cloning the remote Git repository 14:11:23 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 14:11:23 > git init /w/workspace/device-virtual-go/118 # timeout=10 14:11:23 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:11:23 > git --version # timeout=10 14:11:23 > git --version # 'git version 2.25.1' 14:11:23 using GIT_SSH to set credentials SSH Credentials for GitHub 14:11:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:11:26 2f39f015ded8: Pull complete 14:11:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:11:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:11:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:11:26 prd-ubuntu20.04-docker-8c-8g-15205 does not seem to be running inside a container 14:11:26 $ 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 14:11:26 Avoid second fetch 14:11:26 Checking out Revision 6a6923f6f990075cc9d362fe0d250c605a9d159f (main) 14:11:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:11:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:11:26 > git config core.sparsecheckout # timeout=10 14:11:26 > git checkout -f 6a6923f6f990075cc9d362fe0d250c605a9d159f # timeout=10 14:11:26 Commit message: "Merge pull request #406 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.90" 14:11:27 14:11:27 GitHub has been notified of this commit’s build result 14:11:27 14:11:30 $ docker top 855471201b6717cb7006e5dc223777ee69d3c0f66a761ac89bbd47bdc6428a7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:11:31 ---> job-cost.sh 14:11:31 lf-activate-venv: SKIPPING 14:11:31 INFO: No Stack... 14:11:31 INFO: Retrieving Pricing Info for: v3-standard-8 14:11:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:11:31 % Total % Received % Xferd Average Speed Time Time Time Current 14:11:31 Dload Upload Total Spent Left Speed 14:11:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85577 [Pipeline] sh 14:11:32 INFO: Archiving Costs [Pipeline] sh 14:11:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:11:32 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 14:11:32 + cut -d, -f6 [Pipeline] lock 14:11:32 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-118-stack-cost] 14:11:32 Resource [jenkins-edgexfoundry-device-virtual-go-main-118-stack-cost] did not exist. Created. 14:11:32 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-118-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:11:32 + sudo tee /etc/docker/daemon.new 14:11:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:11:32 { 14:11:32 "registry-mirrors": [ 14:11:32 "https://nexus3.edgexfoundry.org:10001" 14:11:32 ], 14:11:32 "bip": "10.250.0.254/24", 14:11:32 "hosts": [ 14:11:32 "tcp://0.0.0.0:5555", 14:11:32 "unix:///var/run/docker.sock" 14:11:32 ], 14:11:32 "mtu": 1458, 14:11:32 "selinux-enabled": true, 14:11:32 "seccomp-profile": "/etc/docker/seccomp.json" 14:11:32 } [Pipeline] sh 14:11:32 + echo total: 0.2199999988079071 [Pipeline] stash 14:11:32 Stashed 1 file(s) [Pipeline] } 14:11:32 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-118-stack-cost] [Pipeline] // lock [Pipeline] } 14:11:32 $ docker stop --time=1 855471201b6717cb7006e5dc223777ee69d3c0f66a761ac89bbd47bdc6428a7e 14:11:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 14:11:33 $ docker rm -f --volumes 855471201b6717cb7006e5dc223777ee69d3c0f66a761ac89bbd47bdc6428a7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:11:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:11:52 provisioning config files... 14:11:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/118@tmp/config11748101831689328510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:11:52 ---> docker-login.sh 14:11:52 nexus3.edgexfoundry.org:10001 14:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:53 Configure a credential helper to remove this warning. See 14:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:53 14:11:53 Login Succeeded 14:11:53 nexus3.edgexfoundry.org:10002 14:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:54 Configure a credential helper to remove this warning. See 14:11:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:54 14:11:54 Login Succeeded 14:11:54 nexus3.edgexfoundry.org:10003 14:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:54 Configure a credential helper to remove this warning. See 14:11:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:54 14:11:54 Login Succeeded 14:11:54 nexus3.edgexfoundry.org:10004 14:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:54 Configure a credential helper to remove this warning. See 14:11:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:54 14:11:54 Login Succeeded 14:11:54 docker.io 14:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:55 Configure a credential helper to remove this warning. See 14:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:55 14:11:55 Login Succeeded 14:11:55 ---> docker-login.sh ends [Pipeline] } 14:11:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:11:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:11:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:11:55 ========================================================= 14:11:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 14:11:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 14:11:56 Sending build context to Docker daemon 11.98MB 14:11:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 14:11:56 Step 2/12 : FROM ${BASE} AS builder 14:11:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:11:56 c41833b44d91: Pulling fs layer 14:11:56 ed15518f5707: Pulling fs layer 14:11:56 feae8fd75edb: Pulling fs layer 14:11:56 242c74f7c9fa: Pulling fs layer 14:11:56 3cdef696dda3: Pulling fs layer 14:11:56 2ced38df9373: Pulling fs layer 14:11:56 58f1dce35555: Pulling fs layer 14:11:56 242c74f7c9fa: Waiting 14:11:56 3cdef696dda3: Waiting 14:11:56 2ced38df9373: Waiting 14:11:56 58f1dce35555: Waiting 14:11:56 ed15518f5707: Download complete 14:11:56 242c74f7c9fa: Download complete 14:11:56 c41833b44d91: Verifying Checksum 14:11:56 c41833b44d91: Download complete 14:11:56 3cdef696dda3: Download complete 14:11:58 58f1dce35555: Verifying Checksum 14:11:58 58f1dce35555: Download complete 14:11:58 feae8fd75edb: Verifying Checksum 14:11:58 feae8fd75edb: Download complete 14:11:59 2ced38df9373: Verifying Checksum 14:11:59 2ced38df9373: Download complete 14:12:00 c41833b44d91: Pull complete 14:12:00 ed15518f5707: Pull complete 14:12:10 feae8fd75edb: Pull complete 14:12:10 242c74f7c9fa: Pull complete 14:12:11 3cdef696dda3: Pull complete 14:12:18 2ced38df9373: Pull complete 14:12:21 58f1dce35555: Pull complete 14:12:21 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 14:12:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 14:12:21 ---> fadd8f120f05 14:12:21 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:12:22 ---> Running in 33a84bc70b82 14:12:23 Removing intermediate container 33a84bc70b82 14:12:23 ---> 763a099a1a45 14:12:23 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:12:23 ---> Running in 6e6e2a3a50ce 14:12:23 Removing intermediate container 6e6e2a3a50ce 14:12:23 ---> 7b500b9233f6 14:12:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 14:12:23 ---> Running in 01fcabc59ed3 14:12:24 Removing intermediate container 01fcabc59ed3 14:12:24 ---> 9995cbbdb304 14:12:24 Step 6/12 : WORKDIR /device-virtual-go 14:12:24 ---> Running in bf6d69793314 14:12:24 Removing intermediate container bf6d69793314 14:12:24 ---> 7bdf769a6bf1 14:12:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:12:24 ---> Running in 2da25d400d19 14:12:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:12:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:12:29 (1/4) Installing openssh-keygen (9.1_p1-r2) 14:12:29 (2/4) Installing libedit (20221030.3.1-r0) 14:12:29 (3/4) Installing openssh-client-common (9.1_p1-r2) 14:12:29 (4/4) Installing openssh-client-default (9.1_p1-r2) 14:12:29 Executing busybox-1.35.0-r29.trigger 14:12:29 OK: 268 MiB in 57 packages 14:12:30 Removing intermediate container 2da25d400d19 14:12:30 ---> e2486743b437 14:12:30 Step 8/12 : COPY go.mod vendor* ./ 14:12:30 ---> db3ab3fd9df3 14:12:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:12:30 ---> Running in 0608c77dc006 14:13:38 Removing intermediate container 0608c77dc006 14:13:38 ---> 363d4f73a1b3 14:13:38 Step 10/12 : COPY . . 14:13:38 ---> ca293a914f05 14:13:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:13:38 ---> Running in fa6521072385 14:13:38 Removing intermediate container fa6521072385 14:13:38 ---> 4d7052e2043d 14:13:38 Step 12/12 : RUN $MAKE 14:13:38 ---> Running in 8364dbb9e188 14:13:38 noop 14:13:38 Removing intermediate container 8364dbb9e188 14:13:38 ---> 2de9e930dfcb 14:13:38 Successfully built 2de9e930dfcb 14:13:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:39 + docker inspect -f . ci-base-image-arm64 14:13:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:13:39 prd-ubuntu20.04-docker-arm64-4c-16g-15206 does not seem to be running inside a container 14:13:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/118 -v /w/workspace/device-virtual-go/118:/w/workspace/device-virtual-go/118:rw,z -v /w/workspace/device-virtual-go/118@tmp:/w/workspace/device-virtual-go/118@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 14:13:40 $ docker top 4826962dfcde7c0d254ff0dc0affabe9f5c92a1e2582dbbda06b72fc6746f58e -eo pid,comm [Pipeline] { [Pipeline] sh 14:13:41 + go version 14:13:41 go version go1.20.2 linux/arm64 [Pipeline] } 14:13:41 $ docker stop --time=1 4826962dfcde7c0d254ff0dc0affabe9f5c92a1e2582dbbda06b72fc6746f58e 14:13:43 $ docker rm -f --volumes 4826962dfcde7c0d254ff0dc0affabe9f5c92a1e2582dbbda06b72fc6746f58e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:43 + docker inspect -f . ci-base-image-arm64 14:13:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:13:43 prd-ubuntu20.04-docker-arm64-4c-16g-15206 does not seem to be running inside a container 14:13:43 $ 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/118 -v /w/workspace/device-virtual-go/118:/w/workspace/device-virtual-go/118:rw,z -v /w/workspace/device-virtual-go/118@tmp:/w/workspace/device-virtual-go/118@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 14:13:45 $ docker top b31b84e8f0f4de42f1a649495ffcef46f1f31f894182dd9a85b6e5684aed60f1 -eo pid,comm [Pipeline] { [Pipeline] sh 14:13:46 + git config --global --add safe.directory /w/workspace/device-virtual-go/118 [Pipeline] fileExists [Pipeline] sh 14:13:46 + make test 14:13:46 go test ./... -coverprofile=coverage.out 14:14:19 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:16:40 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:16:40 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.119s coverage: 58.4% of statements 14:16:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:16:40 go vet ./... 14:17:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:17:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:17:02 ./bin/test-attribution-txt.sh [Pipeline] echo 14:17:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:17:02 $ docker stop --time=1 b31b84e8f0f4de42f1a649495ffcef46f1f31f894182dd9a85b6e5684aed60f1 14:17:04 $ docker rm -f --volumes b31b84e8f0f4de42f1a649495ffcef46f1f31f894182dd9a85b6e5684aed60f1 [Pipeline] // withDockerContainer [Pipeline] sh 14:17:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:17:06 Warning: overwriting stash ‘coverage-report’ 14:17:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:17:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:17:07 + ls -al . 14:17:07 total 188 14:17:07 drwxrwxr-x 8 jenkins jenkins 4096 May 11 14:13 . 14:17:07 drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:11 .. 14:17:07 drwxrwxr-x 8 jenkins jenkins 4096 May 11 14:11 .git 14:17:07 drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:11 .github 14:17:07 -rw-rw-r-- 1 jenkins jenkins 337 May 11 14:11 .gitignore 14:17:07 -rw-rw-r-- 1 jenkins jenkins 41 May 11 14:11 .golangci.yml 14:17:07 -rw-rw-r-- 1 jenkins jenkins 8652 May 11 14:11 Attribution.txt 14:17:07 -rw-rw-r-- 1 jenkins jenkins 11367 May 11 14:11 CHANGELOG.md 14:17:07 -rw-rw-r-- 1 jenkins jenkins 1646 May 11 14:11 Dockerfile 14:17:07 -rw-rw-r-- 1 jenkins jenkins 677 May 11 14:11 GOVERNANCE.md 14:17:07 -rw-rw-r-- 1 jenkins jenkins 660 May 11 14:11 Jenkinsfile 14:17:07 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 14:11 LICENSE 14:17:07 -rw-rw-r-- 1 jenkins jenkins 1696 May 11 14:11 Makefile 14:17:07 -rw-rw-r-- 1 jenkins jenkins 623 May 11 14:11 OWNERS.md 14:17:07 -rw-rw-r-- 1 jenkins jenkins 4087 May 11 14:11 README.md 14:17:07 -rw-rw-r-- 1 jenkins jenkins 12 May 11 14:09 VERSION 14:17:07 drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:11 bin 14:17:07 drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:11 cmd 14:17:07 -rw-r--r-- 1 jenkins jenkins 43063 May 11 14:16 coverage.out 14:17:07 -rw-rw-r-- 1 jenkins jenkins 3209 May 11 14:11 go.mod 14:17:07 -rw-rw-r-- 1 jenkins jenkins 30994 May 11 14:11 go.sum 14:17:07 drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:11 internal 14:17:07 drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:11 snap 14:17:07 -rw-rw-r-- 1 jenkins jenkins 235 May 11 14:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:17:08 + 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=6a6923f6f990075cc9d362fe0d250c605a9d159f --label arch=arm64 --label version=3.0.0-dev.46 . 14:17:08 Sending build context to Docker daemon 12.03MB 14:17:08 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 14:17:08 Step 2/25 : FROM ${BASE} AS builder 14:17:08 ---> 2de9e930dfcb 14:17:08 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:17:08 ---> Running in d9fcebcb612e 14:17:09 Removing intermediate container d9fcebcb612e 14:17:09 ---> efcc8be76a5c 14:17:09 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 14:17:09 ---> Running in ae9804f041e1 14:17:09 Removing intermediate container ae9804f041e1 14:17:09 ---> 7e75d9017dd2 14:17:09 Step 5/25 : ARG ADD_BUILD_TAGS="" 14:17:09 ---> Running in d3aae8700d4c 14:17:10 Removing intermediate container d3aae8700d4c 14:17:10 ---> 00c2add8effd 14:17:10 Step 6/25 : WORKDIR /device-virtual-go 14:17:10 ---> Running in 57eef670834f 14:17:10 Removing intermediate container 57eef670834f 14:17:10 ---> 1efbf357a465 14:17:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:17:10 ---> Running in 0942471f7bb0 14:17:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:17:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:17:13 OK: 268 MiB in 57 packages 14:17:14 Removing intermediate container 0942471f7bb0 14:17:14 ---> ba0518bb6031 14:17:14 Step 8/25 : COPY go.mod vendor* ./ 14:17:15 ---> 23eef96cecaa 14:17:15 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:17:15 ---> Running in 7194d0060db3 14:17:18 Removing intermediate container 7194d0060db3 14:17:18 ---> 16fd4b6737ad 14:17:18 Step 10/25 : COPY . . 14:17:19 ---> d32a050eed57 14:17:19 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:17:19 ---> Running in 0b1a26faff40 14:17:20 Removing intermediate container 0b1a26faff40 14:17:20 ---> 4a65e2b3b369 14:17:20 Step 12/25 : RUN $MAKE 14:17:20 ---> Running in f7570059712b 14:17:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.46" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 14:19:57 Removing intermediate container f7570059712b 14:19:57 ---> abdd4244e9da 14:19:57 Step 13/25 : FROM alpine:3.17 14:19:57 3.17: Pulling from library/alpine 14:19:57 c41833b44d91: Already exists 14:19:57 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 14:19:57 Status: Downloaded newer image for alpine:3.17 14:19:57 ---> 51e60588ff2c 14:19:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 14:19:57 ---> Running in 48f67d62892b 14:19:57 Removing intermediate container 48f67d62892b 14:19:57 ---> 3db45e4df3e4 14:19:57 Step 15/25 : RUN apk add --update --no-cache dumb-init 14:19:57 ---> Running in 99f1e4c8f737 14:19:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:19:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:19:57 (1/1) Installing dumb-init (1.2.5-r2) 14:19:57 Executing busybox-1.35.0-r29.trigger 14:19:57 OK: 8 MiB in 16 packages 14:19:57 Removing intermediate container 99f1e4c8f737 14:19:57 ---> 84313914020b 14:19:57 Step 16/25 : WORKDIR / 14:19:57 ---> Running in f59336fda90b 14:19:57 Removing intermediate container f59336fda90b 14:19:57 ---> 1f6d80cf8c5f 14:19:57 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 14:20:00 ---> 8dd9704dd784 14:20:00 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 14:20:00 ---> d115cb646c5d 14:20:00 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 14:20:02 ---> bfccdbba17e2 14:20:02 Step 20/25 : EXPOSE 59900 14:20:02 ---> Running in ecff019d741e 14:20:02 Removing intermediate container ecff019d741e 14:20:02 ---> 46efd8815233 14:20:02 Step 21/25 : ENTRYPOINT ["/device-virtual"] 14:20:02 ---> Running in f57c9e59c078 14:20:03 Removing intermediate container f57c9e59c078 14:20:03 ---> c3b3d54bc4e9 14:20:03 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 14:20:03 ---> Running in 8d61a5bc7895 14:20:03 Removing intermediate container 8d61a5bc7895 14:20:03 ---> 23781da316c7 14:20:03 Step 23/25 : LABEL arch=arm64 14:20:03 ---> Running in 51adb9ea6a08 14:20:04 Removing intermediate container 51adb9ea6a08 14:20:04 ---> 0ecc6a7ce27e 14:20:04 Step 24/25 : LABEL git_sha=6a6923f6f990075cc9d362fe0d250c605a9d159f 14:20:04 ---> Running in 05efd83433f9 14:20:04 Removing intermediate container 05efd83433f9 14:20:04 ---> 99bdd3ce6bd9 14:20:04 Step 25/25 : LABEL version=3.0.0-dev.46 14:20:04 ---> Running in 64a70cb116f6 14:20:04 Removing intermediate container 64a70cb116f6 14:20:04 ---> cd937a42a5c4 14:20:04 [Warning] One or more build-args [ARCH] were not consumed 14:20:05 Successfully built cd937a42a5c4 14:20:05 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 14:20:05 provisioning config files... 14:20:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/118@tmp/config16880605391217497087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:20:05 ---> docker-login.sh 14:20:05 nexus3.edgexfoundry.org:10001 14:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:20:05 Configure a credential helper to remove this warning. See 14:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:20:05 14:20:05 Login Succeeded 14:20:05 nexus3.edgexfoundry.org:10002 14:20:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:20:06 Configure a credential helper to remove this warning. See 14:20:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:20:06 14:20:06 Login Succeeded 14:20:06 nexus3.edgexfoundry.org:10003 14:20:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:20:07 Configure a credential helper to remove this warning. See 14:20:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:20:07 14:20:07 Login Succeeded 14:20:07 nexus3.edgexfoundry.org:10004 14:20:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:20:07 Configure a credential helper to remove this warning. See 14:20:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:20:07 14:20:07 Login Succeeded 14:20:07 docker.io 14:20:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:20:07 Configure a credential helper to remove this warning. See 14:20:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:20:07 14:20:07 Login Succeeded 14:20:07 ---> docker-login.sh ends [Pipeline] } 14:20:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:20:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:20:07 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 14:20:07 6a6923f6f990075cc9d362fe0d250c605a9d159f 14:20:07 latest 14:20:07 3.0.0-dev.46 14:20:07 6a6923f6f990075cc9d362fe0d250c605a9d159f-3.0.0-dev.46 14:20:07 main 14:20:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:08 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:6a6923f6f990075cc9d362fe0d250c605a9d159f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:6a6923f6f990075cc9d362fe0d250c605a9d159f 14:20:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:20:08 4d3165d3a285: Preparing 14:20:08 ad6fc83a034e: Preparing 14:20:08 56d414638cb4: Preparing 14:20:08 d94d2f855bb0: Preparing 14:20:08 26cbea5cba74: Preparing 14:20:08 26cbea5cba74: Layer already exists 14:20:08 56d414638cb4: Pushed 14:20:08 ad6fc83a034e: Pushed 14:20:08 d94d2f855bb0: Pushed 14:20:14 4d3165d3a285: Pushed 14:20:14 6a6923f6f990075cc9d362fe0d250c605a9d159f: digest: sha256:0c2a0e610a08acb4bf1e5dbd108eb6d0eda6d7c190e19026c189f803bb4c76dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:14 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 14:20:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:20:15 4d3165d3a285: Preparing 14:20:15 ad6fc83a034e: Preparing 14:20:15 56d414638cb4: Preparing 14:20:15 d94d2f855bb0: Preparing 14:20:15 26cbea5cba74: Preparing 14:20:15 4d3165d3a285: Layer already exists 14:20:15 ad6fc83a034e: Layer already exists 14:20:15 26cbea5cba74: Layer already exists 14:20:15 d94d2f855bb0: Layer already exists 14:20:15 56d414638cb4: Layer already exists 14:20:15 latest: digest: sha256:0c2a0e610a08acb4bf1e5dbd108eb6d0eda6d7c190e19026c189f803bb4c76dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:15 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.46 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.46 14:20:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:20:16 4d3165d3a285: Preparing 14:20:16 ad6fc83a034e: Preparing 14:20:16 56d414638cb4: Preparing 14:20:16 d94d2f855bb0: Preparing 14:20:16 26cbea5cba74: Preparing 14:20:16 d94d2f855bb0: Layer already exists 14:20:16 56d414638cb4: Layer already exists 14:20:16 4d3165d3a285: Layer already exists 14:20:16 26cbea5cba74: Layer already exists 14:20:16 ad6fc83a034e: Layer already exists 14:20:16 3.0.0-dev.46: digest: sha256:0c2a0e610a08acb4bf1e5dbd108eb6d0eda6d7c190e19026c189f803bb4c76dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:16 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:6a6923f6f990075cc9d362fe0d250c605a9d159f-3.0.0-dev.46 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:6a6923f6f990075cc9d362fe0d250c605a9d159f-3.0.0-dev.46 14:20:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:20:17 4d3165d3a285: Preparing 14:20:17 ad6fc83a034e: Preparing 14:20:17 56d414638cb4: Preparing 14:20:17 d94d2f855bb0: Preparing 14:20:17 26cbea5cba74: Preparing 14:20:17 56d414638cb4: Layer already exists 14:20:17 ad6fc83a034e: Layer already exists 14:20:17 4d3165d3a285: Layer already exists 14:20:17 d94d2f855bb0: Layer already exists 14:20:17 26cbea5cba74: Layer already exists 14:20:17 6a6923f6f990075cc9d362fe0d250c605a9d159f-3.0.0-dev.46: digest: sha256:0c2a0e610a08acb4bf1e5dbd108eb6d0eda6d7c190e19026c189f803bb4c76dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:17 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 14:20:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:20:18 4d3165d3a285: Preparing 14:20:18 ad6fc83a034e: Preparing 14:20:18 56d414638cb4: Preparing 14:20:18 d94d2f855bb0: Preparing 14:20:18 26cbea5cba74: Preparing 14:20:18 ad6fc83a034e: Layer already exists 14:20:18 56d414638cb4: Layer already exists 14:20:18 d94d2f855bb0: Layer already exists 14:20:18 26cbea5cba74: Layer already exists 14:20:18 4d3165d3a285: Layer already exists 14:20:18 main: digest: sha256:0c2a0e610a08acb4bf1e5dbd108eb6d0eda6d7c190e19026c189f803bb4c76dd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:20:18 ===================================================== [Pipeline] echo 14:20:18 taggedImages: 14:20:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:6a6923f6f990075cc9d362fe0d250c605a9d159f 14:20:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 14:20:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.46 14:20:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:6a6923f6f990075cc9d362fe0d250c605a9d159f-3.0.0-dev.46 14:20:18 - 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 14:20:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:20:19 14:20:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:20:19 arm64: Pulling from edgex-lftools-log-publisher 14:20:19 8998bd30e6a1: Pulling fs layer 14:20:19 04944245beec: Pulling fs layer 14:20:19 699f458cf7ca: Pulling fs layer 14:20:19 765212b225bb: Pulling fs layer 14:20:19 f23df028b6ca: Pulling fs layer 14:20:19 d65c8cfc05b1: Pulling fs layer 14:20:19 2437ff75d9bd: Pulling fs layer 14:20:19 765212b225bb: Waiting 14:20:19 f23df028b6ca: Waiting 14:20:19 d65c8cfc05b1: Waiting 14:20:19 2437ff75d9bd: Waiting 14:20:19 04944245beec: Verifying Checksum 14:20:19 04944245beec: Download complete 14:20:19 765212b225bb: Verifying Checksum 14:20:19 765212b225bb: Download complete 14:20:19 f23df028b6ca: Verifying Checksum 14:20:19 f23df028b6ca: Download complete 14:20:19 d65c8cfc05b1: Verifying Checksum 14:20:19 d65c8cfc05b1: Download complete 14:20:19 699f458cf7ca: Verifying Checksum 14:20:19 699f458cf7ca: Download complete 14:20:20 8998bd30e6a1: Verifying Checksum 14:20:20 8998bd30e6a1: Download complete 14:20:22 2437ff75d9bd: Verifying Checksum 14:20:22 2437ff75d9bd: Download complete 14:20:24 8998bd30e6a1: Pull complete 14:20:24 04944245beec: Pull complete 14:20:26 699f458cf7ca: Pull complete 14:20:26 765212b225bb: Pull complete 14:20:27 f23df028b6ca: Pull complete 14:20:27 d65c8cfc05b1: Pull complete 14:20:42 2437ff75d9bd: Pull complete 14:20:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:20:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:20:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:20:42 prd-ubuntu20.04-docker-arm64-4c-16g-15206 does not seem to be running inside a container 14:20:42 $ 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/118 -v /w/workspace/device-virtual-go/118:/w/workspace/device-virtual-go/118:rw,z -v /w/workspace/device-virtual-go/118@tmp:/w/workspace/device-virtual-go/118@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 14:20:46 $ docker top 1b7b0824947f545d914f064fd4baadfad98a23f7793dc85bccca213560a07490 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:20:46 ---> job-cost.sh 14:20:46 lf-activate-venv: SKIPPING 14:20:46 INFO: No Stack... 14:20:47 INFO: Retrieving Pricing Info for: v3-standard-4 14:20:48 INFO: Archiving Costs [Pipeline] sh 14:20:48 + cat /w/workspace/device-virtual-go/118/archives/cost.csv 14:20:48 + cut -d, -f6 [Pipeline] lock 14:20:48 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-118-stack-cost] 14:20:48 Resource [jenkins-edgexfoundry-device-virtual-go-main-118-stack-cost] did not exist. Created. 14:20:48 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-118-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:20:49 /w/workspace/device-virtual-go/118@tmp/durable-18964cf2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:20:50 + echo total: 0.10999999940395355 [Pipeline] stash 14:20:50 Warning: overwriting stash ‘stack-cost’ 14:20:50 Stashed 1 file(s) [Pipeline] } 14:20:50 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-118-stack-cost] [Pipeline] // lock [Pipeline] } 14:20:50 $ docker stop --time=1 1b7b0824947f545d914f064fd4baadfad98a23f7793dc85bccca213560a07490 14:20:53 $ docker rm -f --volumes 1b7b0824947f545d914f064fd4baadfad98a23f7793dc85bccca213560a07490 [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 14:20:54 provisioning config files... 14:20:54 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config654135982330805507tmp [Pipeline] { [Pipeline] sh 14:20:54 + set +x 14:20:54 + bash -s -- 14:20:54 + curl -s https://codecov.io/bash 14:20:54 14:20:54 _____ _ 14:20:54 / ____| | | 14:20:54 | | ___ __| | ___ ___ _____ __ 14:20:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:20:54 | |___| (_) | (_| | __/ (_| (_) \ V / 14:20:54 \_____\___/ \__,_|\___|\___\___/ \_/ 14:20:54 Bash-1.0.6 14:20:54 14:20:54 14:20:54 ==> git version 2.25.1 found 14:20:54 ==> 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 14:20:54 Release-Date: 2020-01-08 14:20:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:20:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:20:54 ==> Jenkins CI detected. 14:20:54 current dir:  /w/workspace/exfoundry_device-virtual-go_main 14:20:54 project root: . 14:20:54 --> token set from env 14:20:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:20:54 ==> Running gcov in . (disable via -X gcov) 14:20:54 ==> Python coveragepy not found 14:20:54 ==> Searching for coverage reports in: 14:20:54 + . 14:20:54 -> Found 1 reports 14:20:54 ==> Detecting git/mercurial file structure 14:20:54 ==> Reading reports 14:20:54 + ./coverage.out bytes=43063 14:20:54 ==> Appending adjustments 14:20:54 https://docs.codecov.io/docs/fixing-reports 14:20:54 + Found adjustments 14:20:54 ==> Gzipping contents 14:20:54 8.0K /tmp/codecov.dgZwxI.gz 14:20:54 ==> Uploading reports 14:20:54 url: https://codecov.io 14:20:54 query: branch=main&commit=6a6923f6f990075cc9d362fe0d250c605a9d159f&build=118&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F118%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:20:54 -> Pinging Codecov 14:20:54 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=6a6923f6f990075cc9d362fe0d250c605a9d159f&build=118&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F118%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:20:54 -> Uploading to 14:20:54 https://storage.googleapis.com/codecov/v4/raw/2023-05-11/5E52B4B073DB2E39498172D8E973AA87/6a6923f6f990075cc9d362fe0d250c605a9d159f/eb838b45-828e-4ec7-ae3d-9f904164e7eb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T142054Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d61f9c63b047604f1c415e9247489dc45612ca01c4e50f32b629aee2b5143047 14:20:54 % Total % Received % Xferd Average Speed Time Time Time Current 14:20:54 Dload Upload Total Spent Left Speed 14:20:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 26181 --:--:-- --:--:-- --:--:-- 26181 14:20:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/6a6923f6f990075cc9d362fe0d250c605a9d159f [Pipeline] } 14:20:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:20:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:20:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:20:55 14:20:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:20:55 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:20:55 df9b9388f04a: Pulling fs layer 14:20:55 52dc419b0ee2: Pulling fs layer 14:20:55 25bc292e5bac: Pulling fs layer 14:20:55 114826534d7a: Pulling fs layer 14:20:55 4657fd5d0bcf: Pulling fs layer 14:20:55 6ad1cebc031e: Pulling fs layer 14:20:55 8a3aa393b2d8: Pulling fs layer 14:20:55 114826534d7a: Waiting 14:20:55 6ad1cebc031e: Waiting 14:20:55 8a3aa393b2d8: Waiting 14:20:55 4657fd5d0bcf: Waiting 14:20:55 25bc292e5bac: Verifying Checksum 14:20:55 25bc292e5bac: Download complete 14:20:55 52dc419b0ee2: Download complete 14:20:55 4657fd5d0bcf: Download complete 14:20:55 df9b9388f04a: Verifying Checksum 14:20:55 df9b9388f04a: Download complete 14:20:56 6ad1cebc031e: Verifying Checksum 14:20:56 6ad1cebc031e: Download complete 14:20:56 df9b9388f04a: Pull complete 14:20:56 52dc419b0ee2: Pull complete 14:20:56 25bc292e5bac: Pull complete 14:20:56 114826534d7a: Verifying Checksum 14:20:56 114826534d7a: Download complete 14:20:56 8a3aa393b2d8: Verifying Checksum 14:20:56 8a3aa393b2d8: Download complete 14:21:00 114826534d7a: Pull complete 14:21:00 4657fd5d0bcf: Pull complete 14:21:00 6ad1cebc031e: Pull complete 14:21:02 8a3aa393b2d8: Pull complete 14:21:02 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:21:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:21:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:21:02 prd-ubuntu20.04-docker-8c-8g-15205 does not seem to be running inside a container 14:21: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 14:21:06 $ docker top c35b8fa54ae2b1875a4f8ad770be5bf2f7684cf8f0b37c1c3e079b46817f1a0c -eo pid,comm [Pipeline] { [Pipeline] echo 14:21:06 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 14:21:06 + set -o pipefail 14:21:06 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 14:21:10 14:21:10 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 14:21:10 14:21:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/bb13dd9c-6b9b-49b3-9037-7ad598c22957 14:21:10 14:21:10 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 14:21:10 14:21:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:21:10 14:21:10 14:21:10 A medium severity vulnerability was found in the Snyk CLI versions you are using. 14:21:10 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 14:21:10 More details here: https://snyk.co/ue1NS 14:21:10 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 14:21:10 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 14:21:10 $ docker stop --time=1 c35b8fa54ae2b1875a4f8ad770be5bf2f7684cf8f0b37c1c3e079b46817f1a0c 14:21:13 $ docker rm -f --volumes c35b8fa54ae2b1875a4f8ad770be5bf2f7684cf8f0b37c1c3e079b46817f1a0c [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 14:21:14 + git log --format=format:%s -1 6a6923f6f990075cc9d362fe0d250c605a9d159f [Pipeline] sh 14:21:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:21:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:21:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:21:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:21:15 prd-ubuntu20.04-docker-8c-8g-15205 does not seem to be running inside a container 14:21:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:21:15 $ docker top 0c6c442bce132e3e7223f84aa98f4c951a60646ca9e79be6da354c9d8975d8e4 -eo pid,comm 14:21:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:21:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:21:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:21:15 [ssh-agent] Looking for ssh-agent implementation... 14:21:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:21:16 $ docker exec 0c6c442bce132e3e7223f84aa98f4c951a60646ca9e79be6da354c9d8975d8e4 ssh-agent 14:21:16 SSH_AUTH_SOCK=/tmp/ssh-5z6cNMwG4hLd/agent.32 14:21:16 SSH_AGENT_PID=38 14:21:16 Running ssh-add (command line suppressed) 14:21:16 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9004447478382030028.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9004447478382030028.key) 14:21:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:21:16 + git semver tag 14:21:16 2023-05-11 14:21:16,766 [run_tag] DEBUG tag force:False 14:21:16 2023-05-11 14:21:16,767 [check_head_tag] DEBUG check head tag 14:21:16 2023-05-11 14:21:16,770 [execute] INFO git cat-file --batch-check 14:21:16 2023-05-11 14:21:16,770 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 14:21:16 2023-05-11 14:21:16,774 [execute] INFO git cat-file --batch 14:21:16 2023-05-11 14:21:16,774 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 14:21:16 2023-05-11 14:21:16,801 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:21:16 2023-05-11 14:21:16,801 [execute] INFO git tag -a v3.0.0-dev.46 -m v3.0.0-dev.46 14:21:16 2023-05-11 14:21:16,801 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.46', '-m', 'v3.0.0-dev.46'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 14:21:16 2023-05-11 14:21:16,806 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:21:16 3.0.0-dev.46 [Pipeline] } 14:21:16 $ docker exec --env ******** --env ******** 0c6c442bce132e3e7223f84aa98f4c951a60646ca9e79be6da354c9d8975d8e4 ssh-agent -k 14:21:16 unset SSH_AUTH_SOCK; 14:21:16 unset SSH_AGENT_PID; 14:21:16 echo Agent pid 38 killed; 14:21:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:21:17 + git semver [Pipeline] } 14:21:17 $ docker stop --time=1 0c6c442bce132e3e7223f84aa98f4c951a60646ca9e79be6da354c9d8975d8e4 14:21:18 $ docker rm -f --volumes 0c6c442bce132e3e7223f84aa98f4c951a60646ca9e79be6da354c9d8975d8e4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:21:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:21:19 14:21:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:21:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:21:19 0.23.1-centos7: Pulling from edgex-lftools 14:21:19 ab5ef0e58194: Pulling fs layer 14:21:19 9712f1f96733: Pulling fs layer 14:21:19 63f879dbbcfc: Pulling fs layer 14:21:19 0d9ebad4ef96: Pulling fs layer 14:21:19 e9a5061849ea: Pulling fs layer 14:21:19 d747dcd14b5f: Pulling fs layer 14:21:19 2de7ff778b66: Pulling fs layer 14:21:19 0d9ebad4ef96: Waiting 14:21:19 2de7ff778b66: Waiting 14:21:19 e9a5061849ea: Waiting 14:21:19 d747dcd14b5f: Waiting 14:21:19 9712f1f96733: Verifying Checksum 14:21:19 9712f1f96733: Download complete 14:21:19 63f879dbbcfc: Verifying Checksum 14:21:19 63f879dbbcfc: Download complete 14:21:20 ab5ef0e58194: Verifying Checksum 14:21:20 ab5ef0e58194: Download complete 14:21:20 d747dcd14b5f: Verifying Checksum 14:21:20 d747dcd14b5f: Download complete 14:21:20 e9a5061849ea: Verifying Checksum 14:21:20 e9a5061849ea: Download complete 14:21:20 0d9ebad4ef96: Verifying Checksum 14:21:20 0d9ebad4ef96: Download complete 14:21:20 2de7ff778b66: Verifying Checksum 14:21:20 2de7ff778b66: Download complete 14:21:22 ab5ef0e58194: Pull complete 14:21:22 9712f1f96733: Pull complete 14:21:23 63f879dbbcfc: Pull complete 14:21:26 0d9ebad4ef96: Pull complete 14:21:26 e9a5061849ea: Pull complete 14:21:26 d747dcd14b5f: Pull complete 14:21:27 2de7ff778b66: Pull complete 14:21:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:21:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:21:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:21:27 prd-ubuntu20.04-docker-8c-8g-15205 does not seem to be running inside a container 14:21:27 $ 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 14:21:32 $ docker top 5d1511ae2175cde48f5e494e1e2bdd6a49b68cec79f1cd6963c180279e528580 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:21:32 provisioning config files... 14:21:32 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11775755923582970806tmp 14:21:32 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7343290182816120595tmp 14:21:32 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7349044393513268348tmp [Pipeline] { [Pipeline] echo 14:21:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:21:32 ---> sigul-configuration.sh 14:21:32 gpg: directory `/root/.gnupg' created 14:21:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:21:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:21:32 gpg: keyring `/root/.gnupg/secring.gpg' created 14:21:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:21:32 gpg: CAST5 encrypted data 14:21:32 gpg: encrypted with 1 passphrase 14:21:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:21:33 + mkdir /home/jenkins 14:21:33 + mkdir /home/jenkins/sigul [Pipeline] sh 14:21:33 + 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 14:21:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:21:33 ---> sigul-install.sh 14:21:33 Sigul already installed; skipping installation. [Pipeline] sh 14:21:34 + git tag --list 14:21:34 v1.0.0 14:21:34 v1.1.0 14:21:34 v1.1.1 14:21:34 v1.2.1 14:21:34 v1.2.2 14:21:34 v1.2.3 14:21:34 v1.3.0 14:21:34 v1.3.1 14:21:34 v2.0.0 14:21:34 v2.1.0 14:21:34 v2.1.1 14:21:34 v2.1.1-dev.1 14:21:34 v2.1.1-dev.2 14:21:34 v2.2.0 14:21:34 v2.2.1-dev.1 14:21:34 v2.2.1-dev.2 14:21:34 v2.2.1-dev.3 14:21:34 v2.2.1-dev.4 14:21:34 v2.2.1-dev.5 14:21:34 v2.2.1-dev.6 14:21:34 v2.2.1-dev.7 14:21:34 v2.2.1-dev.8 14:21:34 v2.3.0 14:21:34 v2.3.0-dev.10 14:21:34 v2.3.0-dev.11 14:21:34 v2.3.0-dev.12 14:21:34 v2.3.0-dev.13 14:21:34 v2.3.0-dev.14 14:21:34 v2.3.0-dev.15 14:21:34 v2.3.0-dev.16 14:21:34 v2.3.0-dev.17 14:21:34 v2.3.0-dev.18 14:21:34 v2.3.0-dev.19 14:21:34 v2.3.0-dev.20 14:21:34 v2.3.0-dev.21 14:21:34 v2.3.0-dev.22 14:21:34 v2.3.0-dev.23 14:21:34 v2.3.0-dev.24 14:21:34 v2.3.0-dev.25 14:21:34 v2.3.0-dev.26 14:21:34 v2.3.0-dev.27 14:21:34 v2.3.0-dev.28 14:21:34 v2.3.0-dev.29 14:21:34 v2.3.0-dev.30 14:21:34 v2.3.0-dev.8 14:21:34 v2.3.0-dev.9 14:21:34 v3.0.0-dev.1 14:21:34 v3.0.0-dev.10 14:21:34 v3.0.0-dev.11 14:21:34 v3.0.0-dev.12 14:21:34 v3.0.0-dev.13 14:21:34 v3.0.0-dev.14 14:21:34 v3.0.0-dev.15 14:21:34 v3.0.0-dev.16 14:21:34 v3.0.0-dev.17 14:21:34 v3.0.0-dev.18 14:21:34 v3.0.0-dev.19 14:21:34 v3.0.0-dev.2 14:21:34 v3.0.0-dev.20 14:21:34 v3.0.0-dev.21 14:21:34 v3.0.0-dev.22 14:21:34 v3.0.0-dev.23 14:21:34 v3.0.0-dev.24 14:21:34 v3.0.0-dev.25 14:21:34 v3.0.0-dev.26 14:21:34 v3.0.0-dev.27 14:21:34 v3.0.0-dev.28 14:21:34 v3.0.0-dev.29 14:21:34 v3.0.0-dev.3 14:21:34 v3.0.0-dev.30 14:21:34 v3.0.0-dev.31 14:21:34 v3.0.0-dev.32 14:21:34 v3.0.0-dev.33 14:21:34 v3.0.0-dev.34 14:21:34 v3.0.0-dev.35 14:21:34 v3.0.0-dev.36 14:21:34 v3.0.0-dev.37 14:21:34 v3.0.0-dev.38 14:21:34 v3.0.0-dev.39 14:21:34 v3.0.0-dev.4 14:21:34 v3.0.0-dev.40 14:21:34 v3.0.0-dev.41 14:21:34 v3.0.0-dev.42 14:21:34 v3.0.0-dev.43 14:21:34 v3.0.0-dev.44 14:21:34 v3.0.0-dev.45 14:21:34 v3.0.0-dev.46 14:21:34 v3.0.0-dev.5 14:21:34 v3.0.0-dev.6 14:21:34 v3.0.0-dev.7 14:21:34 v3.0.0-dev.8 14:21:34 v3.0.0-dev.9 [Pipeline] sh 14:21:34 + lftools sign git-tag v3.0.0-dev.46 14:21:34 Signing Git tag with Sigul... 14:21:34 Signing v3.0.0-dev.46 [Pipeline] echo 14:21:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:21:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:21:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:21:35 $ docker stop --time=1 5d1511ae2175cde48f5e494e1e2bdd6a49b68cec79f1cd6963c180279e528580 14:21:37 $ docker rm -f --volumes 5d1511ae2175cde48f5e494e1e2bdd6a49b68cec79f1cd6963c180279e528580 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:21:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:21:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:21:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:21:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:21:37 prd-ubuntu20.04-docker-8c-8g-15205 does not seem to be running inside a container 14:21:37 $ 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 14:21:38 $ docker top eedf41fba389c2667cd96ef9253fb34580bd4226e3084246fb192b4da3269d6a -eo pid,comm 14:21:38 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). 14:21:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:21:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:21:38 [ssh-agent] Looking for ssh-agent implementation... 14:21:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:21:38 $ docker exec eedf41fba389c2667cd96ef9253fb34580bd4226e3084246fb192b4da3269d6a ssh-agent 14:21:38 SSH_AUTH_SOCK=/tmp/ssh-iZEK3zdBEnks/agent.32 14:21:38 SSH_AGENT_PID=38 14:21:38 Running ssh-add (command line suppressed) 14:21:38 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9489146857483789395.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9489146857483789395.key) 14:21:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:21:39 + git semver bump pre 14:21:39 2023-05-11 14:21:39,189 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:21:39 2023-05-11 14:21:39,189 [bump_version] DEBUG bumping version:3.0.0-dev.46 on axis:pre with prefix:dev 14:21:39 2023-05-11 14:21:39,189 [bump_version] DEBUG bumped version:3.0.0-dev.47 14:21:39 2023-05-11 14:21:39,189 [write_version] DEBUG write version:3.0.0-dev.47 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 14:21:39 2023-05-11 14:21:39,189 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:21:39 2023-05-11 14:21:39,189 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:21:39 2023-05-11 14:21:39,191 [execute] INFO git cat-file --batch-check 14:21:39 2023-05-11 14:21:39,192 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:21:39 2023-05-11 14:21:39,196 [execute] INFO git cat-file --batch 14:21:39 2023-05-11 14:21:39,197 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:21:39 2023-05-11 14:21:39,200 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:21:39 3.0.0-dev.47 [Pipeline] } 14:21:39 $ docker exec --env ******** --env ******** eedf41fba389c2667cd96ef9253fb34580bd4226e3084246fb192b4da3269d6a ssh-agent -k 14:21:39 unset SSH_AUTH_SOCK; 14:21:39 unset SSH_AGENT_PID; 14:21:39 echo Agent pid 38 killed; 14:21:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:21:39 + git semver [Pipeline] } 14:21:39 $ docker stop --time=1 eedf41fba389c2667cd96ef9253fb34580bd4226e3084246fb192b4da3269d6a 14:21:41 $ docker rm -f --volumes eedf41fba389c2667cd96ef9253fb34580bd4226e3084246fb192b4da3269d6a [Pipeline] // withDockerContainer [Pipeline] sh 14:21:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:21:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:21:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:21:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:21:41 prd-ubuntu20.04-docker-8c-8g-15205 does not seem to be running inside a container 14:21:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:21:42 $ docker top 01bb5ae0adae2d0d94314a7fe1666c5ce7030234b1606b18e237d72bf6b5649f -eo pid,comm 14:21:42 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). 14:21:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:21:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:21:42 [ssh-agent] Looking for ssh-agent implementation... 14:21:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:21:42 $ docker exec 01bb5ae0adae2d0d94314a7fe1666c5ce7030234b1606b18e237d72bf6b5649f ssh-agent 14:21:42 SSH_AUTH_SOCK=/tmp/ssh-M6jKx5s4Bzhc/agent.32 14:21:42 SSH_AGENT_PID=38 14:21:42 Running ssh-add (command line suppressed) 14:21:42 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7094820376922932563.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7094820376922932563.key) 14:21:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:21:43 + git semver push 14:21:43 2023-05-11 14:21:43,206 [run_push] DEBUG push 14:21:43 2023-05-11 14:21:43,207 [execute] INFO git cat-file --batch-check 14:21:43 2023-05-11 14:21:43,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:21:43 2023-05-11 14:21:43,212 [execute] INFO git rev-list 419342f9214d0b20457afe3c5af91c7665dc4a53 -- 14:21:43 2023-05-11 14:21:43,213 [execute] DEBUG Popen(['git', 'rev-list', '419342f9214d0b20457afe3c5af91c7665dc4a53', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:21:43 2023-05-11 14:21:43,223 [execute] INFO git fetch -v origin 14:21:43 2023-05-11 14:21:43,224 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:21:43 2023-05-11 14:21:43,711 [run_push] DEBUG no remote changes detected 14:21:43 2023-05-11 14:21:43,711 [execute] INFO git push origin semver 14:21:43 2023-05-11 14:21:43,712 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:21:44 2023-05-11 14:21:44,482 [run_push] DEBUG push all version tags 14:21:44 2023-05-11 14:21:44,483 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:21:44 2023-05-11 14:21:44,483 [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) 14:21:45 2023-05-11 14:21:45,285 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:21:45 3.0.0-dev.47 [Pipeline] } 14:21:45 $ docker exec --env ******** --env ******** 01bb5ae0adae2d0d94314a7fe1666c5ce7030234b1606b18e237d72bf6b5649f ssh-agent -k 14:21:45 unset SSH_AUTH_SOCK; 14:21:45 unset SSH_AGENT_PID; 14:21:45 echo Agent pid 38 killed; 14:21:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:21:45 + git semver [Pipeline] } 14:21:46 $ docker stop --time=1 01bb5ae0adae2d0d94314a7fe1666c5ce7030234b1606b18e237d72bf6b5649f 14:21:47 $ docker rm -f --volumes 01bb5ae0adae2d0d94314a7fe1666c5ce7030234b1606b18e237d72bf6b5649f [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 14:21:47 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 14:21:47 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 14:21:47 total 16 14:21:47 drwxr-xr-x 3 root root 4096 May 11 14:11 . 14:21:47 drwxrwxr-x 10 jenkins jenkins 4096 May 11 14:21 .. 14:21:47 drwxr-xr-x 2 root root 4096 May 11 14:11 cost 14:21:47 -rw-r--r-- 1 root root 89 May 11 14:11 cost.csv 14:21:47 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 14:21:47 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 14:21:47 total 16 14:21:47 drwxr-xr-x 3 jenkins jenkins 4096 May 11 14:11 . 14:21:47 drwxrwxr-x 10 jenkins jenkins 4096 May 11 14:21 .. 14:21:47 drwxr-xr-x 2 jenkins jenkins 4096 May 11 14:11 cost 14:21:47 -rw-r--r-- 1 jenkins jenkins 89 May 11 14:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:21:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:21:49 ---> package-listing.sh 14:21:49 ++ facter osfamily 14:21:49 ++ tr '[:upper:]' '[:lower:]' 14:21:49 + OS_FAMILY=debian 14:21:49 + workspace=/w/workspace/exfoundry_device-virtual-go_main 14:21:49 + START_PACKAGES=/tmp/packages_start.txt 14:21:49 + END_PACKAGES=/tmp/packages_end.txt 14:21:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:21:49 + PACKAGES=/tmp/packages_start.txt 14:21:49 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 14:21:49 + PACKAGES=/tmp/packages_end.txt 14:21:49 + case "${OS_FAMILY}" in 14:21:49 + dpkg -l 14:21:49 + grep '^ii' 14:21:49 + '[' -f /tmp/packages_start.txt ']' 14:21:49 + '[' -f /tmp/packages_end.txt ']' 14:21:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:21:49 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 14:21:49 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 14:21:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 14:21:49 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 14:21:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:21:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:21:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:21:50 prd-ubuntu20.04-docker-8c-8g-15205 does not seem to be running inside a container 14:21:50 $ 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 14:21:50 $ docker top 68898d7b395986ae19bbaa64c74432ee2cff790b6ca5449f42cbc430f68d5afa -eo pid,comm [Pipeline] { [Pipeline] sh 14:21:51 + touch /tmp/pre-build-complete [Pipeline] sh 14:21:51 + mkdir -p /var/log/sysstat [Pipeline] sh 14:21:51 + ls /var/log/sa-host 14:21:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:21:51 provisioning config files... 14:21:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1149795699862441583tmp [Pipeline] { [Pipeline] echo 14:21:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:21:52 ---> create-netrc.sh [Pipeline] } 14:21:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:21:52 ---> python-tools-install.sh [Pipeline] echo 14:21:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:21:52 ---> sudo-logs.sh 14:21:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:21:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:21:53 ---> job-cost.sh 14:21:53 lf-activate-venv: SKIPPING 14:21:53 DEBUG: total: 0.2199999988079071 14:21:53 INFO: Retrieving Stack Cost... 14:21:53 INFO: Retrieving Pricing Info for: v3-standard-8 14:21:53 INFO: Archiving Costs [Pipeline] echo 14:21:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:21:54 ---> logs-deploy.sh 14:21:54 lf-activate-venv: SKIPPING 14:21:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/118 14:21:54 INFO: archiving workspace using pattern(s): 14:21:55 Archives upload complete. 14:21:55 INFO: archiving logs to Nexus