Pull request #441 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fd5f43065fd884b86ebe93def479447b9da4d0b8+a824126fc7aa73da39901a16544d301861d29328 (b3ab5e43cbab8700a5da45590dafcbe102d8a674) 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-ssh3545502014515156126.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh323316863153391312.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-441/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-441/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16251649107012358114.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-441/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4572710833092377746.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh16803951971228514512.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-441/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-441/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1931625900519739357.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9979’ Running on prd-ubuntu20.04-docker-8c-8g-9991 in /w/workspace/foundry_device-virtual-go_PR-441 [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-441 # 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/441/head:refs/remotes/origin/PR-441 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a824126fc7aa73da39901a16544d301861d29328 into PR head commit fd5f43065fd884b86ebe93def479447b9da4d0b8 Merge succeeded, producing fd5f43065fd884b86ebe93def479447b9da4d0b8 Checking out Revision fd5f43065fd884b86ebe93def479447b9da4d0b8 (PR-441) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f fd5f43065fd884b86ebe93def479447b9da4d0b8 # 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 a824126fc7aa73da39901a16544d301861d29328 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd5f43065fd884b86ebe93def479447b9da4d0b8 # timeout=10 [Pipeline] timeout 18:10:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:10:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:10:38 ========================================================= 18:10:38 EdgeX Global Pipelines Version Info 18:10:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:10:38 ------------------- 18:10:38 stable info: 18:10:38 ------------------- 18:10:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:10:38 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:10:38 Message: update stable to v1.0.254 18:10:39 ------------------- 18:10:39 experimental info: 18:10:39 ------------------- 18:10:39 Commited By: **** collab-it+edgex@linuxfoundation.org 18:10:39 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:10:39 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:10:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 18:10:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 18:10:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:10:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:10:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:10:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-441 [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-441 [Pipeline] echo 18:10:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-441 [Pipeline] echo 18:10:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd5f43065fd884b86ebe93def479447b9da4d0b8 [Pipeline] echo 18:10:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd5f430 [Pipeline] echo 18:10:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:10:41 provisioning config files... 18:10:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-441@tmp/config4055680076144061841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:10:43 ---> docker-login.sh 18:10:43 nexus3.edgexfoundry.org:10001 18:10:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:43 Configure a credential helper to remove this warning. See 18:10:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:43 18:10:43 Login Succeeded 18:10:43 nexus3.edgexfoundry.org:10002 18:10:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:44 Configure a credential helper to remove this warning. See 18:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:44 18:10:44 Login Succeeded 18:10:44 nexus3.edgexfoundry.org:10003 18:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:44 Configure a credential helper to remove this warning. See 18:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:44 18:10:44 Login Succeeded 18:10:44 nexus3.edgexfoundry.org:10004 18:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:44 Configure a credential helper to remove this warning. See 18:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:44 18:10:44 Login Succeeded 18:10:44 docker.io 18:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:44 Configure a credential helper to remove this warning. See 18:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:44 18:10:44 Login Succeeded 18:10:44 ---> docker-login.sh ends [Pipeline] } 18:10:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:10:45 + git rev-list -1 --merges fd5f43065fd884b86ebe93def479447b9da4d0b8~1..fd5f43065fd884b86ebe93def479447b9da4d0b8 [Pipeline] echo 18:10:45 -----------> git rev-list -1 --merges fd5f43065fd884b86ebe93def479447b9da4d0b8~1..fd5f43065fd884b86ebe93def479447b9da4d0b8 fd5f43065fd884b86ebe93def479447b9da4d0b8 [false] [Pipeline] sh 18:10:45 + git log --format=format:%s -1 fd5f43065fd884b86ebe93def479447b9da4d0b8 [Pipeline] echo 18:10:45 ========================================================= 18:10:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:10:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:10:46 + git log --format=format:%s -1 fd5f43065fd884b86ebe93def479447b9da4d0b8 [Pipeline] echo 18:10:46 [semverPrep] GIT_COMMIT: fd5f43065fd884b86ebe93def479447b9da4d0b8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:10:46 [semverPrep] This is not a build commit. [Pipeline] sh 18:10:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:10:46 + grep -v github /etc/ssh/ssh_known_hosts 18:10:46 + [ -e /tmp/ssh_known_hosts ] 18:10:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:10:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:10:46 + sudo tee -a /etc/ssh/ssh_known_hosts 18:10:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:10:47 18:10:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:10:47 0.1.4: Pulling from edgex-devops/py-git-semver 18:10:47 b85a868b505f: Pulling fs layer 18:10:47 e2be974225ed: Pulling fs layer 18:10:47 339a4e72a1f5: Pulling fs layer 18:10:47 988bab9f4d93: Pulling fs layer 18:10:47 1469e6f7b9e6: Pulling fs layer 18:10:47 eaf3925da568: Pulling fs layer 18:10:47 bab4dde63d76: Pulling fs layer 18:10:47 bde34c3a00c8: Pulling fs layer 18:10:47 b352a97aabf1: Pulling fs layer 18:10:47 4872d77fe225: Pulling fs layer 18:10:47 5851b861e8e6: Pulling fs layer 18:10:47 b352a97aabf1: Waiting 18:10:47 bab4dde63d76: Waiting 18:10:47 1469e6f7b9e6: Waiting 18:10:47 988bab9f4d93: Waiting 18:10:47 4872d77fe225: Waiting 18:10:47 eaf3925da568: Waiting 18:10:47 bde34c3a00c8: Waiting 18:10:47 e2be974225ed: Download complete 18:10:47 988bab9f4d93: Verifying Checksum 18:10:47 988bab9f4d93: Download complete 18:10:47 1469e6f7b9e6: Verifying Checksum 18:10:47 1469e6f7b9e6: Download complete 18:10:47 eaf3925da568: Verifying Checksum 18:10:47 eaf3925da568: Download complete 18:10:47 339a4e72a1f5: Verifying Checksum 18:10:47 339a4e72a1f5: Download complete 18:10:47 bde34c3a00c8: Verifying Checksum 18:10:47 bde34c3a00c8: Download complete 18:10:47 b352a97aabf1: Verifying Checksum 18:10:47 4872d77fe225: Download complete 18:10:47 5851b861e8e6: Download complete 18:10:47 b85a868b505f: Verifying Checksum 18:10:47 b85a868b505f: Download complete 18:10:48 bab4dde63d76: Verifying Checksum 18:10:48 bab4dde63d76: Download complete 18:10:49 b85a868b505f: Pull complete 18:10:49 e2be974225ed: Pull complete 18:10:49 339a4e72a1f5: Pull complete 18:10:49 988bab9f4d93: Pull complete 18:10:50 1469e6f7b9e6: Pull complete 18:10:50 eaf3925da568: Pull complete 18:10:52 bab4dde63d76: Pull complete 18:10:52 bde34c3a00c8: Pull complete 18:10:52 b352a97aabf1: Pull complete 18:10:52 4872d77fe225: Pull complete 18:10:52 5851b861e8e6: Pull complete 18:10:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:10:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:10:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:10:52 prd-ubuntu20.04-docker-8c-8g-9991 does not seem to be running inside a container 18:10:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-441 -v /w/workspace/foundry_device-virtual-go_PR-441:/w/workspace/foundry_device-virtual-go_PR-441:rw,z -v /w/workspace/foundry_device-virtual-go_PR-441@tmp:/w/workspace/foundry_device-virtual-go_PR-441@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:10:55 $ docker top 579c6f277f142b6737022cc069e62502436f65563bf302cd328071e54b1c6aa2 -eo pid,comm 18:10:55 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). 18:10:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:10:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:10:55 [ssh-agent] Looking for ssh-agent implementation... 18:10:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:10:55 $ docker exec 579c6f277f142b6737022cc069e62502436f65563bf302cd328071e54b1c6aa2 ssh-agent 18:10:56 SSH_AUTH_SOCK=/tmp/ssh-SHzOgY1FweN0/agent.34 18:10:56 SSH_AGENT_PID=40 18:10:56 Running ssh-add (command line suppressed) 18:10:56 Identity added: /w/workspace/foundry_device-virtual-go_PR-441@tmp/private_key_12082316445397928284.key (/w/workspace/foundry_device-virtual-go_PR-441@tmp/private_key_12082316445397928284.key) 18:10:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:10:56 + git tag --points-at HEAD [Pipeline] } 18:10:56 $ docker exec --env ******** --env ******** 579c6f277f142b6737022cc069e62502436f65563bf302cd328071e54b1c6aa2 ssh-agent -k 18:10:56 unset SSH_AUTH_SOCK; 18:10:56 unset SSH_AGENT_PID; 18:10:56 echo Agent pid 40 killed; 18:10:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:10:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:10:56 [ssh-agent] Looking for ssh-agent implementation... 18:10:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:10:56 $ docker exec 579c6f277f142b6737022cc069e62502436f65563bf302cd328071e54b1c6aa2 ssh-agent 18:10:56 SSH_AUTH_SOCK=/tmp/ssh-GRTna0XU04sC/agent.72 18:10:56 SSH_AGENT_PID=78 18:10:56 Running ssh-add (command line suppressed) 18:10:57 Identity added: /w/workspace/foundry_device-virtual-go_PR-441@tmp/private_key_13822065286853723825.key (/w/workspace/foundry_device-virtual-go_PR-441@tmp/private_key_13822065286853723825.key) 18:10:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:10:57 + git semver init 18:10:57 2023-10-24 18:10:57,574 [run_init] DEBUG init version:0.0.0 force:False 18:10:57 2023-10-24 18:10:57,575 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-441/.semver 18:10:57 2023-10-24 18:10:57,575 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-441/.semver 18:10:57 2023-10-24 18:10:57,575 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-441/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-441, universal_newlines=False, shell=None, istream=None) 18:10:59 2023-10-24 18:10:58,746 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-441/.git/info/exclude 18:10:59 2023-10-24 18:10:58,747 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-441/.semver/PR-441 with force:False 18:10:59 2023-10-24 18:10:58,747 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-441/.semver/PR-441 18:10:59 2023-10-24 18:10:58,751 [execute] INFO git cat-file --batch-check 18:10:59 2023-10-24 18:10:58,752 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-441/.semver, universal_newlines=False, shell=None, istream=) 18:10:59 2023-10-24 18:10:58,758 [execute] INFO git cat-file --batch 18:10:59 2023-10-24 18:10:58,758 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-441/.semver, universal_newlines=False, shell=None, istream=) 18:10:59 2023-10-24 18:10:58,763 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-441/.semver/PR-441 18:10:59 0.0.0 [Pipeline] } 18:10:59 $ docker exec --env ******** --env ******** 579c6f277f142b6737022cc069e62502436f65563bf302cd328071e54b1c6aa2 ssh-agent -k 18:10:59 unset SSH_AUTH_SOCK; 18:10:59 unset SSH_AGENT_PID; 18:10:59 echo Agent pid 78 killed; 18:10:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:10:59 + git semver [Pipeline] } 18:10:59 $ docker stop --time=1 579c6f277f142b6737022cc069e62502436f65563bf302cd328071e54b1c6aa2 18:11:01 $ docker rm -f --volumes 579c6f277f142b6737022cc069e62502436f65563bf302cd328071e54b1c6aa2 [Pipeline] // withDockerContainer [Pipeline] sh 18:11:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:11:02 Stashed 1 file(s) [Pipeline] echo 18:11:02 [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 18:11:02 provisioning config files... 18:11:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-441@tmp/config7667533717799719785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:03 ---> docker-login.sh 18:11:03 nexus3.edgexfoundry.org:10001 18:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:03 Configure a credential helper to remove this warning. See 18:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:03 18:11:03 Login Succeeded 18:11:03 nexus3.edgexfoundry.org:10002 18:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:03 Configure a credential helper to remove this warning. See 18:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:03 18:11:03 Login Succeeded 18:11:03 nexus3.edgexfoundry.org:10003 18:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:03 Configure a credential helper to remove this warning. See 18:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:03 18:11:03 Login Succeeded 18:11:03 nexus3.edgexfoundry.org:10004 18:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:03 Configure a credential helper to remove this warning. See 18:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:03 18:11:03 Login Succeeded 18:11:03 docker.io 18:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:11:03 Configure a credential helper to remove this warning. See 18:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:11:03 18:11:03 Login Succeeded 18:11:03 ---> docker-login.sh ends [Pipeline] } 18:11:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:11:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:11:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:11:03 ========================================================= 18:11:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:11:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:11:04 Sending build context to Docker daemon 23.68MB 18:11:04 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:11:04 Step 2/12 : FROM ${BASE} AS builder 18:11:04 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:11:04 7264a8db6415: Pulling fs layer 18:11:04 c4d48a809fc2: Pulling fs layer 18:11:04 4f1c88b9dad5: Pulling fs layer 18:11:04 ad3a456e5733: Pulling fs layer 18:11:04 33e27b845d1e: Pulling fs layer 18:11:04 c68163c4e522: Pulling fs layer 18:11:04 50da416c3ac9: Pulling fs layer 18:11:04 23d2d4c4bb30: Pulling fs layer 18:11:04 33e27b845d1e: Waiting 18:11:04 ad3a456e5733: Waiting 18:11:04 50da416c3ac9: Waiting 18:11:04 23d2d4c4bb30: Waiting 18:11:04 c4d48a809fc2: Verifying Checksum 18:11:04 c4d48a809fc2: Download complete 18:11:04 ad3a456e5733: Verifying Checksum 18:11:04 ad3a456e5733: Download complete 18:11:04 33e27b845d1e: Download complete 18:11:04 7264a8db6415: Verifying Checksum 18:11:04 7264a8db6415: Download complete 18:11:04 c68163c4e522: Verifying Checksum 18:11:04 c68163c4e522: Download complete 18:11:04 7264a8db6415: Pull complete 18:11:04 23d2d4c4bb30: Verifying Checksum 18:11:04 23d2d4c4bb30: Download complete 18:11:04 c4d48a809fc2: Pull complete 18:11:05 4f1c88b9dad5: Verifying Checksum 18:11:05 4f1c88b9dad5: Download complete 18:11:05 50da416c3ac9: Verifying Checksum 18:11:05 50da416c3ac9: Download complete 18:11:07 4f1c88b9dad5: Pull complete 18:11:07 ad3a456e5733: Pull complete 18:11:08 33e27b845d1e: Pull complete 18:11:08 c68163c4e522: Pull complete 18:11:10 50da416c3ac9: Pull complete 18:11:10 23d2d4c4bb30: Pull complete 18:11:10 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 18:11:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:11:10 ---> 0786185ac409 18:11:10 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:11:16 ---> Running in e9964be302df 18:11:16 Removing intermediate container e9964be302df 18:11:16 ---> 9deb80723744 18:11:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:11:16 ---> Running in 09efae4236d6 18:11:16 Removing intermediate container 09efae4236d6 18:11:16 ---> 3fb5d8c873d7 18:11:16 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:11:16 ---> Running in 1023e4edf8ec 18:11:16 Removing intermediate container 1023e4edf8ec 18:11:16 ---> d3df09717350 18:11:16 Step 6/12 : WORKDIR /device-virtual-go 18:11:16 ---> Running in faf2e4306ac2 18:11:16 Removing intermediate container faf2e4306ac2 18:11:16 ---> bd49c1f9d17d 18:11:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:11:16 ---> Running in 40b86f09f044 18:11:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:11:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:11:16 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:11:16 (2/4) Installing libedit (20221030.3.1-r1) 18:11:16 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:11:16 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:11:16 Executing busybox-1.36.1-r2.trigger 18:11:16 OK: 268 MiB in 56 packages 18:11:16 Removing intermediate container 40b86f09f044 18:11:16 ---> 94671029328d 18:11:16 Step 8/12 : COPY go.mod vendor* ./ 18:11:17 ---> cc0b173adb9f 18:11:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:11:17 ---> Running in 05a299817ea9 18:11:17 Still waiting to schedule task 18:11:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9983’ 18:12:03 Removing intermediate container 05a299817ea9 18:12:03 ---> fe1a692944f8 18:12:03 Step 10/12 : COPY . . 18:12:03 ---> 9a58ccd6d014 18:12:03 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:12:04 ---> Running in c1ebd2b6fb9e 18:12:04 Removing intermediate container c1ebd2b6fb9e 18:12:04 ---> 45c1770d0db7 18:12:04 Step 12/12 : RUN $MAKE 18:12:04 ---> Running in 36bffb9bba08 18:12:04 noop 18:12:04 Removing intermediate container 36bffb9bba08 18:12:04 ---> 0163f44fda0a 18:12:04 Successfully built 0163f44fda0a 18:12:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:05 + docker inspect -f . ci-base-image-x86_64 18:12:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:05 prd-ubuntu20.04-docker-8c-8g-9991 does not seem to be running inside a container 18:12:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-441 -v /w/workspace/foundry_device-virtual-go_PR-441:/w/workspace/foundry_device-virtual-go_PR-441:rw,z -v /w/workspace/foundry_device-virtual-go_PR-441@tmp:/w/workspace/foundry_device-virtual-go_PR-441@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 ******** ci-base-image-x86_64 cat 18:12:05 $ docker top 7a19b16c9e1d78d73aea8c153ce6100be6bda529081f9e8faf61ba4ede80b494 -eo pid,comm [Pipeline] { [Pipeline] sh 18:12:05 + go version 18:12:05 go version go1.21.0 linux/amd64 [Pipeline] } 18:12:05 $ docker stop --time=1 7a19b16c9e1d78d73aea8c153ce6100be6bda529081f9e8faf61ba4ede80b494 18:12:07 $ docker rm -f --volumes 7a19b16c9e1d78d73aea8c153ce6100be6bda529081f9e8faf61ba4ede80b494 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:07 + docker inspect -f . ci-base-image-x86_64 18:12:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:08 prd-ubuntu20.04-docker-8c-8g-9991 does not seem to be running inside a container 18:12:08 $ 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-441 -v /w/workspace/foundry_device-virtual-go_PR-441:/w/workspace/foundry_device-virtual-go_PR-441:rw,z -v /w/workspace/foundry_device-virtual-go_PR-441@tmp:/w/workspace/foundry_device-virtual-go_PR-441@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 ******** ci-base-image-x86_64 cat 18:12:08 $ docker top 71ccd9e00a0e2d79bb65c77411bb3ed5df6a2d0414c90bc414a9ffea5180abcf -eo pid,comm [Pipeline] { [Pipeline] sh 18:12:08 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-441 [Pipeline] fileExists [Pipeline] sh 18:12:09 + make test 18:12:09 go test ./... -coverprofile=coverage.out 18:12:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:12:20 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:12:20 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements 18:12:27 go vet ./... 18:12:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:12:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:12:29 ./bin/test-attribution-txt.sh [Pipeline] echo 18:12:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:12:30 $ docker stop --time=1 71ccd9e00a0e2d79bb65c77411bb3ed5df6a2d0414c90bc414a9ffea5180abcf 18:12:34 $ docker rm -f --volumes 71ccd9e00a0e2d79bb65c77411bb3ed5df6a2d0414c90bc414a9ffea5180abcf [Pipeline] // withDockerContainer [Pipeline] sh 18:12:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:12:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:12:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:12:35 + ls -al . 18:12:35 total 200 18:12:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:12 . 18:12:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:10 .. 18:12:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:12 .git 18:12:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:10 .github 18:12:35 -rw-rw-r-- 1 jenkins jenkins 272 Oct 24 18:10 .gitignore 18:12:35 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:10 .golangci.yml 18:12:35 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:10 .semver 18:12:35 -rw-rw-r-- 1 jenkins jenkins 9708 Oct 24 18:10 Attribution.txt 18:12:35 -rw-rw-r-- 1 jenkins jenkins 14372 Oct 24 18:10 CHANGELOG.md 18:12:35 -rw-rw-r-- 1 jenkins jenkins 1646 Oct 24 18:10 Dockerfile 18:12:35 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:10 GOVERNANCE.md 18:12:35 -rw-rw-r-- 1 jenkins jenkins 660 Oct 24 18:10 Jenkinsfile 18:12:35 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:10 LICENSE 18:12:35 -rw-rw-r-- 1 jenkins jenkins 1947 Oct 24 18:10 Makefile 18:12:35 -rw-rw-r-- 1 jenkins jenkins 623 Oct 24 18:10 OWNERS.md 18:12:35 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 24 18:10 README.md 18:12:35 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 18:11 VERSION 18:12:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:10 bin 18:12:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:10 cmd 18:12:35 -rw-r--r-- 1 jenkins jenkins 43063 Oct 24 18:12 coverage.out 18:12:35 -rw-rw-r-- 1 jenkins jenkins 3638 Oct 24 18:10 go.mod 18:12:35 -rw-rw-r-- 1 jenkins jenkins 34490 Oct 24 18:10 go.sum 18:12:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:10 internal 18:12:35 -rw-rw-r-- 1 jenkins jenkins 235 Oct 24 18:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:36 + 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=fd5f43065fd884b86ebe93def479447b9da4d0b8 --label arch=amd64 --label version=0.0.0 . 18:12:36 Sending build context to Docker daemon 23.72MB 18:12:36 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 18:12:36 Step 2/25 : FROM ${BASE} AS builder 18:12:36 ---> 0163f44fda0a 18:12:36 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:12:36 ---> Running in 5f5808d833b1 18:12:36 Removing intermediate container 5f5808d833b1 18:12:36 ---> c8bbb8816aa1 18:12:36 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 18:12:36 ---> Running in 7e365d90b194 18:12:36 Removing intermediate container 7e365d90b194 18:12:36 ---> 93f52b8c9ef2 18:12:36 Step 5/25 : ARG ADD_BUILD_TAGS="" 18:12:36 ---> Running in 9bfa7ba3c4ec 18:12:36 Removing intermediate container 9bfa7ba3c4ec 18:12:36 ---> f0b4b97d8c2f 18:12:36 Step 6/25 : WORKDIR /device-virtual-go 18:12:36 ---> Running in 8c5bd2c4f4dd 18:12:37 Removing intermediate container 8c5bd2c4f4dd 18:12:37 ---> a300a939e176 18:12:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:12:37 ---> Running in 1846ef9dcde7 18:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:12:37 OK: 268 MiB in 56 packages 18:12:37 Removing intermediate container 1846ef9dcde7 18:12:37 ---> 004163b77f76 18:12:37 Step 8/25 : COPY go.mod vendor* ./ 18:12:37 ---> 214a07ade80a 18:12:37 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:12:38 ---> Running in f013f18f39fe 18:12:38 Removing intermediate container f013f18f39fe 18:12:38 ---> 57413bc42218 18:12:38 Step 10/25 : COPY . . 18:12:39 ---> 10b05d519238 18:12:39 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:12:39 ---> Running in 361d57f2d8e7 18:12:39 Removing intermediate container 361d57f2d8e7 18:12:39 ---> 779fbf024fd6 18:12:39 Step 12/25 : RUN $MAKE 18:12:39 ---> Running in 36da3ca90a5c 18:12:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 18:13:01 Removing intermediate container 36da3ca90a5c 18:13:01 ---> a490cea9c081 18:13:01 Step 13/25 : FROM alpine:3.18 18:13:01 3.18: Pulling from library/alpine 18:13:01 96526aa774ef: Pulling fs layer 18:13:01 96526aa774ef: Verifying Checksum 18:13:01 96526aa774ef: Download complete 18:13:01 96526aa774ef: Pull complete 18:13:01 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:13:01 Status: Downloaded newer image for alpine:3.18 18:13:01 ---> 8ca4688f4f35 18:13:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:13:01 ---> Running in c641c0ffbd6b 18:13:01 Removing intermediate container c641c0ffbd6b 18:13:01 ---> 0839be44cd02 18:13:01 Step 15/25 : RUN apk add --update --no-cache dumb-init 18:13:01 ---> Running in d85d3d554b55 18:13:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:13:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:13:01 (1/1) Installing dumb-init (1.2.5-r2) 18:13:01 Executing busybox-1.36.1-r2.trigger 18:13:01 OK: 7 MiB in 16 packages 18:13:01 Removing intermediate container d85d3d554b55 18:13:01 ---> ff4114310cfe 18:13:01 Step 16/25 : WORKDIR / 18:13:01 ---> Running in ecd8f7ce70ee 18:13:01 Removing intermediate container ecd8f7ce70ee 18:13:01 ---> 70c730cc8cbd 18:13:01 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:13:01 ---> 4612ccf65a5a 18:13:01 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 18:13:01 ---> 583bf3584ade 18:13:01 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 18:13:01 ---> 8be91a59c027 18:13:01 Step 20/25 : EXPOSE 59900 18:13:01 ---> Running in c5ff43e9491b 18:13:01 Removing intermediate container c5ff43e9491b 18:13:01 ---> 4951c1a17b27 18:13:01 Step 21/25 : ENTRYPOINT ["/device-virtual"] 18:13:01 ---> Running in 06d54997782e 18:13:01 Removing intermediate container 06d54997782e 18:13:01 ---> 6bf203a65d4b 18:13:01 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:13:01 ---> Running in dc8049490fdb 18:13:01 Removing intermediate container dc8049490fdb 18:13:01 ---> dd17ca783002 18:13:01 Step 23/25 : LABEL arch=amd64 18:13:01 ---> Running in 6c4a2f2736ba 18:13:01 Removing intermediate container 6c4a2f2736ba 18:13:01 ---> d371606735cc 18:13:01 Step 24/25 : LABEL git_sha=fd5f43065fd884b86ebe93def479447b9da4d0b8 18:13:01 ---> Running in c71c21becdf5 18:13:01 Removing intermediate container c71c21becdf5 18:13:01 ---> 1e53a0e664df 18:13:01 Step 25/25 : LABEL version=0.0.0 18:13:01 ---> Running in 9bf268a16031 18:13:01 Removing intermediate container 9bf268a16031 18:13:01 ---> 618373eb9d80 18:13:01 [Warning] One or more build-args [ARCH] were not consumed 18:13:01 Successfully built 618373eb9d80 18:13:01 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 18:13:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:02 18:13:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:02 latest: Pulling from edgex-lftools-log-publisher 18:13:02 5eb5b503b376: Pulling fs layer 18:13:02 5c69ac0246d0: Pulling fs layer 18:13:02 ec43610c2a17: Pulling fs layer 18:13:02 3a2ae6a8a46f: Pulling fs layer 18:13:02 33b1e0a273af: Pulling fs layer 18:13:02 5d3b04190fa2: Pulling fs layer 18:13:02 2f39f015ded8: Pulling fs layer 18:13:02 33b1e0a273af: Waiting 18:13:02 5d3b04190fa2: Waiting 18:13:02 2f39f015ded8: Waiting 18:13:02 3a2ae6a8a46f: Waiting 18:13:02 5c69ac0246d0: Download complete 18:13:02 3a2ae6a8a46f: Verifying Checksum 18:13:02 3a2ae6a8a46f: Download complete 18:13:02 33b1e0a273af: Verifying Checksum 18:13:02 33b1e0a273af: Download complete 18:13:02 ec43610c2a17: Download complete 18:13:02 5d3b04190fa2: Verifying Checksum 18:13:02 5d3b04190fa2: Download complete 18:13:03 5eb5b503b376: Verifying Checksum 18:13:03 5eb5b503b376: Download complete 18:13:03 2f39f015ded8: Verifying Checksum 18:13:03 2f39f015ded8: Download complete 18:13:04 5eb5b503b376: Pull complete 18:13:04 5c69ac0246d0: Pull complete 18:13:04 ec43610c2a17: Pull complete 18:13:04 3a2ae6a8a46f: Pull complete 18:13:04 33b1e0a273af: Pull complete 18:13:05 5d3b04190fa2: Pull complete 18:13:09 2f39f015ded8: Pull complete 18:13:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:13:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:09 prd-ubuntu20.04-docker-8c-8g-9991 does not seem to be running inside a container 18:13:09 $ 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-441 -v /w/workspace/foundry_device-virtual-go_PR-441:/w/workspace/foundry_device-virtual-go_PR-441:rw,z -v /w/workspace/foundry_device-virtual-go_PR-441@tmp:/w/workspace/foundry_device-virtual-go_PR-441@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:13:14 $ docker top b5de25565d33a5d7b6383a60a55ee7c47bc938de780781a807594e40752d78ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:13:15 ---> job-cost.sh 18:13:15 lf-activate-venv: SKIPPING 18:13:15 INFO: No Stack... 18:13:15 INFO: Retrieving Pricing Info for: v3-standard-8 18:13:15 INFO: Archiving Costs [Pipeline] sh 18:13:16 + cat /w/workspace/foundry_device-virtual-go_PR-441/archives/cost.csv 18:13:16 + cut -d, -f6 [Pipeline] lock 18:13:16 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-441-1-stack-cost] 18:13:16 Resource [jenkins-edgexfoundry-device-virtual-go-PR-441-1-stack-cost] did not exist. Created. 18:13:16 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-441-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:13:16 + echo total: 0.2199999988079071 [Pipeline] stash 18:13:16 Stashed 1 file(s) [Pipeline] } 18:13:16 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-441-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:13:16 $ docker stop --time=1 b5de25565d33a5d7b6383a60a55ee7c47bc938de780781a807594e40752d78ae 18:13:17 $ docker rm -f --volumes b5de25565d33a5d7b6383a60a55ee7c47bc938de780781a807594e40752d78ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:14:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9998 in /w/workspace/foundry_device-virtual-go_PR-441 [Pipeline] { [Pipeline] ws 18:14:10 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 18:14:10 The recommended git tool is: git 18:14:17 using credential edgex-jenkins-ssh 18:14:17 Cloning the remote Git repository 18:14:17 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 18:14:17 > git init /w/workspace/device-virtual-go/1 # timeout=10 18:14:17 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:14:17 > git --version # timeout=10 18:14:17 > git --version # 'git version 2.25.1' 18:14:17 using GIT_SSH to set credentials SSH Credentials for GitHub 18:14:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:14:20 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:14:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:14:22 Merging remotes/origin/main commit a824126fc7aa73da39901a16544d301861d29328 into PR head commit fd5f43065fd884b86ebe93def479447b9da4d0b8 18:14:23 Merge succeeded, producing fd5f43065fd884b86ebe93def479447b9da4d0b8 18:14:23 Checking out Revision fd5f43065fd884b86ebe93def479447b9da4d0b8 (PR-441) 18:14:22 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:14:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:14:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:14:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/441/head:refs/remotes/origin/PR-441 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:14:22 > git config core.sparsecheckout # timeout=10 18:14:22 > git checkout -f fd5f43065fd884b86ebe93def479447b9da4d0b8 # timeout=10 18:14:23 > git remote # timeout=10 18:14:23 > git config --get remote.origin.url # timeout=10 18:14:23 using GIT_SSH to set credentials SSH Credentials for GitHub 18:14:23 > git merge a824126fc7aa73da39901a16544d301861d29328 # timeout=10 18:14:23 > git rev-parse HEAD^{commit} # timeout=10 18:14:23 > git config core.sparsecheckout # timeout=10 18:14:23 > git checkout -f fd5f43065fd884b86ebe93def479447b9da4d0b8 # timeout=10 18:14:24 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 18:14:24 > git --version # timeout=10 18:14:24 > git --version # 'git version 2.25.1' 18:14:24 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:14:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:14:25 % Total % Received % Xferd Average Speed Time Time Time Current 18:14:25 Dload Upload Total Spent Left Speed 18:14:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh 18:14:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:14:26 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:14:26 sudo tee /etc/docker/daemon.new 18:14:26 { 18:14:26 "registry-mirrors": [ 18:14:26 "https://nexus3.edgexfoundry.org:10001" 18:14:26 ], 18:14:26 "bip": "10.250.0.254/24", 18:14:26 "hosts": [ 18:14:26 "tcp://0.0.0.0:5555", 18:14:26 "unix:///var/run/docker.sock" 18:14:26 ], 18:14:26 "mtu": 1458, 18:14:26 "selinux-enabled": true, 18:14:26 "seccomp-profile": "/etc/docker/seccomp.json" 18:14:26 } [Pipeline] sh 18:14:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:14:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:14:46 provisioning config files... 18:14:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config14320406770800044049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:46 ---> docker-login.sh 18:14:46 nexus3.edgexfoundry.org:10001 18:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:47 Configure a credential helper to remove this warning. See 18:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:47 18:14:47 Login Succeeded 18:14:47 nexus3.edgexfoundry.org:10002 18:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:47 Configure a credential helper to remove this warning. See 18:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:47 18:14:47 Login Succeeded 18:14:47 nexus3.edgexfoundry.org:10003 18:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:48 Configure a credential helper to remove this warning. See 18:14:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:48 18:14:48 Login Succeeded 18:14:48 nexus3.edgexfoundry.org:10004 18:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:48 Configure a credential helper to remove this warning. See 18:14:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:48 18:14:48 Login Succeeded 18:14:48 docker.io 18:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:49 Configure a credential helper to remove this warning. See 18:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:49 18:14:49 Login Succeeded 18:14:49 ---> docker-login.sh ends [Pipeline] } 18:14:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:14:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:14:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:14:54 ========================================================= 18:14:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:14:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:14:55 Sending build context to Docker daemon 11.97MB 18:14:55 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:14:55 Step 2/12 : FROM ${BASE} AS builder 18:14:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:14:55 9fda8d8052c6: Pulling fs layer 18:14:55 5d54e960e981: Pulling fs layer 18:14:55 c4a7e357bf2a: Pulling fs layer 18:14:55 f0e02332f6b5: Pulling fs layer 18:14:55 cefa15bbcfad: Pulling fs layer 18:14:55 17808c966233: Pulling fs layer 18:14:55 f4c1fc716caa: Pulling fs layer 18:14:55 f0e02332f6b5: Waiting 18:14:55 f4c1fc716caa: Waiting 18:14:55 cefa15bbcfad: Waiting 18:14:55 17808c966233: Waiting 18:14:55 5d54e960e981: Verifying Checksum 18:14:55 5d54e960e981: Download complete 18:14:55 f0e02332f6b5: Verifying Checksum 18:14:55 f0e02332f6b5: Download complete 18:14:55 cefa15bbcfad: Verifying Checksum 18:14:55 cefa15bbcfad: Download complete 18:14:55 9fda8d8052c6: Verifying Checksum 18:14:55 9fda8d8052c6: Download complete 18:14:56 f4c1fc716caa: Verifying Checksum 18:14:56 f4c1fc716caa: Download complete 18:14:56 9fda8d8052c6: Pull complete 18:14:57 5d54e960e981: Pull complete 18:14:57 c4a7e357bf2a: Download complete 18:14:58 17808c966233: Download complete 18:15:13 c4a7e357bf2a: Pull complete 18:15:13 f0e02332f6b5: Pull complete 18:15:13 cefa15bbcfad: Pull complete 18:15:22 17808c966233: Pull complete 18:15:22 f4c1fc716caa: Pull complete 18:15:22 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 18:15:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:15:22 ---> ea914061e18c 18:15:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:15:25 ---> Running in 413950fb6e21 18:15:25 Removing intermediate container 413950fb6e21 18:15:25 ---> 37faf38bfe87 18:15:25 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:15:26 ---> Running in 803b62b8705a 18:15:26 Removing intermediate container 803b62b8705a 18:15:26 ---> b32a1c3b86fd 18:15:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:15:26 ---> Running in f84c3d781fc4 18:15:26 Removing intermediate container f84c3d781fc4 18:15:26 ---> ed2786febb56 18:15:26 Step 6/12 : WORKDIR /device-virtual-go 18:15:27 ---> Running in d90647d6b20b 18:15:27 Removing intermediate container d90647d6b20b 18:15:27 ---> 1d0ad0de0133 18:15:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:15:27 ---> Running in 0a7f606ce45f 18:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:15:31 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:15:31 (2/4) Installing libedit (20221030.3.1-r1) 18:15:31 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:15:31 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:15:31 Executing busybox-1.36.1-r2.trigger 18:15:31 OK: 270 MiB in 56 packages 18:15:32 Removing intermediate container 0a7f606ce45f 18:15:32 ---> c33a9781e71b 18:15:32 Step 8/12 : COPY go.mod vendor* ./ 18:15:35 ---> a1424622bf88 18:15:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:15:35 ---> Running in c299f08093d6 18:17:27 Removing intermediate container c299f08093d6 18:17:27 ---> 57e2af15a7b0 18:17:27 Step 10/12 : COPY . . 18:17:27 ---> d6ab266b2a69 18:17:27 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:17:27 ---> Running in f4303b335434 18:17:27 Removing intermediate container f4303b335434 18:17:27 ---> f5fe043b6df4 18:17:27 Step 12/12 : RUN $MAKE 18:17:27 ---> Running in e1a9b35d41dc 18:17:27 noop 18:17:27 Removing intermediate container e1a9b35d41dc 18:17:27 ---> ea8375040a96 18:17:27 Successfully built ea8375040a96 18:17:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:28 + docker inspect -f . ci-base-image-arm64 18:17:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:28 prd-ubuntu20.04-docker-arm64-4c-16g-9998 does not seem to be running inside a container 18:17:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat 18:17:30 $ docker top 0d6270f5aa89fa812e933f5823ac698469e0b14e4b634f447584938505ae1770 -eo pid,comm [Pipeline] { [Pipeline] sh 18:17:31 + go version 18:17:31 go version go1.21.0 linux/arm64 [Pipeline] } 18:17:31 $ docker stop --time=1 0d6270f5aa89fa812e933f5823ac698469e0b14e4b634f447584938505ae1770 18:17:33 $ docker rm -f --volumes 0d6270f5aa89fa812e933f5823ac698469e0b14e4b634f447584938505ae1770 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:34 + docker inspect -f . ci-base-image-arm64 18:17:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:34 prd-ubuntu20.04-docker-arm64-4c-16g-9998 does not seem to be running inside a container 18:17:34 $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat 18:17:36 $ docker top 4b620f08bce7a87710f9d534d741a52ad3cdee128d6d902884f253520b791525 -eo pid,comm [Pipeline] { [Pipeline] sh 18:17:37 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 18:17:37 + make test 18:17:37 go test ./... -coverprofile=coverage.out 18:17:43 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:20:20 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:20:20 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.099s coverage: 58.4% of statements 18:20:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:20:20 go vet ./... 18:20:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:20:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:20:38 ./bin/test-attribution-txt.sh [Pipeline] echo 18:20:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:20:38 $ docker stop --time=1 4b620f08bce7a87710f9d534d741a52ad3cdee128d6d902884f253520b791525 18:20:40 $ docker rm -f --volumes 4b620f08bce7a87710f9d534d741a52ad3cdee128d6d902884f253520b791525 [Pipeline] // withDockerContainer [Pipeline] sh 18:20:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:20:42 Warning: overwriting stash ‘coverage-report’ 18:20:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:20:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:20:44 + ls -al . 18:20:44 total 196 18:20:44 drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 18:17 . 18:20:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:14 .. 18:20:44 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:14 .git 18:20:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:14 .github 18:20:44 -rw-rw-r-- 1 jenkins jenkins 272 Oct 24 18:14 .gitignore 18:20:44 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:14 .golangci.yml 18:20:44 -rw-rw-r-- 1 jenkins jenkins 9708 Oct 24 18:14 Attribution.txt 18:20:44 -rw-rw-r-- 1 jenkins jenkins 14372 Oct 24 18:14 CHANGELOG.md 18:20:44 -rw-rw-r-- 1 jenkins jenkins 1646 Oct 24 18:14 Dockerfile 18:20:44 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:14 GOVERNANCE.md 18:20:44 -rw-rw-r-- 1 jenkins jenkins 660 Oct 24 18:14 Jenkinsfile 18:20:44 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:14 LICENSE 18:20:44 -rw-rw-r-- 1 jenkins jenkins 1947 Oct 24 18:14 Makefile 18:20:44 -rw-rw-r-- 1 jenkins jenkins 623 Oct 24 18:14 OWNERS.md 18:20:44 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 24 18:14 README.md 18:20:44 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 18:11 VERSION 18:20:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:14 bin 18:20:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:14 cmd 18:20:44 -rw-r--r-- 1 jenkins jenkins 43063 Oct 24 18:20 coverage.out 18:20:44 -rw-rw-r-- 1 jenkins jenkins 3638 Oct 24 18:14 go.mod 18:20:44 -rw-rw-r-- 1 jenkins jenkins 34490 Oct 24 18:14 go.sum 18:20:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:14 internal 18:20:44 -rw-rw-r-- 1 jenkins jenkins 235 Oct 24 18:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:44 + 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=fd5f43065fd884b86ebe93def479447b9da4d0b8 --label arch=arm64 --label version=0.0.0 . 18:20:45 Sending build context to Docker daemon 12.01MB 18:20:45 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 18:20:45 Step 2/25 : FROM ${BASE} AS builder 18:20:45 ---> ea8375040a96 18:20:45 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:20:45 ---> Running in e4e03edf439c 18:20:45 Removing intermediate container e4e03edf439c 18:20:45 ---> 5876857affee 18:20:45 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 18:20:45 ---> Running in 61649b3b0b9d 18:20:46 Removing intermediate container 61649b3b0b9d 18:20:46 ---> 3facc47f4655 18:20:46 Step 5/25 : ARG ADD_BUILD_TAGS="" 18:20:46 ---> Running in d0702c07ce3a 18:20:46 Removing intermediate container d0702c07ce3a 18:20:46 ---> d99448696d3f 18:20:46 Step 6/25 : WORKDIR /device-virtual-go 18:20:47 ---> Running in 09746eee1f71 18:20:47 Removing intermediate container 09746eee1f71 18:20:47 ---> d6dd84b979ea 18:20:47 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:20:47 ---> Running in 0634a122e9c8 18:20:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:20:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:20:51 OK: 270 MiB in 56 packages 18:20:52 Removing intermediate container 0634a122e9c8 18:20:52 ---> 6c3c3ae819fd 18:20:52 Step 8/25 : COPY go.mod vendor* ./ 18:20:53 ---> 4c9c7364a052 18:20:53 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:20:53 ---> Running in 2e53e6231f13 18:21:00 Removing intermediate container 2e53e6231f13 18:21:00 ---> 4ee4819b6128 18:21:00 Step 10/25 : COPY . . 18:21:00 ---> 559996d69b64 18:21:00 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:21:00 ---> Running in c3b7e0cc9ad8 18:21:01 Removing intermediate container c3b7e0cc9ad8 18:21:01 ---> dd676f458700 18:21:01 Step 12/25 : RUN $MAKE 18:21:01 ---> Running in 4e92399de521 18:21:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 18:23:39 Removing intermediate container 4e92399de521 18:23:39 ---> 07391c489176 18:23:39 Step 13/25 : FROM alpine:3.18 18:23:39 3.18: Pulling from library/alpine 18:23:39 579b34f0a95b: Pulling fs layer 18:23:39 579b34f0a95b: Verifying Checksum 18:23:39 579b34f0a95b: Download complete 18:23:39 579b34f0a95b: Pull complete 18:23:39 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:23:39 Status: Downloaded newer image for alpine:3.18 18:23:39 ---> 3cc203321400 18:23:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:23:39 ---> Running in 1f5f28292a59 18:23:39 Removing intermediate container 1f5f28292a59 18:23:39 ---> ccbc5fb17320 18:23:39 Step 15/25 : RUN apk add --update --no-cache dumb-init 18:23:39 ---> Running in 029b3b320013 18:23:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:23:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:23:39 (1/1) Installing dumb-init (1.2.5-r2) 18:23:39 Executing busybox-1.36.1-r2.trigger 18:23:39 OK: 8 MiB in 16 packages 18:23:39 Removing intermediate container 029b3b320013 18:23:39 ---> e03c20207ae8 18:23:39 Step 16/25 : WORKDIR / 18:23:39 ---> Running in edf8cf15b052 18:23:39 Removing intermediate container edf8cf15b052 18:23:39 ---> 3c23c7dd711f 18:23:39 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:23:39 ---> 0543161b5dce 18:23:39 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 18:23:39 ---> 7c19bbfc9a56 18:23:39 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 18:23:39 ---> a34672c33e08 18:23:39 Step 20/25 : EXPOSE 59900 18:23:39 ---> Running in 6da623491f9e 18:23:39 Removing intermediate container 6da623491f9e 18:23:39 ---> 8440638964e3 18:23:39 Step 21/25 : ENTRYPOINT ["/device-virtual"] 18:23:39 ---> Running in f6653c27ba85 18:23:40 Removing intermediate container f6653c27ba85 18:23:40 ---> 9f4072f029af 18:23:40 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:23:40 ---> Running in 89d264f97a68 18:23:40 Removing intermediate container 89d264f97a68 18:23:40 ---> 014f13a173f1 18:23:40 Step 23/25 : LABEL arch=arm64 18:23:40 ---> Running in 417306a8f8b5 18:23:41 Removing intermediate container 417306a8f8b5 18:23:41 ---> c9c7aadc7638 18:23:41 Step 24/25 : LABEL git_sha=fd5f43065fd884b86ebe93def479447b9da4d0b8 18:23:41 ---> Running in c4d9f30d7986 18:23:41 Removing intermediate container c4d9f30d7986 18:23:41 ---> e2d632d84435 18:23:41 Step 25/25 : LABEL version=0.0.0 18:23:41 ---> Running in 071781a52d32 18:23:42 Removing intermediate container 071781a52d32 18:23:42 ---> 0b3f9c2efafb 18:23:42 [Warning] One or more build-args [ARCH] were not consumed 18:23:42 Successfully built 0b3f9c2efafb 18:23:42 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 18:23:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:23:43 18:23:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:23:43 arm64: Pulling from edgex-lftools-log-publisher 18:23:43 8998bd30e6a1: Pulling fs layer 18:23:43 04944245beec: Pulling fs layer 18:23:43 699f458cf7ca: Pulling fs layer 18:23:43 765212b225bb: Pulling fs layer 18:23:43 f23df028b6ca: Pulling fs layer 18:23:43 d65c8cfc05b1: Pulling fs layer 18:23:43 2437ff75d9bd: Pulling fs layer 18:23:43 765212b225bb: Waiting 18:23:43 d65c8cfc05b1: Waiting 18:23:43 f23df028b6ca: Waiting 18:23:43 2437ff75d9bd: Waiting 18:23:43 04944245beec: Verifying Checksum 18:23:43 04944245beec: Download complete 18:23:43 765212b225bb: Verifying Checksum 18:23:43 765212b225bb: Download complete 18:23:44 f23df028b6ca: Verifying Checksum 18:23:44 f23df028b6ca: Download complete 18:23:44 d65c8cfc05b1: Verifying Checksum 18:23:44 d65c8cfc05b1: Download complete 18:23:44 699f458cf7ca: Verifying Checksum 18:23:44 699f458cf7ca: Download complete 18:23:44 8998bd30e6a1: Verifying Checksum 18:23:44 8998bd30e6a1: Download complete 18:23:47 2437ff75d9bd: Verifying Checksum 18:23:47 2437ff75d9bd: Download complete 18:23:50 8998bd30e6a1: Pull complete 18:23:50 04944245beec: Pull complete 18:23:52 699f458cf7ca: Pull complete 18:23:52 765212b225bb: Pull complete 18:23:53 f23df028b6ca: Pull complete 18:23:53 d65c8cfc05b1: Pull complete 18:24:12 2437ff75d9bd: Pull complete 18:24:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:24:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:12 prd-ubuntu20.04-docker-arm64-4c-16g-9998 does not seem to be running inside a container 18:24:12 $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:24:16 $ docker top d6658b100ff28b62d8476d46f2866b4d43863ee5fa0b3ef8bb034c1b0b087721 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:17 ---> job-cost.sh 18:24:17 lf-activate-venv: SKIPPING 18:24:17 INFO: No Stack... 18:24:17 INFO: Retrieving Pricing Info for: v3-standard-4 18:24:18 INFO: Archiving Costs [Pipeline] sh 18:24:19 + cut -d, -f6 18:24:19 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 18:24:19 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-441-1-stack-cost] 18:24:19 Resource [jenkins-edgexfoundry-device-virtual-go-PR-441-1-stack-cost] did not exist. Created. 18:24:19 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-441-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:24:20 /w/workspace/device-virtual-go/1@tmp/durable-6d8b501c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:24:20 + echo total: 0.10999999940395355 [Pipeline] stash 18:24:20 Warning: overwriting stash ‘stack-cost’ 18:24:20 Stashed 1 file(s) [Pipeline] } 18:24:20 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-441-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:24:21 $ docker stop --time=1 d6658b100ff28b62d8476d46f2866b4d43863ee5fa0b3ef8bb034c1b0b087721 18:24:22 $ docker rm -f --volumes d6658b100ff28b62d8476d46f2866b4d43863ee5fa0b3ef8bb034c1b0b087721 [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 18:24:23 provisioning config files... 18:24:23 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-441@tmp/config15128901327952325255tmp [Pipeline] { [Pipeline] sh 18:24:24 + set +x 18:24:24 + curl -s https://codecov.io/bash 18:24:24 + bash -s -- 18:24:24 18:24:24 _____ _ 18:24:24 / ____| | | 18:24:24 | | ___ __| | ___ ___ _____ __ 18:24:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:24:24 | |___| (_) | (_| | __/ (_| (_) \ V / 18:24:24 \_____\___/ \__,_|\___|\___\___/ \_/ 18:24:24 Bash-1.0.6 18:24:24 18:24:24 18:24:24 ==> git version 2.25.1 found 18:24:24 ==> 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 18:24:24 Release-Date: 2020-01-08 18:24:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:24:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:24:24 ==> Jenkins CI detected. 18:24:24 current dir:  /w/workspace/foundry_device-virtual-go_PR-441 18:24:24 project root: . 18:24:24 --> token set from env 18:24:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:24:24 ==> Running gcov in . (disable via -X gcov) 18:24:24 ==> Python coveragepy not found 18:24:24 ==> Searching for coverage reports in: 18:24:24 + . 18:24:24 -> Found 1 reports 18:24:24 ==> Detecting git/mercurial file structure 18:24:24 ==> Reading reports 18:24:24 + ./coverage.out bytes=43063 18:24:24 ==> Appending adjustments 18:24:24 https://docs.codecov.io/docs/fixing-reports 18:24:24 + Found adjustments 18:24:24 ==> Gzipping contents 18:24:24 8.0K /tmp/codecov.tjeUwf.gz 18:24:24 ==> Uploading reports 18:24:24 url: https://codecov.io 18:24:24 query: branch=PR-441&commit=fd5f43065fd884b86ebe93def479447b9da4d0b8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-441%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=441&job=&cmd_args= 18:24:24 -> Pinging Codecov 18:24:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-441&commit=fd5f43065fd884b86ebe93def479447b9da4d0b8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-441%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=441&job=&cmd_args= 18:24:24 -> Uploading to 18:24:24 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/5E52B4B073DB2E39498172D8E973AA87/fd5f43065fd884b86ebe93def479447b9da4d0b8/c4b33fea-b968-4acb-b0d4-e0e960a66d21.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T182424Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=051ba97d999708205b5750109dfb2983b2fed10b074967331e994ce5cd4997b9 18:24:24 % Total % Received % Xferd Average Speed Time Time Time Current 18:24:24 Dload Upload Total Spent Left Speed 18:24:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 16828 --:--:-- --:--:-- --:--:-- 16771 100 4998 0 0 100 4998 0 16828 --:--:-- --:--:-- --:--:-- 16771 18:24:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/fd5f43065fd884b86ebe93def479447b9da4d0b8 [Pipeline] } 18:24:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:24:26 + [ -d /w/workspace/foundry_device-virtual-go_PR-441/archives ] 18:24:26 + ls -al /w/workspace/foundry_device-virtual-go_PR-441/archives 18:24:26 total 16 18:24:26 drwxr-xr-x 3 root root 4096 Oct 24 18:13 . 18:24:26 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:13 .. 18:24:26 drwxr-xr-x 2 root root 4096 Oct 24 18:13 cost 18:24:26 -rw-r--r-- 1 root root 89 Oct 24 18:13 cost.csv 18:24:26 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-441/archives 18:24:26 + ls -al /w/workspace/foundry_device-virtual-go_PR-441/archives 18:24:26 total 16 18:24:26 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:13 . 18:24:26 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:13 .. 18:24:26 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 18:13 cost 18:24:26 -rw-r--r-- 1 jenkins jenkins 89 Oct 24 18:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:24:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:24:27 ---> package-listing.sh 18:24:27 ++ facter osfamily 18:24:27 ++ tr '[:upper:]' '[:lower:]' 18:24:28 + OS_FAMILY=debian 18:24:28 + workspace=/w/workspace/foundry_device-virtual-go_PR-441 18:24:28 + START_PACKAGES=/tmp/packages_start.txt 18:24:28 + END_PACKAGES=/tmp/packages_end.txt 18:24:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:24:28 + PACKAGES=/tmp/packages_start.txt 18:24:28 + '[' /w/workspace/foundry_device-virtual-go_PR-441 ']' 18:24:28 + PACKAGES=/tmp/packages_end.txt 18:24:28 + case "${OS_FAMILY}" in 18:24:28 + dpkg -l 18:24:28 + grep '^ii' 18:24:28 + '[' -f /tmp/packages_start.txt ']' 18:24:28 + '[' -f /tmp/packages_end.txt ']' 18:24:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:24:28 + '[' /w/workspace/foundry_device-virtual-go_PR-441 ']' 18:24:28 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-441/archives/ 18:24:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-441/archives/ [Pipeline] echo 18:24:28 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-441/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:24:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:24:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:29 prd-ubuntu20.04-docker-8c-8g-9991 does not seem to be running inside a container 18:24:29 $ 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-441/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-441 -v /w/workspace/foundry_device-virtual-go_PR-441:/w/workspace/foundry_device-virtual-go_PR-441:rw,z -v /w/workspace/foundry_device-virtual-go_PR-441@tmp:/w/workspace/foundry_device-virtual-go_PR-441@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:24:29 $ docker top 39fd700af9acf3d86183c96e1439040d3873ccf99eb14991da8da09b65070904 -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:29 + touch /tmp/pre-build-complete [Pipeline] sh 18:24:30 + mkdir -p /var/log/sysstat [Pipeline] sh 18:24:30 + ls /var/log/sa-host 18:24:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:30 provisioning config files... 18:24:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-441@tmp/config9144329944868858759tmp [Pipeline] { [Pipeline] echo 18:24:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:24:30 ---> create-netrc.sh [Pipeline] } 18:24:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:24:31 ---> python-tools-install.sh [Pipeline] echo 18:24:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:24:31 ---> sudo-logs.sh 18:24:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:24:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:24:32 ---> job-cost.sh 18:24:32 lf-activate-venv: SKIPPING 18:24:32 DEBUG: total: 0.2199999988079071 18:24:32 INFO: Retrieving Stack Cost... 18:24:32 INFO: Retrieving Pricing Info for: v3-standard-8 18:24:32 INFO: Archiving Costs [Pipeline] echo 18:24:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:24:33 ---> logs-deploy.sh 18:24:33 lf-activate-venv: SKIPPING 18:24:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-441/1 18:24:33 INFO: archiving workspace using pattern(s): 18:24:34 Archives upload complete. 18:24:34 INFO: archiving logs to Nexus