Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e88a56d1e6585e93dcd7e4f327c101309364504a 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-ssh2679901819046391218.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-ssh18259606169619548779.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-ssh10427290374118793450.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-ssh201626282080997991.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-ssh11033920031747653065.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14674 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 e88a56d1e6585e93dcd7e4f327c101309364504a (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e88a56d1e6585e93dcd7e4f327c101309364504a # timeout=10 Commit message: "Merge pull request #401 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.84" > git rev-list --no-walk 75585deb70bc80a1f521499c22e56c4d6cf5dcfe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:01:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:01:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:01:33 ========================================================= 13:01:33 EdgeX Global Pipelines Version Info 13:01:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:01:34 ------------------- 13:01:34 stable info: 13:01:34 ------------------- 13:01:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:01:34 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 13:01:34 Message: update stable to v1.0.249 13:01:35 ------------------- 13:01:35 experimental info: 13:01:35 ------------------- 13:01:35 Commited By: **** collab-it+edgex@linuxfoundation.org 13:01:35 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 13:01:35 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e88a56d1e6585e93dcd7e4f327c101309364504a [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e88a56d [Pipeline] echo 13:01:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:01:35 provisioning config files... 13:01:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11397471158045777439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:36 ---> docker-login.sh 13:01:36 nexus3.edgexfoundry.org:10001 13:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:36 Configure a credential helper to remove this warning. See 13:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:36 13:01:36 Login Succeeded 13:01:36 nexus3.edgexfoundry.org:10002 13:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:36 Configure a credential helper to remove this warning. See 13:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:36 13:01:36 Login Succeeded 13:01:36 nexus3.edgexfoundry.org:10003 13:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:36 Configure a credential helper to remove this warning. See 13:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:36 13:01:36 Login Succeeded 13:01:36 nexus3.edgexfoundry.org:10004 13:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:36 Configure a credential helper to remove this warning. See 13:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:36 13:01:36 Login Succeeded 13:01:36 docker.io 13:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:37 Configure a credential helper to remove this warning. See 13:01:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:37 13:01:37 Login Succeeded 13:01:37 ---> docker-login.sh ends [Pipeline] } 13:01:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:01:37 + git rev-list -1 --merges e88a56d1e6585e93dcd7e4f327c101309364504a~1..e88a56d1e6585e93dcd7e4f327c101309364504a [Pipeline] echo 13:01:37 -----------> git rev-list -1 --merges e88a56d1e6585e93dcd7e4f327c101309364504a~1..e88a56d1e6585e93dcd7e4f327c101309364504a e88a56d1e6585e93dcd7e4f327c101309364504a 13:01:37 e88a56d1e6585e93dcd7e4f327c101309364504a [false] [Pipeline] sh 13:01:37 + git log --format=format:%s -1 e88a56d1e6585e93dcd7e4f327c101309364504a [Pipeline] echo 13:01:37 ========================================================= 13:01:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:01:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:01:38 + git log --format=format:%s -1 e88a56d1e6585e93dcd7e4f327c101309364504a [Pipeline] echo 13:01:38 [semverPrep] GIT_COMMIT: e88a56d1e6585e93dcd7e4f327c101309364504a, Commit Message: Merge pull request #401 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.84 [Pipeline] echo 13:01:38 [semverPrep] This is not a build commit. [Pipeline] sh 13:01:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:01:38 + grep -v github /etc/ssh/ssh_known_hosts 13:01:38 + [ -e /tmp/ssh_known_hosts ] 13:01:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:01:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:01:38 + sudo tee -a /etc/ssh/ssh_known_hosts 13:01:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:01:39 13:01:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:01:39 0.1.4: Pulling from edgex-devops/py-git-semver 13:01:39 b85a868b505f: Pulling fs layer 13:01:39 e2be974225ed: Pulling fs layer 13:01:39 339a4e72a1f5: Pulling fs layer 13:01:39 988bab9f4d93: Pulling fs layer 13:01:39 1469e6f7b9e6: Pulling fs layer 13:01:39 eaf3925da568: Pulling fs layer 13:01:39 bab4dde63d76: Pulling fs layer 13:01:39 bde34c3a00c8: Pulling fs layer 13:01:39 b352a97aabf1: Pulling fs layer 13:01:39 eaf3925da568: Waiting 13:01:39 bab4dde63d76: Waiting 13:01:39 988bab9f4d93: Waiting 13:01:39 bde34c3a00c8: Waiting 13:01:39 1469e6f7b9e6: Waiting 13:01:39 4872d77fe225: Pulling fs layer 13:01:39 5851b861e8e6: Pulling fs layer 13:01:39 b352a97aabf1: Waiting 13:01:39 4872d77fe225: Waiting 13:01:39 5851b861e8e6: Waiting 13:01:39 e2be974225ed: Download complete 13:01:39 988bab9f4d93: Download complete 13:01:39 1469e6f7b9e6: Verifying Checksum 13:01:39 1469e6f7b9e6: Download complete 13:01:39 eaf3925da568: Download complete 13:01:39 339a4e72a1f5: Verifying Checksum 13:01:39 339a4e72a1f5: Download complete 13:01:39 bde34c3a00c8: Verifying Checksum 13:01:39 bde34c3a00c8: Download complete 13:01:39 4872d77fe225: Verifying Checksum 13:01:39 4872d77fe225: Download complete 13:01:39 5851b861e8e6: Verifying Checksum 13:01:39 5851b861e8e6: Download complete 13:01:39 b85a868b505f: Download complete 13:01:39 bab4dde63d76: Verifying Checksum 13:01:39 bab4dde63d76: Download complete 13:01:41 b85a868b505f: Pull complete 13:01:41 e2be974225ed: Pull complete 13:01:41 339a4e72a1f5: Pull complete 13:01:41 988bab9f4d93: Pull complete 13:01:42 1469e6f7b9e6: Pull complete 13:01:42 eaf3925da568: Pull complete 13:01:43 bab4dde63d76: Pull complete 13:01:43 bde34c3a00c8: Pull complete 13:01:43 b352a97aabf1: Pull complete 13:01:44 4872d77fe225: Pull complete 13:01:44 5851b861e8e6: Pull complete 13:01:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:01:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:01:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:44 prd-ubuntu20.04-docker-8c-8g-14674 does not seem to be running inside a container 13:01:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:01:47 $ docker top cb951c0447ea00748fecf3228d7ea6c74735e87a4fe2f25f89645963bb77e59a -eo pid,comm 13:01:47 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). 13:01:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:01:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:01:47 [ssh-agent] Looking for ssh-agent implementation... 13:01:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:01:48 $ docker exec cb951c0447ea00748fecf3228d7ea6c74735e87a4fe2f25f89645963bb77e59a ssh-agent 13:01:48 SSH_AUTH_SOCK=/tmp/ssh-aWx6LDD97FS4/agent.31 13:01:48 SSH_AGENT_PID=37 13:01:48 Running ssh-add (command line suppressed) 13:01:48 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10979741296688892139.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10979741296688892139.key) 13:01:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:01:48 + git tag --points-at HEAD [Pipeline] } 13:01:48 $ docker exec --env ******** --env ******** cb951c0447ea00748fecf3228d7ea6c74735e87a4fe2f25f89645963bb77e59a ssh-agent -k 13:01:48 unset SSH_AUTH_SOCK; 13:01:48 unset SSH_AGENT_PID; 13:01:48 echo Agent pid 37 killed; 13:01:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:01:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:01:48 [ssh-agent] Looking for ssh-agent implementation... 13:01:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:01:48 $ docker exec cb951c0447ea00748fecf3228d7ea6c74735e87a4fe2f25f89645963bb77e59a ssh-agent 13:01:48 SSH_AUTH_SOCK=/tmp/ssh-debdYfzzZtSZ/agent.69 13:01:48 SSH_AGENT_PID=75 13:01:48 Running ssh-add (command line suppressed) 13:01:49 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13022152693388395362.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13022152693388395362.key) 13:01:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:01:49 + git semver init 13:01:49 2023-05-09 13:01:49,583 [run_init] DEBUG init version:0.0.0 force:False 13:01:49 2023-05-09 13:01:49,583 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 13:01:49 2023-05-09 13:01:49,584 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 13:01:49 2023-05-09 13:01:49,584 [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) 13:01:51 2023-05-09 13:01:50,670 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 13:01:51 2023-05-09 13:01:50,671 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 13:01:51 2023-05-09 13:01:50,671 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:01:51 2023-05-09 13:01:50,671 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:01:51 3.0.0-dev.42 [Pipeline] } 13:01:51 $ docker exec --env ******** --env ******** cb951c0447ea00748fecf3228d7ea6c74735e87a4fe2f25f89645963bb77e59a ssh-agent -k 13:01:51 unset SSH_AUTH_SOCK; 13:01:51 unset SSH_AGENT_PID; 13:01:51 echo Agent pid 75 killed; 13:01:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:01:51 + git semver [Pipeline] } 13:01:51 $ docker stop --time=1 cb951c0447ea00748fecf3228d7ea6c74735e87a4fe2f25f89645963bb77e59a 13:01:53 $ docker rm -f --volumes cb951c0447ea00748fecf3228d7ea6c74735e87a4fe2f25f89645963bb77e59a [Pipeline] // withDockerContainer [Pipeline] sh 13:01:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:01:53 Stashed 1 file(s) [Pipeline] echo 13:01:53 [edgeXSemver]: initialized semver on version 3.0.0-dev.42 [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 13:01:53 provisioning config files... 13:01:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config18019275437253298954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:54 ---> docker-login.sh 13:01:54 nexus3.edgexfoundry.org:10001 13:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:54 Configure a credential helper to remove this warning. See 13:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:54 13:01:54 Login Succeeded 13:01:54 nexus3.edgexfoundry.org:10002 13:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:54 Configure a credential helper to remove this warning. See 13:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:54 13:01:54 Login Succeeded 13:01:54 nexus3.edgexfoundry.org:10003 13:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:54 Configure a credential helper to remove this warning. See 13:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:54 13:01:54 Login Succeeded 13:01:54 nexus3.edgexfoundry.org:10004 13:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:54 Configure a credential helper to remove this warning. See 13:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:54 13:01:54 Login Succeeded 13:01:54 docker.io 13:01:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:54 Configure a credential helper to remove this warning. See 13:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:54 13:01:54 Login Succeeded 13:01:54 ---> docker-login.sh ends [Pipeline] } 13:01:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:01:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:54 ========================================================= 13:01:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:01:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:55 + 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 . 13:01:55 Sending build context to Docker daemon 23.61MB 13:01:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:01:55 Step 2/12 : FROM ${BASE} AS builder 13:01:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:01:55 f56be85fc22e: Pulling fs layer 13:01:55 85791d961cd3: Pulling fs layer 13:01:55 d694b5ae8c79: Pulling fs layer 13:01:55 9f32a84ed3da: Pulling fs layer 13:01:55 4d19c01a9841: Pulling fs layer 13:01:55 9325e15d5711: Pulling fs layer 13:01:55 556b6ee489ea: Pulling fs layer 13:01:55 c5a4b2cf53e6: Pulling fs layer 13:01:55 9f32a84ed3da: Waiting 13:01:55 9325e15d5711: Waiting 13:01:55 556b6ee489ea: Waiting 13:01:55 85791d961cd3: Verifying Checksum 13:01:55 85791d961cd3: Download complete 13:01:55 9f32a84ed3da: Verifying Checksum 13:01:55 9f32a84ed3da: Download complete 13:01:55 4d19c01a9841: Verifying Checksum 13:01:55 4d19c01a9841: Download complete 13:01:55 f56be85fc22e: Verifying Checksum 13:01:55 f56be85fc22e: Download complete 13:01:55 9325e15d5711: Verifying Checksum 13:01:55 9325e15d5711: Download complete 13:01:55 f56be85fc22e: Pull complete 13:01:55 85791d961cd3: Pull complete 13:01:55 c5a4b2cf53e6: Verifying Checksum 13:01:55 c5a4b2cf53e6: Download complete 13:01:56 d694b5ae8c79: Verifying Checksum 13:01:56 d694b5ae8c79: Download complete 13:01:56 556b6ee489ea: Verifying Checksum 13:01:56 556b6ee489ea: Download complete 13:01:59 d694b5ae8c79: Pull complete 13:01:59 9f32a84ed3da: Pull complete 13:01:59 4d19c01a9841: Pull complete 13:01:59 9325e15d5711: Pull complete 13:02:01 556b6ee489ea: Pull complete 13:02:02 c5a4b2cf53e6: Pull complete 13:02:02 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 13:02:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:02:02 ---> c4be618373d6 13:02:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:02:08 Still waiting to schedule task 13:02:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:02:10 ---> Running in 969587e61531 13:02:10 Removing intermediate container 969587e61531 13:02:10 ---> c8f1e1132f54 13:02:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:02:10 ---> Running in 34c025285b1c 13:02:10 Removing intermediate container 34c025285b1c 13:02:10 ---> d4f1afc870a4 13:02:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:02:10 ---> Running in 3bd266a26207 13:02:10 Removing intermediate container 3bd266a26207 13:02:10 ---> 2de98550e1df 13:02:10 Step 6/12 : WORKDIR /device-virtual-go 13:02:10 ---> Running in 78407b3339df 13:02:10 Removing intermediate container 78407b3339df 13:02:10 ---> 3d99bd815788 13:02:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:02:10 ---> Running in 4be41bc7bec1 13:02:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:02:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:02:11 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:02:11 (2/4) Installing libedit (20221030.3.1-r0) 13:02:11 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:02:11 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:02:11 Executing busybox-1.35.0-r29.trigger 13:02:11 OK: 269 MiB in 57 packages 13:02:11 Removing intermediate container 4be41bc7bec1 13:02:11 ---> a0642d8e18a7 13:02:11 Step 8/12 : COPY go.mod vendor* ./ 13:02:12 ---> 13135775aa3e 13:02:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:02:12 ---> Running in 3428ebb7e13f 13:03:08 Removing intermediate container 3428ebb7e13f 13:03:08 ---> 93f3715117fa 13:03:08 Step 10/12 : COPY . . 13:03:08 ---> b2e173b45431 13:03:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:03:08 ---> Running in a77e4d4354ea 13:03:08 Removing intermediate container a77e4d4354ea 13:03:08 ---> 1125f0e82475 13:03:08 Step 12/12 : RUN $MAKE 13:03:08 ---> Running in a004f953acc1 13:03:08 noop 13:03:08 Removing intermediate container a004f953acc1 13:03:08 ---> 041a03d071b0 13:03:08 Successfully built 041a03d071b0 13:03:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:08 + docker inspect -f . ci-base-image-x86_64 13:03:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:08 prd-ubuntu20.04-docker-8c-8g-14674 does not seem to be running inside a container 13:03:08 $ 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 13:03:09 $ docker top 6caf4a8c08a0b7b37eaac857102417556284f6992435ac41bb340331e633917a -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:10 + go version 13:03:10 go version go1.20.2 linux/amd64 [Pipeline] } 13:03:10 $ docker stop --time=1 6caf4a8c08a0b7b37eaac857102417556284f6992435ac41bb340331e633917a 13:03:11 $ docker rm -f --volumes 6caf4a8c08a0b7b37eaac857102417556284f6992435ac41bb340331e633917a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:12 + docker inspect -f . ci-base-image-x86_64 13:03:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:12 prd-ubuntu20.04-docker-8c-8g-14674 does not seem to be running inside a container 13:03:12 $ 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 13:03:13 $ docker top cadf3cc04b62a8025d66517df4c921f08fcf08cc444487a6e39d1bf5186f99b5 -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:13 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 13:03:13 + make test 13:03:13 go test ./... -coverprofile=coverage.out 13:03:18 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:03:27 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:03:27 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements 13:03:32 go vet ./... 13:03:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:03:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:03:36 ./bin/test-attribution-txt.sh [Pipeline] echo 13:03:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:03:36 $ docker stop --time=1 cadf3cc04b62a8025d66517df4c921f08fcf08cc444487a6e39d1bf5186f99b5 13:03:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14676 in /w/workspace/exfoundry_device-virtual-go_main 13:03:40 $ docker rm -f --volumes cadf3cc04b62a8025d66517df4c921f08fcf08cc444487a6e39d1bf5186f99b5 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 13:03:40 Running in /w/workspace/device-virtual-go/114 [Pipeline] { [Pipeline] checkout 13:03:40 The recommended git tool is: git 13:03:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:03:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:03:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:03:41 + ls -al . 13:03:41 total 192 13:03:41 drwxrwxr-x 9 jenkins jenkins 4096 May 9 13:03 . 13:03:41 drwxrwxr-x 4 jenkins jenkins 4096 May 9 13:01 .. 13:03:41 drwxrwxr-x 8 jenkins jenkins 4096 May 9 13:01 .git 13:03:41 drwxrwxr-x 3 jenkins jenkins 4096 May 9 13:01 .github 13:03:41 -rw-rw-r-- 1 jenkins jenkins 337 May 9 13:01 .gitignore 13:03:41 -rw-rw-r-- 1 jenkins jenkins 41 May 9 13:01 .golangci.yml 13:03:41 drwxr-xr-x 3 jenkins jenkins 4096 May 9 13:01 .semver 13:03:41 -rw-rw-r-- 1 jenkins jenkins 8652 May 9 13:01 Attribution.txt 13:03:41 -rw-rw-r-- 1 jenkins jenkins 11367 May 9 13:01 CHANGELOG.md 13:03:41 -rw-rw-r-- 1 jenkins jenkins 1646 May 9 13:01 Dockerfile 13:03:41 -rw-rw-r-- 1 jenkins jenkins 677 May 9 13:01 GOVERNANCE.md 13:03:41 -rw-rw-r-- 1 jenkins jenkins 660 May 9 13:01 Jenkinsfile 13:03:41 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 13:01 LICENSE 13:03:41 -rw-rw-r-- 1 jenkins jenkins 1696 May 9 13:01 Makefile 13:03:41 -rw-rw-r-- 1 jenkins jenkins 623 May 9 13:01 OWNERS.md 13:03:41 -rw-rw-r-- 1 jenkins jenkins 3578 May 9 13:01 README.md 13:03:41 -rw-rw-r-- 1 jenkins jenkins 12 May 9 13:01 VERSION 13:03:41 drwxrwxr-x 2 jenkins jenkins 4096 May 9 13:01 bin 13:03:41 drwxrwxr-x 3 jenkins jenkins 4096 May 9 13:01 cmd 13:03:41 -rw-r--r-- 1 jenkins jenkins 43063 May 9 13:03 coverage.out 13:03:41 -rw-rw-r-- 1 jenkins jenkins 3209 May 9 13:01 go.mod 13:03:41 -rw-rw-r-- 1 jenkins jenkins 30994 May 9 13:01 go.sum 13:03:41 drwxrwxr-x 3 jenkins jenkins 4096 May 9 13:01 internal 13:03:41 drwxrwxr-x 4 jenkins jenkins 4096 May 9 13:01 snap 13:03:41 -rw-rw-r-- 1 jenkins jenkins 235 May 9 13:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:42 + 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=e88a56d1e6585e93dcd7e4f327c101309364504a --label arch=amd64 --label version=3.0.0-dev.42 . 13:03:42 Sending build context to Docker daemon 23.66MB 13:03:42 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:03:42 Step 2/25 : FROM ${BASE} AS builder 13:03:42 ---> 041a03d071b0 13:03:42 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:03:42 ---> Running in 78de492f4b74 13:03:42 Removing intermediate container 78de492f4b74 13:03:42 ---> a726ef5d57b5 13:03:42 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 13:03:42 ---> Running in ef011edc6022 13:03:42 Removing intermediate container ef011edc6022 13:03:42 ---> a135342e3262 13:03:42 Step 5/25 : ARG ADD_BUILD_TAGS="" 13:03:42 ---> Running in 3498574f6599 13:03:42 Removing intermediate container 3498574f6599 13:03:42 ---> ddeb1b1c7804 13:03:42 Step 6/25 : WORKDIR /device-virtual-go 13:03:42 ---> Running in 144c85ccba8c 13:03:42 Removing intermediate container 144c85ccba8c 13:03:42 ---> 277ea5f94222 13:03:42 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:03:42 ---> Running in f88f6d9d9b44 13:03:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:03:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:03:43 OK: 269 MiB in 57 packages 13:03:43 Removing intermediate container f88f6d9d9b44 13:03:43 ---> e77e0e270c1b 13:03:43 Step 8/25 : COPY go.mod vendor* ./ 13:03:43 ---> a4546ebe32fd 13:03:43 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:03:43 ---> Running in 3870e6fc83a1 13:03:44 Removing intermediate container 3870e6fc83a1 13:03:44 ---> a43e4f43adbb 13:03:44 Step 10/25 : COPY . . 13:03:45 ---> 8ab941573f86 13:03:45 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:03:45 ---> Running in e635a7e14793 13:03:45 Removing intermediate container e635a7e14793 13:03:45 ---> 3eeec3b0670c 13:03:45 Step 12/25 : RUN $MAKE 13:03:45 ---> Running in 6db46c949be3 13:03:45 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.42" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 13:03:45 using credential edgex-jenkins-ssh 13:03:46 Cloning the remote Git repository 13:03:46 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:03:46 > git init /w/workspace/device-virtual-go/114 # timeout=10 13:03:46 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:03:46 > git --version # timeout=10 13:03:46 > git --version # 'git version 2.25.1' 13:03:46 using GIT_SSH to set credentials SSH Credentials for GitHub 13:03:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:03:49 Avoid second fetch 13:03:49 Checking out Revision e88a56d1e6585e93dcd7e4f327c101309364504a (main) 13:03:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:03:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:03:49 > git config core.sparsecheckout # timeout=10 13:03:49 > git checkout -f e88a56d1e6585e93dcd7e4f327c101309364504a # timeout=10 13:03:49 Commit message: "Merge pull request #401 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.84" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:03:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:03:51 % Total % Received % Xferd Average Speed Time Time Time Current 13:03:51 Dload Upload Total Spent Left Speed 13:03:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 30874 0 --:--:-- --:--:-- --:--:-- 30799 [Pipeline] sh 13:03:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:03:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:03:52 + sudo tee /etc/docker/daemon.new 13:03:52 { 13:03:52 "registry-mirrors": [ 13:03:52 "https://nexus3.edgexfoundry.org:10001" 13:03:52 ], 13:03:52 "bip": "10.250.0.254/24", 13:03:52 "hosts": [ 13:03:52 "tcp://0.0.0.0:5555", 13:03:52 "unix:///var/run/docker.sock" 13:03:52 ], 13:03:52 "mtu": 1458, 13:03:52 "selinux-enabled": true, 13:03:52 "seccomp-profile": "/etc/docker/seccomp.json" 13:03:52 } [Pipeline] sh 13:03:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:03:52 + sudo service docker restart 13:04:03 Removing intermediate container 6db46c949be3 13:04:03 ---> 300e5701c322 13:04:03 Step 13/25 : FROM alpine:3.17 13:04:04 3.17: Pulling from library/alpine 13:04:04 f56be85fc22e: Already exists 13:04:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:04:04 Status: Downloaded newer image for alpine:3.17 13:04:04 ---> 9ed4aefc74f6 13:04:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:04:04 ---> Running in b91328a8d697 13:04:04 Removing intermediate container b91328a8d697 13:04:04 ---> ea13714a8d16 13:04:04 Step 15/25 : RUN apk add --update --no-cache dumb-init 13:04:04 ---> Running in 6886f35ba0fe 13:04:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:04:05 (1/1) Installing dumb-init (1.2.5-r2) 13:04:05 Executing busybox-1.35.0-r29.trigger 13:04:05 OK: 7 MiB in 16 packages 13:04:05 Removing intermediate container 6886f35ba0fe 13:04:05 ---> 13bb699011bd 13:04:05 Step 16/25 : WORKDIR / 13:04:05 ---> Running in 64ac9998976d 13:04:05 Removing intermediate container 64ac9998976d 13:04:05 ---> e604bb4d83cb 13:04:05 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:04:05 ---> 005879ec7bdf 13:04:05 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 13:04:06 ---> 2eb5deaf0be2 13:04:06 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 13:04:06 ---> 7717374519a3 13:04:06 Step 20/25 : EXPOSE 59900 13:04:06 ---> Running in da4e476c98cc 13:04:06 Removing intermediate container da4e476c98cc 13:04:06 ---> 30fff5dc8f06 13:04:06 Step 21/25 : ENTRYPOINT ["/device-virtual"] 13:04:06 ---> Running in d7f9e4732db6 13:04:06 Removing intermediate container d7f9e4732db6 13:04:06 ---> c4d371f1e031 13:04:06 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:04:06 ---> Running in 05034ac008c9 13:04:06 Removing intermediate container 05034ac008c9 13:04:06 ---> c51fd333b6fa 13:04:06 Step 23/25 : LABEL arch=amd64 13:04:06 ---> Running in fe744655c0cb 13:04:06 Removing intermediate container fe744655c0cb 13:04:06 ---> ab393e005bb9 13:04:06 Step 24/25 : LABEL git_sha=e88a56d1e6585e93dcd7e4f327c101309364504a 13:04:06 ---> Running in d24000d7bdfd 13:04:07 Removing intermediate container d24000d7bdfd 13:04:07 ---> 9a4c583ad334 13:04:07 Step 25/25 : LABEL version=3.0.0-dev.42 13:04:07 ---> Running in 6b5f75af8159 13:04:07 Removing intermediate container 6b5f75af8159 13:04:07 ---> 69947f66f6af 13:04:07 [Warning] One or more build-args [ARCH] were not consumed 13:04:07 Successfully built 69947f66f6af 13:04:07 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:04:07 provisioning config files... 13:04:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13132293162171403659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:04:07 ---> docker-login.sh 13:04:07 nexus3.edgexfoundry.org:10001 13:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:07 Configure a credential helper to remove this warning. See 13:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:07 13:04:07 Login Succeeded 13:04:07 nexus3.edgexfoundry.org:10002 13:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:07 Configure a credential helper to remove this warning. See 13:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:07 13:04:07 Login Succeeded 13:04:07 nexus3.edgexfoundry.org:10003 13:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:07 Configure a credential helper to remove this warning. See 13:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:07 13:04:07 Login Succeeded 13:04:07 nexus3.edgexfoundry.org:10004 13:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:07 Configure a credential helper to remove this warning. See 13:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:07 13:04:07 Login Succeeded 13:04:07 docker.io 13:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:08 Configure a credential helper to remove this warning. See 13:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:08 13:04:08 Login Succeeded 13:04:08 ---> docker-login.sh ends [Pipeline] } 13:04:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:04:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:04:08 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 13:04:08 e88a56d1e6585e93dcd7e4f327c101309364504a 13:04:08 latest 13:04:08 3.0.0-dev.42 13:04:08 e88a56d1e6585e93dcd7e4f327c101309364504a-3.0.0-dev.42 13:04:08 main 13:04:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:08 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:e88a56d1e6585e93dcd7e4f327c101309364504a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual:e88a56d1e6585e93dcd7e4f327c101309364504a 13:04:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:04:08 40dd38fcb4b8: Preparing 13:04:08 2eaafb8b0e69: Preparing 13:04:08 24919b548fd0: Preparing 13:04:08 641d3a2db0ec: Preparing 13:04:08 f1417ff83b31: Preparing 13:04:08 f1417ff83b31: Layer already exists 13:04:08 2eaafb8b0e69: Pushed 13:04:08 641d3a2db0ec: Pushed 13:04:08 24919b548fd0: Pushed 13:04:11 40dd38fcb4b8: Pushed 13:04:11 e88a56d1e6585e93dcd7e4f327c101309364504a: digest: sha256:4484d559d6b60f03ae070ca113af08371c21ea7531d37c4b1897a5c2eb99eea1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:11 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:12 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 13:04:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:04:12 40dd38fcb4b8: Preparing 13:04:12 2eaafb8b0e69: Preparing 13:04:12 24919b548fd0: Preparing 13:04:12 641d3a2db0ec: Preparing 13:04:12 f1417ff83b31: Preparing 13:04:12 641d3a2db0ec: Layer already exists 13:04:12 2eaafb8b0e69: Layer already exists 13:04:12 24919b548fd0: Layer already exists 13:04:12 f1417ff83b31: Layer already exists 13:04:12 40dd38fcb4b8: Layer already exists 13:04:12 latest: digest: sha256:4484d559d6b60f03ae070ca113af08371c21ea7531d37c4b1897a5c2eb99eea1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:12 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:12 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.42 13:04:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:04:12 40dd38fcb4b8: Preparing 13:04:12 2eaafb8b0e69: Preparing 13:04:12 24919b548fd0: Preparing 13:04:12 641d3a2db0ec: Preparing 13:04:12 f1417ff83b31: Preparing 13:04:12 24919b548fd0: Layer already exists 13:04:12 641d3a2db0ec: Layer already exists 13:04:12 40dd38fcb4b8: Layer already exists 13:04:12 f1417ff83b31: Layer already exists 13:04:12 2eaafb8b0e69: Layer already exists 13:04:12 3.0.0-dev.42: digest: sha256:4484d559d6b60f03ae070ca113af08371c21ea7531d37c4b1897a5c2eb99eea1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:12 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:e88a56d1e6585e93dcd7e4f327c101309364504a-3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual:e88a56d1e6585e93dcd7e4f327c101309364504a-3.0.0-dev.42 13:04:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:04:13 40dd38fcb4b8: Preparing 13:04:13 2eaafb8b0e69: Preparing 13:04:13 24919b548fd0: Preparing 13:04:13 641d3a2db0ec: Preparing 13:04:13 f1417ff83b31: Preparing 13:04:13 24919b548fd0: Layer already exists 13:04:13 2eaafb8b0e69: Layer already exists 13:04:13 f1417ff83b31: Layer already exists 13:04:13 641d3a2db0ec: Layer already exists 13:04:13 40dd38fcb4b8: Layer already exists 13:04:13 e88a56d1e6585e93dcd7e4f327c101309364504a-3.0.0-dev.42: digest: sha256:4484d559d6b60f03ae070ca113af08371c21ea7531d37c4b1897a5c2eb99eea1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:13 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 13:04:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:04:13 40dd38fcb4b8: Preparing 13:04:13 2eaafb8b0e69: Preparing 13:04:13 24919b548fd0: Preparing 13:04:13 641d3a2db0ec: Preparing 13:04:13 f1417ff83b31: Preparing 13:04:13 40dd38fcb4b8: Layer already exists 13:04:13 f1417ff83b31: Layer already exists 13:04:13 24919b548fd0: Layer already exists 13:04:13 641d3a2db0ec: Layer already exists 13:04:13 2eaafb8b0e69: Layer already exists 13:04:13 main: digest: sha256:4484d559d6b60f03ae070ca113af08371c21ea7531d37c4b1897a5c2eb99eea1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:04:13 ===================================================== [Pipeline] echo 13:04:13 taggedImages: 13:04:13 - nexus3.edgexfoundry.org:10004/device-virtual:e88a56d1e6585e93dcd7e4f327c101309364504a 13:04:13 - nexus3.edgexfoundry.org:10004/device-virtual:latest 13:04:13 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.42 13:04:13 - nexus3.edgexfoundry.org:10004/device-virtual:e88a56d1e6585e93dcd7e4f327c101309364504a-3.0.0-dev.42 13:04:13 - 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 13:04:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:04:14 13:04:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:04:14 latest: Pulling from edgex-lftools-log-publisher 13:04:14 5eb5b503b376: Pulling fs layer 13:04:14 5c69ac0246d0: Pulling fs layer 13:04:14 ec43610c2a17: Pulling fs layer 13:04:14 3a2ae6a8a46f: Pulling fs layer 13:04:14 33b1e0a273af: Pulling fs layer 13:04:14 5d3b04190fa2: Pulling fs layer 13:04:14 2f39f015ded8: Pulling fs layer 13:04:14 33b1e0a273af: Waiting 13:04:14 5d3b04190fa2: Waiting 13:04:14 2f39f015ded8: Waiting 13:04:14 5c69ac0246d0: Download complete 13:04:14 3a2ae6a8a46f: Download complete 13:04:14 33b1e0a273af: Verifying Checksum 13:04:14 33b1e0a273af: Download complete 13:04:14 5d3b04190fa2: Verifying Checksum 13:04:14 5d3b04190fa2: Download complete 13:04:14 ec43610c2a17: Verifying Checksum 13:04:14 ec43610c2a17: Download complete 13:04:14 5eb5b503b376: Verifying Checksum 13:04:14 5eb5b503b376: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:04:15 provisioning config files... 13:04:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/114@tmp/config2794080991852905468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:04:15 2f39f015ded8: Verifying Checksum 13:04:15 2f39f015ded8: Download complete 13:04:15 ---> docker-login.sh 13:04:15 nexus3.edgexfoundry.org:10001 13:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:15 Configure a credential helper to remove this warning. See 13:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:15 13:04:15 Login Succeeded 13:04:15 nexus3.edgexfoundry.org:10002 13:04:15 5eb5b503b376: Pull complete 13:04:16 5c69ac0246d0: Pull complete 13:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:16 Configure a credential helper to remove this warning. See 13:04:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:16 13:04:16 Login Succeeded 13:04:16 nexus3.edgexfoundry.org:10003 13:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:16 Configure a credential helper to remove this warning. See 13:04:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:16 13:04:16 Login Succeeded 13:04:16 nexus3.edgexfoundry.org:10004 13:04:16 ec43610c2a17: Pull complete 13:04:16 3a2ae6a8a46f: Pull complete 13:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:17 Configure a credential helper to remove this warning. See 13:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:17 13:04:17 Login Succeeded 13:04:17 docker.io 13:04:17 33b1e0a273af: Pull complete 13:04:17 5d3b04190fa2: Pull complete 13:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:04:17 Configure a credential helper to remove this warning. See 13:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:04:17 13:04:17 Login Succeeded 13:04:17 ---> docker-login.sh ends [Pipeline] } 13:04:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:04:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:04:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:04:17 ========================================================= 13:04:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:04:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:18 + 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 . 13:04:18 Sending build context to Docker daemon 11.97MB 13:04:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:04:18 Step 2/12 : FROM ${BASE} AS builder 13:04:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:04:18 c41833b44d91: Pulling fs layer 13:04:18 ed15518f5707: Pulling fs layer 13:04:18 feae8fd75edb: Pulling fs layer 13:04:18 242c74f7c9fa: Pulling fs layer 13:04:18 3cdef696dda3: Pulling fs layer 13:04:18 2ced38df9373: Pulling fs layer 13:04:18 58f1dce35555: Pulling fs layer 13:04:18 242c74f7c9fa: Waiting 13:04:18 3cdef696dda3: Waiting 13:04:18 2ced38df9373: Waiting 13:04:18 58f1dce35555: Waiting 13:04:18 ed15518f5707: Download complete 13:04:18 242c74f7c9fa: Verifying Checksum 13:04:18 242c74f7c9fa: Download complete 13:04:18 3cdef696dda3: Verifying Checksum 13:04:18 3cdef696dda3: Download complete 13:04:18 c41833b44d91: Download complete 13:04:20 c41833b44d91: Pull complete 13:04:20 58f1dce35555: Verifying Checksum 13:04:20 58f1dce35555: Download complete 13:04:20 ed15518f5707: Pull complete 13:04:21 2f39f015ded8: Pull complete 13:04:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:04:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:04:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:04:21 prd-ubuntu20.04-docker-8c-8g-14674 does not seem to be running inside a container 13:04:21 $ 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 13:04:21 feae8fd75edb: Verifying Checksum 13:04:21 feae8fd75edb: Download complete 13:04:21 2ced38df9373: Download complete 13:04:24 $ docker top 73c3defe6ace5f7688397635b0bd5728ec82b3e68baf1713936e6e239dabc0c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:04:25 ---> job-cost.sh 13:04:25 lf-activate-venv: SKIPPING 13:04:25 INFO: No Stack... 13:04:25 INFO: Retrieving Pricing Info for: v3-standard-8 13:04:25 INFO: Archiving Costs [Pipeline] sh 13:04:26 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 13:04:26 + cut -d, -f6 [Pipeline] lock 13:04:26 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-114-stack-cost] 13:04:26 Resource [jenkins-edgexfoundry-device-virtual-go-main-114-stack-cost] did not exist. Created. 13:04:26 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-114-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:04:26 + echo total: 0.2199999988079071 [Pipeline] stash 13:04:26 Stashed 1 file(s) [Pipeline] } 13:04:26 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-114-stack-cost] [Pipeline] // lock [Pipeline] } 13:04:26 $ docker stop --time=1 73c3defe6ace5f7688397635b0bd5728ec82b3e68baf1713936e6e239dabc0c3 13:04:27 $ docker rm -f --volumes 73c3defe6ace5f7688397635b0bd5728ec82b3e68baf1713936e6e239dabc0c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:04:33 feae8fd75edb: Pull complete 13:04:33 242c74f7c9fa: Pull complete 13:04:33 3cdef696dda3: Pull complete 13:04:40 2ced38df9373: Pull complete 13:04:42 58f1dce35555: Pull complete 13:04:42 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 13:04:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:04:42 ---> fadd8f120f05 13:04:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:04:43 ---> Running in 991ab6976f38 13:04:43 Removing intermediate container 991ab6976f38 13:04:43 ---> e932b98e4088 13:04:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:04:43 ---> Running in 4232aa1e294e 13:04:44 Removing intermediate container 4232aa1e294e 13:04:44 ---> 3a27878de5df 13:04:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:04:44 ---> Running in 6786ce8d7d4c 13:04:44 Removing intermediate container 6786ce8d7d4c 13:04:44 ---> 20aebdb49740 13:04:44 Step 6/12 : WORKDIR /device-virtual-go 13:04:44 ---> Running in 217f9fa93cf7 13:04:44 Removing intermediate container 217f9fa93cf7 13:04:44 ---> 5e8c3be8bba9 13:04:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:04:44 ---> Running in 6b60990d3482 13:04:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:04:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:04:47 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:04:47 (2/4) Installing libedit (20221030.3.1-r0) 13:04:47 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:04:47 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:04:47 Executing busybox-1.35.0-r29.trigger 13:04:47 OK: 268 MiB in 57 packages 13:04:48 Removing intermediate container 6b60990d3482 13:04:48 ---> ffe165c62dd2 13:04:48 Step 8/12 : COPY go.mod vendor* ./ 13:04:49 ---> 5d320e9fa52d 13:04:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:04:49 ---> Running in 0116a1419676 13:05:45 Removing intermediate container 0116a1419676 13:05:45 ---> 2bb70bcb61fa 13:05:45 Step 10/12 : COPY . . 13:05:47 ---> 1083b530357d 13:05:47 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:05:47 ---> Running in 9db939f807d9 13:05:47 Removing intermediate container 9db939f807d9 13:05:47 ---> cdddae473228 13:05:47 Step 12/12 : RUN $MAKE 13:05:47 ---> Running in ce28538f3b3f 13:05:48 noop 13:05:49 Removing intermediate container ce28538f3b3f 13:05:49 ---> 65ab0c7132b9 13:05:49 Successfully built 65ab0c7132b9 13:05:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:49 + docker inspect -f . ci-base-image-arm64 13:05:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:05:49 prd-ubuntu20.04-docker-arm64-4c-16g-14676 does not seem to be running inside a container 13:05:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/114 -v /w/workspace/device-virtual-go/114:/w/workspace/device-virtual-go/114:rw,z -v /w/workspace/device-virtual-go/114@tmp:/w/workspace/device-virtual-go/114@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 13:05:50 $ docker top e369660f5f1a0a6a70ddb80045e76be627c3b30106014a11f13770cae43f4b93 -eo pid,comm [Pipeline] { [Pipeline] sh 13:05:51 + go version 13:05:51 go version go1.20.2 linux/arm64 [Pipeline] } 13:05:51 $ docker stop --time=1 e369660f5f1a0a6a70ddb80045e76be627c3b30106014a11f13770cae43f4b93 13:05:53 $ docker rm -f --volumes e369660f5f1a0a6a70ddb80045e76be627c3b30106014a11f13770cae43f4b93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:53 + docker inspect -f . ci-base-image-arm64 13:05:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:05:54 prd-ubuntu20.04-docker-arm64-4c-16g-14676 does not seem to be running inside a container 13:05:54 $ 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/114 -v /w/workspace/device-virtual-go/114:/w/workspace/device-virtual-go/114:rw,z -v /w/workspace/device-virtual-go/114@tmp:/w/workspace/device-virtual-go/114@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 13:05:55 $ docker top 814afcae63016b30510db26915722c43d0649f91481b5ea856d097492ad9b1c8 -eo pid,comm [Pipeline] { [Pipeline] sh 13:05:55 + git config --global --add safe.directory /w/workspace/device-virtual-go/114 [Pipeline] fileExists [Pipeline] sh 13:05:56 + make test 13:05:56 go test ./... -coverprofile=coverage.out 13:06:28 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:08:22 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:08:22 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.083s coverage: 58.4% of statements 13:08:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:08:22 go vet ./... 13:08:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:08:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:08:49 ./bin/test-attribution-txt.sh [Pipeline] echo 13:08:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:08:49 $ docker stop --time=1 814afcae63016b30510db26915722c43d0649f91481b5ea856d097492ad9b1c8 13:08:51 $ docker rm -f --volumes 814afcae63016b30510db26915722c43d0649f91481b5ea856d097492ad9b1c8 [Pipeline] // withDockerContainer [Pipeline] sh 13:08:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:08:52 Warning: overwriting stash ‘coverage-report’ 13:08:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:08:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:08:53 + ls -al . 13:08:53 total 188 13:08:53 drwxrwxr-x 8 jenkins jenkins 4096 May 9 13:05 . 13:08:53 drwxrwxr-x 4 jenkins jenkins 4096 May 9 13:03 .. 13:08:53 drwxrwxr-x 8 jenkins jenkins 4096 May 9 13:03 .git 13:08:53 drwxrwxr-x 3 jenkins jenkins 4096 May 9 13:03 .github 13:08:53 -rw-rw-r-- 1 jenkins jenkins 337 May 9 13:03 .gitignore 13:08:53 -rw-rw-r-- 1 jenkins jenkins 41 May 9 13:03 .golangci.yml 13:08:53 -rw-rw-r-- 1 jenkins jenkins 8652 May 9 13:03 Attribution.txt 13:08:53 -rw-rw-r-- 1 jenkins jenkins 11367 May 9 13:03 CHANGELOG.md 13:08:53 -rw-rw-r-- 1 jenkins jenkins 1646 May 9 13:03 Dockerfile 13:08:53 -rw-rw-r-- 1 jenkins jenkins 677 May 9 13:03 GOVERNANCE.md 13:08:53 -rw-rw-r-- 1 jenkins jenkins 660 May 9 13:03 Jenkinsfile 13:08:53 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 13:03 LICENSE 13:08:53 -rw-rw-r-- 1 jenkins jenkins 1696 May 9 13:03 Makefile 13:08:53 -rw-rw-r-- 1 jenkins jenkins 623 May 9 13:03 OWNERS.md 13:08:53 -rw-rw-r-- 1 jenkins jenkins 3578 May 9 13:03 README.md 13:08:53 -rw-rw-r-- 1 jenkins jenkins 12 May 9 13:01 VERSION 13:08:53 drwxrwxr-x 2 jenkins jenkins 4096 May 9 13:03 bin 13:08:53 drwxrwxr-x 3 jenkins jenkins 4096 May 9 13:03 cmd 13:08:53 -rw-r--r-- 1 jenkins jenkins 43063 May 9 13:08 coverage.out 13:08:53 -rw-rw-r-- 1 jenkins jenkins 3209 May 9 13:03 go.mod 13:08:53 -rw-rw-r-- 1 jenkins jenkins 30994 May 9 13:03 go.sum 13:08:53 drwxrwxr-x 3 jenkins jenkins 4096 May 9 13:03 internal 13:08:53 drwxrwxr-x 4 jenkins jenkins 4096 May 9 13:03 snap 13:08:53 -rw-rw-r-- 1 jenkins jenkins 235 May 9 13:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:54 + 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=e88a56d1e6585e93dcd7e4f327c101309364504a --label arch=arm64 --label version=3.0.0-dev.42 . 13:08:54 Sending build context to Docker daemon 12.01MB 13:08:54 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:08:54 Step 2/25 : FROM ${BASE} AS builder 13:08:54 ---> 65ab0c7132b9 13:08:54 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:08:54 ---> Running in f21d795b6adf 13:08:54 Removing intermediate container f21d795b6adf 13:08:54 ---> 2b5f4f577a73 13:08:54 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 13:08:54 ---> Running in 830e76999748 13:08:55 Removing intermediate container 830e76999748 13:08:55 ---> 9aebcd3d084a 13:08:55 Step 5/25 : ARG ADD_BUILD_TAGS="" 13:08:55 ---> Running in 4a98709be3a4 13:08:55 Removing intermediate container 4a98709be3a4 13:08:55 ---> 45b2741ad0cf 13:08:55 Step 6/25 : WORKDIR /device-virtual-go 13:08:55 ---> Running in f4387f74e754 13:08:55 Removing intermediate container f4387f74e754 13:08:55 ---> d2c3ce69ee69 13:08:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:08:55 ---> Running in 25d239b1f265 13:08:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:08:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:08:58 OK: 268 MiB in 57 packages 13:08:59 Removing intermediate container 25d239b1f265 13:08:59 ---> 0af81e802047 13:08:59 Step 8/25 : COPY go.mod vendor* ./ 13:08:59 ---> 0899f42b3db3 13:08:59 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:09:00 ---> Running in 20fec18df144 13:09:04 Removing intermediate container 20fec18df144 13:09:04 ---> 7728359ceafe 13:09:04 Step 10/25 : COPY . . 13:09:05 ---> 92d10d30b250 13:09:05 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:09:05 ---> Running in 282e4649f5c7 13:09:05 Removing intermediate container 282e4649f5c7 13:09:05 ---> fd6205690314 13:09:05 Step 12/25 : RUN $MAKE 13:09:05 ---> Running in dd1c2c554776 13:09:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.42" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 13:11:13 Removing intermediate container dd1c2c554776 13:11:13 ---> 07cb84fb8e4b 13:11:13 Step 13/25 : FROM alpine:3.17 13:11:13 3.17: Pulling from library/alpine 13:11:13 c41833b44d91: Already exists 13:11:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:11:13 Status: Downloaded newer image for alpine:3.17 13:11:13 ---> 51e60588ff2c 13:11:13 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:11:13 ---> Running in aef4532228bc 13:11:13 Removing intermediate container aef4532228bc 13:11:13 ---> 8c5cda6a016a 13:11:13 Step 15/25 : RUN apk add --update --no-cache dumb-init 13:11:13 ---> Running in ea4ba86f848e 13:11:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:11:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:11:13 (1/1) Installing dumb-init (1.2.5-r2) 13:11:13 Executing busybox-1.35.0-r29.trigger 13:11:13 OK: 8 MiB in 16 packages 13:11:13 Removing intermediate container ea4ba86f848e 13:11:13 ---> 799b876a2e8c 13:11:13 Step 16/25 : WORKDIR / 13:11:13 ---> Running in 1fdc661f6803 13:11:13 Removing intermediate container 1fdc661f6803 13:11:13 ---> 6ee28185c48c 13:11:13 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:11:13 ---> ee3ffeb9a545 13:11:13 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 13:11:13 ---> 58109c8fec4c 13:11:13 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 13:11:13 ---> e6ba230aa979 13:11:13 Step 20/25 : EXPOSE 59900 13:11:13 ---> Running in 9d16f2b0a26b 13:11:14 Removing intermediate container 9d16f2b0a26b 13:11:14 ---> b54028df20a6 13:11:14 Step 21/25 : ENTRYPOINT ["/device-virtual"] 13:11:14 ---> Running in ad650e714324 13:11:14 Removing intermediate container ad650e714324 13:11:14 ---> c6c4a8a1483b 13:11:14 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:11:14 ---> Running in 503b92f6ea3a 13:11:14 Removing intermediate container 503b92f6ea3a 13:11:14 ---> 0f68e3e99873 13:11:14 Step 23/25 : LABEL arch=arm64 13:11:14 ---> Running in 7d56a54ad6cf 13:11:14 Removing intermediate container 7d56a54ad6cf 13:11:14 ---> cf03ed87db17 13:11:14 Step 24/25 : LABEL git_sha=e88a56d1e6585e93dcd7e4f327c101309364504a 13:11:15 ---> Running in a491cdd57f85 13:11:15 Removing intermediate container a491cdd57f85 13:11:15 ---> 248d0bc6d94a 13:11:15 Step 25/25 : LABEL version=3.0.0-dev.42 13:11:15 ---> Running in 4203a9a38cdc 13:11:15 Removing intermediate container 4203a9a38cdc 13:11:15 ---> 2113fafb560f 13:11:15 [Warning] One or more build-args [ARCH] were not consumed 13:11:15 Successfully built 2113fafb560f 13:11:15 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:11:15 provisioning config files... 13:11:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/114@tmp/config1911788605279425082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:11:16 ---> docker-login.sh 13:11:16 nexus3.edgexfoundry.org:10001 13:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:16 Configure a credential helper to remove this warning. See 13:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:16 13:11:16 Login Succeeded 13:11:16 nexus3.edgexfoundry.org:10002 13:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:16 Configure a credential helper to remove this warning. See 13:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:16 13:11:16 Login Succeeded 13:11:16 nexus3.edgexfoundry.org:10003 13:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:17 Configure a credential helper to remove this warning. See 13:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:17 13:11:17 Login Succeeded 13:11:17 nexus3.edgexfoundry.org:10004 13:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:17 Configure a credential helper to remove this warning. See 13:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:17 13:11:17 Login Succeeded 13:11:17 docker.io 13:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:11:17 Configure a credential helper to remove this warning. See 13:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:11:17 13:11:17 Login Succeeded 13:11:17 ---> docker-login.sh ends [Pipeline] } 13:11:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:11:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:11:17 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 13:11:17 e88a56d1e6585e93dcd7e4f327c101309364504a 13:11:17 latest 13:11:17 3.0.0-dev.42 13:11:17 e88a56d1e6585e93dcd7e4f327c101309364504a-3.0.0-dev.42 13:11:17 main 13:11:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:18 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:e88a56d1e6585e93dcd7e4f327c101309364504a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:e88a56d1e6585e93dcd7e4f327c101309364504a 13:11:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:11:18 d7173b3d4709: Preparing 13:11:18 1af4772c6195: Preparing 13:11:18 ae9f0ce5c784: Preparing 13:11:18 a81ea6a25127: Preparing 13:11:18 26cbea5cba74: Preparing 13:11:18 26cbea5cba74: Layer already exists 13:11:18 ae9f0ce5c784: Pushed 13:11:18 1af4772c6195: Pushed 13:11:18 a81ea6a25127: Pushed 13:11:24 d7173b3d4709: Pushed 13:11:24 e88a56d1e6585e93dcd7e4f327c101309364504a: digest: sha256:ae35272238e58f85325885dde3783fe7ce56671695bc7ac55c44918abe67ef6c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:24 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 13:11:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:11:24 d7173b3d4709: Preparing 13:11:24 1af4772c6195: Preparing 13:11:24 ae9f0ce5c784: Preparing 13:11:24 a81ea6a25127: Preparing 13:11:24 26cbea5cba74: Preparing 13:11:24 d7173b3d4709: Layer already exists 13:11:24 a81ea6a25127: Layer already exists 13:11:24 1af4772c6195: Layer already exists 13:11:24 26cbea5cba74: Layer already exists 13:11:24 ae9f0ce5c784: Layer already exists 13:11:24 latest: digest: sha256:ae35272238e58f85325885dde3783fe7ce56671695bc7ac55c44918abe67ef6c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:25 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.42 13:11:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:11:25 d7173b3d4709: Preparing 13:11:25 1af4772c6195: Preparing 13:11:25 ae9f0ce5c784: Preparing 13:11:25 a81ea6a25127: Preparing 13:11:25 26cbea5cba74: Preparing 13:11:25 ae9f0ce5c784: Layer already exists 13:11:25 a81ea6a25127: Layer already exists 13:11:25 1af4772c6195: Layer already exists 13:11:25 26cbea5cba74: Layer already exists 13:11:25 d7173b3d4709: Layer already exists 13:11:25 3.0.0-dev.42: digest: sha256:ae35272238e58f85325885dde3783fe7ce56671695bc7ac55c44918abe67ef6c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:25 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:e88a56d1e6585e93dcd7e4f327c101309364504a-3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:e88a56d1e6585e93dcd7e4f327c101309364504a-3.0.0-dev.42 13:11:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:11:26 d7173b3d4709: Preparing 13:11:26 1af4772c6195: Preparing 13:11:26 ae9f0ce5c784: Preparing 13:11:26 a81ea6a25127: Preparing 13:11:26 26cbea5cba74: Preparing 13:11:26 26cbea5cba74: Layer already exists 13:11:26 ae9f0ce5c784: Layer already exists 13:11:26 a81ea6a25127: Layer already exists 13:11:26 1af4772c6195: Layer already exists 13:11:26 d7173b3d4709: Layer already exists 13:11:26 e88a56d1e6585e93dcd7e4f327c101309364504a-3.0.0-dev.42: digest: sha256:ae35272238e58f85325885dde3783fe7ce56671695bc7ac55c44918abe67ef6c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:26 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 13:11:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:11:26 d7173b3d4709: Preparing 13:11:26 1af4772c6195: Preparing 13:11:26 ae9f0ce5c784: Preparing 13:11:26 a81ea6a25127: Preparing 13:11:26 26cbea5cba74: Preparing 13:11:26 1af4772c6195: Layer already exists 13:11:26 d7173b3d4709: Layer already exists 13:11:26 26cbea5cba74: Layer already exists 13:11:26 ae9f0ce5c784: Layer already exists 13:11:26 a81ea6a25127: Layer already exists 13:11:27 main: digest: sha256:ae35272238e58f85325885dde3783fe7ce56671695bc7ac55c44918abe67ef6c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:11:27 ===================================================== [Pipeline] echo 13:11:27 taggedImages: 13:11:27 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:e88a56d1e6585e93dcd7e4f327c101309364504a 13:11:27 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 13:11:27 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.42 13:11:27 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:e88a56d1e6585e93dcd7e4f327c101309364504a-3.0.0-dev.42 13:11:27 - 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 13:11:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:11:27 13:11:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:11:28 arm64: Pulling from edgex-lftools-log-publisher 13:11:28 8998bd30e6a1: Pulling fs layer 13:11:28 04944245beec: Pulling fs layer 13:11:28 699f458cf7ca: Pulling fs layer 13:11:28 765212b225bb: Pulling fs layer 13:11:28 f23df028b6ca: Pulling fs layer 13:11:28 d65c8cfc05b1: Pulling fs layer 13:11:28 2437ff75d9bd: Pulling fs layer 13:11:28 765212b225bb: Waiting 13:11:28 f23df028b6ca: Waiting 13:11:28 d65c8cfc05b1: Waiting 13:11:28 2437ff75d9bd: Waiting 13:11:28 04944245beec: Verifying Checksum 13:11:28 04944245beec: Download complete 13:11:28 765212b225bb: Verifying Checksum 13:11:28 765212b225bb: Download complete 13:11:28 f23df028b6ca: Verifying Checksum 13:11:28 f23df028b6ca: Download complete 13:11:28 d65c8cfc05b1: Verifying Checksum 13:11:28 d65c8cfc05b1: Download complete 13:11:28 699f458cf7ca: Verifying Checksum 13:11:28 699f458cf7ca: Download complete 13:11:28 8998bd30e6a1: Verifying Checksum 13:11:28 8998bd30e6a1: Download complete 13:11:30 2437ff75d9bd: Verifying Checksum 13:11:30 2437ff75d9bd: Download complete 13:11:32 8998bd30e6a1: Pull complete 13:11:33 04944245beec: Pull complete 13:11:34 699f458cf7ca: Pull complete 13:11:34 765212b225bb: Pull complete 13:11:35 f23df028b6ca: Pull complete 13:11:35 d65c8cfc05b1: Pull complete 13:11:50 2437ff75d9bd: Pull complete 13:11:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:11:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:11:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:50 prd-ubuntu20.04-docker-arm64-4c-16g-14676 does not seem to be running inside a container 13:11:50 $ 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/114 -v /w/workspace/device-virtual-go/114:/w/workspace/device-virtual-go/114:rw,z -v /w/workspace/device-virtual-go/114@tmp:/w/workspace/device-virtual-go/114@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 13:11:53 $ docker top bdb871ed990752fe06e17909e2c4c5a3db816a286fcc8b886e9f8ea9b026763b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:11:53 ---> job-cost.sh 13:11:53 lf-activate-venv: SKIPPING 13:11:53 INFO: No Stack... 13:11:54 INFO: Retrieving Pricing Info for: v3-standard-4 13:11:55 INFO: Archiving Costs [Pipeline] sh 13:11:55 + cat /w/workspace/device-virtual-go/114/archives/cost.csv 13:11:55 + cut -d, -f6 [Pipeline] lock 13:11:55 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-114-stack-cost] 13:11:55 Resource [jenkins-edgexfoundry-device-virtual-go-main-114-stack-cost] did not exist. Created. 13:11:55 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-114-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:11:55 /w/workspace/device-virtual-go/114@tmp/durable-bdb663f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:11:56 + echo total: 0.10999999940395355 [Pipeline] stash 13:11:56 Warning: overwriting stash ‘stack-cost’ 13:11:56 Stashed 1 file(s) [Pipeline] } 13:11:56 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-114-stack-cost] [Pipeline] // lock [Pipeline] } 13:11:56 $ docker stop --time=1 bdb871ed990752fe06e17909e2c4c5a3db816a286fcc8b886e9f8ea9b026763b 13:11:57 $ docker rm -f --volumes bdb871ed990752fe06e17909e2c4c5a3db816a286fcc8b886e9f8ea9b026763b [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 13:11:57 provisioning config files... 13:11:57 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10708337120311892562tmp [Pipeline] { [Pipeline] sh 13:11:58 + set +x 13:11:58 + bash+ -s -- 13:11:58 curl -s https://codecov.io/bash 13:11:58 13:11:58 _____ _ 13:11:58 / ____| | | 13:11:58 | | ___ __| | ___ ___ _____ __ 13:11:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:11:58 | |___| (_) | (_| | __/ (_| (_) \ V / 13:11:58 \_____\___/ \__,_|\___|\___\___/ \_/ 13:11:58 Bash-1.0.6 13:11:58 13:11:58 13:11:58 ==> git version 2.25.1 found 13:11:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:11:58 Release-Date: 2020-01-08 13:11:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:11:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:11:58 ==> Jenkins CI detected. 13:11:58 current dir:  /w/workspace/exfoundry_device-virtual-go_main 13:11:58 project root: . 13:11:58 --> token set from env 13:11:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:11:58 ==> Running gcov in . (disable via -X gcov) 13:11:58 ==> Python coveragepy not found 13:11:58 ==> Searching for coverage reports in: 13:11:58 + . 13:11:58 -> Found 1 reports 13:11:58 ==> Detecting git/mercurial file structure 13:11:58 ==> Reading reports 13:11:58 + ./coverage.out bytes=43063 13:11:58 ==> Appending adjustments 13:11:58 https://docs.codecov.io/docs/fixing-reports 13:11:58 + Found adjustments 13:11:58 ==> Gzipping contents 13:11:58 8.0K /tmp/codecov.wUD0VZ.gz 13:11:58 ==> Uploading reports 13:11:58 url: https://codecov.io 13:11:58 query: branch=main&commit=e88a56d1e6585e93dcd7e4f327c101309364504a&build=114&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F114%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:11:58 -> Pinging Codecov 13:11:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=e88a56d1e6585e93dcd7e4f327c101309364504a&build=114&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F114%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:11:58 -> Uploading to 13:11:58 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/5E52B4B073DB2E39498172D8E973AA87/e88a56d1e6585e93dcd7e4f327c101309364504a/1b11d2e7-d4eb-45aa-bf2d-c629e47610a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T131158Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4d3dc784d4e1d6ec6b0cf092dc411547f703b7f64b9f1b6dc3b16a1888a39087 13:11:58 % Total % Received % Xferd Average Speed Time Time Time Current 13:11:58 Dload Upload Total Spent Left Speed 13:11:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 25165 --:--:-- --:--:-- --:--:-- 25043 100 5184 0 0 100 5184 0 25043 --:--:-- --:--:-- --:--:-- 24923 13:11:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/e88a56d1e6585e93dcd7e4f327c101309364504a [Pipeline] } 13:11:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 13:11:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 13:11:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:11:59 13:11:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:11:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 13:11:59 df9b9388f04a: Pulling fs layer 13:11:59 52dc419b0ee2: Pulling fs layer 13:11:59 25bc292e5bac: Pulling fs layer 13:11:59 114826534d7a: Pulling fs layer 13:11:59 4657fd5d0bcf: Pulling fs layer 13:11:59 114826534d7a: Waiting 13:11:59 4657fd5d0bcf: Waiting 13:11:59 6ad1cebc031e: Pulling fs layer 13:11:59 8a3aa393b2d8: Pulling fs layer 13:11:59 6ad1cebc031e: Waiting 13:11:59 8a3aa393b2d8: Waiting 13:11:59 25bc292e5bac: Verifying Checksum 13:11:59 52dc419b0ee2: Download complete 13:11:59 4657fd5d0bcf: Verifying Checksum 13:11:59 4657fd5d0bcf: Download complete 13:11:59 df9b9388f04a: Verifying Checksum 13:11:59 df9b9388f04a: Download complete 13:11:59 df9b9388f04a: Pull complete 13:11:59 6ad1cebc031e: Verifying Checksum 13:11:59 6ad1cebc031e: Download complete 13:11:59 52dc419b0ee2: Pull complete 13:11:59 25bc292e5bac: Pull complete 13:12:00 114826534d7a: Verifying Checksum 13:12:00 114826534d7a: Download complete 13:12:00 8a3aa393b2d8: Verifying Checksum 13:12:00 8a3aa393b2d8: Download complete 13:12:03 114826534d7a: Pull complete 13:12:03 4657fd5d0bcf: Pull complete 13:12:03 6ad1cebc031e: Pull complete 13:12:06 8a3aa393b2d8: Pull complete 13:12:06 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 13:12:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:12:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:06 prd-ubuntu20.04-docker-8c-8g-14674 does not seem to be running inside a container 13:12:06 $ 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 13:12:09 $ docker top b2c98312c22bd67a5c830f17fdf63928d0ed8e81b07dfbd12f77b0743b81e5ac -eo pid,comm [Pipeline] { [Pipeline] echo 13:12:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 13:12:09 + set -o pipefail 13:12:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 13:12:15 13:12:15 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 13:12:15 13:12:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/f718e382-f5b9-4d8b-ae08-70355d092845 13:12:15 13:12:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 13:12:15 13:12:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:12:15 13:12:15 13:12:15 A medium severity vulnerability was found in the Snyk CLI versions you are using. 13:12:15 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 13:12:15 More details here: https://snyk.co/ue1NS 13:12:15 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 13:12:15 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 13:12:15 $ docker stop --time=1 b2c98312c22bd67a5c830f17fdf63928d0ed8e81b07dfbd12f77b0743b81e5ac 13:12:18 $ docker rm -f --volumes b2c98312c22bd67a5c830f17fdf63928d0ed8e81b07dfbd12f77b0743b81e5ac [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 13:12:18 + git log --format=format:%s -1 e88a56d1e6585e93dcd7e4f327c101309364504a [Pipeline] sh 13:12:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:12:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:12:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:19 prd-ubuntu20.04-docker-8c-8g-14674 does not seem to be running inside a container 13:12:19 $ 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 13:12:19 $ docker top c54261dc016eae821819d98d571a5fda024c6faaaeb7073d426702cce5c89826 -eo pid,comm 13:12:19 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). 13:12:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:12:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:12:19 [ssh-agent] Looking for ssh-agent implementation... 13:12:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:12:20 $ docker exec c54261dc016eae821819d98d571a5fda024c6faaaeb7073d426702cce5c89826 ssh-agent 13:12:20 SSH_AUTH_SOCK=/tmp/ssh-Me5z66rETeRy/agent.31 13:12:20 SSH_AGENT_PID=37 13:12:20 Running ssh-add (command line suppressed) 13:12:20 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7217991263870367499.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7217991263870367499.key) 13:12:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:12:20 + git semver tag 13:12:20 2023-05-09 13:12:20,795 [run_tag] DEBUG tag force:False 13:12:20 2023-05-09 13:12:20,795 [check_head_tag] DEBUG check head tag 13:12:20 2023-05-09 13:12:20,797 [execute] INFO git cat-file --batch-check 13:12:20 2023-05-09 13:12:20,797 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 13:12:20 2023-05-09 13:12:20,800 [execute] INFO git cat-file --batch 13:12:20 2023-05-09 13:12:20,801 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 13:12:20 2023-05-09 13:12:20,825 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:12:20 2023-05-09 13:12:20,825 [execute] INFO git tag -a v3.0.0-dev.42 -m v3.0.0-dev.42 13:12:20 2023-05-09 13:12:20,825 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.42', '-m', 'v3.0.0-dev.42'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 13:12:20 2023-05-09 13:12:20,829 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:12:20 3.0.0-dev.42 [Pipeline] } 13:12:20 $ docker exec --env ******** --env ******** c54261dc016eae821819d98d571a5fda024c6faaaeb7073d426702cce5c89826 ssh-agent -k 13:12:20 unset SSH_AUTH_SOCK; 13:12:20 unset SSH_AGENT_PID; 13:12:20 echo Agent pid 37 killed; 13:12:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:12:22 + git semver [Pipeline] } 13:12:23 $ docker stop --time=1 c54261dc016eae821819d98d571a5fda024c6faaaeb7073d426702cce5c89826 13:12:24 $ docker rm -f --volumes c54261dc016eae821819d98d571a5fda024c6faaaeb7073d426702cce5c89826 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:12:24 13:12:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:12:25 0.23.1-centos7: Pulling from edgex-lftools 13:12:25 ab5ef0e58194: Pulling fs layer 13:12:25 9712f1f96733: Pulling fs layer 13:12:25 63f879dbbcfc: Pulling fs layer 13:12:25 0d9ebad4ef96: Pulling fs layer 13:12:25 e9a5061849ea: Pulling fs layer 13:12:25 d747dcd14b5f: Pulling fs layer 13:12:25 2de7ff778b66: Pulling fs layer 13:12:25 2de7ff778b66: Waiting 13:12:25 d747dcd14b5f: Waiting 13:12:25 e9a5061849ea: Waiting 13:12:25 0d9ebad4ef96: Waiting 13:12:25 9712f1f96733: Verifying Checksum 13:12:25 9712f1f96733: Download complete 13:12:25 63f879dbbcfc: Verifying Checksum 13:12:25 63f879dbbcfc: Download complete 13:12:25 e9a5061849ea: Verifying Checksum 13:12:25 e9a5061849ea: Download complete 13:12:25 0d9ebad4ef96: Verifying Checksum 13:12:25 0d9ebad4ef96: Download complete 13:12:25 d747dcd14b5f: Verifying Checksum 13:12:25 d747dcd14b5f: Download complete 13:12:25 ab5ef0e58194: Verifying Checksum 13:12:25 ab5ef0e58194: Download complete 13:12:25 2de7ff778b66: Verifying Checksum 13:12:25 2de7ff778b66: Download complete 13:12:28 ab5ef0e58194: Pull complete 13:12:28 9712f1f96733: Pull complete 13:12:28 63f879dbbcfc: Pull complete 13:12:31 0d9ebad4ef96: Pull complete 13:12:32 e9a5061849ea: Pull complete 13:12:32 d747dcd14b5f: Pull complete 13:12:33 2de7ff778b66: Pull complete 13:12:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:12:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:12:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:33 prd-ubuntu20.04-docker-8c-8g-14674 does not seem to be running inside a container 13:12:33 $ 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 13:12:36 $ docker top abfc3f3050aa591d35dcebbbeb87d2b72e998b5066ff57c6b477e5f1b33f1bc3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:12:36 provisioning config files... 13:12:36 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11404507557062903667tmp 13:12:36 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3709034779669281875tmp 13:12:36 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2314327277273170004tmp [Pipeline] { [Pipeline] echo 13:12:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:12:37 ---> sigul-configuration.sh 13:12:37 gpg: directory `/root/.gnupg' created 13:12:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:12:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:12:37 gpg: keyring `/root/.gnupg/secring.gpg' created 13:12:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:12:37 gpg: CAST5 encrypted data 13:12:37 gpg: encrypted with 1 passphrase 13:12:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:12:37 + mkdir /home/jenkins 13:12:37 + mkdir /home/jenkins/sigul [Pipeline] sh 13:12:37 + 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 13:12:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:12:37 ---> sigul-install.sh 13:12:37 Sigul already installed; skipping installation. [Pipeline] sh 13:12:38 + git tag --list 13:12:38 v1.0.0 13:12:38 v1.1.0 13:12:38 v1.1.1 13:12:38 v1.2.1 13:12:38 v1.2.2 13:12:38 v1.2.3 13:12:38 v1.3.0 13:12:38 v1.3.1 13:12:38 v2.0.0 13:12:38 v2.1.0 13:12:38 v2.1.1 13:12:38 v2.1.1-dev.1 13:12:38 v2.1.1-dev.2 13:12:38 v2.2.0 13:12:38 v2.2.1-dev.1 13:12:38 v2.2.1-dev.2 13:12:38 v2.2.1-dev.3 13:12:38 v2.2.1-dev.4 13:12:38 v2.2.1-dev.5 13:12:38 v2.2.1-dev.6 13:12:38 v2.2.1-dev.7 13:12:38 v2.2.1-dev.8 13:12:38 v2.3.0 13:12:38 v2.3.0-dev.10 13:12:38 v2.3.0-dev.11 13:12:38 v2.3.0-dev.12 13:12:38 v2.3.0-dev.13 13:12:38 v2.3.0-dev.14 13:12:38 v2.3.0-dev.15 13:12:38 v2.3.0-dev.16 13:12:38 v2.3.0-dev.17 13:12:38 v2.3.0-dev.18 13:12:38 v2.3.0-dev.19 13:12:38 v2.3.0-dev.20 13:12:38 v2.3.0-dev.21 13:12:38 v2.3.0-dev.22 13:12:38 v2.3.0-dev.23 13:12:38 v2.3.0-dev.24 13:12:38 v2.3.0-dev.25 13:12:38 v2.3.0-dev.26 13:12:38 v2.3.0-dev.27 13:12:38 v2.3.0-dev.28 13:12:38 v2.3.0-dev.29 13:12:38 v2.3.0-dev.30 13:12:38 v2.3.0-dev.8 13:12:38 v2.3.0-dev.9 13:12:38 v3.0.0-dev.1 13:12:38 v3.0.0-dev.10 13:12:38 v3.0.0-dev.11 13:12:38 v3.0.0-dev.12 13:12:38 v3.0.0-dev.13 13:12:38 v3.0.0-dev.14 13:12:38 v3.0.0-dev.15 13:12:38 v3.0.0-dev.16 13:12:38 v3.0.0-dev.17 13:12:38 v3.0.0-dev.18 13:12:38 v3.0.0-dev.19 13:12:38 v3.0.0-dev.2 13:12:38 v3.0.0-dev.20 13:12:38 v3.0.0-dev.21 13:12:38 v3.0.0-dev.22 13:12:38 v3.0.0-dev.23 13:12:38 v3.0.0-dev.24 13:12:38 v3.0.0-dev.25 13:12:38 v3.0.0-dev.26 13:12:38 v3.0.0-dev.27 13:12:38 v3.0.0-dev.28 13:12:38 v3.0.0-dev.29 13:12:38 v3.0.0-dev.3 13:12:38 v3.0.0-dev.30 13:12:38 v3.0.0-dev.31 13:12:38 v3.0.0-dev.32 13:12:38 v3.0.0-dev.33 13:12:38 v3.0.0-dev.34 13:12:38 v3.0.0-dev.35 13:12:38 v3.0.0-dev.36 13:12:38 v3.0.0-dev.37 13:12:38 v3.0.0-dev.38 13:12:38 v3.0.0-dev.39 13:12:38 v3.0.0-dev.4 13:12:38 v3.0.0-dev.40 13:12:38 v3.0.0-dev.41 13:12:38 v3.0.0-dev.42 13:12:38 v3.0.0-dev.5 13:12:38 v3.0.0-dev.6 13:12:38 v3.0.0-dev.7 13:12:38 v3.0.0-dev.8 13:12:38 v3.0.0-dev.9 [Pipeline] sh 13:12:38 + lftools sign git-tag v3.0.0-dev.42 13:12:39 Signing Git tag with Sigul... 13:12:39 Signing v3.0.0-dev.42 [Pipeline] echo 13:12:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:12:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:12:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:12:39 $ docker stop --time=1 abfc3f3050aa591d35dcebbbeb87d2b72e998b5066ff57c6b477e5f1b33f1bc3 13:12:40 $ docker rm -f --volumes abfc3f3050aa591d35dcebbbeb87d2b72e998b5066ff57c6b477e5f1b33f1bc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 13:12:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:12:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:12:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:41 prd-ubuntu20.04-docker-8c-8g-14674 does not seem to be running inside a container 13:12: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 13:12:42 $ docker top 71590f2bd661e79d34b75285b60d50f9b6ca89d3d812f84f4e44e7e4ddb36cb3 -eo pid,comm 13:12: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). 13:12:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:12:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:12:42 [ssh-agent] Looking for ssh-agent implementation... 13:12:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:12:42 $ docker exec 71590f2bd661e79d34b75285b60d50f9b6ca89d3d812f84f4e44e7e4ddb36cb3 ssh-agent 13:12:42 SSH_AUTH_SOCK=/tmp/ssh-BSvT9t8ZIFCr/agent.32 13:12:42 SSH_AGENT_PID=38 13:12:42 Running ssh-add (command line suppressed) 13:12:42 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4334283734884468948.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4334283734884468948.key) 13:12:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:12:42 + git semver bump pre 13:12:43 2023-05-09 13:12:43,008 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:12:43 2023-05-09 13:12:43,008 [bump_version] DEBUG bumping version:3.0.0-dev.42 on axis:pre with prefix:dev 13:12:43 2023-05-09 13:12:43,008 [bump_version] DEBUG bumped version:3.0.0-dev.43 13:12:43 2023-05-09 13:12:43,008 [write_version] DEBUG write version:3.0.0-dev.43 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 13:12:43 2023-05-09 13:12:43,008 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:12:43 2023-05-09 13:12:43,008 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:12:43 2023-05-09 13:12:43,010 [execute] INFO git cat-file --batch-check 13:12:43 2023-05-09 13:12:43,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:12:43 2023-05-09 13:12:43,015 [execute] INFO git cat-file --batch 13:12:43 2023-05-09 13:12:43,016 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:12:43 2023-05-09 13:12:43,020 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:12:43 3.0.0-dev.43 [Pipeline] } 13:12:43 $ docker exec --env ******** --env ******** 71590f2bd661e79d34b75285b60d50f9b6ca89d3d812f84f4e44e7e4ddb36cb3 ssh-agent -k 13:12:43 unset SSH_AUTH_SOCK; 13:12:43 unset SSH_AGENT_PID; 13:12:43 echo Agent pid 38 killed; 13:12:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:12:43 + git semver [Pipeline] } 13:12:43 $ docker stop --time=1 71590f2bd661e79d34b75285b60d50f9b6ca89d3d812f84f4e44e7e4ddb36cb3 13:12:45 $ docker rm -f --volumes 71590f2bd661e79d34b75285b60d50f9b6ca89d3d812f84f4e44e7e4ddb36cb3 [Pipeline] // withDockerContainer [Pipeline] sh 13:12:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:12:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:12:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:45 prd-ubuntu20.04-docker-8c-8g-14674 does not seem to be running inside a container 13:12:45 $ 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 13:12:46 $ docker top 5934663b1bdac855badf04c2b230d2082d5d990af20d0b27b0774b0a91b10b8b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:12:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:12:46 [ssh-agent] Looking for ssh-agent implementation... 13:12:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:12:46 $ docker exec 5934663b1bdac855badf04c2b230d2082d5d990af20d0b27b0774b0a91b10b8b ssh-agent 13:12:46 SSH_AUTH_SOCK=/tmp/ssh-Zjx5SA2r0R1g/agent.32 13:12:46 SSH_AGENT_PID=38 13:12:46 Running ssh-add (command line suppressed) 13:12:46 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8234746563058587513.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8234746563058587513.key) 13:12:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:12:46 + git semver push 13:12:47 2023-05-09 13:12:47,020 [run_push] DEBUG push 13:12:47 2023-05-09 13:12:47,021 [execute] INFO git cat-file --batch-check 13:12:47 2023-05-09 13:12:47,021 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:12:47 2023-05-09 13:12:47,025 [execute] INFO git rev-list 1e1c5d00b5fe9b54f504d1f2318d3bae0e795772 -- 13:12:47 2023-05-09 13:12:47,025 [execute] DEBUG Popen(['git', 'rev-list', '1e1c5d00b5fe9b54f504d1f2318d3bae0e795772', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:12:47 2023-05-09 13:12:47,035 [execute] INFO git fetch -v origin 13:12:47 2023-05-09 13:12:47,035 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 13:12:47 2023-05-09 13:12:47,525 [run_push] DEBUG no remote changes detected 13:12:47 2023-05-09 13:12:47,526 [execute] INFO git push origin semver 13:12:47 2023-05-09 13:12:47,527 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:12:48 2023-05-09 13:12:48,319 [run_push] DEBUG push all version tags 13:12:48 2023-05-09 13:12:48,320 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 13:12:48 2023-05-09 13:12:48,320 [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) 13:12:49 2023-05-09 13:12:49,072 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:12:49 3.0.0-dev.43 [Pipeline] } 13:12:49 $ docker exec --env ******** --env ******** 5934663b1bdac855badf04c2b230d2082d5d990af20d0b27b0774b0a91b10b8b ssh-agent -k 13:12:49 unset SSH_AUTH_SOCK; 13:12:49 unset SSH_AGENT_PID; 13:12:49 echo Agent pid 38 killed; 13:12:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:12:49 + git semver [Pipeline] } 13:12:49 $ docker stop --time=1 5934663b1bdac855badf04c2b230d2082d5d990af20d0b27b0774b0a91b10b8b 13:12:51 $ docker rm -f --volumes 5934663b1bdac855badf04c2b230d2082d5d990af20d0b27b0774b0a91b10b8b [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 13:12:52 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 13:12:52 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 13:12:52 total 16 13:12:52 drwxr-xr-x 3 root root 4096 May 9 13:04 . 13:12:52 drwxrwxr-x 10 jenkins jenkins 4096 May 9 13:12 .. 13:12:52 drwxr-xr-x 2 root root 4096 May 9 13:04 cost 13:12:52 -rw-r--r-- 1 root root 89 May 9 13:04 cost.csv 13:12:52 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 13:12:52 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 13:12:52 total 16 13:12:52 drwxr-xr-x 3 jenkins jenkins 4096 May 9 13:04 . 13:12:52 drwxrwxr-x 10 jenkins jenkins 4096 May 9 13:12 .. 13:12:52 drwxr-xr-x 2 jenkins jenkins 4096 May 9 13:04 cost 13:12:52 -rw-r--r-- 1 jenkins jenkins 89 May 9 13:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:12:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:12:53 ---> package-listing.sh 13:12:53 ++ facter osfamily 13:12:53 ++ tr '[:upper:]' '[:lower:]' 13:12:53 + OS_FAMILY=debian 13:12:53 + workspace=/w/workspace/exfoundry_device-virtual-go_main 13:12:53 + START_PACKAGES=/tmp/packages_start.txt 13:12:53 + END_PACKAGES=/tmp/packages_end.txt 13:12:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:12:53 + PACKAGES=/tmp/packages_start.txt 13:12:53 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 13:12:53 + PACKAGES=/tmp/packages_end.txt 13:12:53 + case "${OS_FAMILY}" in 13:12:53 + dpkg -l 13:12:53 + grep '^ii' 13:12:53 + '[' -f /tmp/packages_start.txt ']' 13:12:53 + '[' -f /tmp/packages_end.txt ']' 13:12:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:12:53 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 13:12:53 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 13:12:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 13:12:53 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 13:12:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:12:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:54 prd-ubuntu20.04-docker-8c-8g-14674 does not seem to be running inside a container 13:12:54 $ 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 13:12:55 $ docker top a2a9022de794406dc3c2e07477eb209cf3033919b9a2be0cbb2a2c0688ad3b3e -eo pid,comm [Pipeline] { [Pipeline] sh 13:12:55 + touch /tmp/pre-build-complete [Pipeline] sh 13:12:55 + mkdir -p /var/log/sysstat [Pipeline] sh 13:12:56 + ls /var/log/sa-host 13:12:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:12:56 provisioning config files... 13:12:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15377402761044849033tmp [Pipeline] { [Pipeline] echo 13:12:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:12:56 ---> create-netrc.sh [Pipeline] } 13:12:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:12:56 ---> python-tools-install.sh [Pipeline] echo 13:12:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:12:57 ---> sudo-logs.sh 13:12:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:12:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:12:57 ---> job-cost.sh 13:12:57 lf-activate-venv: SKIPPING 13:12:57 DEBUG: total: 0.2199999988079071 13:12:57 INFO: Retrieving Stack Cost... 13:12:58 INFO: Retrieving Pricing Info for: v3-standard-8 13:12:58 INFO: Archiving Costs [Pipeline] echo 13:12:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:12:58 ---> logs-deploy.sh 13:12:58 lf-activate-venv: SKIPPING 13:12:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/114 13:12:58 INFO: archiving workspace using pattern(s): 13:12:59 Archives upload complete. 13:12:59 INFO: archiving logs to Nexus