Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8966c26b49b103c4be0d1e0859a9f7a15856cd15 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-ssh17828140151165770095.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh8024024134983624131.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 f3350a1713306dce7682ed7e37d5774890d03277 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-ssh14961781760433368409.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh2020028382349060425.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-ssh15884355120873209637.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9335 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 8966c26b49b103c4be0d1e0859a9f7a15856cd15 (main) Commit message: "Merge pull request #487 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.35" > 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 8966c26b49b103c4be0d1e0859a9f7a15856cd15 # timeout=10 > git rev-list --no-walk af071ee2e985f9b80a504a3fceca5d8623c96847 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:47:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:47:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:47:48 ========================================================= 01:47:48 EdgeX Global Pipelines Version Info 01:47:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:47:49 ------------------- 01:47:49 stable info: 01:47:49 ------------------- 01:47:49 Commited By: Cherry Wang cherry@iotechsys.com 01:47:49 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 01:47:49 Message: update stable to v1.0.263 01:47:49 ------------------- 01:47:49 experimental info: 01:47:49 ------------------- 01:47:49 Commited By: Cherry Wang cherry@iotechsys.com 01:47:49 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 01:47:49 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8966c26b49b103c4be0d1e0859a9f7a15856cd15 [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8966c26 [Pipeline] echo 01:47:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:50 provisioning config files... 01:47:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8397129797282189978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:51 ---> ****-login.sh 01:47:51 nexus3.edgexfoundry.org:10001 01:47:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:51 Configure a credential helper to remove this warning. See 01:47:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:51 01:47:51 Login Succeeded 01:47:51 nexus3.edgexfoundry.org:10002 01:47:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:51 Configure a credential helper to remove this warning. See 01:47:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:51 01:47:51 Login Succeeded 01:47:51 nexus3.edgexfoundry.org:10003 01:47:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:51 Configure a credential helper to remove this warning. See 01:47:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:51 01:47:51 Login Succeeded 01:47:51 nexus3.edgexfoundry.org:10004 01:47:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:51 Configure a credential helper to remove this warning. See 01:47:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:51 01:47:51 Login Succeeded 01:47:51 ****.io 01:47:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:52 Configure a credential helper to remove this warning. See 01:47:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:52 01:47:52 Login Succeeded 01:47:52 ---> ****-login.sh ends [Pipeline] } 01:47:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:47:52 + git rev-list -1 --merges 8966c26b49b103c4be0d1e0859a9f7a15856cd15~1..8966c26b49b103c4be0d1e0859a9f7a15856cd15 [Pipeline] echo 01:47:52 -----------> git rev-list -1 --merges 8966c26b49b103c4be0d1e0859a9f7a15856cd15~1..8966c26b49b103c4be0d1e0859a9f7a15856cd15 8966c26b49b103c4be0d1e0859a9f7a15856cd15 01:47:52 8966c26b49b103c4be0d1e0859a9f7a15856cd15 [false] [Pipeline] sh 01:47:52 + git log --format=format:%s -1 8966c26b49b103c4be0d1e0859a9f7a15856cd15 [Pipeline] echo 01:47:52 ========================================================= 01:47:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:47:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:47:53 + git log --format=format:%s -1 8966c26b49b103c4be0d1e0859a9f7a15856cd15 [Pipeline] echo 01:47:53 [semverPrep] GIT_COMMIT: 8966c26b49b103c4be0d1e0859a9f7a15856cd15, Commit Message: Merge pull request #487 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.35 [Pipeline] echo 01:47:53 [semverPrep] This is not a build commit. [Pipeline] sh 01:47:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:47:53 + grep -v github /etc/ssh/ssh_known_hosts 01:47:53 + [ -e /tmp/ssh_known_hosts ] 01:47:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:47:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:47:53 + sudo tee -a /etc/ssh/ssh_known_hosts 01:47:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:53 01:47:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:54 0.1.4: Pulling from edgex-devops/py-git-semver 01:47:54 b85a868b505f: Pulling fs layer 01:47:54 e2be974225ed: Pulling fs layer 01:47:54 339a4e72a1f5: Pulling fs layer 01:47:54 988bab9f4d93: Pulling fs layer 01:47:54 1469e6f7b9e6: Pulling fs layer 01:47:54 eaf3925da568: Pulling fs layer 01:47:54 bab4dde63d76: Pulling fs layer 01:47:54 bde34c3a00c8: Pulling fs layer 01:47:54 b352a97aabf1: Pulling fs layer 01:47:54 4872d77fe225: Pulling fs layer 01:47:54 5851b861e8e6: Pulling fs layer 01:47:54 4872d77fe225: Waiting 01:47:54 bde34c3a00c8: Waiting 01:47:54 988bab9f4d93: Waiting 01:47:54 b352a97aabf1: Waiting 01:47:54 bab4dde63d76: Waiting 01:47:54 5851b861e8e6: Waiting 01:47:54 eaf3925da568: Waiting 01:47:54 1469e6f7b9e6: Waiting 01:47:54 e2be974225ed: Verifying Checksum 01:47:54 e2be974225ed: Download complete 01:47:54 988bab9f4d93: Verifying Checksum 01:47:54 988bab9f4d93: Download complete 01:47:54 1469e6f7b9e6: Verifying Checksum 01:47:54 1469e6f7b9e6: Download complete 01:47:54 eaf3925da568: Download complete 01:47:54 339a4e72a1f5: Verifying Checksum 01:47:54 339a4e72a1f5: Download complete 01:47:54 bde34c3a00c8: Verifying Checksum 01:47:54 bde34c3a00c8: Download complete 01:47:54 b352a97aabf1: Verifying Checksum 01:47:54 b352a97aabf1: Download complete 01:47:54 4872d77fe225: Download complete 01:47:54 5851b861e8e6: Verifying Checksum 01:47:54 5851b861e8e6: Download complete 01:47:54 b85a868b505f: Verifying Checksum 01:47:54 b85a868b505f: Download complete 01:47:54 bab4dde63d76: Verifying Checksum 01:47:54 bab4dde63d76: Download complete 01:47:55 b85a868b505f: Pull complete 01:47:55 e2be974225ed: Pull complete 01:47:56 339a4e72a1f5: Pull complete 01:47:56 988bab9f4d93: Pull complete 01:47:56 1469e6f7b9e6: Pull complete 01:47:56 eaf3925da568: Pull complete 01:47:57 bab4dde63d76: Pull complete 01:47:58 bde34c3a00c8: Pull complete 01:47:58 b352a97aabf1: Pull complete 01:47:58 4872d77fe225: Pull complete 01:47:58 5851b861e8e6: Pull complete 01:47:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:47:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:58 prd-ubuntu20.04-docker-8c-8g-9335 does not seem to be running inside a container 01:47:58 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:48:01 $ docker top 18bb99625e1b7fb26c4321aa6450b57c4cfc4f82e143c8b7a422e7a745c3cdca -eo pid,comm 01:48:01 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). 01:48:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:48:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:48:01 [ssh-agent] Looking for ssh-agent implementation... 01:48:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:48:01 $ docker exec 18bb99625e1b7fb26c4321aa6450b57c4cfc4f82e143c8b7a422e7a745c3cdca ssh-agent 01:48:01 SSH_AUTH_SOCK=/tmp/ssh-Yesce2m9bRxJ/agent.32 01:48:01 SSH_AGENT_PID=38 01:48:01 Running ssh-add (command line suppressed) 01:48:01 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9351500348876181628.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9351500348876181628.key) 01:48:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:48:02 + git tag --points-at HEAD [Pipeline] } 01:48:02 $ docker exec --env ******** --env ******** 18bb99625e1b7fb26c4321aa6450b57c4cfc4f82e143c8b7a422e7a745c3cdca ssh-agent -k 01:48:02 unset SSH_AUTH_SOCK; 01:48:02 unset SSH_AGENT_PID; 01:48:02 echo Agent pid 38 killed; 01:48:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:48:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:48:02 [ssh-agent] Looking for ssh-agent implementation... 01:48:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:48:02 $ docker exec 18bb99625e1b7fb26c4321aa6450b57c4cfc4f82e143c8b7a422e7a745c3cdca ssh-agent 01:48:02 SSH_AUTH_SOCK=/tmp/ssh-04Tcl4gHlbGR/agent.71 01:48:02 SSH_AGENT_PID=77 01:48:02 Running ssh-add (command line suppressed) 01:48:02 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11555271240401951153.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11555271240401951153.key) 01:48:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:48:02 + git semver init 01:48:03 2024-09-04 01:48:03,022 [run_init] DEBUG init version:0.0.0 force:False 01:48:03 2024-09-04 01:48:03,023 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 01:48:03 2024-09-04 01:48:03,024 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 01:48:03 2024-09-04 01:48:03,024 [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) 01:48:05 2024-09-04 01:48:04,891 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 01:48:05 2024-09-04 01:48:04,891 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 01:48:05 2024-09-04 01:48:04,891 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 01:48:05 2024-09-04 01:48:04,892 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 01:48:05 3.2.0-dev.23 [Pipeline] } 01:48:05 $ docker exec --env ******** --env ******** 18bb99625e1b7fb26c4321aa6450b57c4cfc4f82e143c8b7a422e7a745c3cdca ssh-agent -k 01:48:05 unset SSH_AUTH_SOCK; 01:48:05 unset SSH_AGENT_PID; 01:48:05 echo Agent pid 77 killed; 01:48:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:48:05 + git semver [Pipeline] } 01:48:05 $ docker stop --time=1 18bb99625e1b7fb26c4321aa6450b57c4cfc4f82e143c8b7a422e7a745c3cdca 01:48:07 $ docker rm -f --volumes 18bb99625e1b7fb26c4321aa6450b57c4cfc4f82e143c8b7a422e7a745c3cdca [Pipeline] // withDockerContainer [Pipeline] sh 01:48:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:48:07 Stashed 1 file(s) [Pipeline] echo 01:48:07 [edgeXSemver]: initialized semver on version 3.2.0-dev.23 [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 01:48:07 provisioning config files... 01:48:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9075438712121962328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:08 ---> ****-login.sh 01:48:08 nexus3.edgexfoundry.org:10001 01:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:08 Configure a credential helper to remove this warning. See 01:48:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:08 01:48:08 Login Succeeded 01:48:08 nexus3.edgexfoundry.org:10002 01:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:08 Configure a credential helper to remove this warning. See 01:48:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:08 01:48:08 Login Succeeded 01:48:08 nexus3.edgexfoundry.org:10003 01:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:08 Configure a credential helper to remove this warning. See 01:48:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:08 01:48:08 Login Succeeded 01:48:08 nexus3.edgexfoundry.org:10004 01:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:08 Configure a credential helper to remove this warning. See 01:48:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:08 01:48:08 Login Succeeded 01:48:08 ****.io 01:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:08 Configure a credential helper to remove this warning. See 01:48:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:08 01:48:08 Login Succeeded 01:48:08 ---> ****-login.sh ends [Pipeline] } 01:48:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:48:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:48:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:48:08 ========================================================= 01:48:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:48:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:48:09 Sending build context to Docker daemon 37.58MB 01:48:09 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:48:09 Step 2/12 : FROM ${BASE} AS builder 01:48:09 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:48:09 619be1103602: Pulling fs layer 01:48:09 7862e08f4a3e: Pulling fs layer 01:48:09 5df492c9dc93: Pulling fs layer 01:48:09 7629e6793208: Pulling fs layer 01:48:09 4f4fb700ef54: Pulling fs layer 01:48:09 fb5054dd5b73: Pulling fs layer 01:48:09 eeca6798cff9: Pulling fs layer 01:48:09 aa269ceb94a6: Pulling fs layer 01:48:09 ada007ff1a6a: Pulling fs layer 01:48:09 4f4fb700ef54: Waiting 01:48:09 aa269ceb94a6: Waiting 01:48:09 fb5054dd5b73: Waiting 01:48:09 ada007ff1a6a: Waiting 01:48:09 eeca6798cff9: Waiting 01:48:09 7862e08f4a3e: Verifying Checksum 01:48:09 7862e08f4a3e: Download complete 01:48:09 7629e6793208: Verifying Checksum 01:48:09 7629e6793208: Download complete 01:48:09 4f4fb700ef54: Verifying Checksum 01:48:09 4f4fb700ef54: Download complete 01:48:09 619be1103602: Verifying Checksum 01:48:09 619be1103602: Download complete 01:48:09 fb5054dd5b73: Verifying Checksum 01:48:09 fb5054dd5b73: Download complete 01:48:09 eeca6798cff9: Verifying Checksum 01:48:09 eeca6798cff9: Download complete 01:48:09 619be1103602: Pull complete 01:48:09 ada007ff1a6a: Verifying Checksum 01:48:09 ada007ff1a6a: Download complete 01:48:09 7862e08f4a3e: Pull complete 01:48:09 5df492c9dc93: Verifying Checksum 01:48:09 5df492c9dc93: Download complete 01:48:10 aa269ceb94a6: Verifying Checksum 01:48:10 aa269ceb94a6: Download complete 01:48:12 5df492c9dc93: Pull complete 01:48:12 7629e6793208: Pull complete 01:48:12 4f4fb700ef54: Pull complete 01:48:12 fb5054dd5b73: Pull complete 01:48:12 eeca6798cff9: Pull complete 01:48:15 aa269ceb94a6: Pull complete 01:48:15 ada007ff1a6a: Pull complete 01:48:15 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:48:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:48:15 ---> f489d0715acc 01:48:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:48:19 ---> Running in 11ab806972e3 01:48:19 Removing intermediate container 11ab806972e3 01:48:19 ---> 22834587401d 01:48:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:48:19 ---> Running in 9f36464e6269 01:48:19 Removing intermediate container 9f36464e6269 01:48:19 ---> 8718c555518f 01:48:19 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:48:19 ---> Running in 9c777debc1ef 01:48:19 Removing intermediate container 9c777debc1ef 01:48:19 ---> 5089d2967eab 01:48:19 Step 6/12 : WORKDIR /device-virtual-go 01:48:19 ---> Running in d270fde89bdc 01:48:19 Removing intermediate container d270fde89bdc 01:48:19 ---> fc3ce6e96512 01:48:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:48:19 ---> Running in e918714695ab 01:48:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:48:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:48:20 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:48:20 (2/4) Installing libedit (20221030.3.1-r1) 01:48:20 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:48:20 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:48:20 Executing busybox-1.36.1-r5.trigger 01:48:20 OK: 268 MiB in 56 packages 01:48:20 Removing intermediate container e918714695ab 01:48:20 ---> a7e3144be84e 01:48:20 Step 8/12 : COPY go.mod vendor* ./ 01:48:20 ---> f2b492fb510a 01:48:20 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:48:20 ---> Running in b8038cfa487b 01:48:22 Still waiting to schedule task 01:48:22 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9334’ 01:49:17 Removing intermediate container b8038cfa487b 01:49:17 ---> bebd03f5ba38 01:49:17 Step 10/12 : COPY . . 01:49:17 ---> 3f03c8b98841 01:49:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:49:17 ---> Running in d6bebe0c5eee 01:49:17 Removing intermediate container d6bebe0c5eee 01:49:17 ---> 9ce013fb1993 01:49:17 Step 12/12 : RUN $MAKE 01:49:17 ---> Running in 4f3efc84c198 01:49:17 noop 01:49:17 Removing intermediate container 4f3efc84c198 01:49:17 ---> 29b0a6bea8b8 01:49:17 Successfully built 29b0a6bea8b8 01:49:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:17 + docker inspect -f . ci-base-image-x86_64 01:49:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:17 prd-ubuntu20.04-docker-8c-8g-9335 does not seem to be running inside a container 01:49:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:49:17 $ docker top ed4d09bcc2577f9b437ebdc022aa305ac1a7ebeae537ee5cd3a9232f58aaecfd -eo pid,comm [Pipeline] { [Pipeline] sh 01:49:18 + go version 01:49:18 go version go1.21.9 linux/amd64 [Pipeline] } 01:49:18 $ docker stop --time=1 ed4d09bcc2577f9b437ebdc022aa305ac1a7ebeae537ee5cd3a9232f58aaecfd 01:49:19 $ docker rm -f --volumes ed4d09bcc2577f9b437ebdc022aa305ac1a7ebeae537ee5cd3a9232f58aaecfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:19 + docker inspect -f . ci-base-image-x86_64 01:49:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:20 prd-ubuntu20.04-docker-8c-8g-9335 does not seem to be running inside a container 01:49:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:49:20 $ docker top e8b18c8b65f37de589fdd5f03f712bbf128afa54ad73028e2efab8ae18b706cf -eo pid,comm [Pipeline] { [Pipeline] sh 01:49:20 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 01:49:21 + make test 01:49:21 go test ./... -coverprofile=coverage.out 01:49:22 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:49:41 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:49:41 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.007s coverage: 58.4% of statements 01:49:49 go vet ./... 01:49:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:49:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:49:54 ./bin/test-attribution-txt.sh 01:49:54 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 01:49:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:49:54 $ docker stop --time=1 e8b18c8b65f37de589fdd5f03f712bbf128afa54ad73028e2efab8ae18b706cf 01:49:58 $ docker rm -f --volumes e8b18c8b65f37de589fdd5f03f712bbf128afa54ad73028e2efab8ae18b706cf [Pipeline] // withDockerContainer [Pipeline] sh 01:49:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:49:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:49:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:49:59 + ls -al . 01:49:59 total 276 01:49:59 drwxrwxr-x 8 jenkins jenkins 4096 Sep 4 01:49 . 01:49:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 4 01:47 .. 01:49:59 drwxrwxr-x 8 jenkins jenkins 4096 Sep 4 01:49 .git 01:49:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 01:47 .github 01:49:59 -rw-rw-r-- 1 jenkins jenkins 272 Sep 4 01:47 .gitignore 01:49:59 -rw-rw-r-- 1 jenkins jenkins 41 Sep 4 01:47 .golangci.yml 01:49:59 drwxr-xr-x 3 jenkins jenkins 4096 Sep 4 01:48 .semver 01:49:59 -rw-rw-r-- 1 jenkins jenkins 17933 Sep 4 01:47 Attribution.txt 01:49:59 -rw-rw-r-- 1 jenkins jenkins 15941 Sep 4 01:47 CHANGELOG.md 01:49:59 -rw-rw-r-- 1 jenkins jenkins 1755 Sep 4 01:47 Dockerfile 01:49:59 -rw-rw-r-- 1 jenkins jenkins 677 Sep 4 01:47 GOVERNANCE.md 01:49:59 -rw-rw-r-- 1 jenkins jenkins 660 Sep 4 01:47 Jenkinsfile 01:49:59 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 4 01:47 LICENSE 01:49:59 -rw-rw-r-- 1 jenkins jenkins 1953 Sep 4 01:47 Makefile 01:49:59 -rw-rw-r-- 1 jenkins jenkins 623 Sep 4 01:47 OWNERS.md 01:49:59 -rw-rw-r-- 1 jenkins jenkins 4103 Sep 4 01:47 README.md 01:49:59 -rw-rw-r-- 1 jenkins jenkins 12 Sep 4 01:48 VERSION 01:49:59 drwxrwxr-x 2 jenkins jenkins 4096 Sep 4 01:47 bin 01:49:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 01:47 cmd 01:49:59 -rw-r--r-- 1 jenkins jenkins 43247 Sep 4 01:49 coverage.out 01:49:59 -rw-rw-r-- 1 jenkins jenkins 6923 Sep 4 01:47 go.mod 01:49:59 -rw-rw-r-- 1 jenkins jenkins 101673 Sep 4 01:47 go.sum 01:49:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 01:47 internal 01:49:59 -rw-rw-r-- 1 jenkins jenkins 235 Sep 4 01:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:00 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=8966c26b49b103c4be0d1e0859a9f7a15856cd15 --label arch=amd64 --label version=3.2.0-dev.23 . 01:50:00 Sending build context to Docker daemon 37.63MB 01:50:00 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 01:50:00 Step 2/26 : FROM ${BASE} AS builder 01:50:00 ---> 29b0a6bea8b8 01:50:00 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:50:00 ---> Running in e3d99527dc71 01:50:00 Removing intermediate container e3d99527dc71 01:50:00 ---> 8aec843aabf4 01:50:00 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:50:00 ---> Running in 70d4f5aed361 01:50:00 Removing intermediate container 70d4f5aed361 01:50:00 ---> a2e674dde6fc 01:50:00 Step 5/26 : ARG ADD_BUILD_TAGS="" 01:50:00 ---> Running in 903f1c7823a7 01:50:00 Removing intermediate container 903f1c7823a7 01:50:00 ---> eca525f2c09a 01:50:00 Step 6/26 : WORKDIR /device-virtual-go 01:50:00 ---> Running in 9af7a7a57484 01:50:00 Removing intermediate container 9af7a7a57484 01:50:00 ---> 9b9d3f84c3b6 01:50:00 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:50:00 ---> Running in bf9b29bfd9ab 01:50:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:50:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:50:01 OK: 268 MiB in 56 packages 01:50:01 Removing intermediate container bf9b29bfd9ab 01:50:01 ---> 41c439275f82 01:50:01 Step 8/26 : COPY go.mod vendor* ./ 01:50:02 ---> 91eab7c5fd0d 01:50:02 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:50:02 ---> Running in d13f05c8efda 01:50:02 Removing intermediate container d13f05c8efda 01:50:02 ---> fc4101ac33cb 01:50:02 Step 10/26 : COPY . . 01:50:03 ---> 54a7a28160a0 01:50:03 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:50:03 ---> Running in 16182264503b 01:50:03 Removing intermediate container 16182264503b 01:50:03 ---> e7af3cf8a9a1 01:50:03 Step 12/26 : RUN $MAKE 01:50:03 ---> Running in 556260efa95e 01:50:03 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.35" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 01:50:35 Removing intermediate container 556260efa95e 01:50:35 ---> 4ca3717be1d9 01:50:35 Step 13/26 : FROM alpine:3.18 01:50:35 3.18: Pulling from library/alpine 01:50:35 930bdd4d222e: Pulling fs layer 01:50:35 930bdd4d222e: Verifying Checksum 01:50:35 930bdd4d222e: Download complete 01:50:35 930bdd4d222e: Pull complete 01:50:35 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 01:50:35 Status: Downloaded newer image for alpine:3.18 01:50:35 ---> 18f865063206 01:50:35 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:50:35 ---> Running in 5adb917b74c7 01:50:35 Removing intermediate container 5adb917b74c7 01:50:35 ---> 3dec1210d06f 01:50:35 Step 15/26 : RUN apk add --update --no-cache dumb-init 01:50:35 ---> Running in b23829d2d128 01:50:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:50:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:50:35 (1/1) Installing dumb-init (1.2.5-r2) 01:50:35 Executing busybox-1.36.1-r7.trigger 01:50:35 OK: 7 MiB in 16 packages 01:50:35 Removing intermediate container b23829d2d128 01:50:35 ---> 21e40093854d 01:50:35 Step 16/26 : RUN apk --no-cache upgrade 01:50:35 ---> Running in f003895ea928 01:50:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:50:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:50:35 OK: 7 MiB in 16 packages 01:50:35 Removing intermediate container f003895ea928 01:50:35 ---> 451a9cb7c11b 01:50:35 Step 17/26 : WORKDIR / 01:50:35 ---> Running in b2b378a28935 01:50:35 Removing intermediate container b2b378a28935 01:50:35 ---> 6e265c4a1769 01:50:35 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:50:35 ---> 75f11954d0de 01:50:35 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 01:50:35 ---> 177cea5efd5b 01:50:35 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 01:50:36 ---> 5d0d19eeb4b2 01:50:36 Step 21/26 : EXPOSE 59900 01:50:36 ---> Running in 39783a9d9a72 01:50:36 Removing intermediate container 39783a9d9a72 01:50:36 ---> afb76f791049 01:50:36 Step 22/26 : ENTRYPOINT ["/device-virtual"] 01:50:36 ---> Running in dfc35bd68a5b 01:50:36 Removing intermediate container dfc35bd68a5b 01:50:36 ---> fc94e45188e7 01:50:36 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 01:50:36 ---> Running in 1faacfa0e9fb 01:50:36 Removing intermediate container 1faacfa0e9fb 01:50:36 ---> 03ad9576af51 01:50:36 Step 24/26 : LABEL arch=amd64 01:50:37 ---> Running in 99961cb132f0 01:50:37 Removing intermediate container 99961cb132f0 01:50:37 ---> c0cc09c4530f 01:50:37 Step 25/26 : LABEL git_sha=8966c26b49b103c4be0d1e0859a9f7a15856cd15 01:50:37 ---> Running in 7f6ba0d58b17 01:50:37 Removing intermediate container 7f6ba0d58b17 01:50:37 ---> a6e5f1824511 01:50:37 Step 26/26 : LABEL version=3.2.0-dev.23 01:50:37 ---> Running in 4bc60175cc04 01:50:37 Removing intermediate container 4bc60175cc04 01:50:37 ---> 42de5aa4db1e 01:50:37 [Warning] One or more build-args [ARCH] were not consumed 01:50:37 Successfully built 42de5aa4db1e 01:50:37 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:50:37 provisioning config files... 01:50:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3993782631246004638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:50:37 ---> ****-login.sh 01:50:37 nexus3.edgexfoundry.org:10001 01:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:50:37 Configure a credential helper to remove this warning. See 01:50:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:50:37 01:50:37 Login Succeeded 01:50:37 nexus3.edgexfoundry.org:10002 01:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:50:37 Configure a credential helper to remove this warning. See 01:50:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:50:37 01:50:37 Login Succeeded 01:50:37 nexus3.edgexfoundry.org:10003 01:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:50:37 Configure a credential helper to remove this warning. See 01:50:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:50:37 01:50:37 Login Succeeded 01:50:37 nexus3.edgexfoundry.org:10004 01:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:50:37 Configure a credential helper to remove this warning. See 01:50:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:50:37 01:50:37 Login Succeeded 01:50:37 ****.io 01:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:50:38 Configure a credential helper to remove this warning. See 01:50:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:50:38 01:50:38 Login Succeeded 01:50:38 ---> ****-login.sh ends [Pipeline] } 01:50:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:50:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:50:38 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 01:50:38 8966c26b49b103c4be0d1e0859a9f7a15856cd15 01:50:38 latest 01:50:38 3.2.0-dev.23 01:50:38 8966c26b49b103c4be0d1e0859a9f7a15856cd15-3.2.0-dev.23 01:50:38 main 01:50:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:38 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8966c26b49b103c4be0d1e0859a9f7a15856cd15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual:8966c26b49b103c4be0d1e0859a9f7a15856cd15 01:50:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:50:39 2eeac0edfddd: Preparing 01:50:39 12c3662be4dc: Preparing 01:50:39 97fcbc837302: Preparing 01:50:39 7aa3c62f3b6b: Preparing 01:50:39 8a894e2d4457: Preparing 01:50:39 ce7f800efff9: Preparing 01:50:39 ce7f800efff9: Waiting 01:50:39 97fcbc837302: Pushed 01:50:39 7aa3c62f3b6b: Pushed 01:50:39 8a894e2d4457: Pushed 01:50:39 12c3662be4dc: Pushed 01:50:39 ce7f800efff9: Layer already exists 01:50:41 2eeac0edfddd: Pushed 01:50:41 8966c26b49b103c4be0d1e0859a9f7a15856cd15: digest: sha256:812a80c9d5e45cf202a087a9b7185754c94591cf0792dbd22fff49507ba693cb size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:41 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 01:50:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:50:42 2eeac0edfddd: Preparing 01:50:42 12c3662be4dc: Preparing 01:50:42 97fcbc837302: Preparing 01:50:42 7aa3c62f3b6b: Preparing 01:50:42 8a894e2d4457: Preparing 01:50:42 ce7f800efff9: Preparing 01:50:42 ce7f800efff9: Waiting 01:50:42 2eeac0edfddd: Layer already exists 01:50:42 8a894e2d4457: Layer already exists 01:50:42 97fcbc837302: Layer already exists 01:50:42 7aa3c62f3b6b: Layer already exists 01:50:42 12c3662be4dc: Layer already exists 01:50:42 ce7f800efff9: Layer already exists 01:50:42 latest: digest: sha256:812a80c9d5e45cf202a087a9b7185754c94591cf0792dbd22fff49507ba693cb size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:42 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.23 01:50:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:50:42 2eeac0edfddd: Preparing 01:50:42 12c3662be4dc: Preparing 01:50:42 97fcbc837302: Preparing 01:50:42 7aa3c62f3b6b: Preparing 01:50:42 8a894e2d4457: Preparing 01:50:42 ce7f800efff9: Preparing 01:50:42 ce7f800efff9: Waiting 01:50:42 12c3662be4dc: Layer already exists 01:50:42 2eeac0edfddd: Layer already exists 01:50:42 8a894e2d4457: Layer already exists 01:50:42 7aa3c62f3b6b: Layer already exists 01:50:42 97fcbc837302: Layer already exists 01:50:42 ce7f800efff9: Layer already exists 01:50:42 3.2.0-dev.23: digest: sha256:812a80c9d5e45cf202a087a9b7185754c94591cf0792dbd22fff49507ba693cb size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:43 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8966c26b49b103c4be0d1e0859a9f7a15856cd15-3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:8966c26b49b103c4be0d1e0859a9f7a15856cd15-3.2.0-dev.23 01:50:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:50:43 2eeac0edfddd: Preparing 01:50:43 12c3662be4dc: Preparing 01:50:43 97fcbc837302: Preparing 01:50:43 7aa3c62f3b6b: Preparing 01:50:43 8a894e2d4457: Preparing 01:50:43 ce7f800efff9: Preparing 01:50:43 ce7f800efff9: Waiting 01:50:43 97fcbc837302: Layer already exists 01:50:43 12c3662be4dc: Layer already exists 01:50:43 2eeac0edfddd: Layer already exists 01:50:43 7aa3c62f3b6b: Layer already exists 01:50:43 8a894e2d4457: Layer already exists 01:50:43 ce7f800efff9: Layer already exists 01:50:43 8966c26b49b103c4be0d1e0859a9f7a15856cd15-3.2.0-dev.23: digest: sha256:812a80c9d5e45cf202a087a9b7185754c94591cf0792dbd22fff49507ba693cb size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:43 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 01:50:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:50:44 2eeac0edfddd: Preparing 01:50:44 12c3662be4dc: Preparing 01:50:44 97fcbc837302: Preparing 01:50:44 7aa3c62f3b6b: Preparing 01:50:44 8a894e2d4457: Preparing 01:50:44 ce7f800efff9: Preparing 01:50:44 ce7f800efff9: Waiting 01:50:44 8a894e2d4457: Layer already exists 01:50:44 97fcbc837302: Layer already exists 01:50:44 2eeac0edfddd: Layer already exists 01:50:44 7aa3c62f3b6b: Layer already exists 01:50:44 12c3662be4dc: Layer already exists 01:50:44 ce7f800efff9: Layer already exists 01:50:44 main: digest: sha256:812a80c9d5e45cf202a087a9b7185754c94591cf0792dbd22fff49507ba693cb size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:50:44 ===================================================== [Pipeline] echo 01:50:44 taggedImages: 01:50:44 - nexus3.edgexfoundry.org:10004/device-virtual:8966c26b49b103c4be0d1e0859a9f7a15856cd15 01:50:44 - nexus3.edgexfoundry.org:10004/device-virtual:latest 01:50:44 - nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.23 01:50:44 - nexus3.edgexfoundry.org:10004/device-virtual:8966c26b49b103c4be0d1e0859a9f7a15856cd15-3.2.0-dev.23 01:50:44 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:50:44 01:50:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:50:45 latest: Pulling from edgex-lftools-log-publisher 01:50:45 5eb5b503b376: Pulling fs layer 01:50:45 5c69ac0246d0: Pulling fs layer 01:50:45 ec43610c2a17: Pulling fs layer 01:50:45 3a2ae6a8a46f: Pulling fs layer 01:50:45 33b1e0a273af: Pulling fs layer 01:50:45 5d3b04190fa2: Pulling fs layer 01:50:45 2f39f015ded8: Pulling fs layer 01:50:45 33b1e0a273af: Waiting 01:50:45 3a2ae6a8a46f: Waiting 01:50:45 5d3b04190fa2: Waiting 01:50:45 2f39f015ded8: Waiting 01:50:45 5c69ac0246d0: Download complete 01:50:45 3a2ae6a8a46f: Download complete 01:50:45 33b1e0a273af: Verifying Checksum 01:50:45 33b1e0a273af: Download complete 01:50:45 5d3b04190fa2: Verifying Checksum 01:50:45 5d3b04190fa2: Download complete 01:50:45 ec43610c2a17: Download complete 01:50:45 5eb5b503b376: Verifying Checksum 01:50:45 5eb5b503b376: Download complete 01:50:45 2f39f015ded8: Download complete 01:50:46 5eb5b503b376: Pull complete 01:50:46 5c69ac0246d0: Pull complete 01:50:46 ec43610c2a17: Pull complete 01:50:46 3a2ae6a8a46f: Pull complete 01:50:47 33b1e0a273af: Pull complete 01:50:47 5d3b04190fa2: Pull complete 01:50:51 2f39f015ded8: Pull complete 01:50:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:50:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:50:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:51 prd-ubuntu20.04-docker-8c-8g-9335 does not seem to be running inside a container 01:50:51 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:50:55 $ docker top 119de0ce3607167fe4df8e0852348c9553f466ae3696ac7dee2ef275fb5ae4b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:50:55 ---> job-cost.sh 01:50:55 lf-activate-venv: SKIPPING 01:50:55 INFO: No Stack... 01:50:56 INFO: Retrieving Pricing Info for: v3-standard-8 01:50:56 INFO: Archiving Costs [Pipeline] sh 01:50:56 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 01:50:56 + cut -d, -f6 [Pipeline] lock 01:50:56 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-179-stack-cost] 01:50:56 Resource [jenkins-edgexfoundry-device-virtual-go-main-179-stack-cost] did not exist. Created. 01:50:56 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-179-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:50:56 + echo total: 0.2199999988079071 [Pipeline] stash 01:50:56 Stashed 1 file(s) [Pipeline] } 01:50:56 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-179-stack-cost] [Pipeline] // lock [Pipeline] } 01:50:57 $ docker stop --time=1 119de0ce3607167fe4df8e0852348c9553f466ae3696ac7dee2ef275fb5ae4b6 01:50:58 $ docker rm -f --volumes 119de0ce3607167fe4df8e0852348c9553f466ae3696ac7dee2ef275fb5ae4b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:52:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9338 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 01:52:12 Running in /w/workspace/device-virtual-go/179 [Pipeline] { [Pipeline] checkout 01:52:15 The recommended git tool is: git 01:52:24 using credential edgex-jenkins-ssh 01:52:24 Cloning the remote Git repository 01:52:24 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:52:24 > git init /w/workspace/device-virtual-go/179 # timeout=10 01:52:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:52:24 > git --version # timeout=10 01:52:24 > git --version # 'git version 2.25.1' 01:52:24 using GIT_SSH to set credentials SSH Credentials for GitHub 01:52:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:52:29 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:52:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:52:30 Avoid second fetch 01:52:30 Checking out Revision 8966c26b49b103c4be0d1e0859a9f7a15856cd15 (main) 01:52:30 > git config core.sparsecheckout # timeout=10 01:52:30 > git checkout -f 8966c26b49b103c4be0d1e0859a9f7a15856cd15 # timeout=10 01:52:30 Commit message: "Merge pull request #487 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.35" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:52:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:52:35 % Total % Received % Xferd Average Speed Time Time Time Current 01:52:35 Dload Upload Total Spent Left Speed 01:52:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 75905 0 --:--:-- --:--:-- --:--:-- 76357 [Pipeline] sh 01:52:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:52:36 + sudo tee /etc/docker/daemon.new 01:52:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:52:36 { 01:52:36 "registry-mirrors": [ 01:52:36 "https://nexus3.edgexfoundry.org:10001" 01:52:36 ], 01:52:36 "bip": "10.250.0.254/24", 01:52:36 "hosts": [ 01:52:36 "tcp://0.0.0.0:5555", 01:52:36 "unix:///var/run/docker.sock" 01:52:36 ], 01:52:36 "mtu": 1458, 01:52:36 "selinux-enabled": true, 01:52:36 "seccomp-profile": "/etc/docker/seccomp.json" 01:52:36 } [Pipeline] sh 01:52:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:52:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:52:55 provisioning config files... 01:52:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/179@tmp/config3887036416942302650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:55 ---> ****-login.sh 01:52:55 nexus3.edgexfoundry.org:10001 01:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:56 Configure a credential helper to remove this warning. See 01:52:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:56 01:52:56 Login Succeeded 01:52:56 nexus3.edgexfoundry.org:10002 01:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:57 Configure a credential helper to remove this warning. See 01:52:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:57 01:52:57 Login Succeeded 01:52:57 nexus3.edgexfoundry.org:10003 01:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:57 Configure a credential helper to remove this warning. See 01:52:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:57 01:52:57 Login Succeeded 01:52:57 nexus3.edgexfoundry.org:10004 01:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:57 Configure a credential helper to remove this warning. See 01:52:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:57 01:52:57 Login Succeeded 01:52:57 ****.io 01:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:58 Configure a credential helper to remove this warning. See 01:52:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:58 01:52:58 Login Succeeded 01:52:58 ---> ****-login.sh ends [Pipeline] } 01:52:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:52:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:52:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:52:58 ========================================================= 01:52:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:52:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:59 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:52:59 Sending build context to Docker daemon 18.98MB 01:52:59 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:52:59 Step 2/12 : FROM ${BASE} AS builder 01:52:59 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:52:59 c6b39de5b339: Pulling fs layer 01:52:59 a69c41024577: Pulling fs layer 01:52:59 d6de4b400683: Pulling fs layer 01:52:59 35cb2a7552d0: Pulling fs layer 01:52:59 4f4fb700ef54: Pulling fs layer 01:52:59 464afbd9ba4c: Pulling fs layer 01:52:59 00f215d4a9da: Pulling fs layer 01:52:59 d496ad576159: Pulling fs layer 01:52:59 4f4fb700ef54: Waiting 01:52:59 35cb2a7552d0: Waiting 01:52:59 464afbd9ba4c: Waiting 01:52:59 00f215d4a9da: Waiting 01:52:59 d496ad576159: Waiting 01:52:59 a69c41024577: Verifying Checksum 01:52:59 a69c41024577: Download complete 01:52:59 35cb2a7552d0: Verifying Checksum 01:52:59 35cb2a7552d0: Download complete 01:52:59 4f4fb700ef54: Verifying Checksum 01:52:59 4f4fb700ef54: Download complete 01:52:59 c6b39de5b339: Download complete 01:52:59 464afbd9ba4c: Verifying Checksum 01:52:59 464afbd9ba4c: Download complete 01:53:00 d496ad576159: Verifying Checksum 01:53:00 d496ad576159: Download complete 01:53:00 c6b39de5b339: Pull complete 01:53:01 a69c41024577: Pull complete 01:53:01 d6de4b400683: Verifying Checksum 01:53:01 d6de4b400683: Download complete 01:53:02 00f215d4a9da: Verifying Checksum 01:53:02 00f215d4a9da: Download complete 01:53:15 d6de4b400683: Pull complete 01:53:15 35cb2a7552d0: Pull complete 01:53:15 4f4fb700ef54: Pull complete 01:53:15 464afbd9ba4c: Pull complete 01:53:23 00f215d4a9da: Pull complete 01:53:24 d496ad576159: Pull complete 01:53:24 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 01:53:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:53:24 ---> f246e2811388 01:53:24 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:53:26 ---> Running in 99a0e9109f40 01:53:27 Removing intermediate container 99a0e9109f40 01:53:27 ---> ea64351dc652 01:53:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:53:27 ---> Running in d1fb290da572 01:53:27 Removing intermediate container d1fb290da572 01:53:27 ---> 24e8cb62a0d5 01:53:27 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:53:27 ---> Running in 80d565161441 01:53:27 Removing intermediate container 80d565161441 01:53:27 ---> 6ce08e40e11c 01:53:27 Step 6/12 : WORKDIR /device-virtual-go 01:53:27 ---> Running in 3d83fcbc71cf 01:53:28 Removing intermediate container 3d83fcbc71cf 01:53:28 ---> 3c5c2c6fa0cc 01:53:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:53:28 ---> Running in 347f4a0a815a 01:53:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:53:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:53:31 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:53:31 (2/4) Installing libedit (20221030.3.1-r1) 01:53:31 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:53:31 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:53:31 Executing busybox-1.36.1-r5.trigger 01:53:31 OK: 271 MiB in 56 packages 01:53:32 Removing intermediate container 347f4a0a815a 01:53:32 ---> d07c0d328488 01:53:32 Step 8/12 : COPY go.mod vendor* ./ 01:53:33 ---> e9319289434c 01:53:33 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:53:33 ---> Running in 43929d9ff0f3 01:55:25 Removing intermediate container 43929d9ff0f3 01:55:25 ---> 7920d54ca541 01:55:25 Step 10/12 : COPY . . 01:55:25 ---> 8b917497a83f 01:55:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:55:25 ---> Running in fb19f733e142 01:55:26 Removing intermediate container fb19f733e142 01:55:26 ---> 544dc5f476a1 01:55:26 Step 12/12 : RUN $MAKE 01:55:26 ---> Running in 206231b8e1ab 01:55:27 noop 01:55:28 Removing intermediate container 206231b8e1ab 01:55:28 ---> 2969a70a39f3 01:55:28 Successfully built 2969a70a39f3 01:55:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:28 + docker inspect -f . ci-base-image-arm64 01:55:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:28 prd-ubuntu20.04-docker-arm64-4c-16g-9338 does not seem to be running inside a container 01:55:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/179 -v /w/workspace/device-virtual-go/179:/w/workspace/device-virtual-go/179:rw,z -v /w/workspace/device-virtual-go/179@tmp:/w/workspace/device-virtual-go/179@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 01:55:30 $ docker top 741f07f980681b04aed9f89c895dc02ba72ad7c411c3dda2cd653c77b7e0def1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:31 + go version 01:55:31 go version go1.21.9 linux/arm64 [Pipeline] } 01:55:31 $ docker stop --time=1 741f07f980681b04aed9f89c895dc02ba72ad7c411c3dda2cd653c77b7e0def1 01:55:32 $ docker rm -f --volumes 741f07f980681b04aed9f89c895dc02ba72ad7c411c3dda2cd653c77b7e0def1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:33 + docker inspect -f . ci-base-image-arm64 01:55:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:33 prd-ubuntu20.04-docker-arm64-4c-16g-9338 does not seem to be running inside a container 01:55:33 $ 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/179 -v /w/workspace/device-virtual-go/179:/w/workspace/device-virtual-go/179:rw,z -v /w/workspace/device-virtual-go/179@tmp:/w/workspace/device-virtual-go/179@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 01:55:34 $ docker top 0148ffd6a2b548fa413d30e8cc5ae023bebc8b93ec61c81520c48c67df6864e8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:35 + git config --global --add safe.directory /w/workspace/device-virtual-go/179 [Pipeline] fileExists [Pipeline] sh 01:55:36 + make test 01:55:36 go test ./... -coverprofile=coverage.out 01:55:42 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:59:19 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:59:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.064s coverage: 58.3% of statements 01:59:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:59:19 go vet ./... 02:00:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:00:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:00:07 ./bin/test-attribution-txt.sh 02:00:07 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 02:00:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:00:07 $ docker stop --time=1 0148ffd6a2b548fa413d30e8cc5ae023bebc8b93ec61c81520c48c67df6864e8 02:00:09 $ docker rm -f --volumes 0148ffd6a2b548fa413d30e8cc5ae023bebc8b93ec61c81520c48c67df6864e8 [Pipeline] // withDockerContainer [Pipeline] sh 02:00:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:00:11 Warning: overwriting stash ‘coverage-report’ 02:00:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:00:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:00:12 + ls -al . 02:00:12 total 272 02:00:12 drwxrwxr-x 7 jenkins jenkins 4096 Sep 4 01:55 . 02:00:12 drwxrwxr-x 4 jenkins jenkins 4096 Sep 4 01:52 .. 02:00:12 drwxrwxr-x 8 jenkins jenkins 4096 Sep 4 01:52 .git 02:00:12 drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 01:52 .github 02:00:12 -rw-rw-r-- 1 jenkins jenkins 272 Sep 4 01:52 .gitignore 02:00:12 -rw-rw-r-- 1 jenkins jenkins 41 Sep 4 01:52 .golangci.yml 02:00:12 -rw-rw-r-- 1 jenkins jenkins 17933 Sep 4 01:52 Attribution.txt 02:00:12 -rw-rw-r-- 1 jenkins jenkins 15941 Sep 4 01:52 CHANGELOG.md 02:00:12 -rw-rw-r-- 1 jenkins jenkins 1755 Sep 4 01:52 Dockerfile 02:00:12 -rw-rw-r-- 1 jenkins jenkins 677 Sep 4 01:52 GOVERNANCE.md 02:00:12 -rw-rw-r-- 1 jenkins jenkins 660 Sep 4 01:52 Jenkinsfile 02:00:12 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 4 01:52 LICENSE 02:00:12 -rw-rw-r-- 1 jenkins jenkins 1953 Sep 4 01:52 Makefile 02:00:12 -rw-rw-r-- 1 jenkins jenkins 623 Sep 4 01:52 OWNERS.md 02:00:12 -rw-rw-r-- 1 jenkins jenkins 4103 Sep 4 01:52 README.md 02:00:12 -rw-rw-r-- 1 jenkins jenkins 12 Sep 4 01:48 VERSION 02:00:12 drwxrwxr-x 2 jenkins jenkins 4096 Sep 4 01:52 bin 02:00:12 drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 01:52 cmd 02:00:12 -rw-r--r-- 1 jenkins jenkins 43247 Sep 4 01:59 coverage.out 02:00:12 -rw-rw-r-- 1 jenkins jenkins 6923 Sep 4 01:52 go.mod 02:00:12 -rw-rw-r-- 1 jenkins jenkins 101673 Sep 4 01:52 go.sum 02:00:12 drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 01:52 internal 02:00:12 -rw-rw-r-- 1 jenkins jenkins 235 Sep 4 01:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:12 + 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=8966c26b49b103c4be0d1e0859a9f7a15856cd15 --label arch=arm64 --label version=3.2.0-dev.23 . 02:00:13 Sending build context to Docker daemon 19.03MB 02:00:13 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 02:00:13 Step 2/26 : FROM ${BASE} AS builder 02:00:13 ---> 2969a70a39f3 02:00:13 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:00:13 ---> Running in c418bad110c9 02:00:13 Removing intermediate container c418bad110c9 02:00:13 ---> 9a1529c5b9ca 02:00:13 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:00:13 ---> Running in d51513740e06 02:00:14 Removing intermediate container d51513740e06 02:00:14 ---> 816fecdf6749 02:00:14 Step 5/26 : ARG ADD_BUILD_TAGS="" 02:00:14 ---> Running in 51158beec878 02:00:14 Removing intermediate container 51158beec878 02:00:14 ---> 9d29c51a00e4 02:00:14 Step 6/26 : WORKDIR /device-virtual-go 02:00:14 ---> Running in e35a5c96d52f 02:00:15 Removing intermediate container e35a5c96d52f 02:00:15 ---> a1f97a8d3134 02:00:15 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:00:15 ---> Running in 1643f2199e19 02:00:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:00:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:00:17 OK: 271 MiB in 56 packages 02:00:18 Removing intermediate container 1643f2199e19 02:00:18 ---> a4e3a1f6dd81 02:00:18 Step 8/26 : COPY go.mod vendor* ./ 02:00:19 ---> 5783b7ef9f06 02:00:19 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:19 ---> Running in 6308f155a91c 02:00:21 Removing intermediate container 6308f155a91c 02:00:21 ---> 8b6e2ebd10e8 02:00:21 Step 10/26 : COPY . . 02:00:23 ---> 58a4bbac1bd7 02:00:23 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:00:23 ---> Running in 0f63a1842cbb 02:00:23 Removing intermediate container 0f63a1842cbb 02:00:23 ---> 877a1e768b6c 02:00:23 Step 12/26 : RUN $MAKE 02:00:23 ---> Running in f5c5565ec907 02:00:24 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.35" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 02:04:09 Removing intermediate container f5c5565ec907 02:04:09 ---> c3ff3ed22596 02:04:09 Step 13/26 : FROM alpine:3.18 02:04:09 3.18: Pulling from library/alpine 02:04:09 4983c3fe2029: Pulling fs layer 02:04:09 4983c3fe2029: Download complete 02:04:09 4983c3fe2029: Pull complete 02:04:09 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 02:04:09 Status: Downloaded newer image for alpine:3.18 02:04:09 ---> a0237000ae83 02:04:09 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:04:09 ---> Running in b4cfc8f0f6d7 02:04:09 Removing intermediate container b4cfc8f0f6d7 02:04:09 ---> 8e3bd547bf01 02:04:09 Step 15/26 : RUN apk add --update --no-cache dumb-init 02:04:09 ---> Running in eef0b85be936 02:04:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:04:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:04:09 (1/1) Installing dumb-init (1.2.5-r2) 02:04:09 Executing busybox-1.36.1-r7.trigger 02:04:09 OK: 8 MiB in 16 packages 02:04:09 Removing intermediate container eef0b85be936 02:04:09 ---> dc8f315b0076 02:04:09 Step 16/26 : RUN apk --no-cache upgrade 02:04:09 ---> Running in d8e78136ca06 02:04:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:04:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:04:09 OK: 8 MiB in 16 packages 02:04:09 Removing intermediate container d8e78136ca06 02:04:09 ---> 0cf5f705ed33 02:04:09 Step 17/26 : WORKDIR / 02:04:09 ---> Running in 8c6b6557bf86 02:04:09 Removing intermediate container 8c6b6557bf86 02:04:09 ---> d76615fec0f3 02:04:09 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:04:09 ---> f7e6b2a68482 02:04:09 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 02:04:09 ---> 032bcafab08e 02:04:09 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 02:04:11 ---> 97cb751df4e8 02:04:11 Step 21/26 : EXPOSE 59900 02:04:11 ---> Running in 6591193571f0 02:04:11 Removing intermediate container 6591193571f0 02:04:11 ---> e96fcfb85eaa 02:04:11 Step 22/26 : ENTRYPOINT ["/device-virtual"] 02:04:11 ---> Running in 4ee66d5d3eec 02:04:11 Removing intermediate container 4ee66d5d3eec 02:04:11 ---> 10538f2b8e81 02:04:11 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:04:11 ---> Running in 9a65265c55e5 02:04:12 Removing intermediate container 9a65265c55e5 02:04:12 ---> 00107381b748 02:04:12 Step 24/26 : LABEL arch=arm64 02:04:12 ---> Running in 16c8e157bb8f 02:04:12 Removing intermediate container 16c8e157bb8f 02:04:12 ---> 91025fbd51c2 02:04:12 Step 25/26 : LABEL git_sha=8966c26b49b103c4be0d1e0859a9f7a15856cd15 02:04:12 ---> Running in f06f97a8a3bd 02:04:13 Removing intermediate container f06f97a8a3bd 02:04:13 ---> d73f3e399f29 02:04:13 Step 26/26 : LABEL version=3.2.0-dev.23 02:04:13 ---> Running in f5e1e1614e3c 02:04:13 Removing intermediate container f5e1e1614e3c 02:04:13 ---> 3b716875269e 02:04:13 [Warning] One or more build-args [ARCH] were not consumed 02:04:13 Successfully built 3b716875269e 02:04:13 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 02:04:13 provisioning config files... 02:04:13 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/179@tmp/config11246109837495367053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:04:14 ---> ****-login.sh 02:04:14 nexus3.edgexfoundry.org:10001 02:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:04:14 Configure a credential helper to remove this warning. See 02:04:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:04:14 02:04:14 Login Succeeded 02:04:14 nexus3.edgexfoundry.org:10002 02:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:04:15 Configure a credential helper to remove this warning. See 02:04:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:04:15 02:04:15 Login Succeeded 02:04:15 nexus3.edgexfoundry.org:10003 02:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:04:15 Configure a credential helper to remove this warning. See 02:04:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:04:15 02:04:15 Login Succeeded 02:04:15 nexus3.edgexfoundry.org:10004 02:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:04:15 Configure a credential helper to remove this warning. See 02:04:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:04:15 02:04:15 Login Succeeded 02:04:15 ****.io 02:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:04:16 Configure a credential helper to remove this warning. See 02:04:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:04:16 02:04:16 Login Succeeded 02:04:16 ---> ****-login.sh ends [Pipeline] } 02:04:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:04:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:04:16 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 02:04:16 8966c26b49b103c4be0d1e0859a9f7a15856cd15 02:04:16 latest 02:04:16 3.2.0-dev.23 02:04:16 8966c26b49b103c4be0d1e0859a9f7a15856cd15-3.2.0-dev.23 02:04:16 main 02:04:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:16 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8966c26b49b103c4be0d1e0859a9f7a15856cd15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8966c26b49b103c4be0d1e0859a9f7a15856cd15 02:04:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:04:17 f01438266884: Preparing 02:04:17 e9ef603fdc49: Preparing 02:04:17 944ad5049fba: Preparing 02:04:17 8b0129684c49: Preparing 02:04:17 0cf7d06007d5: Preparing 02:04:17 3c20671a5817: Preparing 02:04:17 e9ef603fdc49: Pushed 02:04:17 8b0129684c49: Pushed 02:04:17 944ad5049fba: Pushed 02:04:17 0cf7d06007d5: Pushed 02:04:17 3c20671a5817: Layer already exists 02:04:24 f01438266884: Pushed 02:04:24 8966c26b49b103c4be0d1e0859a9f7a15856cd15: digest: sha256:60ace6de27aef77282459130c3b597900862bbe80857b2724e2988da3cf65b9f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:24 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:04:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:04:24 f01438266884: Preparing 02:04:24 e9ef603fdc49: Preparing 02:04:24 944ad5049fba: Preparing 02:04:24 8b0129684c49: Preparing 02:04:24 0cf7d06007d5: Preparing 02:04:24 3c20671a5817: Preparing 02:04:24 3c20671a5817: Waiting 02:04:24 0cf7d06007d5: Layer already exists 02:04:24 944ad5049fba: Layer already exists 02:04:24 e9ef603fdc49: Layer already exists 02:04:24 8b0129684c49: Layer already exists 02:04:24 3c20671a5817: Layer already exists 02:04:24 f01438266884: Layer already exists 02:04:25 latest: digest: sha256:60ace6de27aef77282459130c3b597900862bbe80857b2724e2988da3cf65b9f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:25 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.23 02:04:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:04:25 f01438266884: Preparing 02:04:25 e9ef603fdc49: Preparing 02:04:25 944ad5049fba: Preparing 02:04:25 8b0129684c49: Preparing 02:04:25 0cf7d06007d5: Preparing 02:04:25 3c20671a5817: Preparing 02:04:25 3c20671a5817: Waiting 02:04:25 0cf7d06007d5: Layer already exists 02:04:25 e9ef603fdc49: Layer already exists 02:04:25 f01438266884: Layer already exists 02:04:25 944ad5049fba: Layer already exists 02:04:25 8b0129684c49: Layer already exists 02:04:25 3c20671a5817: Layer already exists 02:04:26 3.2.0-dev.23: digest: sha256:60ace6de27aef77282459130c3b597900862bbe80857b2724e2988da3cf65b9f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:26 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8966c26b49b103c4be0d1e0859a9f7a15856cd15-3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8966c26b49b103c4be0d1e0859a9f7a15856cd15-3.2.0-dev.23 02:04:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:04:26 f01438266884: Preparing 02:04:26 e9ef603fdc49: Preparing 02:04:26 944ad5049fba: Preparing 02:04:26 8b0129684c49: Preparing 02:04:26 0cf7d06007d5: Preparing 02:04:26 3c20671a5817: Preparing 02:04:26 3c20671a5817: Waiting 02:04:26 e9ef603fdc49: Layer already exists 02:04:26 0cf7d06007d5: Layer already exists 02:04:26 944ad5049fba: Layer already exists 02:04:26 8b0129684c49: Layer already exists 02:04:26 f01438266884: Layer already exists 02:04:26 3c20671a5817: Layer already exists 02:04:27 8966c26b49b103c4be0d1e0859a9f7a15856cd15-3.2.0-dev.23: digest: sha256:60ace6de27aef77282459130c3b597900862bbe80857b2724e2988da3cf65b9f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:27 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 02:04:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:04:27 f01438266884: Preparing 02:04:27 e9ef603fdc49: Preparing 02:04:27 944ad5049fba: Preparing 02:04:27 8b0129684c49: Preparing 02:04:27 0cf7d06007d5: Preparing 02:04:27 3c20671a5817: Preparing 02:04:27 3c20671a5817: Waiting 02:04:27 8b0129684c49: Layer already exists 02:04:27 e9ef603fdc49: Layer already exists 02:04:27 0cf7d06007d5: Layer already exists 02:04:27 944ad5049fba: Layer already exists 02:04:27 f01438266884: Layer already exists 02:04:27 3c20671a5817: Layer already exists 02:04:28 main: digest: sha256:60ace6de27aef77282459130c3b597900862bbe80857b2724e2988da3cf65b9f size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:04:28 ===================================================== [Pipeline] echo 02:04:28 taggedImages: 02:04:28 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8966c26b49b103c4be0d1e0859a9f7a15856cd15 02:04:28 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:04:28 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.23 02:04:28 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8966c26b49b103c4be0d1e0859a9f7a15856cd15-3.2.0-dev.23 02:04:28 - 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 02:04:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:04:28 02:04:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:04:28 arm64: Pulling from edgex-lftools-log-publisher 02:04:29 8998bd30e6a1: Pulling fs layer 02:04:29 04944245beec: Pulling fs layer 02:04:29 699f458cf7ca: Pulling fs layer 02:04:29 765212b225bb: Pulling fs layer 02:04:29 f23df028b6ca: Pulling fs layer 02:04:29 d65c8cfc05b1: Pulling fs layer 02:04:29 2437ff75d9bd: Pulling fs layer 02:04:29 765212b225bb: Waiting 02:04:29 f23df028b6ca: Waiting 02:04:29 d65c8cfc05b1: Waiting 02:04:29 2437ff75d9bd: Waiting 02:04:29 04944245beec: Verifying Checksum 02:04:29 04944245beec: Download complete 02:04:29 765212b225bb: Verifying Checksum 02:04:29 765212b225bb: Download complete 02:04:29 f23df028b6ca: Verifying Checksum 02:04:29 f23df028b6ca: Download complete 02:04:29 d65c8cfc05b1: Verifying Checksum 02:04:29 d65c8cfc05b1: Download complete 02:04:29 699f458cf7ca: Verifying Checksum 02:04:29 699f458cf7ca: Download complete 02:04:30 8998bd30e6a1: Verifying Checksum 02:04:30 8998bd30e6a1: Download complete 02:04:32 2437ff75d9bd: Verifying Checksum 02:04:32 2437ff75d9bd: Download complete 02:04:36 8998bd30e6a1: Pull complete 02:04:36 04944245beec: Pull complete 02:04:38 699f458cf7ca: Pull complete 02:04:38 765212b225bb: Pull complete 02:04:38 f23df028b6ca: Pull complete 02:04:39 d65c8cfc05b1: Pull complete 02:04:57 2437ff75d9bd: Pull complete 02:04:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:04:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:04:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:57 prd-ubuntu20.04-docker-arm64-4c-16g-9338 does not seem to be running inside a container 02:04:57 $ 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/179 -v /w/workspace/device-virtual-go/179:/w/workspace/device-virtual-go/179:rw,z -v /w/workspace/device-virtual-go/179@tmp:/w/workspace/device-virtual-go/179@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 02:05:00 $ docker top 152dc12a83c951290bcfc5404c98b0be1a254a91db565f83ce2ecae4e2fdc95d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:01 ---> job-cost.sh 02:05:01 lf-activate-venv: SKIPPING 02:05:01 INFO: No Stack... 02:05:02 INFO: Retrieving Pricing Info for: v3-standard-4 02:05:03 INFO: Archiving Costs [Pipeline] sh 02:05:04 + cat /w/workspace/device-virtual-go/179/archives/cost.csv 02:05:04 + cut -d, -f6 [Pipeline] lock 02:05:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-179-stack-cost] 02:05:04 Resource [jenkins-edgexfoundry-device-virtual-go-main-179-stack-cost] did not exist. Created. 02:05:04 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-179-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:05:04 /w/workspace/device-virtual-go/179@tmp/durable-f32f0782/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:05:05 + echo total: 0.10999999940395355 [Pipeline] stash 02:05:05 Warning: overwriting stash ‘stack-cost’ 02:05:05 Stashed 1 file(s) [Pipeline] } 02:05:05 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-179-stack-cost] [Pipeline] // lock [Pipeline] } 02:05:05 $ docker stop --time=1 152dc12a83c951290bcfc5404c98b0be1a254a91db565f83ce2ecae4e2fdc95d 02:05:07 $ docker rm -f --volumes 152dc12a83c951290bcfc5404c98b0be1a254a91db565f83ce2ecae4e2fdc95d [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 02:05:07 provisioning config files... 02:05:07 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7277797464665661414tmp [Pipeline] { [Pipeline] sh 02:05:08 + set +x 02:05:08 + bash -s -- 02:05:08 + curl -s https://codecov.io/bash 02:05:08 02:05:08 _____ _ 02:05:08 / ____| | | 02:05:08 | | ___ __| | ___ ___ _____ __ 02:05:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:05:08 | |___| (_) | (_| | __/ (_| (_) \ V / 02:05:08 \_____\___/ \__,_|\___|\___\___/ \_/ 02:05:08 Bash-1.0.6 02:05:08 02:05:08 02:05:08 ==> git version 2.25.1 found 02:05:08 ==> 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 02:05:08 Release-Date: 2020-01-08 02:05:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:05:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:05:08 ==> Jenkins CI detected. 02:05:08 current dir:  /w/workspace/exfoundry_device-virtual-go_main 02:05:08 project root: . 02:05:08 --> token set from env 02:05:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:05:08 ==> Running gcov in . (disable via -X gcov) 02:05:08 ==> Python coveragepy not found 02:05:08 ==> Searching for coverage reports in: 02:05:08 + . 02:05:08 -> Found 1 reports 02:05:08 ==> Detecting git/mercurial file structure 02:05:08 ==> Reading reports 02:05:08 + ./coverage.out bytes=43247 02:05:08 ==> Appending adjustments 02:05:08 https://docs.codecov.io/docs/fixing-reports 02:05:08 + Found adjustments 02:05:08 ==> Gzipping contents 02:05:08 8.0K /tmp/codecov.pd3Yk8.gz 02:05:08 ==> Uploading reports 02:05:08 url: https://codecov.io 02:05:08 query: branch=main&commit=8966c26b49b103c4be0d1e0859a9f7a15856cd15&build=179&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F179%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:05:08 -> Pinging Codecov 02:05:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=8966c26b49b103c4be0d1e0859a9f7a15856cd15&build=179&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F179%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:05:08 -> Uploading to 02:05:08 https://storage.googleapis.com/codecov/v4/raw/2024-09-04/5E52B4B073DB2E39498172D8E973AA87/8966c26b49b103c4be0d1e0859a9f7a15856cd15/1b616b77-c258-4fe3-b676-b8f6136f54ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240904%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240904T020508Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ce96ad2c3dc97b99ef06730f41ea614913e5f68456d29953220e9bb66975262 02:05:08 % Total % Received % Xferd Average Speed Time Time Time Current 02:05:08 Dload Upload Total Spent Left Speed 02:05:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 18000 --:--:-- --:--:-- --:--:-- 18000 02:05:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/8966c26b49b103c4be0d1e0859a9f7a15856cd15 [Pipeline] } 02:05:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:05:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:05:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:05:09 02:05:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:05:09 latest: Pulling from edgex-devops/edgex-snyk-go 02:05:09 619be1103602: Already exists 02:05:09 f8ea3408117e: Pulling fs layer 02:05:09 91320369b822: Pulling fs layer 02:05:09 0406650e8295: Pulling fs layer 02:05:09 4f4fb700ef54: Pulling fs layer 02:05:09 96d80e3f36e1: Pulling fs layer 02:05:09 bcf3aedb951c: Pulling fs layer 02:05:09 96d80e3f36e1: Waiting 02:05:09 4f4fb700ef54: Waiting 02:05:09 bcf3aedb951c: Waiting 02:05:09 0406650e8295: Verifying Checksum 02:05:09 0406650e8295: Download complete 02:05:09 4f4fb700ef54: Download complete 02:05:09 f8ea3408117e: Download complete 02:05:09 f8ea3408117e: Pull complete 02:05:10 96d80e3f36e1: Verifying Checksum 02:05:10 96d80e3f36e1: Download complete 02:05:10 91320369b822: Verifying Checksum 02:05:10 91320369b822: Download complete 02:05:10 bcf3aedb951c: Verifying Checksum 02:05:10 bcf3aedb951c: Download complete 02:05:13 91320369b822: Pull complete 02:05:13 0406650e8295: Pull complete 02:05:13 4f4fb700ef54: Pull complete 02:05:13 96d80e3f36e1: Pull complete 02:05:16 bcf3aedb951c: Pull complete 02:05:16 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 02:05:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:05:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:17 prd-ubuntu20.04-docker-8c-8g-9335 does not seem to be running inside a container 02:05:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 02:05:21 $ docker top 03d0706025eed996676c739b8f81ca4d58e03ed9cfb0607d1621750992c91b4b -eo pid,comm [Pipeline] { [Pipeline] sh 02:05:21 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 02:05:21 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 02:05:21 + set -o pipefail 02:05:21 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 02:05:30 02:05:30 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 02:05:30 02:05:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/fd00b6f1-5a2b-423f-8dfa-d35ed0783358 02:05:30 02:05:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:05:30 02:05:30 02:05:30 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 02:05:30 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:05:30 $ docker stop --time=1 03d0706025eed996676c739b8f81ca4d58e03ed9cfb0607d1621750992c91b4b 02:05:34 $ docker rm -f --volumes 03d0706025eed996676c739b8f81ca4d58e03ed9cfb0607d1621750992c91b4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:05:35 + git log --format=format:%s -1 8966c26b49b103c4be0d1e0859a9f7a15856cd15 [Pipeline] sh 02:05:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:05:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:05:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:36 prd-ubuntu20.04-docker-8c-8g-9335 does not seem to be running inside a container 02:05: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:05:37 $ docker top 5af6c7f86a084d8de6bc9b224733e1ed0cc7e7d3351e65d4410d577d0250b210 -eo pid,comm 02:05: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). 02:05:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:05:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:05:37 [ssh-agent] Looking for ssh-agent implementation... 02:05:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:05:37 $ docker exec 5af6c7f86a084d8de6bc9b224733e1ed0cc7e7d3351e65d4410d577d0250b210 ssh-agent 02:05:37 SSH_AUTH_SOCK=/tmp/ssh-boDbsE7YsXbg/agent.33 02:05:37 SSH_AGENT_PID=39 02:05:37 Running ssh-add (command line suppressed) 02:05:37 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9484312907239535408.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9484312907239535408.key) 02:05:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:05:37 + git semver tag 02:05:38 2024-09-04 02:05:38,159 [run_tag] DEBUG tag force:False 02:05:38 2024-09-04 02:05:38,160 [check_head_tag] DEBUG check head tag 02:05:38 2024-09-04 02:05:38,161 [execute] INFO git cat-file --batch-check 02:05:38 2024-09-04 02:05:38,162 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 02:05:38 2024-09-04 02:05:38,166 [execute] INFO git cat-file --batch 02:05:38 2024-09-04 02:05:38,166 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 02:05:38 2024-09-04 02:05:38,189 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:05:38 2024-09-04 02:05:38,189 [execute] INFO git tag -a v3.2.0-dev.23 -m v3.2.0-dev.23 02:05:38 2024-09-04 02:05:38,189 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.23', '-m', 'v3.2.0-dev.23'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 02:05:38 2024-09-04 02:05:38,193 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:05:38 3.2.0-dev.23 [Pipeline] } 02:05:38 $ docker exec --env ******** --env ******** 5af6c7f86a084d8de6bc9b224733e1ed0cc7e7d3351e65d4410d577d0250b210 ssh-agent -k 02:05:38 unset SSH_AUTH_SOCK; 02:05:38 unset SSH_AGENT_PID; 02:05:38 echo Agent pid 39 killed; 02:05:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:05:38 + git semver [Pipeline] } 02:05:38 $ docker stop --time=1 5af6c7f86a084d8de6bc9b224733e1ed0cc7e7d3351e65d4410d577d0250b210 02:05:40 $ docker rm -f --volumes 5af6c7f86a084d8de6bc9b224733e1ed0cc7e7d3351e65d4410d577d0250b210 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:05:40 02:05:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:05:41 0.23.1-centos7: Pulling from edgex-lftools 02:05:41 ab5ef0e58194: Pulling fs layer 02:05:41 9712f1f96733: Pulling fs layer 02:05:41 63f879dbbcfc: Pulling fs layer 02:05:41 0d9ebad4ef96: Pulling fs layer 02:05:41 e9a5061849ea: Pulling fs layer 02:05:41 d747dcd14b5f: Pulling fs layer 02:05:41 2de7ff778b66: Pulling fs layer 02:05:41 0d9ebad4ef96: Waiting 02:05:41 e9a5061849ea: Waiting 02:05:41 d747dcd14b5f: Waiting 02:05:41 2de7ff778b66: Waiting 02:05:41 9712f1f96733: Verifying Checksum 02:05:41 9712f1f96733: Download complete 02:05:41 63f879dbbcfc: Verifying Checksum 02:05:41 63f879dbbcfc: Download complete 02:05:41 e9a5061849ea: Verifying Checksum 02:05:41 e9a5061849ea: Download complete 02:05:41 d747dcd14b5f: Verifying Checksum 02:05:41 d747dcd14b5f: Download complete 02:05:41 0d9ebad4ef96: Verifying Checksum 02:05:41 0d9ebad4ef96: Download complete 02:05:41 ab5ef0e58194: Verifying Checksum 02:05:41 ab5ef0e58194: Download complete 02:05:41 2de7ff778b66: Verifying Checksum 02:05:41 2de7ff778b66: Download complete 02:05:44 ab5ef0e58194: Pull complete 02:05:44 9712f1f96733: Pull complete 02:05:45 63f879dbbcfc: Pull complete 02:05:48 0d9ebad4ef96: Pull complete 02:05:48 e9a5061849ea: Pull complete 02:05:48 d747dcd14b5f: Pull complete 02:05:49 2de7ff778b66: Pull complete 02:05:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:05:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:05:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:49 prd-ubuntu20.04-docker-8c-8g-9335 does not seem to be running inside a container 02:05:49 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:05:55 $ docker top 0b56fc8bc904d81b3fc32acf149822c0143d16380f14d81906345cf4536df085 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:05:55 provisioning config files... 02:05:55 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14476239193945306534tmp 02:05:55 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12781957967361744725tmp 02:05:55 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15434000902968139790tmp [Pipeline] { [Pipeline] echo 02:05:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:05:56 ---> sigul-configuration.sh 02:05:56 gpg: directory `/root/.gnupg' created 02:05:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:05:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:05:56 gpg: keyring `/root/.gnupg/secring.gpg' created 02:05:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:05:56 gpg: CAST5 encrypted data 02:05:56 gpg: encrypted with 1 passphrase 02:05:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:05:56 + mkdir /home/jenkins 02:05:56 + mkdir /home/jenkins/sigul [Pipeline] sh 02:05:56 + 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 02:05:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:05:56 ---> sigul-install.sh 02:05:56 Sigul already installed; skipping installation. [Pipeline] sh 02:05:57 + git tag --list 02:05:57 v1.0.0 02:05:57 v1.1.0 02:05:57 v1.1.1 02:05:57 v1.2.1 02:05:57 v1.2.2 02:05:57 v1.2.3 02:05:57 v1.3.0 02:05:57 v1.3.1 02:05:57 v2.0.0 02:05:57 v2.1.0 02:05:57 v2.1.1 02:05:57 v2.2.0 02:05:57 v2.3.0 02:05:57 v3.0 02:05:57 v3.0.0 02:05:57 v3.1 02:05:57 v3.1.0 02:05:57 v3.1.0-dev.1 02:05:57 v3.1.0-dev.10 02:05:57 v3.1.0-dev.11 02:05:57 v3.1.0-dev.12 02:05:57 v3.1.0-dev.13 02:05:57 v3.1.0-dev.14 02:05:57 v3.1.0-dev.15 02:05:57 v3.1.0-dev.16 02:05:57 v3.1.0-dev.17 02:05:57 v3.1.0-dev.18 02:05:57 v3.1.0-dev.19 02:05:57 v3.1.0-dev.2 02:05:57 v3.1.0-dev.20 02:05:57 v3.1.0-dev.21 02:05:57 v3.1.0-dev.22 02:05:57 v3.1.0-dev.23 02:05:57 v3.1.0-dev.24 02:05:57 v3.1.0-dev.25 02:05:57 v3.1.0-dev.26 02:05:57 v3.1.0-dev.27 02:05:57 v3.1.0-dev.28 02:05:57 v3.1.0-dev.29 02:05:57 v3.1.0-dev.3 02:05:57 v3.1.0-dev.30 02:05:57 v3.1.0-dev.4 02:05:57 v3.1.0-dev.5 02:05:57 v3.1.0-dev.6 02:05:57 v3.1.0-dev.7 02:05:57 v3.1.0-dev.8 02:05:57 v3.1.0-dev.9 02:05:57 v3.1.1 02:05:57 v3.1.1-dev.1 02:05:57 v3.2.0-dev.1 02:05:57 v3.2.0-dev.10 02:05:57 v3.2.0-dev.11 02:05:57 v3.2.0-dev.12 02:05:57 v3.2.0-dev.13 02:05:57 v3.2.0-dev.14 02:05:57 v3.2.0-dev.15 02:05:57 v3.2.0-dev.16 02:05:57 v3.2.0-dev.17 02:05:57 v3.2.0-dev.18 02:05:57 v3.2.0-dev.19 02:05:57 v3.2.0-dev.2 02:05:57 v3.2.0-dev.20 02:05:57 v3.2.0-dev.21 02:05:57 v3.2.0-dev.22 02:05:57 v3.2.0-dev.23 02:05:57 v3.2.0-dev.3 02:05:57 v3.2.0-dev.4 02:05:57 v3.2.0-dev.5 02:05:57 v3.2.0-dev.6 02:05:57 v3.2.0-dev.7 02:05:57 v3.2.0-dev.8 02:05:57 v3.2.0-dev.9 [Pipeline] sh 02:05:57 + lftools sign git-tag v3.2.0-dev.23 02:05:58 Signing Git tag with Sigul... 02:05:58 Signing v3.2.0-dev.23 [Pipeline] echo 02:05:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:05:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:05:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:05:58 $ docker stop --time=1 0b56fc8bc904d81b3fc32acf149822c0143d16380f14d81906345cf4536df085 02:06:00 $ docker rm -f --volumes 0b56fc8bc904d81b3fc32acf149822c0143d16380f14d81906345cf4536df085 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:06:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:06:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:06:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:06:00 prd-ubuntu20.04-docker-8c-8g-9335 does not seem to be running inside a container 02:06:00 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:06:01 $ docker top cccc0950cd1f9d362032e8a8a18f97d938b3fc0bcd79135c9acffc73041eb84f -eo pid,comm 02:06:01 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). 02:06:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:06:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:06:01 [ssh-agent] Looking for ssh-agent implementation... 02:06:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:06:01 $ docker exec cccc0950cd1f9d362032e8a8a18f97d938b3fc0bcd79135c9acffc73041eb84f ssh-agent 02:06:01 SSH_AUTH_SOCK=/tmp/ssh-UkHv2ghn4S3O/agent.32 02:06:01 SSH_AGENT_PID=38 02:06:01 Running ssh-add (command line suppressed) 02:06:01 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12467562698820578676.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12467562698820578676.key) 02:06:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:06:02 + git semver bump pre 02:06:02 2024-09-04 02:06:02,342 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:06:02 2024-09-04 02:06:02,342 [bump_version] DEBUG bumping version:3.2.0-dev.23 on axis:pre with prefix:dev 02:06:02 2024-09-04 02:06:02,342 [bump_version] DEBUG bumped version:3.2.0-dev.24 02:06:02 2024-09-04 02:06:02,342 [write_version] DEBUG write version:3.2.0-dev.24 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 02:06:02 2024-09-04 02:06:02,342 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:06:02 2024-09-04 02:06:02,342 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:06:02 2024-09-04 02:06:02,344 [execute] INFO git cat-file --batch-check 02:06:02 2024-09-04 02:06:02,344 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:06:02 2024-09-04 02:06:02,349 [execute] INFO git cat-file --batch 02:06:02 2024-09-04 02:06:02,349 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:06:02 2024-09-04 02:06:02,354 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:06:02 3.2.0-dev.24 [Pipeline] } 02:06:02 $ docker exec --env ******** --env ******** cccc0950cd1f9d362032e8a8a18f97d938b3fc0bcd79135c9acffc73041eb84f ssh-agent -k 02:06:02 unset SSH_AUTH_SOCK; 02:06:02 unset SSH_AGENT_PID; 02:06:02 echo Agent pid 38 killed; 02:06:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:06:02 + git semver [Pipeline] } 02:06:03 $ docker stop --time=1 cccc0950cd1f9d362032e8a8a18f97d938b3fc0bcd79135c9acffc73041eb84f 02:06:04 $ docker rm -f --volumes cccc0950cd1f9d362032e8a8a18f97d938b3fc0bcd79135c9acffc73041eb84f [Pipeline] // withDockerContainer [Pipeline] sh 02:06:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:06:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:06:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:06:05 prd-ubuntu20.04-docker-8c-8g-9335 does not seem to be running inside a container 02:06:05 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:06:05 $ docker top d2bb1664d1ea54f5c96ac767e3de24f594da348630ef79e120396453aa2c82c4 -eo pid,comm 02:06:05 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). 02:06:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:06:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:06:05 [ssh-agent] Looking for ssh-agent implementation... 02:06:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:06:05 $ docker exec d2bb1664d1ea54f5c96ac767e3de24f594da348630ef79e120396453aa2c82c4 ssh-agent 02:06:06 SSH_AUTH_SOCK=/tmp/ssh-23v4fqyMQr5T/agent.33 02:06:06 SSH_AGENT_PID=39 02:06:06 Running ssh-add (command line suppressed) 02:06:06 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11814476583480706846.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11814476583480706846.key) 02:06:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:06:06 + git semver push 02:06:06 2024-09-04 02:06:06,581 [run_push] DEBUG push 02:06:06 2024-09-04 02:06:06,582 [execute] INFO git cat-file --batch-check 02:06:06 2024-09-04 02:06:06,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:06:06 2024-09-04 02:06:06,587 [execute] INFO git rev-list c3d810b6e6a5a445c79f5370ba3877ac525a33cf -- 02:06:06 2024-09-04 02:06:06,587 [execute] DEBUG Popen(['git', 'rev-list', 'c3d810b6e6a5a445c79f5370ba3877ac525a33cf', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:06:06 2024-09-04 02:06:06,597 [execute] INFO git fetch -v origin 02:06:06 2024-09-04 02:06:06,597 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:06:07 2024-09-04 02:06:07,050 [run_push] DEBUG no remote changes detected 02:06:07 2024-09-04 02:06:07,051 [execute] INFO git push origin semver 02:06:07 2024-09-04 02:06:07,051 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:06:07 2024-09-04 02:06:07,738 [run_push] DEBUG push all version tags 02:06:07 2024-09-04 02:06:07,739 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:06:07 2024-09-04 02:06:07,739 [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) 02:06:08 2024-09-04 02:06:08,390 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:06:08 3.2.0-dev.24 [Pipeline] } 02:06:08 $ docker exec --env ******** --env ******** d2bb1664d1ea54f5c96ac767e3de24f594da348630ef79e120396453aa2c82c4 ssh-agent -k 02:06:08 unset SSH_AUTH_SOCK; 02:06:08 unset SSH_AGENT_PID; 02:06:08 echo Agent pid 39 killed; 02:06:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:06:08 + git semver [Pipeline] } 02:06:09 $ docker stop --time=1 d2bb1664d1ea54f5c96ac767e3de24f594da348630ef79e120396453aa2c82c4 02:06:10 $ docker rm -f --volumes d2bb1664d1ea54f5c96ac767e3de24f594da348630ef79e120396453aa2c82c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:06:11 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 02:06:11 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:06:11 total 16 02:06:11 drwxr-xr-x 3 root root 4096 Sep 4 01:50 . 02:06:11 drwxrwxr-x 9 jenkins jenkins 4096 Sep 4 02:05 .. 02:06:11 drwxr-xr-x 2 root root 4096 Sep 4 01:50 cost 02:06:11 -rw-r--r-- 1 root root 89 Sep 4 01:50 cost.csv 02:06:11 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 02:06:11 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:06:11 total 16 02:06:11 drwxr-xr-x 3 jenkins jenkins 4096 Sep 4 01:50 . 02:06:11 drwxrwxr-x 9 jenkins jenkins 4096 Sep 4 02:05 .. 02:06:11 drwxr-xr-x 2 jenkins jenkins 4096 Sep 4 01:50 cost 02:06:11 -rw-r--r-- 1 jenkins jenkins 89 Sep 4 01:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:06:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:06:12 ---> package-listing.sh 02:06:12 ++ facter osfamily 02:06:12 ++ tr '[:upper:]' '[:lower:]' 02:06:12 + OS_FAMILY=debian 02:06:12 + workspace=/w/workspace/exfoundry_device-virtual-go_main 02:06:12 + START_PACKAGES=/tmp/packages_start.txt 02:06:12 + END_PACKAGES=/tmp/packages_end.txt 02:06:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:06:12 + PACKAGES=/tmp/packages_start.txt 02:06:12 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:06:12 + PACKAGES=/tmp/packages_end.txt 02:06:12 + case "${OS_FAMILY}" in 02:06:12 + dpkg -l 02:06:12 + grep '^ii' 02:06:12 + '[' -f /tmp/packages_start.txt ']' 02:06:12 + '[' -f /tmp/packages_end.txt ']' 02:06:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:06:12 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:06:12 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 02:06:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 02:06:12 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 02:06:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:06:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:06:13 prd-ubuntu20.04-docker-8c-8g-9335 does not seem to be running inside a container 02:06:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:06:13 $ docker top fd5e61b7ad942c74f3422a099feae258a645165eb680562e3278852b0fa56406 -eo pid,comm [Pipeline] { [Pipeline] sh 02:06:13 + touch /tmp/pre-build-complete [Pipeline] sh 02:06:14 + mkdir -p /var/log/sysstat [Pipeline] sh 02:06:14 + ls /var/log/sa-host 02:06:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:06:14 provisioning config files... 02:06:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13890004236158611455tmp [Pipeline] { [Pipeline] echo 02:06:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:06:15 ---> create-netrc.sh [Pipeline] } 02:06:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:06:15 ---> python-tools-install.sh [Pipeline] echo 02:06:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:06:15 ---> sudo-logs.sh 02:06:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:06:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:06:16 ---> job-cost.sh 02:06:16 lf-activate-venv: SKIPPING 02:06:16 DEBUG: total: 0.2199999988079071 02:06:16 INFO: Retrieving Stack Cost... 02:06:16 INFO: Retrieving Pricing Info for: v3-standard-8 02:06:16 INFO: Archiving Costs [Pipeline] echo 02:06:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:06:17 ---> logs-deploy.sh 02:06:17 lf-activate-venv: SKIPPING 02:06:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/179 02:06:17 INFO: archiving workspace using pattern(s): 02:06:18 Archives upload complete. 02:06:18 INFO: archiving logs to Nexus