Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 28ee7a707fa5283bd85866fd30fed3ded774bf19 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-ssh15605957969924477488.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-ssh6663028714258128079.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-ssh15319491315321480554.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-ssh16894946524034925782.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-ssh1134803376153251947.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 ‘prd-ubuntu20.04-docker-8c-8g-15516’ Running on prd-ubuntu20.04-docker-8c-8g-15518 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 28ee7a707fa5283bd85866fd30fed3ded774bf19 (main) Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3 from 3.0.0-20230315092647-3e5be341fbd0 to 3.0.0 in /snap/local/helper-go (#407)" > 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 28ee7a707fa5283bd85866fd30fed3ded774bf19 # timeout=10 > git rev-list --no-walk 6a6923f6f990075cc9d362fe0d250c605a9d159f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:21:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:21:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:21:43 ========================================================= 08:21:43 EdgeX Global Pipelines Version Info 08:21:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:21:44 ------------------- 08:21:44 stable info: 08:21:44 ------------------- 08:21:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:21:44 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 08:21:44 Message: update stable to v1.0.249 08:21:44 ------------------- 08:21:44 experimental info: 08:21:44 ------------------- 08:21:44 Commited By: **** collab-it+edgex@linuxfoundation.org 08:21:44 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 08:21:44 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 28ee7a707fa5283bd85866fd30fed3ded774bf19 [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 28ee7a7 [Pipeline] echo 08:21:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:21:45 provisioning config files... 08:21:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14996338413342773979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:21:45 ---> docker-login.sh 08:21:45 nexus3.edgexfoundry.org:10001 08:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:21:46 Configure a credential helper to remove this warning. See 08:21:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:21:46 08:21:46 Login Succeeded 08:21:46 nexus3.edgexfoundry.org:10002 08:21:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:21:46 Configure a credential helper to remove this warning. See 08:21:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:21:46 08:21:46 Login Succeeded 08:21:46 nexus3.edgexfoundry.org:10003 08:21:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:21:46 Configure a credential helper to remove this warning. See 08:21:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:21:46 08:21:46 Login Succeeded 08:21:46 nexus3.edgexfoundry.org:10004 08:21:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:21:46 Configure a credential helper to remove this warning. See 08:21:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:21:46 08:21:46 Login Succeeded 08:21:46 docker.io 08:21:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:21:46 Configure a credential helper to remove this warning. See 08:21:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:21:46 08:21:46 Login Succeeded 08:21:46 ---> docker-login.sh ends [Pipeline] } 08:21:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:21:46 + git rev-list -1 --merges 28ee7a707fa5283bd85866fd30fed3ded774bf19~1..28ee7a707fa5283bd85866fd30fed3ded774bf19 [Pipeline] echo 08:21:47 -----------> git rev-list -1 --merges 28ee7a707fa5283bd85866fd30fed3ded774bf19~1..28ee7a707fa5283bd85866fd30fed3ded774bf19 28ee7a707fa5283bd85866fd30fed3ded774bf19 [false] [Pipeline] sh 08:21:47 + git log --format=format:%s -1 28ee7a707fa5283bd85866fd30fed3ded774bf19 [Pipeline] echo 08:21:47 ========================================================= 08:21:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:21:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:21:47 + git log --format=format:%s -1 28ee7a707fa5283bd85866fd30fed3ded774bf19 [Pipeline] echo 08:21:47 [semverPrep] GIT_COMMIT: 28ee7a707fa5283bd85866fd30fed3ded774bf19, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v3 from 3.0.0-20230315092647-3e5be341fbd0 to 3.0.0 in /snap/local/helper-go (#407) [Pipeline] echo 08:21:47 [semverPrep] This is not a build commit. [Pipeline] sh 08:21:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:21:48 + grep -v github /etc/ssh/ssh_known_hosts 08:21:48 + [ -e /tmp/ssh_known_hosts ] 08:21:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:21:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:21:48 + sudo tee -a /etc/ssh/ssh_known_hosts 08:21:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:21:48 08:21:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:21:48 0.1.4: Pulling from edgex-devops/py-git-semver 08:21:48 b85a868b505f: Pulling fs layer 08:21:48 e2be974225ed: Pulling fs layer 08:21:48 339a4e72a1f5: Pulling fs layer 08:21:48 988bab9f4d93: Pulling fs layer 08:21:48 1469e6f7b9e6: Pulling fs layer 08:21:48 eaf3925da568: Pulling fs layer 08:21:48 bab4dde63d76: Pulling fs layer 08:21:48 bde34c3a00c8: Pulling fs layer 08:21:48 b352a97aabf1: Pulling fs layer 08:21:48 4872d77fe225: Pulling fs layer 08:21:48 5851b861e8e6: Pulling fs layer 08:21:48 bab4dde63d76: Waiting 08:21:48 b352a97aabf1: Waiting 08:21:48 bde34c3a00c8: Waiting 08:21:48 4872d77fe225: Waiting 08:21:48 5851b861e8e6: Waiting 08:21:48 988bab9f4d93: Waiting 08:21:48 1469e6f7b9e6: Waiting 08:21:48 eaf3925da568: Waiting 08:21:48 e2be974225ed: Verifying Checksum 08:21:48 e2be974225ed: Download complete 08:21:48 988bab9f4d93: Verifying Checksum 08:21:48 988bab9f4d93: Download complete 08:21:48 1469e6f7b9e6: Verifying Checksum 08:21:48 1469e6f7b9e6: Download complete 08:21:48 339a4e72a1f5: Verifying Checksum 08:21:48 339a4e72a1f5: Download complete 08:21:48 eaf3925da568: Verifying Checksum 08:21:48 eaf3925da568: Download complete 08:21:48 bde34c3a00c8: Verifying Checksum 08:21:48 bde34c3a00c8: Download complete 08:21:48 b352a97aabf1: Download complete 08:21:48 4872d77fe225: Download complete 08:21:48 5851b861e8e6: Verifying Checksum 08:21:48 5851b861e8e6: Download complete 08:21:48 b85a868b505f: Verifying Checksum 08:21:48 b85a868b505f: Download complete 08:21:49 bab4dde63d76: Verifying Checksum 08:21:49 bab4dde63d76: Download complete 08:21:50 b85a868b505f: Pull complete 08:21:50 e2be974225ed: Pull complete 08:21:51 339a4e72a1f5: Pull complete 08:21:51 988bab9f4d93: Pull complete 08:21:51 1469e6f7b9e6: Pull complete 08:21:51 eaf3925da568: Pull complete 08:21:53 bab4dde63d76: Pull complete 08:21:53 bde34c3a00c8: Pull complete 08:21:53 b352a97aabf1: Pull complete 08:21:53 4872d77fe225: Pull complete 08:21:53 5851b861e8e6: Pull complete 08:21:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:21:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:21:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:21:53 prd-ubuntu20.04-docker-8c-8g-15518 does not seem to be running inside a container 08:21:53 $ 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 08:21:56 $ docker top 6acec95bc5eca8858d489244bb6d614dea7b96fc0ee922e9d9f6854058f9dd76 -eo pid,comm 08:21:56 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). 08:21:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:21:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:21:56 [ssh-agent] Looking for ssh-agent implementation... 08:21:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:21:56 $ docker exec 6acec95bc5eca8858d489244bb6d614dea7b96fc0ee922e9d9f6854058f9dd76 ssh-agent 08:21:56 SSH_AUTH_SOCK=/tmp/ssh-0YyO2x2pLv3h/agent.32 08:21:56 SSH_AGENT_PID=38 08:21:56 Running ssh-add (command line suppressed) 08:21:56 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7122147640319775778.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7122147640319775778.key) 08:21:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:21:56 + git tag --points-at HEAD [Pipeline] } 08:21:56 $ docker exec --env ******** --env ******** 6acec95bc5eca8858d489244bb6d614dea7b96fc0ee922e9d9f6854058f9dd76 ssh-agent -k 08:21:57 unset SSH_AUTH_SOCK; 08:21:57 unset SSH_AGENT_PID; 08:21:57 echo Agent pid 38 killed; 08:21:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:21:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:21:57 [ssh-agent] Looking for ssh-agent implementation... 08:21:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:21:57 $ docker exec 6acec95bc5eca8858d489244bb6d614dea7b96fc0ee922e9d9f6854058f9dd76 ssh-agent 08:21:57 SSH_AUTH_SOCK=/tmp/ssh-XGA7aSgjZ4T4/agent.70 08:21:57 SSH_AGENT_PID=76 08:21:57 Running ssh-add (command line suppressed) 08:21:57 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2368858719467166938.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2368858719467166938.key) 08:21:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:21:57 + git semver init 08:21:58 2023-05-16 08:21:58,013 [run_init] DEBUG init version:0.0.0 force:False 08:21:58 2023-05-16 08:21:58,013 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 08:21:58 2023-05-16 08:21:58,014 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 08:21:58 2023-05-16 08:21:58,014 [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) 08:21:59 2023-05-16 08:21:59,095 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 08:21:59 2023-05-16 08:21:59,095 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 08:21:59 2023-05-16 08:21:59,096 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:21:59 2023-05-16 08:21:59,096 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:21:59 3.0.0-dev.47 [Pipeline] } 08:21:59 $ docker exec --env ******** --env ******** 6acec95bc5eca8858d489244bb6d614dea7b96fc0ee922e9d9f6854058f9dd76 ssh-agent -k 08:21:59 unset SSH_AUTH_SOCK; 08:21:59 unset SSH_AGENT_PID; 08:21:59 echo Agent pid 76 killed; 08:21:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:21:59 + git semver [Pipeline] } 08:22:00 $ docker stop --time=1 6acec95bc5eca8858d489244bb6d614dea7b96fc0ee922e9d9f6854058f9dd76 08:22:01 $ docker rm -f --volumes 6acec95bc5eca8858d489244bb6d614dea7b96fc0ee922e9d9f6854058f9dd76 [Pipeline] // withDockerContainer [Pipeline] sh 08:22:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:22:02 Stashed 1 file(s) [Pipeline] echo 08:22:02 [edgeXSemver]: initialized semver on version 3.0.0-dev.47 [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 08:22:02 provisioning config files... 08:22:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7680224781211363349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:22:02 ---> docker-login.sh 08:22:02 nexus3.edgexfoundry.org:10001 08:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:02 Configure a credential helper to remove this warning. See 08:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:02 08:22:02 Login Succeeded 08:22:02 nexus3.edgexfoundry.org:10002 08:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:02 Configure a credential helper to remove this warning. See 08:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:02 08:22:02 Login Succeeded 08:22:02 nexus3.edgexfoundry.org:10003 08:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:02 Configure a credential helper to remove this warning. See 08:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:02 08:22:02 Login Succeeded 08:22:02 nexus3.edgexfoundry.org:10004 08:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:02 Configure a credential helper to remove this warning. See 08:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:02 08:22:02 Login Succeeded 08:22:02 docker.io 08:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:03 Configure a credential helper to remove this warning. See 08:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:03 08:22:03 Login Succeeded 08:22:03 ---> docker-login.sh ends [Pipeline] } 08:22:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:22:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:22:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:22:03 ========================================================= 08:22:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:22:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:03 + 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 . 08:22:03 Sending build context to Docker daemon 23.65MB 08:22:03 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:22:03 Step 2/12 : FROM ${BASE} AS builder 08:22:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:22:03 f56be85fc22e: Pulling fs layer 08:22:03 85791d961cd3: Pulling fs layer 08:22:03 d694b5ae8c79: Pulling fs layer 08:22:03 9f32a84ed3da: Pulling fs layer 08:22:03 4d19c01a9841: Pulling fs layer 08:22:03 9325e15d5711: Pulling fs layer 08:22:03 556b6ee489ea: Pulling fs layer 08:22:03 c5a4b2cf53e6: Pulling fs layer 08:22:03 9f32a84ed3da: Waiting 08:22:03 9325e15d5711: Waiting 08:22:03 4d19c01a9841: Waiting 08:22:03 556b6ee489ea: Waiting 08:22:03 c5a4b2cf53e6: Waiting 08:22:03 85791d961cd3: Verifying Checksum 08:22:03 85791d961cd3: Download complete 08:22:03 9f32a84ed3da: Verifying Checksum 08:22:03 9f32a84ed3da: Download complete 08:22:03 4d19c01a9841: Verifying Checksum 08:22:03 4d19c01a9841: Download complete 08:22:03 f56be85fc22e: Download complete 08:22:03 9325e15d5711: Verifying Checksum 08:22:03 9325e15d5711: Download complete 08:22:03 f56be85fc22e: Pull complete 08:22:03 85791d961cd3: Pull complete 08:22:04 c5a4b2cf53e6: Verifying Checksum 08:22:04 c5a4b2cf53e6: Download complete 08:22:04 d694b5ae8c79: Verifying Checksum 08:22:04 d694b5ae8c79: Download complete 08:22:04 556b6ee489ea: Verifying Checksum 08:22:04 556b6ee489ea: Download complete 08:22:07 d694b5ae8c79: Pull complete 08:22:07 9f32a84ed3da: Pull complete 08:22:07 4d19c01a9841: Pull complete 08:22:07 9325e15d5711: Pull complete 08:22:10 556b6ee489ea: Pull complete 08:22:11 c5a4b2cf53e6: Pull complete 08:22:11 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 08:22:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:22:11 ---> c4be618373d6 08:22:11 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:22:15 ---> Running in 768e8594e746 08:22:15 Removing intermediate container 768e8594e746 08:22:15 ---> e1be406a2595 08:22:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:22:15 ---> Running in 2997cb6b4b0a 08:22:15 Removing intermediate container 2997cb6b4b0a 08:22:15 ---> 99cac9b58a2e 08:22:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:22:15 ---> Running in f3416658a5fd 08:22:15 Removing intermediate container f3416658a5fd 08:22:15 ---> 06909b0f9941 08:22:15 Step 6/12 : WORKDIR /device-virtual-go 08:22:15 ---> Running in 8b965f1dcc3c 08:22:15 Removing intermediate container 8b965f1dcc3c 08:22:15 ---> 7c933638e7c4 08:22:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:22:15 ---> Running in b6bb71752643 08:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:22:16 (1/4) Installing openssh-keygen (9.1_p1-r3) 08:22:16 (2/4) Installing libedit (20221030.3.1-r0) 08:22:16 (3/4) Installing openssh-client-common (9.1_p1-r3) 08:22:16 (4/4) Installing openssh-client-default (9.1_p1-r3) 08:22:16 Executing busybox-1.35.0-r29.trigger 08:22:16 OK: 269 MiB in 57 packages 08:22:17 Still waiting to schedule task 08:22:17 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15517’ is offline 08:22:17 Removing intermediate container b6bb71752643 08:22:17 ---> 37920942187f 08:22:17 Step 8/12 : COPY go.mod vendor* ./ 08:22:17 ---> 883e9c8e0640 08:22:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:22:17 ---> Running in 507f5f79147a 08:22:43 Removing intermediate container 507f5f79147a 08:22:43 ---> 52bcd371275d 08:22:43 Step 10/12 : COPY . . 08:22:43 ---> 15d9e005baaf 08:22:43 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:22:43 ---> Running in 7ed6857dabf6 08:22:43 Removing intermediate container 7ed6857dabf6 08:22:43 ---> 8fc4b2704345 08:22:43 Step 12/12 : RUN $MAKE 08:22:43 ---> Running in a7b91d616b27 08:22:43 noop 08:22:43 Removing intermediate container a7b91d616b27 08:22:43 ---> 61751f1335b8 08:22:43 Successfully built 61751f1335b8 08:22:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:44 + docker inspect -f . ci-base-image-x86_64 08:22:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:22:44 prd-ubuntu20.04-docker-8c-8g-15518 does not seem to be running inside a container 08:22:44 $ 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 08:22:44 $ docker top f036dded9baf2d175995ab9eb472b76b6613c1fda3eb71a522b5cd8670b19941 -eo pid,comm [Pipeline] { [Pipeline] sh 08:22:44 + go version 08:22:44 go version go1.20.2 linux/amd64 [Pipeline] } 08:22:44 $ docker stop --time=1 f036dded9baf2d175995ab9eb472b76b6613c1fda3eb71a522b5cd8670b19941 08:22:46 $ docker rm -f --volumes f036dded9baf2d175995ab9eb472b76b6613c1fda3eb71a522b5cd8670b19941 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:46 + docker inspect -f . ci-base-image-x86_64 08:22:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:22:46 prd-ubuntu20.04-docker-8c-8g-15518 does not seem to be running inside a container 08:22:46 $ 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 08:22:47 $ docker top a4d88c5fdc0f4207aa08a75da20d20064708f72b6838b3c588292902e42a3cf7 -eo pid,comm [Pipeline] { [Pipeline] sh 08:22:47 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 08:22:47 + make test 08:22:47 go test ./... -coverprofile=coverage.out 08:22:53 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:23:03 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:23:03 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.020s coverage: 58.6% of statements 08:23:09 go vet ./... 08:23:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:23:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:23:13 ./bin/test-attribution-txt.sh [Pipeline] echo 08:23:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:23:13 $ docker stop --time=1 a4d88c5fdc0f4207aa08a75da20d20064708f72b6838b3c588292902e42a3cf7 08:23:16 $ docker rm -f --volumes a4d88c5fdc0f4207aa08a75da20d20064708f72b6838b3c588292902e42a3cf7 [Pipeline] // withDockerContainer [Pipeline] sh 08:23:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:23:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:23:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:23:18 + ls -al . 08:23:18 total 192 08:23:18 drwxrwxr-x 9 jenkins jenkins 4096 May 16 08:22 . 08:23:18 drwxrwxr-x 4 jenkins jenkins 4096 May 16 08:21 .. 08:23:18 drwxrwxr-x 8 jenkins jenkins 4096 May 16 08:22 .git 08:23:18 drwxrwxr-x 3 jenkins jenkins 4096 May 16 08:21 .github 08:23:18 -rw-rw-r-- 1 jenkins jenkins 337 May 16 08:21 .gitignore 08:23:18 -rw-rw-r-- 1 jenkins jenkins 41 May 16 08:21 .golangci.yml 08:23:18 drwxr-xr-x 3 jenkins jenkins 4096 May 16 08:21 .semver 08:23:18 -rw-rw-r-- 1 jenkins jenkins 8652 May 16 08:21 Attribution.txt 08:23:18 -rw-rw-r-- 1 jenkins jenkins 11367 May 16 08:21 CHANGELOG.md 08:23:18 -rw-rw-r-- 1 jenkins jenkins 1646 May 16 08:21 Dockerfile 08:23:18 -rw-rw-r-- 1 jenkins jenkins 677 May 16 08:21 GOVERNANCE.md 08:23:18 -rw-rw-r-- 1 jenkins jenkins 660 May 16 08:21 Jenkinsfile 08:23:18 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 08:21 LICENSE 08:23:18 -rw-rw-r-- 1 jenkins jenkins 1696 May 16 08:21 Makefile 08:23:18 -rw-rw-r-- 1 jenkins jenkins 623 May 16 08:21 OWNERS.md 08:23:18 -rw-rw-r-- 1 jenkins jenkins 4087 May 16 08:21 README.md 08:23:18 -rw-rw-r-- 1 jenkins jenkins 12 May 16 08:22 VERSION 08:23:18 drwxrwxr-x 2 jenkins jenkins 4096 May 16 08:21 bin 08:23:18 drwxrwxr-x 3 jenkins jenkins 4096 May 16 08:21 cmd 08:23:18 -rw-r--r-- 1 jenkins jenkins 43063 May 16 08:23 coverage.out 08:23:18 -rw-rw-r-- 1 jenkins jenkins 3209 May 16 08:21 go.mod 08:23:18 -rw-rw-r-- 1 jenkins jenkins 30994 May 16 08:21 go.sum 08:23:18 drwxrwxr-x 3 jenkins jenkins 4096 May 16 08:21 internal 08:23:18 drwxrwxr-x 4 jenkins jenkins 4096 May 16 08:21 snap 08:23:18 -rw-rw-r-- 1 jenkins jenkins 235 May 16 08:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:18 + 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=28ee7a707fa5283bd85866fd30fed3ded774bf19 --label arch=amd64 --label version=3.0.0-dev.47 . 08:23:18 Sending build context to Docker daemon 23.69MB 08:23:18 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 08:23:18 Step 2/25 : FROM ${BASE} AS builder 08:23:18 ---> 61751f1335b8 08:23:18 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:23:18 ---> Running in ba2c382bd3b8 08:23:18 Removing intermediate container ba2c382bd3b8 08:23:18 ---> cfbd4a132e00 08:23:18 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:23:18 ---> Running in df18a2c1c48d 08:23:18 Removing intermediate container df18a2c1c48d 08:23:18 ---> be5c4a53724f 08:23:18 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:23:18 ---> Running in ffad3f431617 08:23:18 Removing intermediate container ffad3f431617 08:23:18 ---> 3bd419719ac7 08:23:18 Step 6/25 : WORKDIR /device-virtual-go 08:23:18 ---> Running in 6e9d6b4adfd0 08:23:19 Removing intermediate container 6e9d6b4adfd0 08:23:19 ---> d6ca87e17bee 08:23:19 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:23:19 ---> Running in e61425313988 08:23:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:23:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:23:19 OK: 269 MiB in 57 packages 08:23:19 Removing intermediate container e61425313988 08:23:19 ---> 174cfa608654 08:23:19 Step 8/25 : COPY go.mod vendor* ./ 08:23:20 ---> a149ab25be37 08:23:20 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:23:20 ---> Running in 4c7d34bf469b 08:23:20 Removing intermediate container 4c7d34bf469b 08:23:20 ---> e9d8505f6059 08:23:20 Step 10/25 : COPY . . 08:23:21 ---> c8b55729ca5d 08:23:21 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:23:21 ---> Running in e1b30e923817 08:23:21 Removing intermediate container e1b30e923817 08:23:21 ---> 893dbe66c88c 08:23:21 Step 12/25 : RUN $MAKE 08:23:21 ---> Running in 83b80c431ac2 08:23:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.47" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 08:23:43 Removing intermediate container 83b80c431ac2 08:23:43 ---> f72b2a61c943 08:23:43 Step 13/25 : FROM alpine:3.17 08:23:43 3.17: Pulling from library/alpine 08:23:43 f56be85fc22e: Already exists 08:23:43 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 08:23:43 Status: Downloaded newer image for alpine:3.17 08:23:43 ---> 9ed4aefc74f6 08:23:43 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:23:43 ---> Running in 2b8426f6e270 08:23:43 Removing intermediate container 2b8426f6e270 08:23:43 ---> fb2a332dd153 08:23:43 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:23:43 ---> Running in 0aea65bb78e7 08:23:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:23:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:23:43 (1/1) Installing dumb-init (1.2.5-r2) 08:23:43 Executing busybox-1.35.0-r29.trigger 08:23:43 OK: 7 MiB in 16 packages 08:23:43 Removing intermediate container 0aea65bb78e7 08:23:43 ---> 5afc424e056a 08:23:43 Step 16/25 : WORKDIR / 08:23:43 ---> Running in 268ac19808fc 08:23:43 Removing intermediate container 268ac19808fc 08:23:43 ---> 8cef8660f5ef 08:23:43 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:23:43 ---> e58a79cd5d48 08:23:43 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:23:43 ---> f98e61a51420 08:23:43 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:23:44 ---> 54f40e07d8a3 08:23:44 Step 20/25 : EXPOSE 59900 08:23:44 ---> Running in a543e83d8224 08:23:44 Removing intermediate container a543e83d8224 08:23:44 ---> d06058648a60 08:23:44 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:23:44 ---> Running in 712fa91149e6 08:23:44 Removing intermediate container 712fa91149e6 08:23:44 ---> 4d85530d5ec4 08:23:44 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:23:44 ---> Running in 273587f27a31 08:23:44 Removing intermediate container 273587f27a31 08:23:44 ---> e73415986530 08:23:44 Step 23/25 : LABEL arch=amd64 08:23:44 ---> Running in 891deae67cd2 08:23:44 Removing intermediate container 891deae67cd2 08:23:44 ---> 395b9e73bc89 08:23:44 Step 24/25 : LABEL git_sha=28ee7a707fa5283bd85866fd30fed3ded774bf19 08:23:44 ---> Running in a59a7f25924e 08:23:44 Removing intermediate container a59a7f25924e 08:23:44 ---> ffb898059704 08:23:44 Step 25/25 : LABEL version=3.0.0-dev.47 08:23:44 ---> Running in 2d8407216b4b 08:23:45 Removing intermediate container 2d8407216b4b 08:23:45 ---> 7838a1512789 08:23:45 [Warning] One or more build-args [ARCH] were not consumed 08:23:45 Successfully built 7838a1512789 08:23:45 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:23:45 provisioning config files... 08:23:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4470579030302059413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:23:45 ---> docker-login.sh 08:23:45 nexus3.edgexfoundry.org:10001 08:23:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:23:45 Configure a credential helper to remove this warning. See 08:23:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:23:45 08:23:45 Login Succeeded 08:23:45 nexus3.edgexfoundry.org:10002 08:23:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:23:45 Configure a credential helper to remove this warning. See 08:23:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:23:45 08:23:45 Login Succeeded 08:23:45 nexus3.edgexfoundry.org:10003 08:23:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:23:45 Configure a credential helper to remove this warning. See 08:23:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:23:45 08:23:45 Login Succeeded 08:23:45 nexus3.edgexfoundry.org:10004 08:23:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:23:45 Configure a credential helper to remove this warning. See 08:23:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:23:45 08:23:45 Login Succeeded 08:23:45 docker.io 08:23:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:23:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:23:46 Configure a credential helper to remove this warning. See 08:23:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:23:46 08:23:46 Login Succeeded 08:23:46 ---> docker-login.sh ends [Pipeline] } 08:23:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:23:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:23:46 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 08:23:46 28ee7a707fa5283bd85866fd30fed3ded774bf19 08:23:46 latest 08:23:46 3.0.0-dev.47 08:23:46 28ee7a707fa5283bd85866fd30fed3ded774bf19-3.0.0-dev.47 08:23:46 main 08:23:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:46 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:28ee7a707fa5283bd85866fd30fed3ded774bf19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual:28ee7a707fa5283bd85866fd30fed3ded774bf19 08:23:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:23:46 806351ba13b2: Preparing 08:23:46 e69cd5a51605: Preparing 08:23:46 ac4a83314e50: Preparing 08:23:46 c0629021dfb6: Preparing 08:23:46 f1417ff83b31: Preparing 08:23:46 f1417ff83b31: Layer already exists 08:23:46 c0629021dfb6: Pushed 08:23:46 e69cd5a51605: Pushed 08:23:46 ac4a83314e50: Pushed 08:23:50 806351ba13b2: Pushed 08:23:50 28ee7a707fa5283bd85866fd30fed3ded774bf19: digest: sha256:7f27080437358080bd146a06bc54230ed28b2e51c914cf5b438d2ffaac27dc1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:50 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 08:23:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:23:50 806351ba13b2: Preparing 08:23:50 e69cd5a51605: Preparing 08:23:50 ac4a83314e50: Preparing 08:23:50 c0629021dfb6: Preparing 08:23:50 f1417ff83b31: Preparing 08:23:50 e69cd5a51605: Layer already exists 08:23:50 806351ba13b2: Layer already exists 08:23:50 f1417ff83b31: Layer already exists 08:23:50 ac4a83314e50: Layer already exists 08:23:50 c0629021dfb6: Layer already exists 08:23:50 latest: digest: sha256:7f27080437358080bd146a06bc54230ed28b2e51c914cf5b438d2ffaac27dc1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15520 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 08:23:50 Running in /w/workspace/device-virtual-go/119 [Pipeline] { [Pipeline] checkout 08:23:50 The recommended git tool is: git 08:23:51 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.47 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.47 08:23:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:23:51 806351ba13b2: Preparing 08:23:51 e69cd5a51605: Preparing 08:23:51 ac4a83314e50: Preparing 08:23:51 c0629021dfb6: Preparing 08:23:51 f1417ff83b31: Preparing 08:23:51 e69cd5a51605: Layer already exists 08:23:51 806351ba13b2: Layer already exists 08:23:51 ac4a83314e50: Layer already exists 08:23:51 f1417ff83b31: Layer already exists 08:23:51 c0629021dfb6: Layer already exists 08:23:51 3.0.0-dev.47: digest: sha256:7f27080437358080bd146a06bc54230ed28b2e51c914cf5b438d2ffaac27dc1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:51 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:28ee7a707fa5283bd85866fd30fed3ded774bf19-3.0.0-dev.47 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual:28ee7a707fa5283bd85866fd30fed3ded774bf19-3.0.0-dev.47 08:23:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:23:52 806351ba13b2: Preparing 08:23:52 e69cd5a51605: Preparing 08:23:52 ac4a83314e50: Preparing 08:23:52 c0629021dfb6: Preparing 08:23:52 f1417ff83b31: Preparing 08:23:52 f1417ff83b31: Layer already exists 08:23:52 e69cd5a51605: Layer already exists 08:23:52 c0629021dfb6: Layer already exists 08:23:52 806351ba13b2: Layer already exists 08:23:52 ac4a83314e50: Layer already exists 08:23:52 28ee7a707fa5283bd85866fd30fed3ded774bf19-3.0.0-dev.47: digest: sha256:7f27080437358080bd146a06bc54230ed28b2e51c914cf5b438d2ffaac27dc1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:52 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 08:23:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:23:52 806351ba13b2: Preparing 08:23:52 e69cd5a51605: Preparing 08:23:52 ac4a83314e50: Preparing 08:23:52 c0629021dfb6: Preparing 08:23:52 f1417ff83b31: Preparing 08:23:52 f1417ff83b31: Layer already exists 08:23:52 ac4a83314e50: Layer already exists 08:23:52 e69cd5a51605: Layer already exists 08:23:52 c0629021dfb6: Layer already exists 08:23:52 806351ba13b2: Layer already exists 08:23:52 main: digest: sha256:7f27080437358080bd146a06bc54230ed28b2e51c914cf5b438d2ffaac27dc1f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:23:52 ===================================================== [Pipeline] echo 08:23:52 taggedImages: 08:23:52 - nexus3.edgexfoundry.org:10004/device-virtual:28ee7a707fa5283bd85866fd30fed3ded774bf19 08:23:52 - nexus3.edgexfoundry.org:10004/device-virtual:latest 08:23:52 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.47 08:23:52 - nexus3.edgexfoundry.org:10004/device-virtual:28ee7a707fa5283bd85866fd30fed3ded774bf19-3.0.0-dev.47 08:23:52 - 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 08:23:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:23:53 08:23:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:23:53 latest: Pulling from edgex-lftools-log-publisher 08:23:53 5eb5b503b376: Pulling fs layer 08:23:53 5c69ac0246d0: Pulling fs layer 08:23:53 ec43610c2a17: Pulling fs layer 08:23:53 3a2ae6a8a46f: Pulling fs layer 08:23:53 33b1e0a273af: Pulling fs layer 08:23:53 5d3b04190fa2: Pulling fs layer 08:23:53 2f39f015ded8: Pulling fs layer 08:23:53 33b1e0a273af: Waiting 08:23:53 5d3b04190fa2: Waiting 08:23:53 3a2ae6a8a46f: Waiting 08:23:53 2f39f015ded8: Waiting 08:23:53 5c69ac0246d0: Verifying Checksum 08:23:53 5c69ac0246d0: Download complete 08:23:53 3a2ae6a8a46f: Download complete 08:23:53 33b1e0a273af: Verifying Checksum 08:23:53 33b1e0a273af: Download complete 08:23:53 ec43610c2a17: Verifying Checksum 08:23:53 ec43610c2a17: Download complete 08:23:53 5d3b04190fa2: Download complete 08:23:53 5eb5b503b376: Verifying Checksum 08:23:53 5eb5b503b376: Download complete 08:23:54 2f39f015ded8: Download complete 08:23:55 5eb5b503b376: Pull complete 08:23:55 5c69ac0246d0: Pull complete 08:23:55 ec43610c2a17: Pull complete 08:23:55 3a2ae6a8a46f: Pull complete 08:23:55 33b1e0a273af: Pull complete 08:23:56 5d3b04190fa2: Pull complete 08:23:56 using credential edgex-jenkins-ssh 08:23:56 Cloning the remote Git repository 08:23:56 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:23:56 > git init /w/workspace/device-virtual-go/119 # timeout=10 08:23:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:23:56 > git --version # timeout=10 08:23:56 > git --version # 'git version 2.25.1' 08:23:56 using GIT_SSH to set credentials SSH Credentials for GitHub 08:23:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:23:59 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:23:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:24:00 Avoid second fetch 08:24:00 Checking out Revision 28ee7a707fa5283bd85866fd30fed3ded774bf19 (main) 08:24:00 2f39f015ded8: Pull complete 08:24:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:24:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:24:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:24:00 prd-ubuntu20.04-docker-8c-8g-15518 does not seem to be running inside a container 08:24:00 $ 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 08:24:00 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3 from 3.0.0-20230315092647-3e5be341fbd0 to 3.0.0 in /snap/local/helper-go (#407)" 08:24:00 > git config core.sparsecheckout # timeout=10 08:24:00 > git checkout -f 28ee7a707fa5283bd85866fd30fed3ded774bf19 # timeout=10 08:24:01 08:24:01 GitHub has been notified of this commit’s build result 08:24:01 08:24:03 $ docker top f6a5a04d4655c3909bf26e2ed1ccd2964d04300bc3ac7bf098f61ad82efd27f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:24:03 ---> job-cost.sh 08:24:03 lf-activate-venv: SKIPPING 08:24:03 INFO: No Stack... 08:24:03 INFO: Retrieving Pricing Info for: v3-standard-8 08:24:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:24:04 % Total % Received % Xferd Average Speed Time Time Time Current 08:24:04 Dload Upload Total Spent Left Speed 08:24:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89167 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh 08:24:04 INFO: Archiving Costs [Pipeline] sh 08:24:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:24:04 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 08:24:04 + cut -d, -f6 [Pipeline] lock 08:24:04 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-119-stack-cost] 08:24:04 Resource [jenkins-edgexfoundry-device-virtual-go-main-119-stack-cost] did not exist. Created. 08:24:04 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-119-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:24:04 + sudo tee /etc/docker/daemon.new 08:24:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:24:04 { 08:24:04 "registry-mirrors": [ 08:24:04 "https://nexus3.edgexfoundry.org:10001" 08:24:04 ], 08:24:04 "bip": "10.250.0.254/24", 08:24:04 "hosts": [ 08:24:04 "tcp://0.0.0.0:5555", 08:24:04 "unix:///var/run/docker.sock" 08:24:04 ], 08:24:04 "mtu": 1458, 08:24:04 "selinux-enabled": true, 08:24:04 "seccomp-profile": "/etc/docker/seccomp.json" 08:24:04 } [Pipeline] sh 08:24:05 + echo total: 0.2199999988079071 [Pipeline] stash 08:24:05 Stashed 1 file(s) [Pipeline] } 08:24:05 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-119-stack-cost] [Pipeline] // lock [Pipeline] } 08:24:05 $ docker stop --time=1 f6a5a04d4655c3909bf26e2ed1ccd2964d04300bc3ac7bf098f61ad82efd27f0 08:24:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 08:24:06 $ docker rm -f --volumes f6a5a04d4655c3909bf26e2ed1ccd2964d04300bc3ac7bf098f61ad82efd27f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:24:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:24:25 provisioning config files... 08:24:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/119@tmp/config2064390348884920681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:24:25 ---> docker-login.sh 08:24:25 nexus3.edgexfoundry.org:10001 08:24:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:24:25 Configure a credential helper to remove this warning. See 08:24:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:24:25 08:24:25 Login Succeeded 08:24:25 nexus3.edgexfoundry.org:10002 08:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:24:26 Configure a credential helper to remove this warning. See 08:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:24:26 08:24:26 Login Succeeded 08:24:26 nexus3.edgexfoundry.org:10003 08:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:24:26 Configure a credential helper to remove this warning. See 08:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:24:26 08:24:26 Login Succeeded 08:24:26 nexus3.edgexfoundry.org:10004 08:24:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:24:27 Configure a credential helper to remove this warning. See 08:24:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:24:27 08:24:27 Login Succeeded 08:24:27 docker.io 08:24:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:24:27 Configure a credential helper to remove this warning. See 08:24:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:24:27 08:24:27 Login Succeeded 08:24:27 ---> docker-login.sh ends [Pipeline] } 08:24:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:24:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:24:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:24:28 ========================================================= 08:24:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:24:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:28 + 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 . 08:24:29 Sending build context to Docker daemon 11.99MB 08:24:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:24:29 Step 2/12 : FROM ${BASE} AS builder 08:24:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:24:29 c41833b44d91: Pulling fs layer 08:24:29 ed15518f5707: Pulling fs layer 08:24:29 feae8fd75edb: Pulling fs layer 08:24:29 242c74f7c9fa: Pulling fs layer 08:24:29 3cdef696dda3: Pulling fs layer 08:24:29 2ced38df9373: Pulling fs layer 08:24:29 58f1dce35555: Pulling fs layer 08:24:29 242c74f7c9fa: Waiting 08:24:29 3cdef696dda3: Waiting 08:24:29 2ced38df9373: Waiting 08:24:29 58f1dce35555: Waiting 08:24:29 ed15518f5707: Verifying Checksum 08:24:29 ed15518f5707: Download complete 08:24:29 242c74f7c9fa: Verifying Checksum 08:24:29 242c74f7c9fa: Download complete 08:24:29 3cdef696dda3: Verifying Checksum 08:24:29 3cdef696dda3: Download complete 08:24:29 c41833b44d91: Verifying Checksum 08:24:30 c41833b44d91: Pull complete 08:24:30 58f1dce35555: Verifying Checksum 08:24:30 58f1dce35555: Download complete 08:24:31 ed15518f5707: Pull complete 08:24:32 feae8fd75edb: Verifying Checksum 08:24:32 feae8fd75edb: Download complete 08:24:32 2ced38df9373: Verifying Checksum 08:24:32 2ced38df9373: Download complete 08:24:42 feae8fd75edb: Pull complete 08:24:42 242c74f7c9fa: Pull complete 08:24:42 3cdef696dda3: Pull complete 08:24:49 2ced38df9373: Pull complete 08:24:52 58f1dce35555: Pull complete 08:24:52 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 08:24:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:24:52 ---> fadd8f120f05 08:24:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:24:54 ---> Running in 0399c9aad7e0 08:24:54 Removing intermediate container 0399c9aad7e0 08:24:54 ---> 31a1d86a279e 08:24:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:24:54 ---> Running in fe5c6843644c 08:24:55 Removing intermediate container fe5c6843644c 08:24:55 ---> 0a12c35a82ac 08:24:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:24:55 ---> Running in dc8172887794 08:24:55 Removing intermediate container dc8172887794 08:24:55 ---> 4f0ce3e96201 08:24:55 Step 6/12 : WORKDIR /device-virtual-go 08:24:55 ---> Running in b4b3ac9daba3 08:24:55 Removing intermediate container b4b3ac9daba3 08:24:55 ---> 3abe57e9440a 08:24:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:24:56 ---> Running in 03cead248629 08:24:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:24:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:24:58 (1/4) Installing openssh-keygen (9.1_p1-r3) 08:24:58 (2/4) Installing libedit (20221030.3.1-r0) 08:24:58 (3/4) Installing openssh-client-common (9.1_p1-r3) 08:24:58 (4/4) Installing openssh-client-default (9.1_p1-r3) 08:24:58 Executing busybox-1.35.0-r29.trigger 08:24:59 OK: 268 MiB in 57 packages 08:24:59 Removing intermediate container 03cead248629 08:24:59 ---> 76558fc0949e 08:24:59 Step 8/12 : COPY go.mod vendor* ./ 08:25:00 ---> e0dc4ebb077e 08:25:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:25:00 ---> Running in e1d0b0855d17 08:26:08 Removing intermediate container e1d0b0855d17 08:26:08 ---> 93c5152efc47 08:26:08 Step 10/12 : COPY . . 08:26:08 ---> aa7f07c15952 08:26:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:26:08 ---> Running in 47ff945237ff 08:26:08 Removing intermediate container 47ff945237ff 08:26:08 ---> b99e6f56b83b 08:26:08 Step 12/12 : RUN $MAKE 08:26:08 ---> Running in 90512bc9920c 08:26:08 noop 08:26:08 Removing intermediate container 90512bc9920c 08:26:08 ---> a60a6919006d 08:26:08 Successfully built a60a6919006d 08:26:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:26:08 + docker inspect -f . ci-base-image-arm64 08:26:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:26:08 prd-ubuntu20.04-docker-arm64-4c-16g-15520 does not seem to be running inside a container 08:26:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/119 -v /w/workspace/device-virtual-go/119:/w/workspace/device-virtual-go/119:rw,z -v /w/workspace/device-virtual-go/119@tmp:/w/workspace/device-virtual-go/119@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 08:26:10 $ docker top 106f77da6fe203fb1e5525d9af563a8ac0d97cfb5e720deeb836c748906d92d9 -eo pid,comm [Pipeline] { [Pipeline] sh 08:26:11 + go version 08:26:11 go version go1.20.2 linux/arm64 [Pipeline] } 08:26:11 $ docker stop --time=1 106f77da6fe203fb1e5525d9af563a8ac0d97cfb5e720deeb836c748906d92d9 08:26:14 $ docker rm -f --volumes 106f77da6fe203fb1e5525d9af563a8ac0d97cfb5e720deeb836c748906d92d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:26:14 + docker inspect -f . ci-base-image-arm64 08:26:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:26:14 prd-ubuntu20.04-docker-arm64-4c-16g-15520 does not seem to be running inside a container 08:26:14 $ 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/119 -v /w/workspace/device-virtual-go/119:/w/workspace/device-virtual-go/119:rw,z -v /w/workspace/device-virtual-go/119@tmp:/w/workspace/device-virtual-go/119@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 08:26:16 $ docker top c2ac95236802286f239eba3c2a1c349bcbb2075f1db0bd4374ae69435de14e77 -eo pid,comm [Pipeline] { [Pipeline] sh 08:26:16 + git config --global --add safe.directory /w/workspace/device-virtual-go/119 [Pipeline] fileExists [Pipeline] sh 08:26:16 + make test 08:26:16 go test ./... -coverprofile=coverage.out 08:26:49 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:28:55 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:28:55 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.091s coverage: 58.4% of statements 08:28:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:28:55 go vet ./... 08:29:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:29:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:29:28 ./bin/test-attribution-txt.sh [Pipeline] echo 08:29:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:29:28 $ docker stop --time=1 c2ac95236802286f239eba3c2a1c349bcbb2075f1db0bd4374ae69435de14e77 08:29:30 $ docker rm -f --volumes c2ac95236802286f239eba3c2a1c349bcbb2075f1db0bd4374ae69435de14e77 [Pipeline] // withDockerContainer [Pipeline] sh 08:29:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:29:31 Warning: overwriting stash ‘coverage-report’ 08:29:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:29:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:29:32 + ls -al . 08:29:32 total 188 08:29:32 drwxrwxr-x 8 jenkins jenkins 4096 May 16 08:26 . 08:29:32 drwxrwxr-x 4 jenkins jenkins 4096 May 16 08:23 .. 08:29:32 drwxrwxr-x 8 jenkins jenkins 4096 May 16 08:24 .git 08:29:32 drwxrwxr-x 3 jenkins jenkins 4096 May 16 08:24 .github 08:29:32 -rw-rw-r-- 1 jenkins jenkins 337 May 16 08:24 .gitignore 08:29:32 -rw-rw-r-- 1 jenkins jenkins 41 May 16 08:24 .golangci.yml 08:29:32 -rw-rw-r-- 1 jenkins jenkins 8652 May 16 08:24 Attribution.txt 08:29:32 -rw-rw-r-- 1 jenkins jenkins 11367 May 16 08:24 CHANGELOG.md 08:29:32 -rw-rw-r-- 1 jenkins jenkins 1646 May 16 08:24 Dockerfile 08:29:32 -rw-rw-r-- 1 jenkins jenkins 677 May 16 08:24 GOVERNANCE.md 08:29:32 -rw-rw-r-- 1 jenkins jenkins 660 May 16 08:24 Jenkinsfile 08:29:32 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 08:24 LICENSE 08:29:32 -rw-rw-r-- 1 jenkins jenkins 1696 May 16 08:24 Makefile 08:29:32 -rw-rw-r-- 1 jenkins jenkins 623 May 16 08:24 OWNERS.md 08:29:32 -rw-rw-r-- 1 jenkins jenkins 4087 May 16 08:24 README.md 08:29:32 -rw-rw-r-- 1 jenkins jenkins 12 May 16 08:22 VERSION 08:29:32 drwxrwxr-x 2 jenkins jenkins 4096 May 16 08:24 bin 08:29:32 drwxrwxr-x 3 jenkins jenkins 4096 May 16 08:24 cmd 08:29:32 -rw-r--r-- 1 jenkins jenkins 43063 May 16 08:28 coverage.out 08:29:32 -rw-rw-r-- 1 jenkins jenkins 3209 May 16 08:24 go.mod 08:29:32 -rw-rw-r-- 1 jenkins jenkins 30994 May 16 08:24 go.sum 08:29:32 drwxrwxr-x 3 jenkins jenkins 4096 May 16 08:24 internal 08:29:32 drwxrwxr-x 4 jenkins jenkins 4096 May 16 08:24 snap 08:29:32 -rw-rw-r-- 1 jenkins jenkins 235 May 16 08:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:32 + 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=28ee7a707fa5283bd85866fd30fed3ded774bf19 --label arch=arm64 --label version=3.0.0-dev.47 . 08:29:33 Sending build context to Docker daemon 12.03MB 08:29:33 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 08:29:33 Step 2/25 : FROM ${BASE} AS builder 08:29:33 ---> a60a6919006d 08:29:33 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:29:33 ---> Running in f8bc0536034d 08:29:33 Removing intermediate container f8bc0536034d 08:29:33 ---> 2635b068ca3e 08:29:33 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:29:33 ---> Running in aa4116f948a7 08:29:34 Removing intermediate container aa4116f948a7 08:29:34 ---> 892e6ff710ae 08:29:34 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:29:34 ---> Running in 8a0391066ce6 08:29:34 Removing intermediate container 8a0391066ce6 08:29:34 ---> a249fb48e83e 08:29:34 Step 6/25 : WORKDIR /device-virtual-go 08:29:34 ---> Running in 4f023b2715ac 08:29:38 Removing intermediate container 4f023b2715ac 08:29:38 ---> 9d35fe0cfae4 08:29:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:29:38 ---> Running in 5ec20921f86d 08:29:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:29:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:29:40 OK: 268 MiB in 57 packages 08:29:41 Removing intermediate container 5ec20921f86d 08:29:41 ---> 50169ab80b90 08:29:41 Step 8/25 : COPY go.mod vendor* ./ 08:29:42 ---> 6e267381007f 08:29:42 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:29:42 ---> Running in 5908669a38cd 08:29:44 Removing intermediate container 5908669a38cd 08:29:44 ---> adb5a9b56ae4 08:29:44 Step 10/25 : COPY . . 08:29:46 ---> 84f7d801429e 08:29:46 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:29:46 ---> Running in 2b5039eac8d4 08:29:46 Removing intermediate container 2b5039eac8d4 08:29:46 ---> c8801e358b52 08:29:46 Step 12/25 : RUN $MAKE 08:29:46 ---> Running in ff7e68b8343f 08:29:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.47" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 08:32:24 Removing intermediate container ff7e68b8343f 08:32:24 ---> c4b4f2cd1fea 08:32:24 Step 13/25 : FROM alpine:3.17 08:32:24 3.17: Pulling from library/alpine 08:32:24 c41833b44d91: Already exists 08:32:24 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 08:32:24 Status: Downloaded newer image for alpine:3.17 08:32:24 ---> 51e60588ff2c 08:32:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:32:24 ---> Running in c343a679a472 08:32:24 Removing intermediate container c343a679a472 08:32:24 ---> 50d41f2a7042 08:32:24 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:32:24 ---> Running in 67beda001ad8 08:32:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:32:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:32:24 (1/1) Installing dumb-init (1.2.5-r2) 08:32:24 Executing busybox-1.35.0-r29.trigger 08:32:24 OK: 8 MiB in 16 packages 08:32:24 Removing intermediate container 67beda001ad8 08:32:24 ---> 0ee1b6dc9e52 08:32:24 Step 16/25 : WORKDIR / 08:32:24 ---> Running in a825abefa1a4 08:32:24 Removing intermediate container a825abefa1a4 08:32:24 ---> 8b413725f532 08:32:24 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:32:24 ---> 613938dad3ef 08:32:24 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:32:24 ---> 00f911e0ea84 08:32:24 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:32:24 ---> 19a8acbb97b3 08:32:24 Step 20/25 : EXPOSE 59900 08:32:24 ---> Running in c4dd7e84e5af 08:32:24 Removing intermediate container c4dd7e84e5af 08:32:24 ---> 387721cf0003 08:32:24 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:32:24 ---> Running in 730892d6101d 08:32:24 Removing intermediate container 730892d6101d 08:32:24 ---> f770f147ba90 08:32:24 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:32:24 ---> Running in d85b3eac6786 08:32:24 Removing intermediate container d85b3eac6786 08:32:24 ---> a2f760427af4 08:32:24 Step 23/25 : LABEL arch=arm64 08:32:24 ---> Running in a562d642b03a 08:32:24 Removing intermediate container a562d642b03a 08:32:24 ---> 29cd01d774f5 08:32:24 Step 24/25 : LABEL git_sha=28ee7a707fa5283bd85866fd30fed3ded774bf19 08:32:24 ---> Running in d06d1fd04450 08:32:24 Removing intermediate container d06d1fd04450 08:32:24 ---> 0751cf9df174 08:32:24 Step 25/25 : LABEL version=3.0.0-dev.47 08:32:24 ---> Running in e394a448f254 08:32:24 Removing intermediate container e394a448f254 08:32:24 ---> 57169481a4ed 08:32:24 [Warning] One or more build-args [ARCH] were not consumed 08:32:24 Successfully built 57169481a4ed 08:32:24 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 08:32:24 provisioning config files... 08:32:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/119@tmp/config2115363214703168681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:32:24 ---> docker-login.sh 08:32:24 nexus3.edgexfoundry.org:10001 08:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:32:25 Configure a credential helper to remove this warning. See 08:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:32:25 08:32:25 Login Succeeded 08:32:25 nexus3.edgexfoundry.org:10002 08:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:32:25 Configure a credential helper to remove this warning. See 08:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:32:25 08:32:25 Login Succeeded 08:32:25 nexus3.edgexfoundry.org:10003 08:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:32:25 Configure a credential helper to remove this warning. See 08:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:32:25 08:32:25 Login Succeeded 08:32:25 nexus3.edgexfoundry.org:10004 08:32:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:32:26 Configure a credential helper to remove this warning. See 08:32:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:32:26 08:32:26 Login Succeeded 08:32:26 docker.io 08:32:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:32:26 Configure a credential helper to remove this warning. See 08:32:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:32:26 08:32:26 Login Succeeded 08:32:26 ---> docker-login.sh ends [Pipeline] } 08:32:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:32:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:32:27 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 08:32:27 28ee7a707fa5283bd85866fd30fed3ded774bf19 08:32:27 latest 08:32:27 3.0.0-dev.47 08:32:27 28ee7a707fa5283bd85866fd30fed3ded774bf19-3.0.0-dev.47 08:32:27 main 08:32:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:27 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:28ee7a707fa5283bd85866fd30fed3ded774bf19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:28ee7a707fa5283bd85866fd30fed3ded774bf19 08:32:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:32:27 0b18fdc1f155: Preparing 08:32:27 aa358dd22aa5: Preparing 08:32:27 a9b6dbd67dd6: Preparing 08:32:27 436da0330977: Preparing 08:32:27 26cbea5cba74: Preparing 08:32:27 26cbea5cba74: Layer already exists 08:32:28 a9b6dbd67dd6: Pushed 08:32:28 aa358dd22aa5: Pushed 08:32:28 436da0330977: Pushed 08:32:36 0b18fdc1f155: Pushed 08:32:36 28ee7a707fa5283bd85866fd30fed3ded774bf19: digest: sha256:472428984c65e6a95ceb25ded77d804ace5346c80c36f6911da59868d4b3c8b1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:36 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:37 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 08:32:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:32:37 0b18fdc1f155: Preparing 08:32:37 aa358dd22aa5: Preparing 08:32:37 a9b6dbd67dd6: Preparing 08:32:37 436da0330977: Preparing 08:32:37 26cbea5cba74: Preparing 08:32:37 aa358dd22aa5: Layer already exists 08:32:37 a9b6dbd67dd6: Layer already exists 08:32:37 26cbea5cba74: Layer already exists 08:32:37 436da0330977: Layer already exists 08:32:37 0b18fdc1f155: Layer already exists 08:32:37 latest: digest: sha256:472428984c65e6a95ceb25ded77d804ace5346c80c36f6911da59868d4b3c8b1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:37 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.47 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.47 08:32:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:32:38 0b18fdc1f155: Preparing 08:32:38 aa358dd22aa5: Preparing 08:32:38 a9b6dbd67dd6: Preparing 08:32:38 436da0330977: Preparing 08:32:38 26cbea5cba74: Preparing 08:32:38 a9b6dbd67dd6: Layer already exists 08:32:38 aa358dd22aa5: Layer already exists 08:32:38 26cbea5cba74: Layer already exists 08:32:38 436da0330977: Layer already exists 08:32:38 0b18fdc1f155: Layer already exists 08:32:38 3.0.0-dev.47: digest: sha256:472428984c65e6a95ceb25ded77d804ace5346c80c36f6911da59868d4b3c8b1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:38 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:28ee7a707fa5283bd85866fd30fed3ded774bf19-3.0.0-dev.47 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:28ee7a707fa5283bd85866fd30fed3ded774bf19-3.0.0-dev.47 08:32:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:32:39 0b18fdc1f155: Preparing 08:32:39 aa358dd22aa5: Preparing 08:32:39 a9b6dbd67dd6: Preparing 08:32:39 436da0330977: Preparing 08:32:39 26cbea5cba74: Preparing 08:32:39 aa358dd22aa5: Layer already exists 08:32:39 0b18fdc1f155: Layer already exists 08:32:39 26cbea5cba74: Layer already exists 08:32:39 436da0330977: Layer already exists 08:32:39 a9b6dbd67dd6: Layer already exists 08:32:39 28ee7a707fa5283bd85866fd30fed3ded774bf19-3.0.0-dev.47: digest: sha256:472428984c65e6a95ceb25ded77d804ace5346c80c36f6911da59868d4b3c8b1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:39 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 08:32:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 08:32:40 0b18fdc1f155: Preparing 08:32:40 aa358dd22aa5: Preparing 08:32:40 a9b6dbd67dd6: Preparing 08:32:40 436da0330977: Preparing 08:32:40 26cbea5cba74: Preparing 08:32:40 26cbea5cba74: Layer already exists 08:32:40 a9b6dbd67dd6: Layer already exists 08:32:40 436da0330977: Layer already exists 08:32:40 0b18fdc1f155: Layer already exists 08:32:40 aa358dd22aa5: Layer already exists 08:32:40 main: digest: sha256:472428984c65e6a95ceb25ded77d804ace5346c80c36f6911da59868d4b3c8b1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:32:40 ===================================================== [Pipeline] echo 08:32:40 taggedImages: 08:32:40 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:28ee7a707fa5283bd85866fd30fed3ded774bf19 08:32:40 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 08:32:40 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.47 08:32:40 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:28ee7a707fa5283bd85866fd30fed3ded774bf19-3.0.0-dev.47 08:32:40 - 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 08:32:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:32:40 08:32:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:32:41 arm64: Pulling from edgex-lftools-log-publisher 08:32:41 8998bd30e6a1: Pulling fs layer 08:32:41 04944245beec: Pulling fs layer 08:32:41 699f458cf7ca: Pulling fs layer 08:32:41 765212b225bb: Pulling fs layer 08:32:41 f23df028b6ca: Pulling fs layer 08:32:41 d65c8cfc05b1: Pulling fs layer 08:32:41 2437ff75d9bd: Pulling fs layer 08:32:41 f23df028b6ca: Waiting 08:32:41 d65c8cfc05b1: Waiting 08:32:41 2437ff75d9bd: Waiting 08:32:41 765212b225bb: Waiting 08:32:41 04944245beec: Verifying Checksum 08:32:41 04944245beec: Download complete 08:32:41 765212b225bb: Verifying Checksum 08:32:41 765212b225bb: Download complete 08:32:41 f23df028b6ca: Verifying Checksum 08:32:41 f23df028b6ca: Download complete 08:32:41 d65c8cfc05b1: Verifying Checksum 08:32:41 d65c8cfc05b1: Download complete 08:32:41 699f458cf7ca: Verifying Checksum 08:32:41 699f458cf7ca: Download complete 08:32:41 8998bd30e6a1: Download complete 08:32:44 2437ff75d9bd: Verifying Checksum 08:32:44 2437ff75d9bd: Download complete 08:32:46 8998bd30e6a1: Pull complete 08:32:47 04944245beec: Pull complete 08:32:48 699f458cf7ca: Pull complete 08:32:48 765212b225bb: Pull complete 08:32:49 f23df028b6ca: Pull complete 08:32:49 d65c8cfc05b1: Pull complete 08:33:04 2437ff75d9bd: Pull complete 08:33:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:33:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:33:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:33:04 prd-ubuntu20.04-docker-arm64-4c-16g-15520 does not seem to be running inside a container 08:33:04 $ 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/119 -v /w/workspace/device-virtual-go/119:/w/workspace/device-virtual-go/119:rw,z -v /w/workspace/device-virtual-go/119@tmp:/w/workspace/device-virtual-go/119@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 08:33:07 $ docker top f93f7f4742b84b1f6d7ae34b08b082cf129c980d227f44b950b0494abf08a7a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:33:08 ---> job-cost.sh 08:33:08 lf-activate-venv: SKIPPING 08:33:08 INFO: No Stack... 08:33:09 INFO: Retrieving Pricing Info for: v3-standard-4 08:33:09 INFO: Archiving Costs [Pipeline] sh 08:33:10 + cat /w/workspace/device-virtual-go/119/archives/cost.csv 08:33:10 + cut -d, -f6 [Pipeline] lock 08:33:10 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-119-stack-cost] 08:33:10 Resource [jenkins-edgexfoundry-device-virtual-go-main-119-stack-cost] did not exist. Created. 08:33:10 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-119-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:33:11 /w/workspace/device-virtual-go/119@tmp/durable-e4e6b5f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:33:11 + echo total: 0.10999999940395355 [Pipeline] stash 08:33:11 Warning: overwriting stash ‘stack-cost’ 08:33:11 Stashed 1 file(s) [Pipeline] } 08:33:11 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-119-stack-cost] [Pipeline] // lock [Pipeline] } 08:33:11 $ docker stop --time=1 f93f7f4742b84b1f6d7ae34b08b082cf129c980d227f44b950b0494abf08a7a9 08:33:13 $ docker rm -f --volumes f93f7f4742b84b1f6d7ae34b08b082cf129c980d227f44b950b0494abf08a7a9 [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 08:33:13 provisioning config files... 08:33:13 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9394905064125696051tmp [Pipeline] { [Pipeline] sh 08:33:14 + set +x 08:33:14 + curl -s https://codecov.io/bash 08:33:14 + bash -s -- 08:33:14 08:33:14 _____ _ 08:33:14 / ____| | | 08:33:14 | | ___ __| | ___ ___ _____ __ 08:33:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:33:14 | |___| (_) | (_| | __/ (_| (_) \ V / 08:33:14 \_____\___/ \__,_|\___|\___\___/ \_/ 08:33:14 Bash-1.0.6 08:33:14 08:33:14 08:33:14 ==> git version 2.25.1 found 08:33:14 ==> 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 08:33:14 Release-Date: 2020-01-08 08:33:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:33:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:33:14 ==> Jenkins CI detected. 08:33:14 current dir:  /w/workspace/exfoundry_device-virtual-go_main 08:33:14 project root: . 08:33:14 --> token set from env 08:33:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:33:14 ==> Running gcov in . (disable via -X gcov) 08:33:14 ==> Python coveragepy not found 08:33:14 ==> Searching for coverage reports in: 08:33:14 + . 08:33:14 -> Found 1 reports 08:33:14 ==> Detecting git/mercurial file structure 08:33:14 ==> Reading reports 08:33:14 + ./coverage.out bytes=43063 08:33:14 ==> Appending adjustments 08:33:14 https://docs.codecov.io/docs/fixing-reports 08:33:14 + Found adjustments 08:33:14 ==> Gzipping contents 08:33:14 8.0K /tmp/codecov.oeODAo.gz 08:33:14 ==> Uploading reports 08:33:14 url: https://codecov.io 08:33:14 query: branch=main&commit=28ee7a707fa5283bd85866fd30fed3ded774bf19&build=119&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F119%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:33:14 -> Pinging Codecov 08:33:14 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=28ee7a707fa5283bd85866fd30fed3ded774bf19&build=119&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F119%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:33:14 -> Uploading to 08:33:14 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/5E52B4B073DB2E39498172D8E973AA87/28ee7a707fa5283bd85866fd30fed3ded774bf19/3b7d553d-26ca-4f34-ba37-b1e2ef9b2983.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T083314Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d4fc256ff2b8577a6c442355f1a5cabb6423ece19d38b9ee1f782bb9449661cb 08:33:14 % Total % Received % Xferd Average Speed Time Time Time Current 08:33:14 Dload Upload Total Spent Left Speed 08:33:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 27141 --:--:-- --:--:-- --:--:-- 27141 08:33:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/28ee7a707fa5283bd85866fd30fed3ded774bf19 [Pipeline] } 08:33:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:33:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:33:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:33:15 08:33:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:33:15 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:33:15 df9b9388f04a: Pulling fs layer 08:33:15 52dc419b0ee2: Pulling fs layer 08:33:15 25bc292e5bac: Pulling fs layer 08:33:15 114826534d7a: Pulling fs layer 08:33:15 4657fd5d0bcf: Pulling fs layer 08:33:15 6ad1cebc031e: Pulling fs layer 08:33:15 8a3aa393b2d8: Pulling fs layer 08:33:15 114826534d7a: Waiting 08:33:15 4657fd5d0bcf: Waiting 08:33:15 6ad1cebc031e: Waiting 08:33:15 8a3aa393b2d8: Waiting 08:33:15 25bc292e5bac: Verifying Checksum 08:33:15 25bc292e5bac: Download complete 08:33:15 52dc419b0ee2: Verifying Checksum 08:33:15 52dc419b0ee2: Download complete 08:33:15 4657fd5d0bcf: Download complete 08:33:15 df9b9388f04a: Verifying Checksum 08:33:15 df9b9388f04a: Download complete 08:33:16 df9b9388f04a: Pull complete 08:33:16 6ad1cebc031e: Verifying Checksum 08:33:16 6ad1cebc031e: Download complete 08:33:16 52dc419b0ee2: Pull complete 08:33:16 25bc292e5bac: Pull complete 08:33:16 114826534d7a: Download complete 08:33:16 8a3aa393b2d8: Verifying Checksum 08:33:16 8a3aa393b2d8: Download complete 08:33:20 114826534d7a: Pull complete 08:33:20 4657fd5d0bcf: Pull complete 08:33:20 6ad1cebc031e: Pull complete 08:33:23 8a3aa393b2d8: Pull complete 08:33:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 08:33:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:33:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:33:23 prd-ubuntu20.04-docker-8c-8g-15518 does not seem to be running inside a container 08:33:23 $ 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 08:33:27 $ docker top 6056dcfebe0abdaccfc12aa11feaff2354eef98c94fe68ba4461579e43868a8f -eo pid,comm [Pipeline] { [Pipeline] echo 08:33:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 08:33:27 + set -o pipefail 08:33:27 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 08:33:31 08:33:31 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 08:33:31 08:33:31 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/6a0dd1b5-aab9-46f8-a16d-a85ac506fccd 08:33:31 08:33:31 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:33:31 08:33:31 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:33:31 08:33:32 08:33:32 A medium severity vulnerability was found in the Snyk CLI versions you are using. 08:33:32 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 08:33:32 More details here: https://snyk.co/ue1NS [Pipeline] } 08:33:32 $ docker stop --time=1 6056dcfebe0abdaccfc12aa11feaff2354eef98c94fe68ba4461579e43868a8f 08:33:35 $ docker rm -f --volumes 6056dcfebe0abdaccfc12aa11feaff2354eef98c94fe68ba4461579e43868a8f [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 08:33:36 + git log --format=format:%s -1 28ee7a707fa5283bd85866fd30fed3ded774bf19 [Pipeline] sh 08:33:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:33:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:33:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:33:36 prd-ubuntu20.04-docker-8c-8g-15518 does not seem to be running inside a container 08:33:36 $ 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 08:33:37 $ docker top 65b719b338fcbf7545fbe0394ecb6e6e5ab69e7e27ed2384fc7dcbd074b23967 -eo pid,comm 08:33:37 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). 08:33:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:33:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:33:37 [ssh-agent] Looking for ssh-agent implementation... 08:33:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:33:37 $ docker exec 65b719b338fcbf7545fbe0394ecb6e6e5ab69e7e27ed2384fc7dcbd074b23967 ssh-agent 08:33:37 SSH_AUTH_SOCK=/tmp/ssh-n9bsW51d8v4M/agent.32 08:33:37 SSH_AGENT_PID=38 08:33:37 Running ssh-add (command line suppressed) 08:33:37 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16640473879693093819.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16640473879693093819.key) 08:33:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:33:37 + git semver tag 08:33:38 2023-05-16 08:33:38,131 [run_tag] DEBUG tag force:False 08:33:38 2023-05-16 08:33:38,131 [check_head_tag] DEBUG check head tag 08:33:38 2023-05-16 08:33:38,133 [execute] INFO git cat-file --batch-check 08:33:38 2023-05-16 08:33:38,133 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 08:33:38 2023-05-16 08:33:38,136 [execute] INFO git cat-file --batch 08:33:38 2023-05-16 08:33:38,137 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 08:33:38 2023-05-16 08:33:38,165 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:33:38 2023-05-16 08:33:38,165 [execute] INFO git tag -a v3.0.0-dev.47 -m v3.0.0-dev.47 08:33:38 2023-05-16 08:33:38,165 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.47', '-m', 'v3.0.0-dev.47'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 08:33:38 2023-05-16 08:33:38,170 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:33:38 3.0.0-dev.47 [Pipeline] } 08:33:38 $ docker exec --env ******** --env ******** 65b719b338fcbf7545fbe0394ecb6e6e5ab69e7e27ed2384fc7dcbd074b23967 ssh-agent -k 08:33:38 unset SSH_AUTH_SOCK; 08:33:38 unset SSH_AGENT_PID; 08:33:38 echo Agent pid 38 killed; 08:33:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:33:38 + git semver [Pipeline] } 08:33:38 $ docker stop --time=1 65b719b338fcbf7545fbe0394ecb6e6e5ab69e7e27ed2384fc7dcbd074b23967 08:33:40 $ docker rm -f --volumes 65b719b338fcbf7545fbe0394ecb6e6e5ab69e7e27ed2384fc7dcbd074b23967 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:33:40 08:33:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:33:40 0.23.1-centos7: Pulling from edgex-lftools 08:33:40 ab5ef0e58194: Pulling fs layer 08:33:40 9712f1f96733: Pulling fs layer 08:33:40 63f879dbbcfc: Pulling fs layer 08:33:40 0d9ebad4ef96: Pulling fs layer 08:33:40 e9a5061849ea: Pulling fs layer 08:33:40 d747dcd14b5f: Pulling fs layer 08:33:40 2de7ff778b66: Pulling fs layer 08:33:40 e9a5061849ea: Waiting 08:33:40 2de7ff778b66: Waiting 08:33:40 d747dcd14b5f: Waiting 08:33:40 0d9ebad4ef96: Waiting 08:33:40 9712f1f96733: Verifying Checksum 08:33:40 9712f1f96733: Download complete 08:33:41 63f879dbbcfc: Verifying Checksum 08:33:41 63f879dbbcfc: Download complete 08:33:41 e9a5061849ea: Verifying Checksum 08:33:41 e9a5061849ea: Download complete 08:33:41 0d9ebad4ef96: Verifying Checksum 08:33:41 0d9ebad4ef96: Download complete 08:33:41 d747dcd14b5f: Verifying Checksum 08:33:41 d747dcd14b5f: Download complete 08:33:41 ab5ef0e58194: Verifying Checksum 08:33:41 ab5ef0e58194: Download complete 08:33:41 2de7ff778b66: Download complete 08:33:44 ab5ef0e58194: Pull complete 08:33:44 9712f1f96733: Pull complete 08:33:44 63f879dbbcfc: Pull complete 08:33:48 0d9ebad4ef96: Pull complete 08:33:48 e9a5061849ea: Pull complete 08:33:48 d747dcd14b5f: Pull complete 08:33:49 2de7ff778b66: Pull complete 08:33:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:33:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:33:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:33:49 prd-ubuntu20.04-docker-8c-8g-15518 does not seem to be running inside a container 08:33:50 $ 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 08:33:54 $ docker top 91f94a344d2688b71728581ee69a7abcbdcf1633a4103797c4daa5c60191a5e2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:33:54 provisioning config files... 08:33:54 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1907276864528339221tmp 08:33:54 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9015594878587371295tmp 08:33:54 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10239559222719178139tmp [Pipeline] { [Pipeline] echo 08:33:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:33:54 ---> sigul-configuration.sh 08:33:54 gpg: directory `/root/.gnupg' created 08:33:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:33:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:33:54 gpg: keyring `/root/.gnupg/secring.gpg' created 08:33:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:33:54 gpg: CAST5 encrypted data 08:33:54 gpg: encrypted with 1 passphrase 08:33:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:33:54 + mkdir /home/jenkins 08:33:54 + mkdir /home/jenkins/sigul [Pipeline] sh 08:33:55 + 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 08:33:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:33:55 ---> sigul-install.sh 08:33:55 Sigul already installed; skipping installation. [Pipeline] sh 08:33:55 + git tag --list 08:33:55 v1.0.0 08:33:55 v1.1.0 08:33:55 v1.1.1 08:33:55 v1.2.1 08:33:55 v1.2.2 08:33:55 v1.2.3 08:33:55 v1.3.0 08:33:55 v1.3.1 08:33:55 v2.0.0 08:33:55 v2.1.0 08:33:55 v2.1.1 08:33:55 v2.1.1-dev.1 08:33:55 v2.1.1-dev.2 08:33:55 v2.2.0 08:33:55 v2.2.1-dev.1 08:33:55 v2.2.1-dev.2 08:33:55 v2.2.1-dev.3 08:33:55 v2.2.1-dev.4 08:33:55 v2.2.1-dev.5 08:33:55 v2.2.1-dev.6 08:33:55 v2.2.1-dev.7 08:33:55 v2.2.1-dev.8 08:33:55 v2.3.0 08:33:55 v2.3.0-dev.10 08:33:55 v2.3.0-dev.11 08:33:55 v2.3.0-dev.12 08:33:55 v2.3.0-dev.13 08:33:55 v2.3.0-dev.14 08:33:55 v2.3.0-dev.15 08:33:55 v2.3.0-dev.16 08:33:55 v2.3.0-dev.17 08:33:55 v2.3.0-dev.18 08:33:55 v2.3.0-dev.19 08:33:55 v2.3.0-dev.20 08:33:55 v2.3.0-dev.21 08:33:55 v2.3.0-dev.22 08:33:55 v2.3.0-dev.23 08:33:55 v2.3.0-dev.24 08:33:55 v2.3.0-dev.25 08:33:55 v2.3.0-dev.26 08:33:55 v2.3.0-dev.27 08:33:55 v2.3.0-dev.28 08:33:55 v2.3.0-dev.29 08:33:55 v2.3.0-dev.30 08:33:55 v2.3.0-dev.8 08:33:55 v2.3.0-dev.9 08:33:55 v3.0.0-dev.1 08:33:55 v3.0.0-dev.10 08:33:55 v3.0.0-dev.11 08:33:55 v3.0.0-dev.12 08:33:55 v3.0.0-dev.13 08:33:55 v3.0.0-dev.14 08:33:55 v3.0.0-dev.15 08:33:55 v3.0.0-dev.16 08:33:55 v3.0.0-dev.17 08:33:55 v3.0.0-dev.18 08:33:55 v3.0.0-dev.19 08:33:55 v3.0.0-dev.2 08:33:55 v3.0.0-dev.20 08:33:55 v3.0.0-dev.21 08:33:55 v3.0.0-dev.22 08:33:55 v3.0.0-dev.23 08:33:55 v3.0.0-dev.24 08:33:55 v3.0.0-dev.25 08:33:55 v3.0.0-dev.26 08:33:55 v3.0.0-dev.27 08:33:55 v3.0.0-dev.28 08:33:55 v3.0.0-dev.29 08:33:55 v3.0.0-dev.3 08:33:55 v3.0.0-dev.30 08:33:55 v3.0.0-dev.31 08:33:55 v3.0.0-dev.32 08:33:55 v3.0.0-dev.33 08:33:55 v3.0.0-dev.34 08:33:55 v3.0.0-dev.35 08:33:55 v3.0.0-dev.36 08:33:55 v3.0.0-dev.37 08:33:55 v3.0.0-dev.38 08:33:55 v3.0.0-dev.39 08:33:55 v3.0.0-dev.4 08:33:55 v3.0.0-dev.40 08:33:55 v3.0.0-dev.41 08:33:55 v3.0.0-dev.42 08:33:55 v3.0.0-dev.43 08:33:55 v3.0.0-dev.44 08:33:55 v3.0.0-dev.45 08:33:55 v3.0.0-dev.46 08:33:55 v3.0.0-dev.47 08:33:55 v3.0.0-dev.5 08:33:55 v3.0.0-dev.6 08:33:55 v3.0.0-dev.7 08:33:55 v3.0.0-dev.8 08:33:55 v3.0.0-dev.9 [Pipeline] sh 08:33:55 + lftools sign git-tag v3.0.0-dev.47 08:33:56 Signing Git tag with Sigul... 08:33:56 Signing v3.0.0-dev.47 [Pipeline] echo 08:33:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:33:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:33:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:33:57 $ docker stop --time=1 91f94a344d2688b71728581ee69a7abcbdcf1633a4103797c4daa5c60191a5e2 08:33:58 $ docker rm -f --volumes 91f94a344d2688b71728581ee69a7abcbdcf1633a4103797c4daa5c60191a5e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:33:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:33:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:33:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:33:59 prd-ubuntu20.04-docker-8c-8g-15518 does not seem to be running inside a container 08:33:59 $ 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 08:34:00 $ docker top 2961c84fd92fce7bb27e609476fec04a091201abba3821726f5a874e3aba7a48 -eo pid,comm 08:34:00 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). 08:34:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:34:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:34:00 [ssh-agent] Looking for ssh-agent implementation... 08:34:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:34:00 $ docker exec 2961c84fd92fce7bb27e609476fec04a091201abba3821726f5a874e3aba7a48 ssh-agent 08:34:00 SSH_AUTH_SOCK=/tmp/ssh-wrEkBxZlbnjL/agent.15 08:34:00 SSH_AGENT_PID=21 08:34:00 Running ssh-add (command line suppressed) 08:34:00 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11071985272384064108.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11071985272384064108.key) 08:34:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:34:00 + git semver bump pre 08:34:01 2023-05-16 08:34:01,209 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:34:01 2023-05-16 08:34:01,210 [bump_version] DEBUG bumping version:3.0.0-dev.47 on axis:pre with prefix:dev 08:34:01 2023-05-16 08:34:01,210 [bump_version] DEBUG bumped version:3.0.0-dev.48 08:34:01 2023-05-16 08:34:01,210 [write_version] DEBUG write version:3.0.0-dev.48 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 08:34:01 2023-05-16 08:34:01,210 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:34:01 2023-05-16 08:34:01,210 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:34:01 2023-05-16 08:34:01,214 [execute] INFO git cat-file --batch-check 08:34:01 2023-05-16 08:34:01,214 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:34:01 2023-05-16 08:34:01,220 [execute] INFO git cat-file --batch 08:34:01 2023-05-16 08:34:01,220 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:34:01 2023-05-16 08:34:01,224 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:34:01 3.0.0-dev.48 [Pipeline] } 08:34:01 $ docker exec --env ******** --env ******** 2961c84fd92fce7bb27e609476fec04a091201abba3821726f5a874e3aba7a48 ssh-agent -k 08:34:01 unset SSH_AUTH_SOCK; 08:34:01 unset SSH_AGENT_PID; 08:34:01 echo Agent pid 21 killed; 08:34:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:34:01 + git semver [Pipeline] } 08:34:01 $ docker stop --time=1 2961c84fd92fce7bb27e609476fec04a091201abba3821726f5a874e3aba7a48 08:34:03 $ docker rm -f --volumes 2961c84fd92fce7bb27e609476fec04a091201abba3821726f5a874e3aba7a48 [Pipeline] // withDockerContainer [Pipeline] sh 08:34:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:34:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:34:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:34:03 prd-ubuntu20.04-docker-8c-8g-15518 does not seem to be running inside a container 08:34:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:34:04 $ docker top 10891394dde31d25718173f0603bf48a05b382308672aed35e6f88b3916a9e6b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:34:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:34:04 [ssh-agent] Looking for ssh-agent implementation... 08:34:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:34:04 $ docker exec 10891394dde31d25718173f0603bf48a05b382308672aed35e6f88b3916a9e6b ssh-agent 08:34:04 SSH_AUTH_SOCK=/tmp/ssh-6H8W5J86SvpX/agent.33 08:34:04 SSH_AGENT_PID=39 08:34:04 Running ssh-add (command line suppressed) 08:34:04 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_565699161381093791.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_565699161381093791.key) 08:34:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:34:05 + git semver push 08:34:05 2023-05-16 08:34:05,231 [run_push] DEBUG push 08:34:05 2023-05-16 08:34:05,232 [execute] INFO git cat-file --batch-check 08:34:05 2023-05-16 08:34:05,232 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:34:05 2023-05-16 08:34:05,236 [execute] INFO git rev-list 565731277d40316a029681368de5dec6870b16a2 -- 08:34:05 2023-05-16 08:34:05,236 [execute] DEBUG Popen(['git', 'rev-list', '565731277d40316a029681368de5dec6870b16a2', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:34:05 2023-05-16 08:34:05,245 [execute] INFO git fetch -v origin 08:34:05 2023-05-16 08:34:05,246 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 08:34:05 2023-05-16 08:34:05,719 [run_push] DEBUG no remote changes detected 08:34:05 2023-05-16 08:34:05,720 [execute] INFO git push origin semver 08:34:05 2023-05-16 08:34:05,720 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:34:06 2023-05-16 08:34:06,525 [run_push] DEBUG push all version tags 08:34:06 2023-05-16 08:34:06,525 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:34:06 2023-05-16 08:34:06,526 [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) 08:34:07 2023-05-16 08:34:07,351 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:34:07 3.0.0-dev.48 [Pipeline] } 08:34:07 $ docker exec --env ******** --env ******** 10891394dde31d25718173f0603bf48a05b382308672aed35e6f88b3916a9e6b ssh-agent -k 08:34:07 unset SSH_AUTH_SOCK; 08:34:07 unset SSH_AGENT_PID; 08:34:07 echo Agent pid 39 killed; 08:34:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:34:07 + git semver [Pipeline] } 08:34:08 $ docker stop --time=1 10891394dde31d25718173f0603bf48a05b382308672aed35e6f88b3916a9e6b 08:34:09 $ docker rm -f --volumes 10891394dde31d25718173f0603bf48a05b382308672aed35e6f88b3916a9e6b [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 08:34:10 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 08:34:10 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 08:34:10 total 16 08:34:10 drwxr-xr-x 3 root root 4096 May 16 08:24 . 08:34:10 drwxrwxr-x 10 jenkins jenkins 4096 May 16 08:33 .. 08:34:10 drwxr-xr-x 2 root root 4096 May 16 08:24 cost 08:34:10 -rw-r--r-- 1 root root 89 May 16 08:24 cost.csv 08:34:10 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 08:34:10 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 08:34:10 total 16 08:34:10 drwxr-xr-x 3 jenkins jenkins 4096 May 16 08:24 . 08:34:10 drwxrwxr-x 10 jenkins jenkins 4096 May 16 08:33 .. 08:34:10 drwxr-xr-x 2 jenkins jenkins 4096 May 16 08:24 cost 08:34:10 -rw-r--r-- 1 jenkins jenkins 89 May 16 08:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:34:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:34:11 ---> package-listing.sh 08:34:11 ++ facter osfamily 08:34:11 ++ tr '[:upper:]' '[:lower:]' 08:34:11 + OS_FAMILY=debian 08:34:11 + workspace=/w/workspace/exfoundry_device-virtual-go_main 08:34:11 + START_PACKAGES=/tmp/packages_start.txt 08:34:11 + END_PACKAGES=/tmp/packages_end.txt 08:34:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:34:11 + PACKAGES=/tmp/packages_start.txt 08:34:11 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 08:34:11 + PACKAGES=/tmp/packages_end.txt 08:34:11 + case "${OS_FAMILY}" in 08:34:11 + dpkg -l 08:34:11 + grep '^ii' 08:34:11 + '[' -f /tmp/packages_start.txt ']' 08:34:11 + '[' -f /tmp/packages_end.txt ']' 08:34:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:34:11 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 08:34:11 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 08:34:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 08:34:11 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 08:34:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:34:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:34:12 prd-ubuntu20.04-docker-8c-8g-15518 does not seem to be running inside a container 08:34:12 $ 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 08:34:12 $ docker top 5e25ca1b699942d5344999f0db7740151b22beca1a8df36734b6b01e3f7e66b4 -eo pid,comm [Pipeline] { [Pipeline] sh 08:34:12 + touch /tmp/pre-build-complete [Pipeline] sh 08:34:13 + mkdir -p /var/log/sysstat [Pipeline] sh 08:34:13 + ls /var/log/sa-host 08:34:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:34:13 provisioning config files... 08:34:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17170377092912403443tmp [Pipeline] { [Pipeline] echo 08:34:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:34:13 ---> create-netrc.sh [Pipeline] } 08:34:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:34:14 ---> python-tools-install.sh [Pipeline] echo 08:34:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:34:14 ---> sudo-logs.sh 08:34:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:34:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:34:14 ---> job-cost.sh 08:34:14 lf-activate-venv: SKIPPING 08:34:14 DEBUG: total: 0.2199999988079071 08:34:14 INFO: Retrieving Stack Cost... 08:34:15 INFO: Retrieving Pricing Info for: v3-standard-8 08:34:15 INFO: Archiving Costs [Pipeline] echo 08:34:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:34:15 ---> logs-deploy.sh 08:34:15 lf-activate-venv: SKIPPING 08:34:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/119 08:34:15 INFO: archiving workspace using pattern(s): 08:34:16 Archives upload complete. 08:34:16 INFO: archiving logs to Nexus