Pull request #354 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 1fa5c9f5e2a7f631fc1e0ca6fd6412945aa5e337+3f1e673898a8ef42faca444c63d377d06123e36f (e3ecfc0ef315d970a19f846dfd99e0e937603316) 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-ssh16019885589855219531.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-ssh11865022578848803157.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-354/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-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10091949500255724066.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-ssh2252473856953114962.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-354/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-354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9271892018835624219.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-150’ Running on prd-ubuntu20.04-docker-8c-8g-152 in /w/workspace/foundry_device-virtual-go_PR-354 [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-354 # 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/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3f1e673898a8ef42faca444c63d377d06123e36f into PR head commit 1fa5c9f5e2a7f631fc1e0ca6fd6412945aa5e337 Merge succeeded, producing 40bf8f68e3eb42b4b24a12485d9e133e5a71c142 Checking out Revision 40bf8f68e3eb42b4b24a12485d9e133e5a71c142 (PR-354) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fa5c9f5e2a7f631fc1e0ca6fd6412945aa5e337 # 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 3f1e673898a8ef42faca444c63d377d06123e36f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40bf8f68e3eb42b4b24a12485d9e133e5a71c142 # timeout=10 Commit message: "Merge commit '3f1e673898a8ef42faca444c63d377d06123e36f' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk b887524ce632dff843b7d552582bcc3fd25c8fc0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:58:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:58:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:58:53 ========================================================= 12:58:53 EdgeX Global Pipelines Version Info 12:58:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:58:54 ------------------- 12:58:54 stable info: 12:58:54 ------------------- 12:58:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:58:54 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 12:58:54 Message: update stable to v1.0.245 12:58:55 ------------------- 12:58:55 experimental info: 12:58:55 ------------------- 12:58:55 Commited By: **** collab-it+edgex@linuxfoundation.org 12:58:55 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 12:58:55 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-354 [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-354 [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-354 [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40bf8f68e3eb42b4b24a12485d9e133e5a71c142 [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40bf8f6 [Pipeline] echo 12:58:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:55 provisioning config files... 12:58:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config13312044645094217557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:56 ---> docker-login.sh 12:58:56 nexus3.edgexfoundry.org:10001 12:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:56 Configure a credential helper to remove this warning. See 12:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:56 12:58:56 Login Succeeded 12:58:56 nexus3.edgexfoundry.org:10002 12:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:56 Configure a credential helper to remove this warning. See 12:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:56 12:58:56 Login Succeeded 12:58:56 nexus3.edgexfoundry.org:10003 12:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:56 Configure a credential helper to remove this warning. See 12:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:56 12:58:56 Login Succeeded 12:58:56 nexus3.edgexfoundry.org:10004 12:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:56 Configure a credential helper to remove this warning. See 12:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:56 12:58:56 Login Succeeded 12:58:56 docker.io 12:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:57 Configure a credential helper to remove this warning. See 12:58:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:57 12:58:57 Login Succeeded 12:58:57 ---> docker-login.sh ends [Pipeline] } 12:58:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:58:57 + git rev-list -1 --merges 40bf8f68e3eb42b4b24a12485d9e133e5a71c142~1..40bf8f68e3eb42b4b24a12485d9e133e5a71c142 [Pipeline] echo 12:58:57 -----------> git rev-list -1 --merges 40bf8f68e3eb42b4b24a12485d9e133e5a71c142~1..40bf8f68e3eb42b4b24a12485d9e133e5a71c142 40bf8f68e3eb42b4b24a12485d9e133e5a71c142 12:58:57 40bf8f68e3eb42b4b24a12485d9e133e5a71c142 [false] [Pipeline] sh 12:58:57 + git log --format=format:%s -1 40bf8f68e3eb42b4b24a12485d9e133e5a71c142 [Pipeline] echo 12:58:57 ========================================================= 12:58:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:58:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:58 + git log --format=format:%s -1 40bf8f68e3eb42b4b24a12485d9e133e5a71c142 [Pipeline] echo 12:58:58 [semverPrep] GIT_COMMIT: 40bf8f68e3eb42b4b24a12485d9e133e5a71c142, Commit Message: Merge commit '3f1e673898a8ef42faca444c63d377d06123e36f' into HEAD [Pipeline] echo 12:58:58 [semverPrep] This is not a build commit. [Pipeline] sh 12:58:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:58:58 + grep -v github /etc/ssh/ssh_known_hosts 12:58:58 + [ -e /tmp/ssh_known_hosts ] 12:58:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:58:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:58:58 + sudo tee -a /etc/ssh/ssh_known_hosts 12:58:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:59 12:58:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:59 0.1.4: Pulling from edgex-devops/py-git-semver 12:58:59 b85a868b505f: Pulling fs layer 12:58:59 e2be974225ed: Pulling fs layer 12:58:59 339a4e72a1f5: Pulling fs layer 12:58:59 988bab9f4d93: Pulling fs layer 12:58:59 1469e6f7b9e6: Pulling fs layer 12:58:59 eaf3925da568: Pulling fs layer 12:58:59 bab4dde63d76: Pulling fs layer 12:58:59 bde34c3a00c8: Pulling fs layer 12:58:59 b352a97aabf1: Pulling fs layer 12:58:59 4872d77fe225: Pulling fs layer 12:58:59 5851b861e8e6: Pulling fs layer 12:58:59 1469e6f7b9e6: Waiting 12:58:59 988bab9f4d93: Waiting 12:58:59 b352a97aabf1: Waiting 12:58:59 bde34c3a00c8: Waiting 12:58:59 bab4dde63d76: Waiting 12:58:59 eaf3925da568: Waiting 12:58:59 4872d77fe225: Waiting 12:58:59 5851b861e8e6: Waiting 12:58:59 e2be974225ed: Verifying Checksum 12:58:59 e2be974225ed: Download complete 12:58:59 988bab9f4d93: Verifying Checksum 12:58:59 988bab9f4d93: Download complete 12:58:59 1469e6f7b9e6: Verifying Checksum 12:58:59 1469e6f7b9e6: Download complete 12:58:59 eaf3925da568: Download complete 12:58:59 339a4e72a1f5: Download complete 12:58:59 bde34c3a00c8: Download complete 12:58:59 b352a97aabf1: Download complete 12:58:59 4872d77fe225: Verifying Checksum 12:58:59 4872d77fe225: Download complete 12:58:59 5851b861e8e6: Download complete 12:58:59 b85a868b505f: Verifying Checksum 12:58:59 b85a868b505f: Download complete 12:58:59 bab4dde63d76: Verifying Checksum 12:58:59 bab4dde63d76: Download complete 12:59:00 b85a868b505f: Pull complete 12:59:00 e2be974225ed: Pull complete 12:59:01 339a4e72a1f5: Pull complete 12:59:01 988bab9f4d93: Pull complete 12:59:01 1469e6f7b9e6: Pull complete 12:59:01 eaf3925da568: Pull complete 12:59:03 bab4dde63d76: Pull complete 12:59:03 bde34c3a00c8: Pull complete 12:59:03 b352a97aabf1: Pull complete 12:59:03 4872d77fe225: Pull complete 12:59:03 5851b861e8e6: Pull complete 12:59:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:59:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:59:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:03 prd-ubuntu20.04-docker-8c-8g-152 does not seem to be running inside a container 12:59:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@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-devops/py-git-semver:0.1.4 cat 12:59:05 $ docker top 226ecf9f5047311a6cea0d4e3b50a6242baebc6bf95d0c60ec4be2270cc74ebf -eo pid,comm 12:59:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:59:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:59:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:59:05 [ssh-agent] Looking for ssh-agent implementation... 12:59:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:59:05 $ docker exec 226ecf9f5047311a6cea0d4e3b50a6242baebc6bf95d0c60ec4be2270cc74ebf ssh-agent 12:59:06 SSH_AUTH_SOCK=/tmp/ssh-bh64kJa3B5nO/agent.32 12:59:06 SSH_AGENT_PID=38 12:59:06 Running ssh-add (command line suppressed) 12:59:06 Identity added: /w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_8677701395305830939.key (/w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_8677701395305830939.key) 12:59:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:59:06 + git tag --points-at HEAD [Pipeline] } 12:59:06 $ docker exec --env ******** --env ******** 226ecf9f5047311a6cea0d4e3b50a6242baebc6bf95d0c60ec4be2270cc74ebf ssh-agent -k 12:59:06 unset SSH_AUTH_SOCK; 12:59:06 unset SSH_AGENT_PID; 12:59:06 echo Agent pid 38 killed; 12:59:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:59:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:59:06 [ssh-agent] Looking for ssh-agent implementation... 12:59:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:59:06 $ docker exec 226ecf9f5047311a6cea0d4e3b50a6242baebc6bf95d0c60ec4be2270cc74ebf ssh-agent 12:59:06 SSH_AUTH_SOCK=/tmp/ssh-xeHslu1WXNny/agent.71 12:59:06 SSH_AGENT_PID=77 12:59:06 Running ssh-add (command line suppressed) 12:59:06 Identity added: /w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_4305515582145878147.key (/w/workspace/foundry_device-virtual-go_PR-354@tmp/private_key_4305515582145878147.key) 12:59:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:59:07 + git semver init 12:59:07 2023-03-14 12:59:07,379 [run_init] DEBUG init version:0.0.0 force:False 12:59:07 2023-03-14 12:59:07,379 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-354/.semver 12:59:07 2023-03-14 12:59:07,380 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-354/.semver 12:59:07 2023-03-14 12:59:07,380 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-354/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-354, universal_newlines=False, shell=None, istream=None) 12:59:08 2023-03-14 12:59:08,404 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-354/.git/info/exclude 12:59:08 2023-03-14 12:59:08,405 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-354/.semver/PR-354 with force:False 12:59:08 2023-03-14 12:59:08,405 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-354/.semver/PR-354 12:59:08 2023-03-14 12:59:08,409 [execute] INFO git cat-file --batch-check 12:59:08 2023-03-14 12:59:08,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) 12:59:08 2023-03-14 12:59:08,418 [execute] INFO git cat-file --batch 12:59:08 2023-03-14 12:59:08,419 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) 12:59:08 2023-03-14 12:59:08,425 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-354/.semver/PR-354 12:59:08 0.0.0 [Pipeline] } 12:59:08 $ docker exec --env ******** --env ******** 226ecf9f5047311a6cea0d4e3b50a6242baebc6bf95d0c60ec4be2270cc74ebf ssh-agent -k 12:59:08 unset SSH_AUTH_SOCK; 12:59:08 unset SSH_AGENT_PID; 12:59:08 echo Agent pid 77 killed; 12:59:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:59:09 + git semver [Pipeline] } 12:59:09 $ docker stop --time=1 226ecf9f5047311a6cea0d4e3b50a6242baebc6bf95d0c60ec4be2270cc74ebf 12:59:10 $ docker rm -f --volumes 226ecf9f5047311a6cea0d4e3b50a6242baebc6bf95d0c60ec4be2270cc74ebf [Pipeline] // withDockerContainer [Pipeline] sh 12:59:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:59:11 Stashed 1 file(s) [Pipeline] echo 12:59:11 [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 12:59:11 provisioning config files... 12:59:11 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config12134860228631589263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:59:11 ---> docker-login.sh 12:59:11 nexus3.edgexfoundry.org:10001 12:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:11 Configure a credential helper to remove this warning. See 12:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:11 12:59:11 Login Succeeded 12:59:11 nexus3.edgexfoundry.org:10002 12:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:11 Configure a credential helper to remove this warning. See 12:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:11 12:59:11 Login Succeeded 12:59:11 nexus3.edgexfoundry.org:10003 12:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:11 Configure a credential helper to remove this warning. See 12:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:11 12:59:11 Login Succeeded 12:59:11 nexus3.edgexfoundry.org:10004 12:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:11 Configure a credential helper to remove this warning. See 12:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:11 12:59:11 Login Succeeded 12:59:11 docker.io 12:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:12 Configure a credential helper to remove this warning. See 12:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:12 12:59:12 Login Succeeded 12:59:12 ---> docker-login.sh ends [Pipeline] } 12:59:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:59:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:59:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:59:12 ========================================================= 12:59:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:59:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:12 + 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 . 12:59:12 Sending build context to Docker daemon 23.45MB 12:59:12 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:59:12 Step 2/12 : FROM ${BASE} AS builder 12:59:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:59:12 63b65145d645: Pulling fs layer 12:59:12 a2d21d5440eb: Pulling fs layer 12:59:12 935e6c44a52c: Pulling fs layer 12:59:12 94cc34f8dd06: Pulling fs layer 12:59:12 30dea6a524f1: Pulling fs layer 12:59:12 a2aff8979fd8: Pulling fs layer 12:59:12 6808be2612f2: Pulling fs layer 12:59:12 f25807f1079a: Pulling fs layer 12:59:12 30dea6a524f1: Waiting 12:59:12 a2aff8979fd8: Waiting 12:59:12 6808be2612f2: Waiting 12:59:12 f25807f1079a: Waiting 12:59:12 a2d21d5440eb: Verifying Checksum 12:59:12 a2d21d5440eb: Download complete 12:59:12 94cc34f8dd06: Verifying Checksum 12:59:12 94cc34f8dd06: Download complete 12:59:12 30dea6a524f1: Verifying Checksum 12:59:12 30dea6a524f1: Download complete 12:59:12 63b65145d645: Verifying Checksum 12:59:12 63b65145d645: Download complete 12:59:12 a2aff8979fd8: Verifying Checksum 12:59:12 a2aff8979fd8: Download complete 12:59:13 63b65145d645: Pull complete 12:59:13 a2d21d5440eb: Pull complete 12:59:13 f25807f1079a: Verifying Checksum 12:59:13 f25807f1079a: Download complete 12:59:13 935e6c44a52c: Verifying Checksum 12:59:13 935e6c44a52c: Download complete 12:59:13 6808be2612f2: Verifying Checksum 12:59:13 6808be2612f2: Download complete 12:59:17 935e6c44a52c: Pull complete 12:59:17 94cc34f8dd06: Pull complete 12:59:17 30dea6a524f1: Pull complete 12:59:17 a2aff8979fd8: Pull complete 12:59:19 6808be2612f2: Pull complete 12:59:20 f25807f1079a: Pull complete 12:59:20 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 12:59:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:59:20 ---> 3b553350e43f 12:59:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:59:23 ---> Running in b49cd7217525 12:59:23 Removing intermediate container b49cd7217525 12:59:23 ---> 0e7db882ccd9 12:59:23 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:59:23 ---> Running in 6ea9071c3c14 12:59:23 Removing intermediate container 6ea9071c3c14 12:59:23 ---> f4e41770e8c5 12:59:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:59:23 ---> Running in 0044450e6938 12:59:23 Removing intermediate container 0044450e6938 12:59:23 ---> 9c25e266304c 12:59:23 Step 6/12 : WORKDIR /device-virtual-go 12:59:23 ---> Running in a2eca24e4064 12:59:23 Removing intermediate container a2eca24e4064 12:59:23 ---> e4f0b4ff1ba5 12:59:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:59:23 ---> Running in acb3304fdb88 12:59:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:59:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:59:24 (1/4) Installing openssh-keygen (9.1_p1-r2) 12:59:24 (2/4) Installing libedit (20221030.3.1-r0) 12:59:24 (3/4) Installing openssh-client-common (9.1_p1-r2) 12:59:24 (4/4) Installing openssh-client-default (9.1_p1-r2) 12:59:24 Executing busybox-1.35.0-r29.trigger 12:59:24 OK: 269 MiB in 57 packages 12:59:24 Removing intermediate container acb3304fdb88 12:59:24 ---> f0c67789d984 12:59:24 Step 8/12 : COPY go.mod vendor* ./ 12:59:25 ---> 20778b3c9908 12:59:25 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:59:25 ---> Running in 73e0be44ead3 12:59:26 Still waiting to schedule task 12:59:26 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-151’ 12:59:51 Removing intermediate container 73e0be44ead3 12:59:51 ---> 7f1b8eef7370 12:59:51 Step 10/12 : COPY . . 12:59:51 ---> dec40d4fe392 12:59:51 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:59:51 ---> Running in 822fa0b0b6bc 12:59:51 Removing intermediate container 822fa0b0b6bc 12:59:51 ---> d4d6c893cf82 12:59:51 Step 12/12 : RUN $MAKE 12:59:51 ---> Running in 989f05006d80 12:59:51 noop 12:59:51 Removing intermediate container 989f05006d80 12:59:51 ---> 336c6802a83c 12:59:51 Successfully built 336c6802a83c 12:59:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:52 + docker inspect -f . ci-base-image-x86_64 12:59:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:52 prd-ubuntu20.04-docker-8c-8g-152 does not seem to be running inside a container 12:59:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:59:52 $ docker top e41c0d80114d449a89c1b252003e8ea9728cc883c79fde5966e118b354e9bfbb -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:52 + go version 12:59:52 go version go1.20.2 linux/amd64 [Pipeline] } 12:59:52 $ docker stop --time=1 e41c0d80114d449a89c1b252003e8ea9728cc883c79fde5966e118b354e9bfbb 12:59:54 $ docker rm -f --volumes e41c0d80114d449a89c1b252003e8ea9728cc883c79fde5966e118b354e9bfbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:54 + docker inspect -f . ci-base-image-x86_64 12:59:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:54 prd-ubuntu20.04-docker-8c-8g-152 does not seem to be running inside a container 12:59:54 $ 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-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:59:55 $ docker top a713eb6b4a79e07cd259c5a58df90167798b1e839449310389e0f32deeea41bc -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:55 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-354 [Pipeline] fileExists [Pipeline] sh 12:59:55 + make test 12:59:55 go test ./... -coverprofile=coverage.out 13:00:00 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:00:10 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:00:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements 13:00:17 go vet ./... 13:00:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:00:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:00:20 ./bin/test-attribution-txt.sh [Pipeline] echo 13:00:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:00:20 $ docker stop --time=1 a713eb6b4a79e07cd259c5a58df90167798b1e839449310389e0f32deeea41bc 13:00:23 $ docker rm -f --volumes a713eb6b4a79e07cd259c5a58df90167798b1e839449310389e0f32deeea41bc [Pipeline] // withDockerContainer [Pipeline] sh 13:00:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:00:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:00:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:00:24 + ls -al . 13:00:24 total 192 13:00:24 drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 12:59 . 13:00:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 12:58 .. 13:00:24 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 12:59 .git 13:00:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 12:58 .github 13:00:24 -rw-rw-r-- 1 jenkins jenkins 337 Mar 14 12:58 .gitignore 13:00:24 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 12:58 .golangci.yml 13:00:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 12:59 .semver 13:00:24 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 14 12:58 Attribution.txt 13:00:24 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 14 12:58 CHANGELOG.md 13:00:24 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 14 12:58 Dockerfile 13:00:24 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 12:58 GOVERNANCE.md 13:00:24 -rw-rw-r-- 1 jenkins jenkins 660 Mar 14 12:58 Jenkinsfile 13:00:24 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 12:58 LICENSE 13:00:24 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 14 12:58 Makefile 13:00:24 -rw-rw-r-- 1 jenkins jenkins 623 Mar 14 12:58 OWNERS.md 13:00:24 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 14 12:58 README.md 13:00:24 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 12:59 VERSION 13:00:24 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 12:58 bin 13:00:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 12:58 cmd 13:00:24 -rw-r--r-- 1 jenkins jenkins 44127 Mar 14 13:00 coverage.out 13:00:24 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 14 12:58 go.mod 13:00:24 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 14 12:58 go.sum 13:00:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 12:58 internal 13:00:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 12:58 snap 13:00:24 -rw-rw-r-- 1 jenkins jenkins 235 Mar 14 12:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:24 + 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=40bf8f68e3eb42b4b24a12485d9e133e5a71c142 --label arch=amd64 --label version=0.0.0 . 13:00:24 Sending build context to Docker daemon 23.5MB 13:00:24 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 13:00:24 Step 2/25 : FROM ${BASE} AS builder 13:00:24 ---> 336c6802a83c 13:00:24 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:00:25 ---> Running in 31500dc97abd 13:00:25 Removing intermediate container 31500dc97abd 13:00:25 ---> 1c095cabbeff 13:00:25 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 13:00:25 ---> Running in ae51eaa58a87 13:00:25 Removing intermediate container ae51eaa58a87 13:00:25 ---> 7f76b822335a 13:00:25 Step 5/25 : ARG ADD_BUILD_TAGS="" 13:00:25 ---> Running in 596c75743f92 13:00:25 Removing intermediate container 596c75743f92 13:00:25 ---> 7c222f01d19e 13:00:25 Step 6/25 : WORKDIR /device-virtual-go 13:00:25 ---> Running in c3fe62659a26 13:00:25 Removing intermediate container c3fe62659a26 13:00:25 ---> 79c3c50cb2a9 13:00:25 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:00:25 ---> Running in 8ba0d69563ca 13:00:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:00:26 OK: 269 MiB in 57 packages 13:00:26 Removing intermediate container 8ba0d69563ca 13:00:26 ---> 0a9a373b473b 13:00:26 Step 8/25 : COPY go.mod vendor* ./ 13:00:26 ---> 2e87430229ca 13:00:26 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:00:26 ---> Running in 3bfd13a461bc 13:00:27 Removing intermediate container 3bfd13a461bc 13:00:27 ---> 0306bcb5cc49 13:00:27 Step 10/25 : COPY . . 13:00:27 ---> ec53d41aeea7 13:00:27 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:27 ---> Running in 2a7a2eed436d 13:00:27 Removing intermediate container 2a7a2eed436d 13:00:27 ---> 9ecbd894d75c 13:00:27 Step 12/25 : RUN $MAKE 13:00:27 ---> Running in 9d2d644f8a8b 13:00:28 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 13:00:46 Removing intermediate container 9d2d644f8a8b 13:00:46 ---> 2f14a4382b05 13:00:46 Step 13/25 : FROM alpine:3.16 13:00:46 3.16: Pulling from library/alpine 13:00:46 ef5531b6e74e: Pulling fs layer 13:00:46 ef5531b6e74e: Download complete 13:00:46 ef5531b6e74e: Pull complete 13:00:46 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 13:00:46 Status: Downloaded newer image for alpine:3.16 13:00:46 ---> dfd21b5a31f5 13:00:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:00:46 ---> Running in 944c6caaf2e7 13:00:46 Removing intermediate container 944c6caaf2e7 13:00:46 ---> bf2d6bde4285 13:00:46 Step 15/25 : RUN apk add --update --no-cache dumb-init 13:00:46 ---> Running in c8c5e7dcf280 13:00:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:00:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:00:47 (1/1) Installing dumb-init (1.2.5-r1) 13:00:47 Executing busybox-1.35.0-r17.trigger 13:00:47 OK: 6 MiB in 15 packages 13:00:47 Removing intermediate container c8c5e7dcf280 13:00:47 ---> f0d47423847f 13:00:47 Step 16/25 : WORKDIR / 13:00:47 ---> Running in 66905d0fd23f 13:00:47 Removing intermediate container 66905d0fd23f 13:00:47 ---> 7a996a98548a 13:00:47 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:00:47 ---> 431ba17a043a 13:00:47 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 13:00:47 ---> 9eb6c6599e94 13:00:47 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 13:00:48 ---> 5522a59fc38a 13:00:48 Step 20/25 : EXPOSE 59900 13:00:48 ---> Running in 8e8463b1768d 13:00:48 Removing intermediate container 8e8463b1768d 13:00:48 ---> bf924bbcad3a 13:00:48 Step 21/25 : ENTRYPOINT ["/device-virtual"] 13:00:48 ---> Running in 06d55fd0bbc1 13:00:48 Removing intermediate container 06d55fd0bbc1 13:00:48 ---> 2f1e0174338c 13:00:48 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:00:48 ---> Running in b850c4ccb5cc 13:00:48 Removing intermediate container b850c4ccb5cc 13:00:48 ---> 7d2927607cca 13:00:48 Step 23/25 : LABEL arch=amd64 13:00:48 ---> Running in 141663e1e337 13:00:48 Removing intermediate container 141663e1e337 13:00:48 ---> 1356e53b545f 13:00:48 Step 24/25 : LABEL git_sha=40bf8f68e3eb42b4b24a12485d9e133e5a71c142 13:00:48 ---> Running in a5dca45521c5 13:00:48 Removing intermediate container a5dca45521c5 13:00:48 ---> d3d4b64c2376 13:00:48 Step 25/25 : LABEL version=0.0.0 13:00:48 ---> Running in 89c0f6d1063e 13:00:49 Removing intermediate container 89c0f6d1063e 13:00:49 ---> 89c3c497d9d9 13:00:49 [Warning] One or more build-args [ARCH] were not consumed 13:00:49 Successfully built 89c3c497d9d9 13:00:49 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 13:00:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:49 13:00:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:49 latest: Pulling from edgex-lftools-log-publisher 13:00:49 5eb5b503b376: Pulling fs layer 13:00:49 5c69ac0246d0: Pulling fs layer 13:00:49 ec43610c2a17: Pulling fs layer 13:00:49 3a2ae6a8a46f: Pulling fs layer 13:00:49 33b1e0a273af: Pulling fs layer 13:00:49 5d3b04190fa2: Pulling fs layer 13:00:49 2f39f015ded8: Pulling fs layer 13:00:49 3a2ae6a8a46f: Waiting 13:00:49 5d3b04190fa2: Waiting 13:00:49 2f39f015ded8: Waiting 13:00:49 5c69ac0246d0: Verifying Checksum 13:00:49 5c69ac0246d0: Download complete 13:00:49 3a2ae6a8a46f: Verifying Checksum 13:00:49 3a2ae6a8a46f: Download complete 13:00:49 33b1e0a273af: Verifying Checksum 13:00:49 33b1e0a273af: Download complete 13:00:49 ec43610c2a17: Verifying Checksum 13:00:49 ec43610c2a17: Download complete 13:00:49 5eb5b503b376: Download complete 13:00:50 2f39f015ded8: Download complete 13:00:51 5eb5b503b376: Pull complete 13:00:51 5c69ac0246d0: Pull complete 13:00:51 ec43610c2a17: Pull complete 13:00:51 3a2ae6a8a46f: Pull complete 13:00:51 33b1e0a273af: Pull complete 13:00:52 5d3b04190fa2: Pull complete 13:00:56 2f39f015ded8: Pull complete 13:00:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:00:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:56 prd-ubuntu20.04-docker-8c-8g-152 does not seem to be running inside a container 13:00:56 $ 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-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:00:58 $ docker top 2c5b9e125a8c7d817f99d60e37ae6dfff6ca679a871c6c35b26735cbf3501bc9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:00:58 ---> job-cost.sh 13:00:58 lf-activate-venv: SKIPPING 13:00:58 INFO: No Stack... 13:00:59 INFO: Retrieving Pricing Info for: v3-standard-8 13:00:59 INFO: Archiving Costs [Pipeline] sh 13:00:59 + cat /w/workspace/foundry_device-virtual-go_PR-354/archives/cost.csv 13:00:59 + cut -d, -f6 [Pipeline] lock 13:00:59 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-354-2-stack-cost] 13:00:59 Resource [jenkins-edgexfoundry-device-virtual-go-PR-354-2-stack-cost] did not exist. Created. 13:00:59 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-354-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:01:00 + echo total: 0.2199999988079071 [Pipeline] stash 13:01:00 Stashed 1 file(s) [Pipeline] } 13:01:00 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-354-2-stack-cost] [Pipeline] // lock [Pipeline] } 13:01:00 $ docker stop --time=1 2c5b9e125a8c7d817f99d60e37ae6dfff6ca679a871c6c35b26735cbf3501bc9 13:01:01 $ docker rm -f --volumes 2c5b9e125a8c7d817f99d60e37ae6dfff6ca679a871c6c35b26735cbf3501bc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:02:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-153 in /w/workspace/foundry_device-virtual-go_PR-354 [Pipeline] { [Pipeline] ws 13:02:56 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 13:02:56 The recommended git tool is: git 13:03:02 using credential edgex-jenkins-ssh 13:03:02 Cloning the remote Git repository 13:03:02 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:03:02 > git init /w/workspace/device-virtual-go/2 # timeout=10 13:03:03 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:03:03 > git --version # timeout=10 13:03:03 > git --version # 'git version 2.25.1' 13:03:03 using GIT_SSH to set credentials SSH Credentials for GitHub 13:03:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:03:06 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:03:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:03:08 Merging remotes/origin/main commit 3f1e673898a8ef42faca444c63d377d06123e36f into PR head commit 1fa5c9f5e2a7f631fc1e0ca6fd6412945aa5e337 13:03:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:03:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:03:07 using GIT_SSH to set credentials SSH Credentials for GitHub 13:03:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:03:08 > git config core.sparsecheckout # timeout=10 13:03:08 > git checkout -f 1fa5c9f5e2a7f631fc1e0ca6fd6412945aa5e337 # timeout=10 13:03:08 Merge succeeded, producing f5c92b910491bd8bfecaf76a75232d586b2e8683 13:03:08 Checking out Revision f5c92b910491bd8bfecaf76a75232d586b2e8683 (PR-354) 13:03:08 > git remote # timeout=10 13:03:08 > git config --get remote.origin.url # timeout=10 13:03:08 using GIT_SSH to set credentials SSH Credentials for GitHub 13:03:08 > git merge 3f1e673898a8ef42faca444c63d377d06123e36f # timeout=10 13:03:08 > git rev-parse HEAD^{commit} # timeout=10 13:03:08 > git config core.sparsecheckout # timeout=10 13:03:08 > git checkout -f f5c92b910491bd8bfecaf76a75232d586b2e8683 # timeout=10 13:03:12 Commit message: "Merge commit '3f1e673898a8ef42faca444c63d377d06123e36f' into HEAD" 13:03:12 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:03:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:03:13 % Total % Received % Xferd Average Speed Time Time Time Current 13:03:13 Dload Upload Total Spent Left Speed 13:03:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75898 0 --:--:-- --:--:-- --:--:-- 75898 13:03:12 > git rev-list --no-walk b887524ce632dff843b7d552582bcc3fd25c8fc0 # timeout=10 [Pipeline] sh 13:03:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:03:14 + sudo tee /etc/docker/daemon.new 13:03:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:03:14 { 13:03:14 "registry-mirrors": [ 13:03:14 "https://nexus3.edgexfoundry.org:10001" 13:03:14 ], 13:03:14 "bip": "10.250.0.254/24", 13:03:14 "hosts": [ 13:03:14 "tcp://0.0.0.0:5555", 13:03:14 "unix:///var/run/docker.sock" 13:03:14 ], 13:03:14 "mtu": 1458, 13:03:14 "selinux-enabled": true, 13:03:14 "seccomp-profile": "/etc/docker/seccomp.json" 13:03:14 } [Pipeline] sh 13:03:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:03:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:03:33 provisioning config files... 13:03:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config16601862477822584964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:03:33 ---> docker-login.sh 13:03:33 nexus3.edgexfoundry.org:10001 13:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:34 Configure a credential helper to remove this warning. See 13:03:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:34 13:03:34 Login Succeeded 13:03:34 nexus3.edgexfoundry.org:10002 13:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:34 Configure a credential helper to remove this warning. See 13:03:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:34 13:03:34 Login Succeeded 13:03:34 nexus3.edgexfoundry.org:10003 13:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:35 Configure a credential helper to remove this warning. See 13:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:35 13:03:35 Login Succeeded 13:03:35 nexus3.edgexfoundry.org:10004 13:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:35 Configure a credential helper to remove this warning. See 13:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:35 13:03:35 Login Succeeded 13:03:35 docker.io 13:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:36 Configure a credential helper to remove this warning. See 13:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:36 13:03:36 Login Succeeded 13:03:36 ---> docker-login.sh ends [Pipeline] } 13:03:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:03:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:03:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:03:36 ========================================================= 13:03:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:03:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:03:37 Sending build context to Docker daemon 11.9MB 13:03:37 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 13:03:37 Step 2/12 : FROM ${BASE} AS builder 13:03:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:03:37 af6eaf76a39c: Pulling fs layer 13:03:37 55522c791124: Pulling fs layer 13:03:37 ce5c4a1c91eb: Pulling fs layer 13:03:37 169dfbe0d373: Pulling fs layer 13:03:37 e1ff8fa3b103: Pulling fs layer 13:03:37 52ebb69f0ebf: Pulling fs layer 13:03:37 5abe8eddf0d5: Pulling fs layer 13:03:37 e1ff8fa3b103: Waiting 13:03:37 52ebb69f0ebf: Waiting 13:03:37 5abe8eddf0d5: Waiting 13:03:37 55522c791124: Verifying Checksum 13:03:37 55522c791124: Download complete 13:03:37 169dfbe0d373: Verifying Checksum 13:03:37 169dfbe0d373: Download complete 13:03:37 e1ff8fa3b103: Verifying Checksum 13:03:37 e1ff8fa3b103: Download complete 13:03:37 af6eaf76a39c: Download complete 13:03:38 af6eaf76a39c: Pull complete 13:03:39 5abe8eddf0d5: Verifying Checksum 13:03:39 5abe8eddf0d5: Download complete 13:03:39 55522c791124: Pull complete 13:03:40 ce5c4a1c91eb: Verifying Checksum 13:03:40 ce5c4a1c91eb: Download complete 13:03:40 52ebb69f0ebf: Verifying Checksum 13:03:40 52ebb69f0ebf: Download complete 13:03:52 ce5c4a1c91eb: Pull complete 13:03:52 169dfbe0d373: Pull complete 13:03:52 e1ff8fa3b103: Pull complete 13:03:59 52ebb69f0ebf: Pull complete 13:04:01 5abe8eddf0d5: Pull complete 13:04:01 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 13:04:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:04:01 ---> 6cb57ee374ae 13:04:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:04:02 ---> Running in 60d527b85730 13:04:02 Removing intermediate container 60d527b85730 13:04:02 ---> 655171020fe2 13:04:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:04:02 ---> Running in f4abef5d2686 13:04:03 Removing intermediate container f4abef5d2686 13:04:03 ---> eed96041f4b0 13:04:03 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:04:03 ---> Running in 367ce7fcc536 13:04:03 Removing intermediate container 367ce7fcc536 13:04:03 ---> 4973517ee9ac 13:04:03 Step 6/12 : WORKDIR /device-virtual-go 13:04:03 ---> Running in 5598f8fd0ce7 13:04:03 Removing intermediate container 5598f8fd0ce7 13:04:03 ---> 7dd580542eb9 13:04:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:04:04 ---> Running in 90bd66652aee 13:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:04:07 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:04:07 (2/4) Installing libedit (20221030.3.1-r0) 13:04:07 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:04:07 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:04:07 Executing busybox-1.35.0-r29.trigger 13:04:07 OK: 268 MiB in 57 packages 13:04:10 Removing intermediate container 90bd66652aee 13:04:10 ---> 2d0ad71d76f7 13:04:10 Step 8/12 : COPY go.mod vendor* ./ 13:04:10 ---> 0f981d3e8e46 13:04:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:04:10 ---> Running in 9316f08196c8 13:05:18 Removing intermediate container 9316f08196c8 13:05:18 ---> 925cd6bb7a92 13:05:18 Step 10/12 : COPY . . 13:05:18 ---> 5e91e0895586 13:05:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:05:18 ---> Running in 9b23305eaee3 13:05:18 Removing intermediate container 9b23305eaee3 13:05:18 ---> 38b8c50c0a4e 13:05:18 Step 12/12 : RUN $MAKE 13:05:18 ---> Running in 136fb092351b 13:05:18 noop 13:05:18 Removing intermediate container 136fb092351b 13:05:18 ---> 7797f0cc2c12 13:05:18 Successfully built 7797f0cc2c12 13:05:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:19 + docker inspect -f . ci-base-image-arm64 13:05:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:05:19 prd-ubuntu20.04-docker-arm64-4c-16g-153 does not seem to be running inside a container 13:05:19 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:05:20 $ docker top 9c493afc31bcb9a31222afed6d25a992f33452812faf50ddccadde96ff0db6ec -eo pid,comm [Pipeline] { [Pipeline] sh 13:05:21 + go version 13:05:21 go version go1.20.2 linux/arm64 [Pipeline] } 13:05:21 $ docker stop --time=1 9c493afc31bcb9a31222afed6d25a992f33452812faf50ddccadde96ff0db6ec 13:05:23 $ docker rm -f --volumes 9c493afc31bcb9a31222afed6d25a992f33452812faf50ddccadde96ff0db6ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:23 + docker inspect -f . ci-base-image-arm64 13:05:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:05:23 prd-ubuntu20.04-docker-arm64-4c-16g-153 does not seem to be running inside a container 13:05:23 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:05:25 $ docker top 6ba35e118ec2a062011f1c67a60e807f3c3a5c691857a802325c5965e499445a -eo pid,comm [Pipeline] { [Pipeline] sh 13:05:26 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 13:05:26 + make test 13:05:26 go test ./... -coverprofile=coverage.out 13:05:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:08:05 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:08:05 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.153s coverage: 65.7% of statements 13:08:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:08:05 go vet ./... 13:08:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:08:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:08:44 ./bin/test-attribution-txt.sh [Pipeline] echo 13:08:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:08:44 $ docker stop --time=1 6ba35e118ec2a062011f1c67a60e807f3c3a5c691857a802325c5965e499445a 13:08:46 $ docker rm -f --volumes 6ba35e118ec2a062011f1c67a60e807f3c3a5c691857a802325c5965e499445a [Pipeline] // withDockerContainer [Pipeline] sh 13:08:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:08:47 Warning: overwriting stash ‘coverage-report’ 13:08:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:08:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:08:48 + ls -al . 13:08:48 total 188 13:08:48 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 13:05 . 13:08:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 13:03 .. 13:08:48 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 13:03 .git 13:08:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 13:03 .github 13:08:48 -rw-rw-r-- 1 jenkins jenkins 337 Mar 14 13:03 .gitignore 13:08:48 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 13:03 .golangci.yml 13:08:48 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 14 13:03 Attribution.txt 13:08:48 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 14 13:03 CHANGELOG.md 13:08:48 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 14 13:03 Dockerfile 13:08:48 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 13:03 GOVERNANCE.md 13:08:48 -rw-rw-r-- 1 jenkins jenkins 660 Mar 14 13:03 Jenkinsfile 13:08:48 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 13:03 LICENSE 13:08:48 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 14 13:03 Makefile 13:08:48 -rw-rw-r-- 1 jenkins jenkins 623 Mar 14 13:03 OWNERS.md 13:08:48 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 14 13:03 README.md 13:08:48 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 12:59 VERSION 13:08:48 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 13:03 bin 13:08:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 13:03 cmd 13:08:48 -rw-r--r-- 1 jenkins jenkins 44127 Mar 14 13:08 coverage.out 13:08:48 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 14 13:03 go.mod 13:08:48 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 14 13:03 go.sum 13:08:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 13:03 internal 13:08:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 13:03 snap 13:08:48 -rw-rw-r-- 1 jenkins jenkins 235 Mar 14 13:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:49 + 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=f5c92b910491bd8bfecaf76a75232d586b2e8683 --label arch=arm64 --label version=0.0.0 . 13:08:49 Sending build context to Docker daemon 11.95MB 13:08:49 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 13:08:49 Step 2/25 : FROM ${BASE} AS builder 13:08:49 ---> 7797f0cc2c12 13:08:49 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:08:49 ---> Running in 7b4a5cdaa79b 13:08:50 Removing intermediate container 7b4a5cdaa79b 13:08:50 ---> 90e6de3c11a4 13:08:50 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 13:08:50 ---> Running in dd62c582a82e 13:08:50 Removing intermediate container dd62c582a82e 13:08:50 ---> 758564643024 13:08:50 Step 5/25 : ARG ADD_BUILD_TAGS="" 13:08:50 ---> Running in 9c7c65cefe98 13:08:50 Removing intermediate container 9c7c65cefe98 13:08:50 ---> a86b82cc75c1 13:08:50 Step 6/25 : WORKDIR /device-virtual-go 13:08:50 ---> Running in 92ca962e1963 13:08:51 Removing intermediate container 92ca962e1963 13:08:51 ---> 332c16423dbd 13:08:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:08:51 ---> Running in b88f3dc44abf 13:08:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:08:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:08:54 OK: 268 MiB in 57 packages 13:08:55 Removing intermediate container b88f3dc44abf 13:08:55 ---> 6def600d5701 13:08:55 Step 8/25 : COPY go.mod vendor* ./ 13:08:55 ---> 2ed6f2bfc00f 13:08:55 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:08:55 ---> Running in 1aa177b65cb3 13:08:59 Removing intermediate container 1aa177b65cb3 13:08:59 ---> d603a80d6080 13:08:59 Step 10/25 : COPY . . 13:09:00 ---> 2c5cde08fc0b 13:09:00 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:09:00 ---> Running in cb6799da2669 13:09:00 Removing intermediate container cb6799da2669 13:09:00 ---> ea3de45fd0a2 13:09:00 Step 12/25 : RUN $MAKE 13:09:00 ---> Running in b0ed7f059762 13:09:01 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 13:11:23 Removing intermediate container b0ed7f059762 13:11:23 ---> 4a53772e9174 13:11:23 Step 13/25 : FROM alpine:3.16 13:11:23 3.16: Pulling from library/alpine 13:11:23 3760b48202b3: Pulling fs layer 13:11:23 3760b48202b3: Verifying Checksum 13:11:23 3760b48202b3: Download complete 13:11:23 3760b48202b3: Pull complete 13:11:23 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 13:11:23 Status: Downloaded newer image for alpine:3.16 13:11:23 ---> 4c81e5bf8899 13:11:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:11:23 ---> Running in d868d6bb1f46 13:11:23 Removing intermediate container d868d6bb1f46 13:11:23 ---> 510fa222ed4c 13:11:23 Step 15/25 : RUN apk add --update --no-cache dumb-init 13:11:23 ---> Running in 38aa3ee8730f 13:11:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:11:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:11:23 (1/1) Installing dumb-init (1.2.5-r1) 13:11:23 Executing busybox-1.35.0-r17.trigger 13:11:23 OK: 5 MiB in 15 packages 13:11:23 Removing intermediate container 38aa3ee8730f 13:11:23 ---> 1af8d5a6ecf7 13:11:23 Step 16/25 : WORKDIR / 13:11:23 ---> Running in fb35c87ace45 13:11:23 Removing intermediate container fb35c87ace45 13:11:23 ---> e3173ed8837f 13:11:23 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:11:23 ---> 67d3924097b1 13:11:23 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 13:11:23 ---> 2f4b6e84d44a 13:11:23 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 13:11:23 ---> 3cedd64d4877 13:11:23 Step 20/25 : EXPOSE 59900 13:11:23 ---> Running in b3bf8aa9fecb 13:11:23 Removing intermediate container b3bf8aa9fecb 13:11:23 ---> 5b5b505157ba 13:11:23 Step 21/25 : ENTRYPOINT ["/device-virtual"] 13:11:23 ---> Running in 248a7d6bc780 13:11:23 Removing intermediate container 248a7d6bc780 13:11:23 ---> 4ad0bb286e1c 13:11:23 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:11:23 ---> Running in d0f89477e9b4 13:11:23 Removing intermediate container d0f89477e9b4 13:11:23 ---> 39fa31188eee 13:11:23 Step 23/25 : LABEL arch=arm64 13:11:23 ---> Running in 0c9033f97075 13:11:23 Removing intermediate container 0c9033f97075 13:11:23 ---> a3d46f997971 13:11:23 Step 24/25 : LABEL git_sha=f5c92b910491bd8bfecaf76a75232d586b2e8683 13:11:23 ---> Running in e551d05d7426 13:11:23 Removing intermediate container e551d05d7426 13:11:23 ---> a25a52ac1288 13:11:23 Step 25/25 : LABEL version=0.0.0 13:11:23 ---> Running in 17f5e20148cf 13:11:23 Removing intermediate container 17f5e20148cf 13:11:23 ---> b7afb48aa270 13:11:23 [Warning] One or more build-args [ARCH] were not consumed 13:11:23 Successfully built b7afb48aa270 13:11:23 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 13:11:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:11:23 13:11:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:11:24 arm64: Pulling from edgex-lftools-log-publisher 13:11:24 8998bd30e6a1: Pulling fs layer 13:11:24 04944245beec: Pulling fs layer 13:11:24 699f458cf7ca: Pulling fs layer 13:11:24 765212b225bb: Pulling fs layer 13:11:24 f23df028b6ca: Pulling fs layer 13:11:24 d65c8cfc05b1: Pulling fs layer 13:11:24 2437ff75d9bd: Pulling fs layer 13:11:24 d65c8cfc05b1: Waiting 13:11:24 2437ff75d9bd: Waiting 13:11:24 765212b225bb: Waiting 13:11:24 f23df028b6ca: Waiting 13:11:24 04944245beec: Verifying Checksum 13:11:24 04944245beec: Download complete 13:11:24 765212b225bb: Verifying Checksum 13:11:24 765212b225bb: Download complete 13:11:24 f23df028b6ca: Verifying Checksum 13:11:24 f23df028b6ca: Download complete 13:11:24 d65c8cfc05b1: Verifying Checksum 13:11:24 d65c8cfc05b1: Download complete 13:11:24 699f458cf7ca: Verifying Checksum 13:11:24 699f458cf7ca: Download complete 13:11:25 8998bd30e6a1: Verifying Checksum 13:11:25 8998bd30e6a1: Download complete 13:11:27 2437ff75d9bd: Verifying Checksum 13:11:27 2437ff75d9bd: Download complete 13:11:29 8998bd30e6a1: Pull complete 13:11:29 04944245beec: Pull complete 13:11:31 699f458cf7ca: Pull complete 13:11:31 765212b225bb: Pull complete 13:11:32 f23df028b6ca: Pull complete 13:11:32 d65c8cfc05b1: Pull complete 13:11:47 2437ff75d9bd: Pull complete 13:11:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:11:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:11:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:47 prd-ubuntu20.04-docker-arm64-4c-16g-153 does not seem to be running inside a container 13:11:47 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:11:51 $ docker top 7d853b395b3f5f47ab36b8b663de322b8a11ae73d1e168ae802065c3e406ee9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:11:52 ---> job-cost.sh 13:11:52 lf-activate-venv: SKIPPING 13:11:52 INFO: No Stack... 13:11:52 INFO: Retrieving Pricing Info for: v3-standard-4 13:11:53 INFO: Archiving Costs [Pipeline] sh 13:11:53 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 13:11:53 + cut -d, -f6 [Pipeline] lock 13:11:53 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-354-2-stack-cost] 13:11:53 Resource [jenkins-edgexfoundry-device-virtual-go-PR-354-2-stack-cost] did not exist. Created. 13:11:53 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-354-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:11:54 /w/workspace/device-virtual-go/2@tmp/durable-ce0bba9f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:11:55 + echo total: 0.10999999940395355 [Pipeline] stash 13:11:55 Warning: overwriting stash ‘stack-cost’ 13:11:55 Stashed 1 file(s) [Pipeline] } 13:11:55 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-354-2-stack-cost] [Pipeline] // lock [Pipeline] } 13:11:55 $ docker stop --time=1 7d853b395b3f5f47ab36b8b663de322b8a11ae73d1e168ae802065c3e406ee9c 13:11:56 $ docker rm -f --volumes 7d853b395b3f5f47ab36b8b663de322b8a11ae73d1e168ae802065c3e406ee9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:11:57 provisioning config files... 13:11:57 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config8239173137039848201tmp [Pipeline] { [Pipeline] sh 13:11:57 + set +x 13:11:57 + curl -s https://codecov.io/bash 13:11:57 + bash -s -- 13:11:57 13:11:57 _____ _ 13:11:57 / ____| | | 13:11:57 | | ___ __| | ___ ___ _____ __ 13:11:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:11:57 | |___| (_) | (_| | __/ (_| (_) \ V / 13:11:57 \_____\___/ \__,_|\___|\___\___/ \_/ 13:11:57 Bash-1.0.6 13:11:57 13:11:57 13:11:57 ==> git version 2.25.1 found 13:11:57 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:11:57 Release-Date: 2020-01-08 13:11:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:11:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:11:57 ==> Jenkins CI detected. 13:11:57 current dir:  /w/workspace/foundry_device-virtual-go_PR-354 13:11:57 project root: . 13:11:57 --> token set from env 13:11:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:11:57 ==> Running gcov in . (disable via -X gcov) 13:11:57 ==> Python coveragepy not found 13:11:57 ==> Searching for coverage reports in: 13:11:57 + . 13:11:57 -> Found 1 reports 13:11:57 ==> Detecting git/mercurial file structure 13:11:57 ==> Reading reports 13:11:57 + ./coverage.out bytes=44127 13:11:57 ==> Appending adjustments 13:11:57 https://docs.codecov.io/docs/fixing-reports 13:11:57 + Found adjustments 13:11:57 ==> Gzipping contents 13:11:57 8.0K /tmp/codecov.018cgU.gz 13:11:57 ==> Uploading reports 13:11:57 url: https://codecov.io 13:11:57 query: branch=PR-354&commit=40bf8f68e3eb42b4b24a12485d9e133e5a71c142&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-354%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=354&job=&cmd_args= 13:11:57 -> Pinging Codecov 13:11:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-354&commit=40bf8f68e3eb42b4b24a12485d9e133e5a71c142&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-354%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=354&job=&cmd_args= 13:11:58 -> Uploading to 13:11:58 https://storage.googleapis.com/codecov/v4/raw/2023-03-14/5E52B4B073DB2E39498172D8E973AA87/40bf8f68e3eb42b4b24a12485d9e133e5a71c142/8f0f3517-dcf3-48b2-a2fc-f3641100591d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T131157Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=269120072a871e1b756b12f3f498b4ee508cd01874cb6092af7127a12d33e24a 13:11:58 % Total % Received % Xferd Average Speed Time Time Time Current 13:11:58 Dload Upload Total Spent Left Speed 13:11:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5418 0 0 100 5418 0 21164 --:--:-- --:--:-- --:--:-- 21164 13:11:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/40bf8f68e3eb42b4b24a12485d9e133e5a71c142 [Pipeline] } 13:11:58 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 13:11:59 + [ -d /w/workspace/foundry_device-virtual-go_PR-354/archives ] 13:11:59 + ls -al /w/workspace/foundry_device-virtual-go_PR-354/archives 13:11:59 total 16 13:11:59 drwxr-xr-x 3 root root 4096 Mar 14 13:00 . 13:11:59 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 13:00 .. 13:11:59 drwxr-xr-x 2 root root 4096 Mar 14 13:00 cost 13:11:59 -rw-r--r-- 1 root root 89 Mar 14 13:00 cost.csv 13:11:59 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-354/archives 13:11:59 + ls -al /w/workspace/foundry_device-virtual-go_PR-354/archives 13:11:59 total 16 13:11:59 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 13:00 . 13:11:59 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 13:00 .. 13:11:59 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 13:00 cost 13:11:59 -rw-r--r-- 1 jenkins jenkins 89 Mar 14 13:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:11:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:12:00 ---> package-listing.sh 13:12:00 ++ facter osfamily 13:12:00 ++ tr '[:upper:]' '[:lower:]' 13:12:00 + OS_FAMILY=debian 13:12:00 + workspace=/w/workspace/foundry_device-virtual-go_PR-354 13:12:00 + START_PACKAGES=/tmp/packages_start.txt 13:12:00 + END_PACKAGES=/tmp/packages_end.txt 13:12:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:12:00 + PACKAGES=/tmp/packages_start.txt 13:12:00 + '[' /w/workspace/foundry_device-virtual-go_PR-354 ']' 13:12:00 + PACKAGES=/tmp/packages_end.txt 13:12:00 + case "${OS_FAMILY}" in 13:12:00 + dpkg -l 13:12:00 + grep '^ii' 13:12:00 + '[' -f /tmp/packages_start.txt ']' 13:12:00 + '[' -f /tmp/packages_end.txt ']' 13:12:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:12:00 + '[' /w/workspace/foundry_device-virtual-go_PR-354 ']' 13:12:00 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-354/archives/ 13:12:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-354/archives/ [Pipeline] echo 13:12:00 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-354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:12:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:12:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:01 prd-ubuntu20.04-docker-8c-8g-152 does not seem to be running inside a container 13:12:01 $ 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-354/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-354 -v /w/workspace/foundry_device-virtual-go_PR-354:/w/workspace/foundry_device-virtual-go_PR-354:rw,z -v /w/workspace/foundry_device-virtual-go_PR-354@tmp:/w/workspace/foundry_device-virtual-go_PR-354@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:12:01 $ docker top b3d92691d9a282b04d57f1f3898366a80c581ce56e907cf399f86f340703eba0 -eo pid,comm [Pipeline] { [Pipeline] sh 13:12:01 + touch /tmp/pre-build-complete [Pipeline] sh 13:12:02 + mkdir -p /var/log/sysstat [Pipeline] sh 13:12:02 + ls /var/log/sa-host 13:12:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:12:02 provisioning config files... 13:12:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-354@tmp/config6788106143727322149tmp [Pipeline] { [Pipeline] echo 13:12:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:12:02 ---> create-netrc.sh [Pipeline] } 13:12:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:12:03 ---> python-tools-install.sh [Pipeline] echo 13:12:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:12:03 ---> sudo-logs.sh 13:12:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:12:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:12:03 ---> job-cost.sh 13:12:03 lf-activate-venv: SKIPPING 13:12:03 DEBUG: total: 0.2199999988079071 13:12:03 INFO: Retrieving Stack Cost... 13:12:04 INFO: Retrieving Pricing Info for: v3-standard-8 13:12:05 INFO: Archiving Costs [Pipeline] echo 13:12:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:12:05 ---> logs-deploy.sh 13:12:05 lf-activate-venv: SKIPPING 13:12:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-354/2 13:12:05 INFO: archiving workspace using pattern(s): 13:12:06 Archives upload complete. 13:12:06 INFO: archiving logs to Nexus