Pull request #360 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3ecb577e9defc114c7baecbbc8aca89f7797bd13+8ed51eb9eaa0a405dde043671b4ac8557819634f (193c8cf169a8e63ed2a8762c7279ce2ade206a45) 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-ssh8545943050003232096.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13381888599812509309.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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/PR-360/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/PR-360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1408309041878156414.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh15845187224887305265.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/PR-360/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/PR-360/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4057593475775529022.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-1277 in /w/workspace/foundry_device-virtual-go_PR-360 [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/foundry_device-virtual-go_PR-360 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/360/head:refs/remotes/origin/PR-360 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8ed51eb9eaa0a405dde043671b4ac8557819634f into PR head commit 3ecb577e9defc114c7baecbbc8aca89f7797bd13 Merge succeeded, producing 3ecb577e9defc114c7baecbbc8aca89f7797bd13 Checking out Revision 3ecb577e9defc114c7baecbbc8aca89f7797bd13 (PR-360) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:30:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:30:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:30:16 ========================================================= 16:30:16 EdgeX Global Pipelines Version Info 16:30:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 3ecb577e9defc114c7baecbbc8aca89f7797bd13 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8ed51eb9eaa0a405dde043671b4ac8557819634f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3ecb577e9defc114c7baecbbc8aca89f7797bd13 # timeout=10 > git rev-list --no-walk 638768ea70981673b12c8b69a4bafc6105a0d46e # timeout=10 16:30:16 ------------------- 16:30:16 stable info: 16:30:16 ------------------- 16:30:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:30:16 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:30:16 Message: update stable to v1.0.245 16:30:17 ------------------- 16:30:17 experimental info: 16:30:17 ------------------- 16:30:17 Commited By: **** collab-it+edgex@linuxfoundation.org 16:30:17 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:30:17 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-360 [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-360 [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-360 [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ecb577e9defc114c7baecbbc8aca89f7797bd13 [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ecb577 [Pipeline] echo 16:30:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:30:17 provisioning config files... 16:30:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-360@tmp/config16574512461331863849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:30:18 ---> docker-login.sh 16:30:18 nexus3.edgexfoundry.org:10001 16:30:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:18 Configure a credential helper to remove this warning. See 16:30:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:18 16:30:18 Login Succeeded 16:30:18 nexus3.edgexfoundry.org:10002 16:30:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:18 Configure a credential helper to remove this warning. See 16:30:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:18 16:30:18 Login Succeeded 16:30:18 nexus3.edgexfoundry.org:10003 16:30:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:18 Configure a credential helper to remove this warning. See 16:30:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:18 16:30:18 Login Succeeded 16:30:18 nexus3.edgexfoundry.org:10004 16:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:19 Configure a credential helper to remove this warning. See 16:30:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:19 16:30:19 Login Succeeded 16:30:19 docker.io 16:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:19 Configure a credential helper to remove this warning. See 16:30:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:19 16:30:19 Login Succeeded 16:30:19 ---> docker-login.sh ends [Pipeline] } 16:30:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:30:19 + git rev-list -1 --merges 3ecb577e9defc114c7baecbbc8aca89f7797bd13~1..3ecb577e9defc114c7baecbbc8aca89f7797bd13 [Pipeline] echo 16:30:19 -----------> git rev-list -1 --merges 3ecb577e9defc114c7baecbbc8aca89f7797bd13~1..3ecb577e9defc114c7baecbbc8aca89f7797bd13 3ecb577e9defc114c7baecbbc8aca89f7797bd13 [false] [Pipeline] sh 16:30:20 + git log --format=format:%s -1 3ecb577e9defc114c7baecbbc8aca89f7797bd13 [Pipeline] echo 16:30:20 ========================================================= 16:30:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:30:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:30:20 + git log --format=format:%s -1 3ecb577e9defc114c7baecbbc8aca89f7797bd13 [Pipeline] echo 16:30:20 [semverPrep] GIT_COMMIT: 3ecb577e9defc114c7baecbbc8aca89f7797bd13, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 16:30:20 [semverPrep] This is not a build commit. [Pipeline] sh 16:30:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:30:20 + grep -v github /etc/ssh/ssh_known_hosts 16:30:20 + [ -e /tmp/ssh_known_hosts ] 16:30:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:30:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:30:20 + sudo tee -a /etc/ssh/ssh_known_hosts 16:30:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:30:21 16:30:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:30:21 0.1.4: Pulling from edgex-devops/py-git-semver 16:30:21 b85a868b505f: Pulling fs layer 16:30:21 e2be974225ed: Pulling fs layer 16:30:21 339a4e72a1f5: Pulling fs layer 16:30:21 988bab9f4d93: Pulling fs layer 16:30:21 1469e6f7b9e6: Pulling fs layer 16:30:21 eaf3925da568: Pulling fs layer 16:30:21 bab4dde63d76: Pulling fs layer 16:30:21 bde34c3a00c8: Pulling fs layer 16:30:21 b352a97aabf1: Pulling fs layer 16:30:21 988bab9f4d93: Waiting 16:30:21 4872d77fe225: Pulling fs layer 16:30:21 5851b861e8e6: Pulling fs layer 16:30:21 1469e6f7b9e6: Waiting 16:30:21 eaf3925da568: Waiting 16:30:21 bde34c3a00c8: Waiting 16:30:21 b352a97aabf1: Waiting 16:30:21 4872d77fe225: Waiting 16:30:21 5851b861e8e6: Waiting 16:30:21 bab4dde63d76: Waiting 16:30:21 e2be974225ed: Download complete 16:30:21 988bab9f4d93: Verifying Checksum 16:30:21 988bab9f4d93: Download complete 16:30:21 339a4e72a1f5: Verifying Checksum 16:30:21 339a4e72a1f5: Download complete 16:30:21 eaf3925da568: Verifying Checksum 16:30:21 eaf3925da568: Download complete 16:30:21 1469e6f7b9e6: Verifying Checksum 16:30:21 1469e6f7b9e6: Download complete 16:30:21 bde34c3a00c8: Download complete 16:30:21 b352a97aabf1: Verifying Checksum 16:30:21 b352a97aabf1: Download complete 16:30:21 4872d77fe225: Download complete 16:30:21 5851b861e8e6: Verifying Checksum 16:30:21 5851b861e8e6: Download complete 16:30:21 b85a868b505f: Verifying Checksum 16:30:21 b85a868b505f: Download complete 16:30:21 bab4dde63d76: Verifying Checksum 16:30:21 bab4dde63d76: Download complete 16:30:22 b85a868b505f: Pull complete 16:30:23 e2be974225ed: Pull complete 16:30:23 339a4e72a1f5: Pull complete 16:30:23 988bab9f4d93: Pull complete 16:30:23 1469e6f7b9e6: Pull complete 16:30:23 eaf3925da568: Pull complete 16:30:25 bab4dde63d76: Pull complete 16:30:25 bde34c3a00c8: Pull complete 16:30:25 b352a97aabf1: Pull complete 16:30:26 4872d77fe225: Pull complete 16:30:26 5851b861e8e6: Pull complete 16:30:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:30:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:30:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:26 prd-ubuntu20.04-docker-8c-8g-1277 does not seem to be running inside a container 16:30:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-360 -v /w/workspace/foundry_device-virtual-go_PR-360:/w/workspace/foundry_device-virtual-go_PR-360:rw,z -v /w/workspace/foundry_device-virtual-go_PR-360@tmp:/w/workspace/foundry_device-virtual-go_PR-360@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:30:27 $ docker top 35fd0952b1f5c870eee4ac32fbf1311083816b0289c86a74004488c7682c6826 -eo pid,comm 16:30:28 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). 16:30:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:30:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:30:28 [ssh-agent] Looking for ssh-agent implementation... 16:30:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:30:28 $ docker exec 35fd0952b1f5c870eee4ac32fbf1311083816b0289c86a74004488c7682c6826 ssh-agent 16:30:28 SSH_AUTH_SOCK=/tmp/ssh-wGSslGf3z1Tr/agent.31 16:30:28 SSH_AGENT_PID=37 16:30:28 Running ssh-add (command line suppressed) 16:30:28 Identity added: /w/workspace/foundry_device-virtual-go_PR-360@tmp/private_key_8938262461101317398.key (/w/workspace/foundry_device-virtual-go_PR-360@tmp/private_key_8938262461101317398.key) 16:30:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:30:28 + git tag --points-at HEAD [Pipeline] } 16:30:28 $ docker exec --env ******** --env ******** 35fd0952b1f5c870eee4ac32fbf1311083816b0289c86a74004488c7682c6826 ssh-agent -k 16:30:28 unset SSH_AUTH_SOCK; 16:30:28 unset SSH_AGENT_PID; 16:30:28 echo Agent pid 37 killed; 16:30:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:30:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:30:28 [ssh-agent] Looking for ssh-agent implementation... 16:30:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:30:28 $ docker exec 35fd0952b1f5c870eee4ac32fbf1311083816b0289c86a74004488c7682c6826 ssh-agent 16:30:29 SSH_AUTH_SOCK=/tmp/ssh-Pdfcvtvjqhg3/agent.69 16:30:29 SSH_AGENT_PID=75 16:30:29 Running ssh-add (command line suppressed) 16:30:29 Identity added: /w/workspace/foundry_device-virtual-go_PR-360@tmp/private_key_2391576618066416369.key (/w/workspace/foundry_device-virtual-go_PR-360@tmp/private_key_2391576618066416369.key) 16:30:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:30:29 + git semver init 16:30:29 2023-03-15 16:30:29,631 [run_init] DEBUG init version:0.0.0 force:False 16:30:29 2023-03-15 16:30:29,631 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-360/.semver 16:30:29 2023-03-15 16:30:29,632 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-360/.semver 16:30:29 2023-03-15 16:30:29,632 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-360/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-360, universal_newlines=False, shell=None, istream=None) 16:30:30 2023-03-15 16:30:30,649 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-360/.git/info/exclude 16:30:30 2023-03-15 16:30:30,650 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-360/.semver/PR-360 with force:False 16:30:30 2023-03-15 16:30:30,650 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-360/.semver/PR-360 16:30:30 2023-03-15 16:30:30,654 [execute] INFO git cat-file --batch-check 16:30:30 2023-03-15 16:30:30,655 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-360/.semver, universal_newlines=False, shell=None, istream=) 16:30:30 2023-03-15 16:30:30,661 [execute] INFO git cat-file --batch 16:30:30 2023-03-15 16:30:30,661 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-360/.semver, universal_newlines=False, shell=None, istream=) 16:30:30 2023-03-15 16:30:30,667 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-360/.semver/PR-360 16:30:30 0.0.0 [Pipeline] } 16:30:30 $ docker exec --env ******** --env ******** 35fd0952b1f5c870eee4ac32fbf1311083816b0289c86a74004488c7682c6826 ssh-agent -k 16:30:31 unset SSH_AUTH_SOCK; 16:30:31 unset SSH_AGENT_PID; 16:30:31 echo Agent pid 75 killed; 16:30:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:30:31 + git semver [Pipeline] } 16:30:31 $ docker stop --time=1 35fd0952b1f5c870eee4ac32fbf1311083816b0289c86a74004488c7682c6826 16:30:32 $ docker rm -f --volumes 35fd0952b1f5c870eee4ac32fbf1311083816b0289c86a74004488c7682c6826 [Pipeline] // withDockerContainer [Pipeline] sh 16:30:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:30:33 Stashed 1 file(s) [Pipeline] echo 16:30:33 [edgeXSemver]: initialized semver on version 0.0.0 [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 16:30:33 provisioning config files... 16:30:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-360@tmp/config11865579936512360200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:30:33 ---> docker-login.sh 16:30:33 nexus3.edgexfoundry.org:10001 16:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:33 Configure a credential helper to remove this warning. See 16:30:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:33 16:30:33 Login Succeeded 16:30:33 nexus3.edgexfoundry.org:10002 16:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:33 Configure a credential helper to remove this warning. See 16:30:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:33 16:30:33 Login Succeeded 16:30:33 nexus3.edgexfoundry.org:10003 16:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:34 Configure a credential helper to remove this warning. See 16:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:34 16:30:34 Login Succeeded 16:30:34 nexus3.edgexfoundry.org:10004 16:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:34 Configure a credential helper to remove this warning. See 16:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:34 16:30:34 Login Succeeded 16:30:34 docker.io 16:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:34 Configure a credential helper to remove this warning. See 16:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:34 16:30:34 Login Succeeded 16:30:34 ---> docker-login.sh ends [Pipeline] } 16:30:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:30:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:30:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:30:34 ========================================================= 16:30:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:30:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:34 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:30:34 Sending build context to Docker daemon 23.5MB 16:30:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:30:34 Step 2/12 : FROM ${BASE} AS builder 16:30:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:30:34 63b65145d645: Pulling fs layer 16:30:34 a2d21d5440eb: Pulling fs layer 16:30:34 935e6c44a52c: Pulling fs layer 16:30:34 94cc34f8dd06: Pulling fs layer 16:30:34 30dea6a524f1: Pulling fs layer 16:30:34 a2aff8979fd8: Pulling fs layer 16:30:34 6808be2612f2: Pulling fs layer 16:30:34 f25807f1079a: Pulling fs layer 16:30:34 94cc34f8dd06: Waiting 16:30:34 30dea6a524f1: Waiting 16:30:34 a2aff8979fd8: Waiting 16:30:34 6808be2612f2: Waiting 16:30:34 f25807f1079a: Waiting 16:30:35 a2d21d5440eb: Download complete 16:30:35 94cc34f8dd06: Verifying Checksum 16:30:35 94cc34f8dd06: Download complete 16:30:35 30dea6a524f1: Download complete 16:30:35 63b65145d645: Verifying Checksum 16:30:35 63b65145d645: Download complete 16:30:35 a2aff8979fd8: Verifying Checksum 16:30:35 a2aff8979fd8: Download complete 16:30:35 63b65145d645: Pull complete 16:30:35 a2d21d5440eb: Pull complete 16:30:35 f25807f1079a: Verifying Checksum 16:30:35 f25807f1079a: Download complete 16:30:35 935e6c44a52c: Verifying Checksum 16:30:35 935e6c44a52c: Download complete 16:30:35 6808be2612f2: Verifying Checksum 16:30:35 6808be2612f2: Download complete 16:30:39 935e6c44a52c: Pull complete 16:30:39 94cc34f8dd06: Pull complete 16:30:39 30dea6a524f1: Pull complete 16:30:39 a2aff8979fd8: Pull complete 16:30:41 6808be2612f2: Pull complete 16:30:41 f25807f1079a: Pull complete 16:30:41 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:30:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:30:41 ---> 3b553350e43f 16:30:41 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:30:45 ---> Running in 80e3674229a3 16:30:45 Removing intermediate container 80e3674229a3 16:30:45 ---> 756dbd9f8096 16:30:45 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:30:45 ---> Running in e32c271648c9 16:30:45 Removing intermediate container e32c271648c9 16:30:45 ---> a0f32d6c09ea 16:30:45 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:30:45 ---> Running in 6e0efcb7c1aa 16:30:45 Removing intermediate container 6e0efcb7c1aa 16:30:45 ---> 24556087d6d7 16:30:45 Step 6/12 : WORKDIR /device-virtual-go 16:30:45 ---> Running in bea181da3d42 16:30:45 Removing intermediate container bea181da3d42 16:30:45 ---> ec95d3833956 16:30:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:30:45 ---> Running in 76b9aa5e46d7 16:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:30:45 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:30:45 (2/4) Installing libedit (20221030.3.1-r0) 16:30:45 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:30:46 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:30:46 Executing busybox-1.35.0-r29.trigger 16:30:46 OK: 269 MiB in 57 packages 16:30:46 Removing intermediate container 76b9aa5e46d7 16:30:46 ---> b5613b3d1114 16:30:46 Step 8/12 : COPY go.mod vendor* ./ 16:30:46 ---> 9ba6c7355149 16:30:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:30:46 ---> Running in 8824ee89094e 16:30:48 Still waiting to schedule task 16:30:48 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:31:08 Removing intermediate container 8824ee89094e 16:31:08 ---> 378275fca45c 16:31:08 Step 10/12 : COPY . . 16:31:08 ---> fce299c2bf04 16:31:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:31:08 ---> Running in 50b81c6977ec 16:31:08 Removing intermediate container 50b81c6977ec 16:31:08 ---> 4515b35bfea0 16:31:08 Step 12/12 : RUN $MAKE 16:31:08 ---> Running in 9916c1c39e67 16:31:09 noop 16:31:09 Removing intermediate container 9916c1c39e67 16:31:09 ---> 2e626912408e 16:31:09 Successfully built 2e626912408e 16:31:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:09 + docker inspect -f . ci-base-image-x86_64 16:31:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:09 prd-ubuntu20.04-docker-8c-8g-1277 does not seem to be running inside a container 16:31:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-360 -v /w/workspace/foundry_device-virtual-go_PR-360:/w/workspace/foundry_device-virtual-go_PR-360:rw,z -v /w/workspace/foundry_device-virtual-go_PR-360@tmp:/w/workspace/foundry_device-virtual-go_PR-360@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:31:10 $ docker top dc80be9d90a6873102f7b533d3f150420cc15bc7d3f9542f466d665f15d3ed24 -eo pid,comm [Pipeline] { [Pipeline] sh 16:31:10 + go version 16:31:10 go version go1.20.2 linux/amd64 [Pipeline] } 16:31:10 $ docker stop --time=1 dc80be9d90a6873102f7b533d3f150420cc15bc7d3f9542f466d665f15d3ed24 16:31:11 $ docker rm -f --volumes dc80be9d90a6873102f7b533d3f150420cc15bc7d3f9542f466d665f15d3ed24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:12 + docker inspect -f . ci-base-image-x86_64 16:31:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:12 prd-ubuntu20.04-docker-8c-8g-1277 does not seem to be running inside a container 16:31:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-360 -v /w/workspace/foundry_device-virtual-go_PR-360:/w/workspace/foundry_device-virtual-go_PR-360:rw,z -v /w/workspace/foundry_device-virtual-go_PR-360@tmp:/w/workspace/foundry_device-virtual-go_PR-360@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:31:12 $ docker top fa5d7bec467a7caf9bcc5afe1fc238a8d3e6eb8d225304f0f743203fa622aee7 -eo pid,comm [Pipeline] { [Pipeline] sh 16:31:12 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-360 [Pipeline] fileExists [Pipeline] sh 16:31:13 + make test 16:31:13 go test ./... -coverprofile=coverage.out 16:31:18 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:31:30 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:31:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements 16:31:37 go vet ./... 16:31:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:31:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:31:40 ./bin/test-attribution-txt.sh [Pipeline] echo 16:31:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:31:40 $ docker stop --time=1 fa5d7bec467a7caf9bcc5afe1fc238a8d3e6eb8d225304f0f743203fa622aee7 16:31:42 $ docker rm -f --volumes fa5d7bec467a7caf9bcc5afe1fc238a8d3e6eb8d225304f0f743203fa622aee7 [Pipeline] // withDockerContainer [Pipeline] sh 16:31:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:31:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:31:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:31:43 + ls -al . 16:31:43 total 192 16:31:43 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 16:31 . 16:31:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:30 .. 16:31:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:30 .git 16:31:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:30 .github 16:31:43 -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 16:30 .gitignore 16:31:43 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:30 .golangci.yml 16:31:43 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:30 .semver 16:31:43 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 16:30 Attribution.txt 16:31:43 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 16:30 CHANGELOG.md 16:31:43 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 16:30 Dockerfile 16:31:43 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:30 GOVERNANCE.md 16:31:43 -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 16:30 Jenkinsfile 16:31:43 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:30 LICENSE 16:31:43 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 16:30 Makefile 16:31:43 -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 16:30 OWNERS.md 16:31:43 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 16:30 README.md 16:31:43 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:30 VERSION 16:31:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:30 bin 16:31:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:30 cmd 16:31:43 -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 16:31 coverage.out 16:31:43 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 16:30 go.mod 16:31:43 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 16:30 go.sum 16:31:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:30 internal 16:31:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:30 snap 16:31:43 -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 16:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:43 + 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=3ecb577e9defc114c7baecbbc8aca89f7797bd13 --label arch=amd64 --label version=0.0.0 . 16:31:43 Sending build context to Docker daemon 23.54MB 16:31:43 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:31:43 Step 2/25 : FROM ${BASE} AS builder 16:31:43 ---> 2e626912408e 16:31:43 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:31:43 ---> Running in 9530736e56ce 16:31:43 Removing intermediate container 9530736e56ce 16:31:43 ---> 13fad3226f00 16:31:43 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:31:43 ---> Running in 735e03fd0489 16:31:44 Removing intermediate container 735e03fd0489 16:31:44 ---> 67b7e966cee5 16:31:44 Step 5/25 : ARG ADD_BUILD_TAGS="" 16:31:44 ---> Running in 90b2cffec5f6 16:31:44 Removing intermediate container 90b2cffec5f6 16:31:44 ---> dab0c8ef2cac 16:31:44 Step 6/25 : WORKDIR /device-virtual-go 16:31:44 ---> Running in 5d75d3f087e6 16:31:44 Removing intermediate container 5d75d3f087e6 16:31:44 ---> a9f686a08f81 16:31:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:31:44 ---> Running in 4abe502460d1 16:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:31:44 OK: 269 MiB in 57 packages 16:31:45 Removing intermediate container 4abe502460d1 16:31:45 ---> c9afc2009412 16:31:45 Step 8/25 : COPY go.mod vendor* ./ 16:31:45 ---> 1a5205056399 16:31:45 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:31:45 ---> Running in 9ace2ab5a372 16:31:46 Removing intermediate container 9ace2ab5a372 16:31:46 ---> 5b53ee5eb00f 16:31:46 Step 10/25 : COPY . . 16:31:46 ---> 3ecd5084429d 16:31:46 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:31:46 ---> Running in f95e1d3745ac 16:31:46 Removing intermediate container f95e1d3745ac 16:31:46 ---> 6edcace0b76d 16:31:46 Step 12/25 : RUN $MAKE 16:31:46 ---> Running in e9867ac0be71 16:31:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 16:32:05 Removing intermediate container e9867ac0be71 16:32:05 ---> a0a9065c7a62 16:32:05 Step 13/25 : FROM alpine:3.17 16:32:05 3.17: Pulling from library/alpine 16:32:05 63b65145d645: Already exists 16:32:05 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:32:05 Status: Downloaded newer image for alpine:3.17 16:32:05 ---> b2aa39c304c2 16:32:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:32:05 ---> Running in fb7d39ab6961 16:32:05 Removing intermediate container fb7d39ab6961 16:32:05 ---> e7c4fac63717 16:32:05 Step 15/25 : RUN apk add --update --no-cache dumb-init 16:32:05 ---> Running in ddd56d8b2c83 16:32:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:32:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:32:05 (1/1) Installing dumb-init (1.2.5-r2) 16:32:05 Executing busybox-1.35.0-r29.trigger 16:32:05 OK: 7 MiB in 16 packages 16:32:05 Removing intermediate container ddd56d8b2c83 16:32:05 ---> 76ab229e3d59 16:32:05 Step 16/25 : WORKDIR / 16:32:05 ---> Running in 799f0dc2d9af 16:32:05 Removing intermediate container 799f0dc2d9af 16:32:05 ---> c4fe0a2af61a 16:32:05 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:32:05 ---> 494140f9a971 16:32:05 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 16:32:05 ---> 368a33855da7 16:32:05 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 16:32:06 ---> eb1d2b36f645 16:32:06 Step 20/25 : EXPOSE 59900 16:32:06 ---> Running in 77fee93709e8 16:32:06 Removing intermediate container 77fee93709e8 16:32:06 ---> 69708cfa0a64 16:32:06 Step 21/25 : ENTRYPOINT ["/device-virtual"] 16:32:06 ---> Running in 63410884cba6 16:32:06 Removing intermediate container 63410884cba6 16:32:06 ---> 5dc97c8155ba 16:32:06 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:32:06 ---> Running in a6dbf2ce4495 16:32:06 Removing intermediate container a6dbf2ce4495 16:32:06 ---> 4b2026153674 16:32:06 Step 23/25 : LABEL arch=amd64 16:32:06 ---> Running in dcbb151bb3c7 16:32:07 Removing intermediate container dcbb151bb3c7 16:32:07 ---> d89586f1a884 16:32:07 Step 24/25 : LABEL git_sha=3ecb577e9defc114c7baecbbc8aca89f7797bd13 16:32:07 ---> Running in 3d195fa10957 16:32:07 Removing intermediate container 3d195fa10957 16:32:07 ---> 4ca38d563860 16:32:07 Step 25/25 : LABEL version=0.0.0 16:32:07 ---> Running in 07ae1df910f7 16:32:07 Removing intermediate container 07ae1df910f7 16:32:07 ---> 95ad2c84f135 16:32:07 [Warning] One or more build-args [ARCH] were not consumed 16:32:07 Successfully built 95ad2c84f135 16:32:07 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:32:07 16:32:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:32:07 latest: Pulling from edgex-lftools-log-publisher 16:32:07 5eb5b503b376: Pulling fs layer 16:32:07 5c69ac0246d0: Pulling fs layer 16:32:07 ec43610c2a17: Pulling fs layer 16:32:07 3a2ae6a8a46f: Pulling fs layer 16:32:07 33b1e0a273af: Pulling fs layer 16:32:07 5d3b04190fa2: Pulling fs layer 16:32:07 2f39f015ded8: Pulling fs layer 16:32:07 3a2ae6a8a46f: Waiting 16:32:07 33b1e0a273af: Waiting 16:32:07 5d3b04190fa2: Waiting 16:32:07 2f39f015ded8: Waiting 16:32:07 5c69ac0246d0: Verifying Checksum 16:32:07 5c69ac0246d0: Download complete 16:32:07 3a2ae6a8a46f: Verifying Checksum 16:32:07 3a2ae6a8a46f: Download complete 16:32:07 33b1e0a273af: Verifying Checksum 16:32:07 33b1e0a273af: Download complete 16:32:08 5d3b04190fa2: Verifying Checksum 16:32:08 5d3b04190fa2: Download complete 16:32:08 ec43610c2a17: Verifying Checksum 16:32:08 ec43610c2a17: Download complete 16:32:08 5eb5b503b376: Verifying Checksum 16:32:08 5eb5b503b376: Download complete 16:32:08 2f39f015ded8: Verifying Checksum 16:32:08 2f39f015ded8: Download complete 16:32:09 5eb5b503b376: Pull complete 16:32:09 5c69ac0246d0: Pull complete 16:32:09 ec43610c2a17: Pull complete 16:32:10 3a2ae6a8a46f: Pull complete 16:32:10 33b1e0a273af: Pull complete 16:32:10 5d3b04190fa2: Pull complete 16:32:14 2f39f015ded8: Pull complete 16:32:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:32:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:32:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:14 prd-ubuntu20.04-docker-8c-8g-1277 does not seem to be running inside a container 16:32:14 $ 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/foundry_device-virtual-go_PR-360 -v /w/workspace/foundry_device-virtual-go_PR-360:/w/workspace/foundry_device-virtual-go_PR-360:rw,z -v /w/workspace/foundry_device-virtual-go_PR-360@tmp:/w/workspace/foundry_device-virtual-go_PR-360@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:32:17 $ docker top bec31de14d34eb80492ebd77865c25d7ab307f87742d629918b1c2e59bbfa64d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:32:17 ---> job-cost.sh 16:32:17 lf-activate-venv: SKIPPING 16:32:17 INFO: No Stack... 16:32:18 INFO: Retrieving Pricing Info for: v3-standard-8 16:32:18 INFO: Archiving Costs [Pipeline] sh 16:32:18 + cat /w/workspace/foundry_device-virtual-go_PR-360/archives/cost.csv 16:32:18 + cut -d, -f6 [Pipeline] lock 16:32:18 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-360-2-stack-cost] 16:32:18 Resource [jenkins-edgexfoundry-device-virtual-go-PR-360-2-stack-cost] did not exist. Created. 16:32:18 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-360-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:32:19 + echo total: 0.2199999988079071 [Pipeline] stash 16:32:19 Stashed 1 file(s) [Pipeline] } 16:32:19 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-360-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:32:19 $ docker stop --time=1 bec31de14d34eb80492ebd77865c25d7ab307f87742d629918b1c2e59bbfa64d 16:32:20 $ docker rm -f --volumes bec31de14d34eb80492ebd77865c25d7ab307f87742d629918b1c2e59bbfa64d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:48:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1962 in /w/workspace/foundry_device-virtual-go_PR-360 [Pipeline] { [Pipeline] ws 16:48:01 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 16:48:01 The recommended git tool is: git 16:48:11 using credential edgex-jenkins-ssh 16:48:11 Cloning the remote Git repository 16:48:11 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 16:48:11 > git init /w/workspace/device-virtual-go/2 # timeout=10 16:48:11 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:48:11 > git --version # timeout=10 16:48:11 > git --version # 'git version 2.25.1' 16:48:11 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:48:13 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:48:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:48:15 Merging remotes/origin/main commit 8ed51eb9eaa0a405dde043671b4ac8557819634f into PR head commit 3ecb577e9defc114c7baecbbc8aca89f7797bd13 16:48:16 Merge succeeded, producing 3ecb577e9defc114c7baecbbc8aca89f7797bd13 16:48:16 Checking out Revision 3ecb577e9defc114c7baecbbc8aca89f7797bd13 (PR-360) 16:48:15 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:48:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:48:15 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/360/head:refs/remotes/origin/PR-360 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:48:15 > git config core.sparsecheckout # timeout=10 16:48:15 > git checkout -f 3ecb577e9defc114c7baecbbc8aca89f7797bd13 # timeout=10 16:48:15 > git remote # timeout=10 16:48:16 > git config --get remote.origin.url # timeout=10 16:48:16 using GIT_SSH to set credentials SSH Credentials for GitHub 16:48:16 > git merge 8ed51eb9eaa0a405dde043671b4ac8557819634f # timeout=10 16:48:16 > git rev-parse HEAD^{commit} # timeout=10 16:48:16 > git config core.sparsecheckout # timeout=10 16:48:16 > git checkout -f 3ecb577e9defc114c7baecbbc8aca89f7797bd13 # timeout=10 16:48:16 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:48:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:48:17 % Total % Received % Xferd Average Speed Time Time Time Current 16:48:17 Dload Upload Total Spent Left Speed 16:48:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 16:48:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:48:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:48:18 + sudo tee /etc/docker/daemon.new 16:48:18 { 16:48:18 "registry-mirrors": [ 16:48:18 "https://nexus3.edgexfoundry.org:10001" 16:48:18 ], 16:48:18 "bip": "10.250.0.254/24", 16:48:18 "hosts": [ 16:48:18 "tcp://0.0.0.0:5555", 16:48:18 "unix:///var/run/docker.sock" 16:48:18 ], 16:48:18 "mtu": 1458, 16:48:18 "selinux-enabled": true, 16:48:18 "seccomp-profile": "/etc/docker/seccomp.json" 16:48:18 } [Pipeline] sh 16:48:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:48:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:37 provisioning config files... 16:48:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config8675961641705604819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:38 ---> docker-login.sh 16:48:38 nexus3.edgexfoundry.org:10001 16:48:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:38 Configure a credential helper to remove this warning. See 16:48:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:38 16:48:38 Login Succeeded 16:48:38 nexus3.edgexfoundry.org:10002 16:48:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:39 Configure a credential helper to remove this warning. See 16:48:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:39 16:48:39 Login Succeeded 16:48:39 nexus3.edgexfoundry.org:10003 16:48:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:39 Configure a credential helper to remove this warning. See 16:48:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:39 16:48:39 Login Succeeded 16:48:39 nexus3.edgexfoundry.org:10004 16:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:40 Configure a credential helper to remove this warning. See 16:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:40 16:48:40 Login Succeeded 16:48:40 docker.io 16:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:40 Configure a credential helper to remove this warning. See 16:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:40 16:48:40 Login Succeeded 16:48:40 ---> docker-login.sh ends [Pipeline] } 16:48:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:48:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:41 ========================================================= 16:48:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:48:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:41 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:48:42 Sending build context to Docker daemon 11.9MB 16:48:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:48:42 Step 2/12 : FROM ${BASE} AS builder 16:48:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:48:42 af6eaf76a39c: Pulling fs layer 16:48:42 55522c791124: Pulling fs layer 16:48:42 ce5c4a1c91eb: Pulling fs layer 16:48:42 169dfbe0d373: Pulling fs layer 16:48:42 e1ff8fa3b103: Pulling fs layer 16:48:42 52ebb69f0ebf: Pulling fs layer 16:48:42 5abe8eddf0d5: Pulling fs layer 16:48:42 e1ff8fa3b103: Waiting 16:48:42 52ebb69f0ebf: Waiting 16:48:42 5abe8eddf0d5: Waiting 16:48:42 169dfbe0d373: Waiting 16:48:42 55522c791124: Download complete 16:48:42 169dfbe0d373: Verifying Checksum 16:48:42 169dfbe0d373: Download complete 16:48:42 e1ff8fa3b103: Verifying Checksum 16:48:42 e1ff8fa3b103: Download complete 16:48:42 af6eaf76a39c: Verifying Checksum 16:48:42 af6eaf76a39c: Download complete 16:48:43 af6eaf76a39c: Pull complete 16:48:44 5abe8eddf0d5: Verifying Checksum 16:48:44 5abe8eddf0d5: Download complete 16:48:44 55522c791124: Pull complete 16:48:46 ce5c4a1c91eb: Verifying Checksum 16:48:46 ce5c4a1c91eb: Download complete 16:48:46 52ebb69f0ebf: Verifying Checksum 16:48:46 52ebb69f0ebf: Download complete 16:48:56 ce5c4a1c91eb: Pull complete 16:48:56 169dfbe0d373: Pull complete 16:48:56 e1ff8fa3b103: Pull complete 16:49:03 52ebb69f0ebf: Pull complete 16:49:05 5abe8eddf0d5: Pull complete 16:49:05 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 16:49:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:49:05 ---> 6cb57ee374ae 16:49:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:49:10 ---> Running in 8754c662f019 16:49:10 Removing intermediate container 8754c662f019 16:49:10 ---> 7c13a2d2a8bc 16:49:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:49:10 ---> Running in ce2cbb12cf4a 16:49:11 Removing intermediate container ce2cbb12cf4a 16:49:11 ---> 1aa458adbb66 16:49:11 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:49:11 ---> Running in baefe26a6719 16:49:11 Removing intermediate container baefe26a6719 16:49:11 ---> af7969b9f119 16:49:11 Step 6/12 : WORKDIR /device-virtual-go 16:49:11 ---> Running in 49913a1d3e98 16:49:11 Removing intermediate container 49913a1d3e98 16:49:11 ---> fdf697b43630 16:49:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:49:11 ---> Running in 523cf3619ebb 16:49:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:49:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:49:15 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:49:15 (2/4) Installing libedit (20221030.3.1-r0) 16:49:15 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:49:15 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:49:15 Executing busybox-1.35.0-r29.trigger 16:49:16 OK: 268 MiB in 57 packages 16:49:17 Removing intermediate container 523cf3619ebb 16:49:17 ---> a08c01390969 16:49:17 Step 8/12 : COPY go.mod vendor* ./ 16:49:17 ---> 82582c38282f 16:49:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:49:18 ---> Running in ce3ae25f5ef8 16:50:26 Removing intermediate container ce3ae25f5ef8 16:50:26 ---> b3b4bb8cc997 16:50:26 Step 10/12 : COPY . . 16:50:26 ---> 381faa997911 16:50:26 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:50:26 ---> Running in 59dc4f7496b9 16:50:26 Removing intermediate container 59dc4f7496b9 16:50:26 ---> bd717382f542 16:50:26 Step 12/12 : RUN $MAKE 16:50:26 ---> Running in 70758fd74698 16:50:26 noop 16:50:26 Removing intermediate container 70758fd74698 16:50:26 ---> 9d1ad65d9431 16:50:26 Successfully built 9d1ad65d9431 16:50:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:26 + docker inspect -f . ci-base-image-arm64 16:50:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:26 prd-ubuntu20.04-docker-arm64-4c-16g-1962 does not seem to be running inside a container 16:50:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:50:28 $ docker top c154ac7b9e5e18f9dc7aea56185070a0c52aa1d1f2f1f2d7c1ea10f6535f51df -eo pid,comm [Pipeline] { [Pipeline] sh 16:50:28 + go version 16:50:28 go version go1.20.2 linux/arm64 [Pipeline] } 16:50:28 $ docker stop --time=1 c154ac7b9e5e18f9dc7aea56185070a0c52aa1d1f2f1f2d7c1ea10f6535f51df 16:50:30 $ docker rm -f --volumes c154ac7b9e5e18f9dc7aea56185070a0c52aa1d1f2f1f2d7c1ea10f6535f51df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:31 + docker inspect -f . ci-base-image-arm64 16:50:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:31 prd-ubuntu20.04-docker-arm64-4c-16g-1962 does not seem to be running inside a container 16:50:31 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:50:32 $ docker top d1ccfe5890d52712b686c054007ae58a82ac87db6753fa04fcd4f9b272bd43e3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:50:33 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 16:50:34 + make test 16:50:34 go test ./... -coverprofile=coverage.out 16:51:13 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:53:19 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:53:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.142s coverage: 65.7% of statements 16:53:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:53:19 go vet ./... 16:53:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:53:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:53:52 ./bin/test-attribution-txt.sh [Pipeline] echo 16:53:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:53:52 $ docker stop --time=1 d1ccfe5890d52712b686c054007ae58a82ac87db6753fa04fcd4f9b272bd43e3 16:53:54 $ docker rm -f --volumes d1ccfe5890d52712b686c054007ae58a82ac87db6753fa04fcd4f9b272bd43e3 [Pipeline] // withDockerContainer [Pipeline] sh 16:53:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:53:55 Warning: overwriting stash ‘coverage-report’ 16:53:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:53:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:53:56 + ls -al . 16:53:56 total 188 16:53:56 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:50 . 16:53:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:48 .. 16:53:56 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:48 .git 16:53:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:48 .github 16:53:56 -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 16:48 .gitignore 16:53:56 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:48 .golangci.yml 16:53:56 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 16:48 Attribution.txt 16:53:56 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 16:48 CHANGELOG.md 16:53:56 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 16:48 Dockerfile 16:53:56 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:48 GOVERNANCE.md 16:53:56 -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 16:48 Jenkinsfile 16:53:56 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:48 LICENSE 16:53:56 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 16:48 Makefile 16:53:56 -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 16:48 OWNERS.md 16:53:56 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 16:48 README.md 16:53:56 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:30 VERSION 16:53:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:48 bin 16:53:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:48 cmd 16:53:56 -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 16:53 coverage.out 16:53:56 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 16:48 go.mod 16:53:56 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 16:48 go.sum 16:53:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:48 internal 16:53:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:48 snap 16:53:56 -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 16:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:56 + 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=3ecb577e9defc114c7baecbbc8aca89f7797bd13 --label arch=arm64 --label version=0.0.0 . 16:53:57 Sending build context to Docker daemon 11.95MB 16:53:57 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:53:57 Step 2/25 : FROM ${BASE} AS builder 16:53:57 ---> 9d1ad65d9431 16:53:57 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:53:57 ---> Running in 80d7ac197f12 16:53:57 Removing intermediate container 80d7ac197f12 16:53:57 ---> fb7d85894c3b 16:53:57 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:53:58 ---> Running in d0e7e74d1899 16:53:58 Removing intermediate container d0e7e74d1899 16:53:58 ---> 0054c8688db2 16:53:58 Step 5/25 : ARG ADD_BUILD_TAGS="" 16:53:58 ---> Running in fe104eec9db5 16:53:58 Removing intermediate container fe104eec9db5 16:53:58 ---> b6df34b09032 16:53:58 Step 6/25 : WORKDIR /device-virtual-go 16:53:58 ---> Running in b0da14186cd6 16:53:59 Removing intermediate container b0da14186cd6 16:53:59 ---> 47f877a700e6 16:53:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:53:59 ---> Running in daddcd2c95dc 16:54:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:54:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:54:02 OK: 268 MiB in 57 packages 16:54:02 Removing intermediate container daddcd2c95dc 16:54:02 ---> 0b061ff214ef 16:54:02 Step 8/25 : COPY go.mod vendor* ./ 16:54:03 ---> 1f97950596dd 16:54:03 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:54:03 ---> Running in 80135c8b3d2e 16:54:05 Removing intermediate container 80135c8b3d2e 16:54:05 ---> cb6f343127fa 16:54:05 Step 10/25 : COPY . . 16:54:07 ---> ed5e30dcf0ad 16:54:07 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:54:07 ---> Running in d2489d25c348 16:54:07 Removing intermediate container d2489d25c348 16:54:07 ---> 17132ec2f292 16:54:07 Step 12/25 : RUN $MAKE 16:54:07 ---> Running in cc005adf180d 16:54:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 16:56:45 Removing intermediate container cc005adf180d 16:56:45 ---> 04510bde1963 16:56:45 Step 13/25 : FROM alpine:3.17 16:56:45 3.17: Pulling from library/alpine 16:56:45 af6eaf76a39c: Already exists 16:56:45 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:56:45 Status: Downloaded newer image for alpine:3.17 16:56:45 ---> d74e625d9115 16:56:45 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:56:45 ---> Running in e7c863a91370 16:56:45 Removing intermediate container e7c863a91370 16:56:45 ---> 5d640fffbdd8 16:56:45 Step 15/25 : RUN apk add --update --no-cache dumb-init 16:56:45 ---> Running in 99d822203874 16:56:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:56:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:56:45 (1/1) Installing dumb-init (1.2.5-r2) 16:56:45 Executing busybox-1.35.0-r29.trigger 16:56:45 OK: 8 MiB in 16 packages 16:56:45 Removing intermediate container 99d822203874 16:56:45 ---> e0190a59baf4 16:56:45 Step 16/25 : WORKDIR / 16:56:45 ---> Running in 0db980048b87 16:56:45 Removing intermediate container 0db980048b87 16:56:45 ---> bc0bd3867e12 16:56:45 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:56:45 ---> 64239be8864d 16:56:45 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 16:56:45 ---> e7ee21c4cda5 16:56:45 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 16:56:45 ---> 988e5f39752c 16:56:45 Step 20/25 : EXPOSE 59900 16:56:45 ---> Running in b7841f631b18 16:56:46 Removing intermediate container b7841f631b18 16:56:46 ---> 54da4741526c 16:56:46 Step 21/25 : ENTRYPOINT ["/device-virtual"] 16:56:46 ---> Running in 08ca96cd0cd9 16:56:46 Removing intermediate container 08ca96cd0cd9 16:56:46 ---> 818c8d2aa23e 16:56:46 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:56:46 ---> Running in 7ca0d79d2529 16:56:46 Removing intermediate container 7ca0d79d2529 16:56:46 ---> cf1b85f11398 16:56:46 Step 23/25 : LABEL arch=arm64 16:56:47 ---> Running in 6fa2b18ecaf6 16:56:47 Removing intermediate container 6fa2b18ecaf6 16:56:47 ---> 56c62d108481 16:56:47 Step 24/25 : LABEL git_sha=3ecb577e9defc114c7baecbbc8aca89f7797bd13 16:56:47 ---> Running in 80fb205712c7 16:56:47 Removing intermediate container 80fb205712c7 16:56:47 ---> f2c4633d2ba5 16:56:47 Step 25/25 : LABEL version=0.0.0 16:56:47 ---> Running in 53bbbccdeb48 16:56:48 Removing intermediate container 53bbbccdeb48 16:56:48 ---> 413dd9f8a850 16:56:48 [Warning] One or more build-args [ARCH] were not consumed 16:56:48 Successfully built 413dd9f8a850 16:56:48 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:56:49 16:56:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:56:49 arm64: Pulling from edgex-lftools-log-publisher 16:56:49 8998bd30e6a1: Pulling fs layer 16:56:49 04944245beec: Pulling fs layer 16:56:49 699f458cf7ca: Pulling fs layer 16:56:49 765212b225bb: Pulling fs layer 16:56:49 f23df028b6ca: Pulling fs layer 16:56:49 d65c8cfc05b1: Pulling fs layer 16:56:49 2437ff75d9bd: Pulling fs layer 16:56:49 f23df028b6ca: Waiting 16:56:49 d65c8cfc05b1: Waiting 16:56:49 2437ff75d9bd: Waiting 16:56:49 765212b225bb: Waiting 16:56:49 04944245beec: Verifying Checksum 16:56:49 04944245beec: Download complete 16:56:49 765212b225bb: Download complete 16:56:49 f23df028b6ca: Download complete 16:56:49 d65c8cfc05b1: Verifying Checksum 16:56:49 d65c8cfc05b1: Download complete 16:56:49 699f458cf7ca: Verifying Checksum 16:56:49 699f458cf7ca: Download complete 16:56:50 8998bd30e6a1: Download complete 16:56:52 2437ff75d9bd: Verifying Checksum 16:56:52 2437ff75d9bd: Download complete 16:56:54 8998bd30e6a1: Pull complete 16:56:55 04944245beec: Pull complete 16:56:56 699f458cf7ca: Pull complete 16:56:56 765212b225bb: Pull complete 16:56:57 f23df028b6ca: Pull complete 16:56:57 d65c8cfc05b1: Pull complete 16:57:12 2437ff75d9bd: Pull complete 16:57:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:57:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:57:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:13 prd-ubuntu20.04-docker-arm64-4c-16g-1962 does not seem to be running inside a container 16:57:13 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:57:16 $ docker top c63657fd7ac311e0e65a65f31c413943cd8913c800be46911ca4780b6eba77f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:57:17 ---> job-cost.sh 16:57:17 lf-activate-venv: SKIPPING 16:57:17 INFO: No Stack... 16:57:17 INFO: Retrieving Pricing Info for: v3-standard-4 16:57:18 INFO: Archiving Costs [Pipeline] sh 16:57:19 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 16:57:19 + cut -d, -f6 [Pipeline] lock 16:57:19 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-360-2-stack-cost] 16:57:19 Resource [jenkins-edgexfoundry-device-virtual-go-PR-360-2-stack-cost] did not exist. Created. 16:57:19 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-360-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:57:20 /w/workspace/device-virtual-go/2@tmp/durable-bc93c99e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:57:20 + echo total: 0.10999999940395355 [Pipeline] stash 16:57:21 Warning: overwriting stash ‘stack-cost’ 16:57:21 Stashed 1 file(s) [Pipeline] } 16:57:21 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-360-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:57:21 $ docker stop --time=1 c63657fd7ac311e0e65a65f31c413943cd8913c800be46911ca4780b6eba77f3 16:57:22 $ docker rm -f --volumes c63657fd7ac311e0e65a65f31c413943cd8913c800be46911ca4780b6eba77f3 [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 16:57:23 provisioning config files... 16:57:23 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-360@tmp/config14407029431012509022tmp [Pipeline] { [Pipeline] sh 16:57:23 + set +x 16:57:23 + curl -s https://codecov.io/bash 16:57:23 + bash -s -- 16:57:23 16:57:23 _____ _ 16:57:23 / ____| | | 16:57:23 | | ___ __| | ___ ___ _____ __ 16:57:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:57:23 | |___| (_) | (_| | __/ (_| (_) \ V / 16:57:23 \_____\___/ \__,_|\___|\___\___/ \_/ 16:57:23 Bash-1.0.6 16:57:23 16:57:23 16:57:23 ==> git version 2.25.1 found 16:57:23 ==> 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 16:57:23 Release-Date: 2020-01-08 16:57:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:57:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:57:23 ==> Jenkins CI detected. 16:57:23 current dir:  /w/workspace/foundry_device-virtual-go_PR-360 16:57:23 project root: . 16:57:23 --> token set from env 16:57:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:57:23 ==> Running gcov in . (disable via -X gcov) 16:57:23 ==> Python coveragepy not found 16:57:23 ==> Searching for coverage reports in: 16:57:23 + . 16:57:23 -> Found 1 reports 16:57:23 ==> Detecting git/mercurial file structure 16:57:23 ==> Reading reports 16:57:23 + ./coverage.out bytes=44311 16:57:23 ==> Appending adjustments 16:57:23 https://docs.codecov.io/docs/fixing-reports 16:57:23 + Found adjustments 16:57:23 ==> Gzipping contents 16:57:23 8.0K /tmp/codecov.jO12Xv.gz 16:57:23 ==> Uploading reports 16:57:23 url: https://codecov.io 16:57:23 query: branch=PR-360&commit=3ecb577e9defc114c7baecbbc8aca89f7797bd13&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-360%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=360&job=&cmd_args= 16:57:23 -> Pinging Codecov 16:57:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-360&commit=3ecb577e9defc114c7baecbbc8aca89f7797bd13&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-360%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=360&job=&cmd_args= 16:57:23 -> Uploading to 16:57:23 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/5E52B4B073DB2E39498172D8E973AA87/3ecb577e9defc114c7baecbbc8aca89f7797bd13/b7b4a08d-059c-489c-b058-9ea0b063a1ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T165723Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b48aa4772e2bdcc140cdaf85a508c04d97948a8cfa72d9152fc040f1d0478ee4 16:57:23 % Total % Received % Xferd Average Speed Time Time Time Current 16:57:23 Dload Upload Total Spent Left Speed 16:57:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5430 0 0 100 5430 0 19532 --:--:-- --:--:-- --:--:-- 19532 16:57:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/3ecb577e9defc114c7baecbbc8aca89f7797bd13 [Pipeline] } 16:57:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:57:24 + [ -d /w/workspace/foundry_device-virtual-go_PR-360/archives ] 16:57:24 + ls -al /w/workspace/foundry_device-virtual-go_PR-360/archives 16:57:24 total 16 16:57:24 drwxr-xr-x 3 root root 4096 Mar 15 16:32 . 16:57:24 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:32 .. 16:57:24 drwxr-xr-x 2 root root 4096 Mar 15 16:32 cost 16:57:24 -rw-r--r-- 1 root root 89 Mar 15 16:32 cost.csv 16:57:24 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-360/archives 16:57:24 + ls -al /w/workspace/foundry_device-virtual-go_PR-360/archives 16:57:24 total 16 16:57:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:32 . 16:57:24 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:32 .. 16:57:24 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:32 cost 16:57:24 -rw-r--r-- 1 jenkins jenkins 89 Mar 15 16:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:57:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:57:26 ---> package-listing.sh 16:57:26 ++ facter osfamily 16:57:26 ++ tr '[:upper:]' '[:lower:]' 16:57:26 + OS_FAMILY=debian 16:57:26 + workspace=/w/workspace/foundry_device-virtual-go_PR-360 16:57:26 + START_PACKAGES=/tmp/packages_start.txt 16:57:26 + END_PACKAGES=/tmp/packages_end.txt 16:57:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:57:26 + PACKAGES=/tmp/packages_start.txt 16:57:26 + '[' /w/workspace/foundry_device-virtual-go_PR-360 ']' 16:57:26 + PACKAGES=/tmp/packages_end.txt 16:57:26 + case "${OS_FAMILY}" in 16:57:26 + dpkg -l 16:57:26 + grep '^ii' 16:57:26 + '[' -f /tmp/packages_start.txt ']' 16:57:26 + '[' -f /tmp/packages_end.txt ']' 16:57:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:57:26 + '[' /w/workspace/foundry_device-virtual-go_PR-360 ']' 16:57:26 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-360/archives/ 16:57:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-360/archives/ [Pipeline] echo 16:57:26 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/foundry_device-virtual-go_PR-360/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:57:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:57:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:27 prd-ubuntu20.04-docker-8c-8g-1277 does not seem to be running inside a container 16:57:27 $ 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/foundry_device-virtual-go_PR-360/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-360 -v /w/workspace/foundry_device-virtual-go_PR-360:/w/workspace/foundry_device-virtual-go_PR-360:rw,z -v /w/workspace/foundry_device-virtual-go_PR-360@tmp:/w/workspace/foundry_device-virtual-go_PR-360@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:57:27 $ docker top 2e30d139108add9718097fb43322434d330e3a996468d6246dd5e1607318a181 -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:27 + touch /tmp/pre-build-complete [Pipeline] sh 16:57:28 + mkdir -p /var/log/sysstat [Pipeline] sh 16:57:28 + ls /var/log/sa-host 16:57:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:57:28 provisioning config files... 16:57:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-360@tmp/config1874414923216622550tmp [Pipeline] { [Pipeline] echo 16:57:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:57:28 ---> create-netrc.sh [Pipeline] } 16:57:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:57:29 ---> python-tools-install.sh [Pipeline] echo 16:57:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:57:29 ---> sudo-logs.sh 16:57:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:57:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:57:29 ---> job-cost.sh 16:57:29 lf-activate-venv: SKIPPING 16:57:29 DEBUG: total: 0.2199999988079071 16:57:29 INFO: Retrieving Stack Cost... 16:57:29 INFO: Retrieving Pricing Info for: v3-standard-8 16:57:30 INFO: Archiving Costs [Pipeline] echo 16:57:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:57:30 ---> logs-deploy.sh 16:57:30 lf-activate-venv: SKIPPING 16:57:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-360/2 16:57:30 INFO: archiving workspace using pattern(s): 16:57:31 Archives upload complete. 16:57:31 INFO: archiving logs to Nexus