Pull request #412 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab+ed3289d750d77ec3b888271c7762159edecc04ed (cb5d8aabcf020d29f9c3ff6d9daa0bfc5a8f188b) 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-ssh15470464573290366999.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10723017595935814522.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh 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-412/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-412/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16480385709430416564.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-412/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16829797264263823502.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh193847577995606061.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-412/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-412/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8480326440659849361.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16828 in /w/workspace/foundry_device-virtual-go_PR-412 [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-412 # 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/412/head:refs/remotes/origin/PR-412 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ed3289d750d77ec3b888271c7762159edecc04ed into PR head commit 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab Merge succeeded, producing 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab Checking out Revision 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab (PR-412) 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 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab # 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 ed3289d750d77ec3b888271c7762159edecc04ed # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab # timeout=10 [Pipeline] timeout 23:53:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:53:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:53:20 ========================================================= 23:53:20 EdgeX Global Pipelines Version Info 23:53:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:53:21 ------------------- 23:53:21 stable info: 23:53:21 ------------------- 23:53:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:53:21 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:53:21 Message: update stable to v1.0.249 23:53:22 ------------------- 23:53:22 experimental info: 23:53:22 ------------------- 23:53:22 Commited By: **** collab-it+edgex@linuxfoundation.org 23:53:22 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:53:22 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:53:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:53:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:53:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:53:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:53:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:53:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:53:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:53:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:53:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:53:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:53:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-412 [Pipeline] echo 23:53:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-412 [Pipeline] echo 23:53:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-412 [Pipeline] echo 23:53:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab [Pipeline] echo 23:53:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3eaa720 [Pipeline] echo 23:53:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:53:23 provisioning config files... 23:53:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-412@tmp/config15420298120839407438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:24 ---> docker-login.sh 23:53:24 nexus3.edgexfoundry.org:10001 23:53:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:24 Configure a credential helper to remove this warning. See 23:53:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:24 23:53:24 Login Succeeded 23:53:24 nexus3.edgexfoundry.org:10002 23:53:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:24 Configure a credential helper to remove this warning. See 23:53:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:24 23:53:24 Login Succeeded 23:53:24 nexus3.edgexfoundry.org:10003 23:53:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:24 Configure a credential helper to remove this warning. See 23:53:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:24 23:53:24 Login Succeeded 23:53:24 nexus3.edgexfoundry.org:10004 23:53:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:24 Configure a credential helper to remove this warning. See 23:53:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:24 23:53:24 Login Succeeded 23:53:24 docker.io 23:53:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:24 Configure a credential helper to remove this warning. See 23:53:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:24 23:53:24 Login Succeeded 23:53:24 ---> docker-login.sh ends [Pipeline] } 23:53:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:53:25 + git rev-list -1 --merges 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab~1..3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab [Pipeline] echo 23:53:25 -----------> git rev-list -1 --merges 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab~1..3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab [false] [Pipeline] sh 23:53:25 + git log --format=format:%s -1 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab [Pipeline] echo 23:53:26 ========================================================= 23:53:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:53:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:53:26 + git log --format=format:%s -1 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab [Pipeline] echo 23:53:26 [semverPrep] GIT_COMMIT: 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 23:53:26 [semverPrep] This is not a build commit. [Pipeline] sh 23:53:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:53:26 + grep -v github /etc/ssh/ssh_known_hosts 23:53:26 + [ -e /tmp/ssh_known_hosts ] 23:53:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:53:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:53:26 + sudo tee -a /etc/ssh/ssh_known_hosts 23:53:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:53:27 23:53:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:53:27 0.1.4: Pulling from edgex-devops/py-git-semver 23:53:27 b85a868b505f: Pulling fs layer 23:53:27 e2be974225ed: Pulling fs layer 23:53:27 339a4e72a1f5: Pulling fs layer 23:53:27 988bab9f4d93: Pulling fs layer 23:53:27 1469e6f7b9e6: Pulling fs layer 23:53:27 eaf3925da568: Pulling fs layer 23:53:27 bab4dde63d76: Pulling fs layer 23:53:27 bde34c3a00c8: Pulling fs layer 23:53:27 b352a97aabf1: Pulling fs layer 23:53:27 4872d77fe225: Pulling fs layer 23:53:27 5851b861e8e6: Pulling fs layer 23:53:27 1469e6f7b9e6: Waiting 23:53:27 4872d77fe225: Waiting 23:53:27 eaf3925da568: Waiting 23:53:27 988bab9f4d93: Waiting 23:53:27 b352a97aabf1: Waiting 23:53:27 bab4dde63d76: Waiting 23:53:27 bde34c3a00c8: Waiting 23:53:27 5851b861e8e6: Waiting 23:53:27 e2be974225ed: Verifying Checksum 23:53:27 e2be974225ed: Download complete 23:53:27 988bab9f4d93: Verifying Checksum 23:53:27 988bab9f4d93: Download complete 23:53:27 1469e6f7b9e6: Verifying Checksum 23:53:27 1469e6f7b9e6: Download complete 23:53:27 eaf3925da568: Download complete 23:53:27 339a4e72a1f5: Verifying Checksum 23:53:27 339a4e72a1f5: Download complete 23:53:27 bde34c3a00c8: Verifying Checksum 23:53:27 bde34c3a00c8: Download complete 23:53:27 b352a97aabf1: Verifying Checksum 23:53:27 b352a97aabf1: Download complete 23:53:27 4872d77fe225: Download complete 23:53:27 5851b861e8e6: Download complete 23:53:27 b85a868b505f: Verifying Checksum 23:53:27 b85a868b505f: Download complete 23:53:28 bab4dde63d76: Verifying Checksum 23:53:28 bab4dde63d76: Download complete 23:53:29 b85a868b505f: Pull complete 23:53:29 e2be974225ed: Pull complete 23:53:29 339a4e72a1f5: Pull complete 23:53:30 988bab9f4d93: Pull complete 23:53:30 1469e6f7b9e6: Pull complete 23:53:30 eaf3925da568: Pull complete 23:53:32 bab4dde63d76: Pull complete 23:53:32 bde34c3a00c8: Pull complete 23:53:32 b352a97aabf1: Pull complete 23:53:32 4872d77fe225: Pull complete 23:53:32 5851b861e8e6: Pull complete 23:53:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:53:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:53:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:32 prd-ubuntu20.04-docker-8c-8g-16828 does not seem to be running inside a container 23:53:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-412 -v /w/workspace/foundry_device-virtual-go_PR-412:/w/workspace/foundry_device-virtual-go_PR-412:rw,z -v /w/workspace/foundry_device-virtual-go_PR-412@tmp:/w/workspace/foundry_device-virtual-go_PR-412@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 23:53:40 $ docker top f03f36eb0188157d638577394470f709f72a667a7a71f6c2fbe7226c6784bf62 -eo pid,comm 23:53:40 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). 23:53:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:53:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:53:40 [ssh-agent] Looking for ssh-agent implementation... 23:53:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:53:40 $ docker exec f03f36eb0188157d638577394470f709f72a667a7a71f6c2fbe7226c6784bf62 ssh-agent 23:53:40 SSH_AUTH_SOCK=/tmp/ssh-dTWRONJgfpPp/agent.14 23:53:40 SSH_AGENT_PID=20 23:53:40 Running ssh-add (command line suppressed) 23:53:41 Identity added: /w/workspace/foundry_device-virtual-go_PR-412@tmp/private_key_1556193989505787699.key (/w/workspace/foundry_device-virtual-go_PR-412@tmp/private_key_1556193989505787699.key) 23:53:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:53:41 + git tag --points-at HEAD [Pipeline] } 23:53:41 $ docker exec --env ******** --env ******** f03f36eb0188157d638577394470f709f72a667a7a71f6c2fbe7226c6784bf62 ssh-agent -k 23:53:41 unset SSH_AUTH_SOCK; 23:53:41 unset SSH_AGENT_PID; 23:53:41 echo Agent pid 20 killed; 23:53:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:53:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:53:41 [ssh-agent] Looking for ssh-agent implementation... 23:53:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:53:41 $ docker exec f03f36eb0188157d638577394470f709f72a667a7a71f6c2fbe7226c6784bf62 ssh-agent 23:53:41 SSH_AUTH_SOCK=/tmp/ssh-lP94tRDCuk7Z/agent.52 23:53:41 SSH_AGENT_PID=58 23:53:42 Running ssh-add (command line suppressed) 23:53:42 Identity added: /w/workspace/foundry_device-virtual-go_PR-412@tmp/private_key_6512369468982743537.key (/w/workspace/foundry_device-virtual-go_PR-412@tmp/private_key_6512369468982743537.key) 23:53:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:53:42 + git semver init 23:53:43 2023-05-24 23:53:43,136 [run_init] DEBUG init version:0.0.0 force:False 23:53:43 2023-05-24 23:53:43,137 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-412/.semver 23:53:43 2023-05-24 23:53:43,137 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-412/.semver 23:53:43 2023-05-24 23:53:43,138 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-412/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-412, universal_newlines=False, shell=None, istream=None) 23:53:44 2023-05-24 23:53:44,301 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-412/.git/info/exclude 23:53:44 2023-05-24 23:53:44,302 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-412/.semver/PR-412 with force:False 23:53:44 2023-05-24 23:53:44,302 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-412/.semver/PR-412 23:53:44 2023-05-24 23:53:44,307 [execute] INFO git cat-file --batch-check 23:53:44 2023-05-24 23:53:44,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-412/.semver, universal_newlines=False, shell=None, istream=) 23:53:44 2023-05-24 23:53:44,314 [execute] INFO git cat-file --batch 23:53:44 2023-05-24 23:53:44,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-412/.semver, universal_newlines=False, shell=None, istream=) 23:53:44 2023-05-24 23:53:44,321 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-412/.semver/PR-412 23:53:44 0.0.0 [Pipeline] } 23:53:44 $ docker exec --env ******** --env ******** f03f36eb0188157d638577394470f709f72a667a7a71f6c2fbe7226c6784bf62 ssh-agent -k 23:53:44 unset SSH_AUTH_SOCK; 23:53:44 unset SSH_AGENT_PID; 23:53:44 echo Agent pid 58 killed; 23:53:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:53:45 + git semver [Pipeline] } 23:53:45 $ docker stop --time=1 f03f36eb0188157d638577394470f709f72a667a7a71f6c2fbe7226c6784bf62 23:53:47 $ docker rm -f --volumes f03f36eb0188157d638577394470f709f72a667a7a71f6c2fbe7226c6784bf62 [Pipeline] // withDockerContainer [Pipeline] sh 23:53:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:53:47 Stashed 1 file(s) [Pipeline] echo 23:53:47 [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 23:53:48 provisioning config files... 23:53:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-412@tmp/config1894336039624943218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:48 ---> docker-login.sh 23:53:48 nexus3.edgexfoundry.org:10001 23:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:48 Configure a credential helper to remove this warning. See 23:53:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:48 23:53:48 Login Succeeded 23:53:48 nexus3.edgexfoundry.org:10002 23:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:48 Configure a credential helper to remove this warning. See 23:53:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:48 23:53:48 Login Succeeded 23:53:48 nexus3.edgexfoundry.org:10003 23:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:49 Configure a credential helper to remove this warning. See 23:53:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:49 23:53:49 Login Succeeded 23:53:49 nexus3.edgexfoundry.org:10004 23:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:49 Configure a credential helper to remove this warning. See 23:53:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:49 23:53:49 Login Succeeded 23:53:49 docker.io 23:53:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:49 Configure a credential helper to remove this warning. See 23:53:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:49 23:53:49 Login Succeeded 23:53:49 ---> docker-login.sh ends [Pipeline] } 23:53:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:53:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:53:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:53:49 ========================================================= 23:53:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:53:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:53:50 Sending build context to Docker daemon 23.68MB 23:53:50 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:53:50 Step 2/12 : FROM ${BASE} AS builder 23:53:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:53:50 f56be85fc22e: Pulling fs layer 23:53:50 85791d961cd3: Pulling fs layer 23:53:50 d694b5ae8c79: Pulling fs layer 23:53:50 9f32a84ed3da: Pulling fs layer 23:53:50 4d19c01a9841: Pulling fs layer 23:53:50 9325e15d5711: Pulling fs layer 23:53:50 556b6ee489ea: Pulling fs layer 23:53:50 c5a4b2cf53e6: Pulling fs layer 23:53:50 4d19c01a9841: Waiting 23:53:50 9325e15d5711: Waiting 23:53:50 556b6ee489ea: Waiting 23:53:50 c5a4b2cf53e6: Waiting 23:53:50 85791d961cd3: Verifying Checksum 23:53:50 85791d961cd3: Download complete 23:53:50 9f32a84ed3da: Verifying Checksum 23:53:50 9f32a84ed3da: Download complete 23:53:50 4d19c01a9841: Verifying Checksum 23:53:50 4d19c01a9841: Download complete 23:53:50 f56be85fc22e: Verifying Checksum 23:53:50 f56be85fc22e: Download complete 23:53:50 9325e15d5711: Verifying Checksum 23:53:50 9325e15d5711: Download complete 23:53:50 f56be85fc22e: Pull complete 23:53:50 85791d961cd3: Pull complete 23:53:50 c5a4b2cf53e6: Verifying Checksum 23:53:50 c5a4b2cf53e6: Download complete 23:53:50 d694b5ae8c79: Download complete 23:53:51 556b6ee489ea: Verifying Checksum 23:53:51 556b6ee489ea: Download complete 23:53:55 d694b5ae8c79: Pull complete 23:53:55 9f32a84ed3da: Pull complete 23:53:55 4d19c01a9841: Pull complete 23:53:55 9325e15d5711: Pull complete 23:53:57 556b6ee489ea: Pull complete 23:53:58 c5a4b2cf53e6: Pull complete 23:53:58 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:53:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:53:58 ---> c4be618373d6 23:53:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:54:03 Still waiting to schedule task 23:54:03 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:54:16 ---> Running in 2c97ef0cd81f 23:54:16 Removing intermediate container 2c97ef0cd81f 23:54:16 ---> 0442eb16764f 23:54:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:54:16 ---> Running in f5c963702118 23:54:16 Removing intermediate container f5c963702118 23:54:16 ---> 5fbab6eaee53 23:54:16 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:54:16 ---> Running in 28e341b1aef9 23:54:16 Removing intermediate container 28e341b1aef9 23:54:16 ---> a13f074ae9c8 23:54:16 Step 6/12 : WORKDIR /device-virtual-go 23:54:16 ---> Running in 995d93d06104 23:54:16 Removing intermediate container 995d93d06104 23:54:16 ---> 23e0671d744a 23:54:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:54:16 ---> Running in ed16dc0d9cfc 23:54:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:54:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:54:16 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:54:16 (2/4) Installing libedit (20221030.3.1-r0) 23:54:16 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:54:16 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:54:16 Executing busybox-1.35.0-r29.trigger 23:54:16 OK: 269 MiB in 57 packages 23:54:16 Removing intermediate container ed16dc0d9cfc 23:54:16 ---> 5a2213e790c8 23:54:16 Step 8/12 : COPY go.mod vendor* ./ 23:54:16 ---> 7ccfe88297d9 23:54:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:54:16 ---> Running in 25ed1a6037e1 23:54:55 Removing intermediate container 25ed1a6037e1 23:54:55 ---> 2b7731f9eb94 23:54:55 Step 10/12 : COPY . . 23:54:55 ---> b654a3b2bf71 23:54:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:54:55 ---> Running in bcd1220b2d77 23:54:55 Removing intermediate container bcd1220b2d77 23:54:55 ---> 9caf7215075b 23:54:55 Step 12/12 : RUN $MAKE 23:54:55 ---> Running in 6594953b29e5 23:54:55 noop 23:54:55 Removing intermediate container 6594953b29e5 23:54:55 ---> 2c139572a1c0 23:54:55 Successfully built 2c139572a1c0 23:54:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:56 + docker inspect -f . ci-base-image-x86_64 23:54:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:56 prd-ubuntu20.04-docker-8c-8g-16828 does not seem to be running inside a container 23:54:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-412 -v /w/workspace/foundry_device-virtual-go_PR-412:/w/workspace/foundry_device-virtual-go_PR-412:rw,z -v /w/workspace/foundry_device-virtual-go_PR-412@tmp:/w/workspace/foundry_device-virtual-go_PR-412@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 23:54:56 $ docker top d1522ce6d28868e4687d1b4cae49e2ed2a4013343ff37d76ea469fe7c5d8f5ee -eo pid,comm [Pipeline] { [Pipeline] sh 23:54:57 + go version 23:54:57 go version go1.20.2 linux/amd64 [Pipeline] } 23:54:57 $ docker stop --time=1 d1522ce6d28868e4687d1b4cae49e2ed2a4013343ff37d76ea469fe7c5d8f5ee 23:54:58 $ docker rm -f --volumes d1522ce6d28868e4687d1b4cae49e2ed2a4013343ff37d76ea469fe7c5d8f5ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:59 + docker inspect -f . ci-base-image-x86_64 23:54:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:59 prd-ubuntu20.04-docker-8c-8g-16828 does not seem to be running inside a container 23:54:59 $ 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-412 -v /w/workspace/foundry_device-virtual-go_PR-412:/w/workspace/foundry_device-virtual-go_PR-412:rw,z -v /w/workspace/foundry_device-virtual-go_PR-412@tmp:/w/workspace/foundry_device-virtual-go_PR-412@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 23:54:59 $ docker top 0755c223db7c361b9809b096d9d55cf5f1607ded266f417ca291f840e2e07a33 -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:00 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-412 [Pipeline] fileExists [Pipeline] sh 23:55:00 + make test 23:55:00 go test ./... -coverprofile=coverage.out 23:55:05 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:55:15 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:55:15 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.021s coverage: 58.6% of statements 23:55:23 go vet ./... 23:55:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:55:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:55:27 ./bin/test-attribution-txt.sh [Pipeline] echo 23:55:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:55:27 $ docker stop --time=1 0755c223db7c361b9809b096d9d55cf5f1607ded266f417ca291f840e2e07a33 23:55:31 $ docker rm -f --volumes 0755c223db7c361b9809b096d9d55cf5f1607ded266f417ca291f840e2e07a33 [Pipeline] // withDockerContainer [Pipeline] sh 23:55:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:55:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:55:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:55:33 + ls -al . 23:55:33 total 192 23:55:33 drwxrwxr-x 9 jenkins jenkins 4096 May 24 23:55 . 23:55:33 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:53 .. 23:55:33 drwxrwxr-x 8 jenkins jenkins 4096 May 24 23:53 .git 23:55:33 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:53 .github 23:55:33 -rw-rw-r-- 1 jenkins jenkins 337 May 24 23:53 .gitignore 23:55:33 -rw-rw-r-- 1 jenkins jenkins 41 May 24 23:53 .golangci.yml 23:55:33 drwxr-xr-x 3 jenkins jenkins 4096 May 24 23:53 .semver 23:55:33 -rw-rw-r-- 1 jenkins jenkins 8652 May 24 23:53 Attribution.txt 23:55:33 -rw-rw-r-- 1 jenkins jenkins 11367 May 24 23:53 CHANGELOG.md 23:55:33 -rw-rw-r-- 1 jenkins jenkins 1646 May 24 23:53 Dockerfile 23:55:33 -rw-rw-r-- 1 jenkins jenkins 677 May 24 23:53 GOVERNANCE.md 23:55:33 -rw-rw-r-- 1 jenkins jenkins 660 May 24 23:53 Jenkinsfile 23:55:33 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 23:53 LICENSE 23:55:33 -rw-rw-r-- 1 jenkins jenkins 1696 May 24 23:53 Makefile 23:55:33 -rw-rw-r-- 1 jenkins jenkins 623 May 24 23:53 OWNERS.md 23:55:33 -rw-rw-r-- 1 jenkins jenkins 4087 May 24 23:53 README.md 23:55:33 -rw-rw-r-- 1 jenkins jenkins 5 May 24 23:53 VERSION 23:55:33 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:53 bin 23:55:33 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:53 cmd 23:55:33 -rw-r--r-- 1 jenkins jenkins 43063 May 24 23:55 coverage.out 23:55:33 -rw-rw-r-- 1 jenkins jenkins 3161 May 24 23:53 go.mod 23:55:33 -rw-rw-r-- 1 jenkins jenkins 30898 May 24 23:53 go.sum 23:55:33 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:53 internal 23:55:33 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:53 snap 23:55:33 -rw-rw-r-- 1 jenkins jenkins 235 May 24 23:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:33 + 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=3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab --label arch=amd64 --label version=0.0.0 . 23:55:33 Sending build context to Docker daemon 23.73MB 23:55:33 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:55:33 Step 2/25 : FROM ${BASE} AS builder 23:55:33 ---> 2c139572a1c0 23:55:33 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:55:33 ---> Running in 677ed5c06975 23:55:34 Removing intermediate container 677ed5c06975 23:55:34 ---> 73fc55f8abad 23:55:34 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 23:55:34 ---> Running in 93fff71c3db3 23:55:34 Removing intermediate container 93fff71c3db3 23:55:34 ---> 39d5e75eb8dd 23:55:34 Step 5/25 : ARG ADD_BUILD_TAGS="" 23:55:34 ---> Running in 1cf8624c0b6e 23:55:34 Removing intermediate container 1cf8624c0b6e 23:55:34 ---> a2280c811f0f 23:55:34 Step 6/25 : WORKDIR /device-virtual-go 23:55:34 ---> Running in b0ccd14e9498 23:55:34 Removing intermediate container b0ccd14e9498 23:55:34 ---> 305d48dc60b7 23:55:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:55:34 ---> Running in f39e4cc08d0f 23:55:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:55:35 OK: 269 MiB in 57 packages 23:55:35 Removing intermediate container f39e4cc08d0f 23:55:35 ---> 8c91f8169807 23:55:35 Step 8/25 : COPY go.mod vendor* ./ 23:55:35 ---> d840b36d238f 23:55:35 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:55:35 ---> Running in 832f259882d2 23:55:36 Removing intermediate container 832f259882d2 23:55:36 ---> 0d29ee2192fa 23:55:36 Step 10/25 : COPY . . 23:55:37 ---> 88368a7a0351 23:55:37 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:55:37 ---> Running in e3a23a774957 23:55:37 Removing intermediate container e3a23a774957 23:55:37 ---> 74f29a3aadde 23:55:37 Step 12/25 : RUN $MAKE 23:55:37 ---> Running in 3897c169478d 23:55:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 23:56:04 Removing intermediate container 3897c169478d 23:56:04 ---> 18115db2cab6 23:56:04 Step 13/25 : FROM alpine:3.17 23:56:04 3.17: Pulling from library/alpine 23:56:04 f56be85fc22e: Already exists 23:56:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:56:04 Status: Downloaded newer image for alpine:3.17 23:56:04 ---> 9ed4aefc74f6 23:56:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:56:04 ---> Running in 017bc8856ddf 23:56:04 Removing intermediate container 017bc8856ddf 23:56:04 ---> 14ef697c3652 23:56:04 Step 15/25 : RUN apk add --update --no-cache dumb-init 23:56:04 ---> Running in 71b4bae3a720 23:56:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:56:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:56:04 (1/1) Installing dumb-init (1.2.5-r2) 23:56:04 Executing busybox-1.35.0-r29.trigger 23:56:04 OK: 7 MiB in 16 packages 23:56:04 Removing intermediate container 71b4bae3a720 23:56:04 ---> c4500d7dc8be 23:56:04 Step 16/25 : WORKDIR / 23:56:04 ---> Running in adad76d2f2c0 23:56:04 Removing intermediate container adad76d2f2c0 23:56:04 ---> 275d616bfc78 23:56:04 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:56:04 ---> 708477f40a8a 23:56:04 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 23:56:04 ---> 161ed93b01d9 23:56:04 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 23:56:05 ---> 93a4bbdd557a 23:56:05 Step 20/25 : EXPOSE 59900 23:56:05 ---> Running in da02bbf1363a 23:56:05 Removing intermediate container da02bbf1363a 23:56:05 ---> 74f55a821d55 23:56:05 Step 21/25 : ENTRYPOINT ["/device-virtual"] 23:56:05 ---> Running in 1597318d9690 23:56:05 Removing intermediate container 1597318d9690 23:56:05 ---> 39dfe3358fdd 23:56:05 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:56:05 ---> Running in f978bd4f1460 23:56:05 Removing intermediate container f978bd4f1460 23:56:05 ---> e82054d94974 23:56:05 Step 23/25 : LABEL arch=amd64 23:56:05 ---> Running in 41eb667af404 23:56:05 Removing intermediate container 41eb667af404 23:56:05 ---> 8848735d6261 23:56:05 Step 24/25 : LABEL git_sha=3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab 23:56:05 ---> Running in c11cde9a4493 23:56:05 Removing intermediate container c11cde9a4493 23:56:05 ---> 02374236fb16 23:56:05 Step 25/25 : LABEL version=0.0.0 23:56:05 ---> Running in f7108c4230a7 23:56:05 Removing intermediate container f7108c4230a7 23:56:05 ---> 149f0e5ac567 23:56:05 [Warning] One or more build-args [ARCH] were not consumed 23:56:05 Successfully built 149f0e5ac567 23:56:05 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 23:56:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:06 23:56:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:06 latest: Pulling from edgex-lftools-log-publisher 23:56:06 5eb5b503b376: Pulling fs layer 23:56:06 5c69ac0246d0: Pulling fs layer 23:56:06 ec43610c2a17: Pulling fs layer 23:56:06 3a2ae6a8a46f: Pulling fs layer 23:56:06 33b1e0a273af: Pulling fs layer 23:56:06 5d3b04190fa2: Pulling fs layer 23:56:06 2f39f015ded8: Pulling fs layer 23:56:06 3a2ae6a8a46f: Waiting 23:56:06 5d3b04190fa2: Waiting 23:56:06 33b1e0a273af: Waiting 23:56:06 5c69ac0246d0: Verifying Checksum 23:56:06 5c69ac0246d0: Download complete 23:56:06 3a2ae6a8a46f: Verifying Checksum 23:56:06 3a2ae6a8a46f: Download complete 23:56:06 33b1e0a273af: Verifying Checksum 23:56:06 33b1e0a273af: Download complete 23:56:06 5d3b04190fa2: Download complete 23:56:06 ec43610c2a17: Verifying Checksum 23:56:06 ec43610c2a17: Download complete 23:56:06 5eb5b503b376: Verifying Checksum 23:56:06 5eb5b503b376: Download complete 23:56:07 2f39f015ded8: Download complete 23:56:08 5eb5b503b376: Pull complete 23:56:08 5c69ac0246d0: Pull complete 23:56:08 ec43610c2a17: Pull complete 23:56:08 3a2ae6a8a46f: Pull complete 23:56:09 33b1e0a273af: Pull complete 23:56:09 5d3b04190fa2: Pull complete 23:56:14 2f39f015ded8: Pull complete 23:56:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:56:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:14 prd-ubuntu20.04-docker-8c-8g-16828 does not seem to be running inside a container 23:56:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-412 -v /w/workspace/foundry_device-virtual-go_PR-412:/w/workspace/foundry_device-virtual-go_PR-412:rw,z -v /w/workspace/foundry_device-virtual-go_PR-412@tmp:/w/workspace/foundry_device-virtual-go_PR-412@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 23:56:21 $ docker top 26d3dea971832f9607aa0f6184df49818898a0352b1855e522af603b82d5ea5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:56:22 ---> job-cost.sh 23:56:22 lf-activate-venv: SKIPPING 23:56:22 INFO: No Stack... 23:56:22 INFO: Retrieving Pricing Info for: v3-standard-8 23:56:22 INFO: Archiving Costs [Pipeline] sh 23:56:23 + cat /w/workspace/foundry_device-virtual-go_PR-412/archives/cost.csv 23:56:23 + cut -d, -f6 [Pipeline] lock 23:56:23 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-412-1-stack-cost] 23:56:23 Resource [jenkins-edgexfoundry-device-virtual-go-PR-412-1-stack-cost] did not exist. Created. 23:56:23 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-412-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:56:23 + echo total: 0.2199999988079071 [Pipeline] stash 23:56:23 Stashed 1 file(s) [Pipeline] } 23:56:23 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-412-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:56:23 $ docker stop --time=1 26d3dea971832f9607aa0f6184df49818898a0352b1855e522af603b82d5ea5a 23:56:25 $ docker rm -f --volumes 26d3dea971832f9607aa0f6184df49818898a0352b1855e522af603b82d5ea5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:56:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16832 in /w/workspace/foundry_device-virtual-go_PR-412 [Pipeline] { [Pipeline] ws 23:56:47 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 23:56:48 The recommended git tool is: git 23:56:54 using credential edgex-jenkins-ssh 23:56:54 Cloning the remote Git repository 23:56:54 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:56:54 > git init /w/workspace/device-virtual-go/1 # timeout=10 23:56:54 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:56:54 > git --version # timeout=10 23:56:55 > git --version # 'git version 2.25.1' 23:56:55 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:56:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:56:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:56:59 Merging remotes/origin/main commit ed3289d750d77ec3b888271c7762159edecc04ed into PR head commit 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab 23:56:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:56:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:56:58 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/412/head:refs/remotes/origin/PR-412 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:56:59 > git config core.sparsecheckout # timeout=10 23:56:59 > git checkout -f 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab # timeout=10 23:56:59 > git remote # timeout=10 23:56:59 Merge succeeded, producing 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab 23:56:59 Checking out Revision 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab (PR-412) 23:57:00 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 23:57:00 > git --version # timeout=10 23:57:00 > git --version # 'git version 2.25.1' 23:57:00 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:56:59 > git config --get remote.origin.url # timeout=10 23:56:59 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:59 > git merge ed3289d750d77ec3b888271c7762159edecc04ed # timeout=10 23:56:59 > git rev-parse HEAD^{commit} # timeout=10 23:56:59 > git config core.sparsecheckout # timeout=10 23:56:59 > git checkout -f 3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab # timeout=10 23:57:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:57:01 % Total % Received % Xferd Average Speed Time Time Time Current 23:57:01 Dload Upload Total Spent Left Speed 23:57:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 128k 0 --:--:-- --:--:-- --:--:-- 128k [Pipeline] sh 23:57:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:57:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:57:02 + sudo tee /etc/docker/daemon.new 23:57:02 { 23:57:02 "registry-mirrors": [ 23:57:02 "https://nexus3.edgexfoundry.org:10001" 23:57:02 ], 23:57:02 "bip": "10.250.0.254/24", 23:57:02 "hosts": [ 23:57:02 "tcp://0.0.0.0:5555", 23:57:02 "unix:///var/run/docker.sock" 23:57:02 ], 23:57:02 "mtu": 1458, 23:57:02 "selinux-enabled": true, 23:57:02 "seccomp-profile": "/etc/docker/seccomp.json" 23:57:02 } [Pipeline] sh 23:57:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:57:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:57:22 provisioning config files... 23:57:22 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5587728637682997545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:22 ---> docker-login.sh 23:57:22 nexus3.edgexfoundry.org:10001 23:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:23 Configure a credential helper to remove this warning. See 23:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:23 23:57:23 Login Succeeded 23:57:23 nexus3.edgexfoundry.org:10002 23:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:23 Configure a credential helper to remove this warning. See 23:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:23 23:57:23 Login Succeeded 23:57:23 nexus3.edgexfoundry.org:10003 23:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:23 Configure a credential helper to remove this warning. See 23:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:23 23:57:23 Login Succeeded 23:57:23 nexus3.edgexfoundry.org:10004 23:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:24 Configure a credential helper to remove this warning. See 23:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:24 23:57:24 Login Succeeded 23:57:24 docker.io 23:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:24 Configure a credential helper to remove this warning. See 23:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:24 23:57:24 Login Succeeded 23:57:24 ---> docker-login.sh ends [Pipeline] } 23:57:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:57:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:25 ========================================================= 23:57:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:57:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:57:26 Sending build context to Docker daemon 12.01MB 23:57:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:57:26 Step 2/12 : FROM ${BASE} AS builder 23:57:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:57:26 c41833b44d91: Pulling fs layer 23:57:26 ed15518f5707: Pulling fs layer 23:57:26 feae8fd75edb: Pulling fs layer 23:57:26 242c74f7c9fa: Pulling fs layer 23:57:26 3cdef696dda3: Pulling fs layer 23:57:26 2ced38df9373: Pulling fs layer 23:57:26 58f1dce35555: Pulling fs layer 23:57:26 3cdef696dda3: Waiting 23:57:26 2ced38df9373: Waiting 23:57:26 58f1dce35555: Waiting 23:57:26 242c74f7c9fa: Waiting 23:57:26 ed15518f5707: Verifying Checksum 23:57:26 ed15518f5707: Download complete 23:57:27 242c74f7c9fa: Verifying Checksum 23:57:27 242c74f7c9fa: Download complete 23:57:27 3cdef696dda3: Verifying Checksum 23:57:27 3cdef696dda3: Download complete 23:57:27 c41833b44d91: Verifying Checksum 23:57:27 c41833b44d91: Download complete 23:57:28 c41833b44d91: Pull complete 23:57:28 58f1dce35555: Verifying Checksum 23:57:28 58f1dce35555: Download complete 23:57:28 ed15518f5707: Pull complete 23:57:29 feae8fd75edb: Verifying Checksum 23:57:29 feae8fd75edb: Download complete 23:57:29 2ced38df9373: Verifying Checksum 23:57:29 2ced38df9373: Download complete 23:57:42 feae8fd75edb: Pull complete 23:57:42 242c74f7c9fa: Pull complete 23:57:42 3cdef696dda3: Pull complete 23:57:48 2ced38df9373: Pull complete 23:57:50 58f1dce35555: Pull complete 23:57:50 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:57:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:57:50 ---> fadd8f120f05 23:57:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:57:53 ---> Running in 81d355edcee9 23:57:53 Removing intermediate container 81d355edcee9 23:57:53 ---> 21200035821f 23:57:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:57:53 ---> Running in 8ab1513f4154 23:57:53 Removing intermediate container 8ab1513f4154 23:57:53 ---> 3f0058972ea3 23:57:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:57:53 ---> Running in aca0e6d6ad12 23:57:54 Removing intermediate container aca0e6d6ad12 23:57:54 ---> b7df7e590394 23:57:54 Step 6/12 : WORKDIR /device-virtual-go 23:57:54 ---> Running in 2e053175999a 23:57:54 Removing intermediate container 2e053175999a 23:57:54 ---> d6b8e09dcc58 23:57:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:57:54 ---> Running in d76025a8cf36 23:57:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:57:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:57:58 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:57:58 (2/4) Installing libedit (20221030.3.1-r0) 23:57:58 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:57:58 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:57:58 Executing busybox-1.35.0-r29.trigger 23:57:58 OK: 268 MiB in 57 packages 23:57:59 Removing intermediate container d76025a8cf36 23:57:59 ---> f016e382ae95 23:57:59 Step 8/12 : COPY go.mod vendor* ./ 23:58:00 ---> b6cac0c29a5b 23:58:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:58:00 ---> Running in 64d654c5b9f2 23:59:08 Removing intermediate container 64d654c5b9f2 23:59:08 ---> 2b50ead43af4 23:59:08 Step 10/12 : COPY . . 23:59:08 ---> 6c1e608824fd 23:59:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:59:08 ---> Running in 8d6dfddb224b 23:59:08 Removing intermediate container 8d6dfddb224b 23:59:08 ---> 7de058445857 23:59:08 Step 12/12 : RUN $MAKE 23:59:08 ---> Running in 008962a65cd9 23:59:08 noop 23:59:08 Removing intermediate container 008962a65cd9 23:59:08 ---> 97897ef9688f 23:59:08 Successfully built 97897ef9688f 23:59:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:09 + docker inspect -f . ci-base-image-arm64 23:59:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:09 prd-ubuntu20.04-docker-arm64-4c-16g-16832 does not seem to be running inside a container 23:59:09 $ 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 23:59:11 $ docker top ddec2838dec6437df682a0025546e4459e68cd1c659e9c5c473e673f180dcbfa -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:11 + go version 23:59:11 go version go1.20.2 linux/arm64 [Pipeline] } 23:59:11 $ docker stop --time=1 ddec2838dec6437df682a0025546e4459e68cd1c659e9c5c473e673f180dcbfa 23:59:17 $ docker rm -f --volumes ddec2838dec6437df682a0025546e4459e68cd1c659e9c5c473e673f180dcbfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:18 + docker inspect -f . ci-base-image-arm64 23:59:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:18 prd-ubuntu20.04-docker-arm64-4c-16g-16832 does not seem to be running inside a container 23:59:18 $ 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 23:59:19 $ docker top dba8093db12629d2d91d4f2b3b8a2859a3db4fcfd8d819c5c091117e52d2ed57 -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:20 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 23:59:21 + make test 23:59:21 go test ./... -coverprofile=coverage.out 00:00:00 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:02:37 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:02:40 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.113s coverage: 58.4% of statements 00:02:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:02:40 go vet ./... 00:03:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:03:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:03:16 ./bin/test-attribution-txt.sh [Pipeline] echo 00:03:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:03:16 $ docker stop --time=1 dba8093db12629d2d91d4f2b3b8a2859a3db4fcfd8d819c5c091117e52d2ed57 00:03:18 $ docker rm -f --volumes dba8093db12629d2d91d4f2b3b8a2859a3db4fcfd8d819c5c091117e52d2ed57 [Pipeline] // withDockerContainer [Pipeline] sh 00:03:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:03:20 Warning: overwriting stash ‘coverage-report’ 00:03:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:03:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:03:21 + ls -al . 00:03:21 total 188 00:03:21 drwxrwxr-x 8 jenkins jenkins 4096 May 24 23:59 . 00:03:21 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:56 .. 00:03:21 drwxrwxr-x 8 jenkins jenkins 4096 May 24 23:56 .git 00:03:21 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:56 .github 00:03:21 -rw-rw-r-- 1 jenkins jenkins 337 May 24 23:56 .gitignore 00:03:21 -rw-rw-r-- 1 jenkins jenkins 41 May 24 23:56 .golangci.yml 00:03:21 -rw-rw-r-- 1 jenkins jenkins 8652 May 24 23:56 Attribution.txt 00:03:21 -rw-rw-r-- 1 jenkins jenkins 11367 May 24 23:56 CHANGELOG.md 00:03:21 -rw-rw-r-- 1 jenkins jenkins 1646 May 24 23:56 Dockerfile 00:03:21 -rw-rw-r-- 1 jenkins jenkins 677 May 24 23:56 GOVERNANCE.md 00:03:21 -rw-rw-r-- 1 jenkins jenkins 660 May 24 23:56 Jenkinsfile 00:03:21 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 23:56 LICENSE 00:03:21 -rw-rw-r-- 1 jenkins jenkins 1696 May 24 23:56 Makefile 00:03:21 -rw-rw-r-- 1 jenkins jenkins 623 May 24 23:56 OWNERS.md 00:03:21 -rw-rw-r-- 1 jenkins jenkins 4087 May 24 23:56 README.md 00:03:21 -rw-rw-r-- 1 jenkins jenkins 5 May 24 23:53 VERSION 00:03:21 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:56 bin 00:03:21 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:56 cmd 00:03:21 -rw-r--r-- 1 jenkins jenkins 43063 May 25 00:02 coverage.out 00:03:21 -rw-rw-r-- 1 jenkins jenkins 3161 May 24 23:56 go.mod 00:03:21 -rw-rw-r-- 1 jenkins jenkins 30898 May 24 23:56 go.sum 00:03:21 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:56 internal 00:03:21 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:56 snap 00:03:21 -rw-rw-r-- 1 jenkins jenkins 235 May 24 23:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:22 + 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=3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab --label arch=arm64 --label version=0.0.0 . 00:03:23 Sending build context to Docker daemon 12.05MB 00:03:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 00:03:23 Step 2/25 : FROM ${BASE} AS builder 00:03:23 ---> 97897ef9688f 00:03:23 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:03:23 ---> Running in 0574642fc762 00:03:23 Removing intermediate container 0574642fc762 00:03:23 ---> eb462c4a973d 00:03:23 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:03:23 ---> Running in 813954b4b701 00:03:24 Removing intermediate container 813954b4b701 00:03:24 ---> 2d793170ba57 00:03:24 Step 5/25 : ARG ADD_BUILD_TAGS="" 00:03:24 ---> Running in b257cfbacee7 00:03:24 Removing intermediate container b257cfbacee7 00:03:24 ---> b83e4c640dea 00:03:24 Step 6/25 : WORKDIR /device-virtual-go 00:03:24 ---> Running in 697fa9bba630 00:03:25 Removing intermediate container 697fa9bba630 00:03:25 ---> 5d0c9991ca58 00:03:25 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:03:25 ---> Running in 81aac540d4b5 00:03:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:03:28 OK: 268 MiB in 57 packages 00:03:29 Removing intermediate container 81aac540d4b5 00:03:29 ---> 5cd1e9ef3079 00:03:29 Step 8/25 : COPY go.mod vendor* ./ 00:03:30 ---> 0841731108bf 00:03:30 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:03:30 ---> Running in e700367f3d9c 00:03:33 Removing intermediate container e700367f3d9c 00:03:33 ---> 5d1921fb8540 00:03:33 Step 10/25 : COPY . . 00:03:35 ---> 382465ca957c 00:03:35 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:03:35 ---> Running in adc3e7d9e6d7 00:03:36 Removing intermediate container adc3e7d9e6d7 00:03:36 ---> 60393bee6d05 00:03:36 Step 12/25 : RUN $MAKE 00:03:36 ---> Running in 97d25a53638a 00:03:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 00:06:29 Removing intermediate container 97d25a53638a 00:06:29 ---> 01aa5415cd5a 00:06:29 Step 13/25 : FROM alpine:3.17 00:06:29 3.17: Pulling from library/alpine 00:06:29 c41833b44d91: Already exists 00:06:29 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:06:29 Status: Downloaded newer image for alpine:3.17 00:06:29 ---> 51e60588ff2c 00:06:29 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:06:29 ---> Running in 190adfab8f2e 00:06:29 Removing intermediate container 190adfab8f2e 00:06:29 ---> 29bd14182323 00:06:29 Step 15/25 : RUN apk add --update --no-cache dumb-init 00:06:29 ---> Running in 9550dd13e6a5 00:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:06:29 (1/1) Installing dumb-init (1.2.5-r2) 00:06:29 Executing busybox-1.35.0-r29.trigger 00:06:29 OK: 8 MiB in 16 packages 00:06:29 Removing intermediate container 9550dd13e6a5 00:06:29 ---> 088c3f49f597 00:06:29 Step 16/25 : WORKDIR / 00:06:29 ---> Running in 7fe2a8588b3c 00:06:29 Removing intermediate container 7fe2a8588b3c 00:06:29 ---> a3161881e5fb 00:06:29 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:06:29 ---> 77f85b9eef8a 00:06:29 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 00:06:29 ---> 74a82b2ccd43 00:06:29 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 00:06:32 ---> aadab7df9bce 00:06:32 Step 20/25 : EXPOSE 59900 00:06:32 ---> Running in 982a2654927e 00:06:32 Removing intermediate container 982a2654927e 00:06:32 ---> fb6303a19370 00:06:32 Step 21/25 : ENTRYPOINT ["/device-virtual"] 00:06:32 ---> Running in 740a80c6bfdd 00:06:32 Removing intermediate container 740a80c6bfdd 00:06:32 ---> 8cefeab4f6ed 00:06:32 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:06:32 ---> Running in fc6392c55924 00:06:33 Removing intermediate container fc6392c55924 00:06:33 ---> 11ada2db2635 00:06:33 Step 23/25 : LABEL arch=arm64 00:06:33 ---> Running in ba6f6b918529 00:06:33 Removing intermediate container ba6f6b918529 00:06:33 ---> dfb89d4cb9df 00:06:33 Step 24/25 : LABEL git_sha=3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab 00:06:33 ---> Running in db3c4baadc2e 00:06:33 Removing intermediate container db3c4baadc2e 00:06:33 ---> c339fc06132c 00:06:33 Step 25/25 : LABEL version=0.0.0 00:06:33 ---> Running in f64ae438d615 00:06:34 Removing intermediate container f64ae438d615 00:06:34 ---> 9a639c7d8514 00:06:34 [Warning] One or more build-args [ARCH] were not consumed 00:06:34 Successfully built 9a639c7d8514 00:06:34 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 00:06:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:35 00:06:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:35 arm64: Pulling from edgex-lftools-log-publisher 00:06:35 8998bd30e6a1: Pulling fs layer 00:06:35 04944245beec: Pulling fs layer 00:06:35 699f458cf7ca: Pulling fs layer 00:06:35 765212b225bb: Pulling fs layer 00:06:35 f23df028b6ca: Pulling fs layer 00:06:35 d65c8cfc05b1: Pulling fs layer 00:06:35 2437ff75d9bd: Pulling fs layer 00:06:35 765212b225bb: Waiting 00:06:35 f23df028b6ca: Waiting 00:06:35 d65c8cfc05b1: Waiting 00:06:35 2437ff75d9bd: Waiting 00:06:35 04944245beec: Verifying Checksum 00:06:35 04944245beec: Download complete 00:06:35 765212b225bb: Download complete 00:06:35 f23df028b6ca: Verifying Checksum 00:06:35 f23df028b6ca: Download complete 00:06:36 d65c8cfc05b1: Verifying Checksum 00:06:36 d65c8cfc05b1: Download complete 00:06:36 699f458cf7ca: Verifying Checksum 00:06:36 699f458cf7ca: Download complete 00:06:36 8998bd30e6a1: Verifying Checksum 00:06:36 8998bd30e6a1: Download complete 00:06:38 2437ff75d9bd: Verifying Checksum 00:06:38 2437ff75d9bd: Download complete 00:06:40 8998bd30e6a1: Pull complete 00:06:40 04944245beec: Pull complete 00:06:42 699f458cf7ca: Pull complete 00:06:42 765212b225bb: Pull complete 00:06:43 f23df028b6ca: Pull complete 00:06:43 d65c8cfc05b1: Pull complete 00:06:58 2437ff75d9bd: Pull complete 00:06:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:06:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:58 prd-ubuntu20.04-docker-arm64-4c-16g-16832 does not seem to be running inside a container 00:06:58 $ 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 00:07:01 $ docker top 1a2d347dcf520a6bec6255aa94d23901686522bb754e10c87db67bf0a7218916 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:02 ---> job-cost.sh 00:07:02 lf-activate-venv: SKIPPING 00:07:02 INFO: No Stack... 00:07:03 INFO: Retrieving Pricing Info for: v3-standard-4 00:07:04 INFO: Archiving Costs [Pipeline] sh 00:07:05 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 00:07:05 + cut -d, -f6 [Pipeline] lock 00:07:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-412-1-stack-cost] 00:07:05 Resource [jenkins-edgexfoundry-device-virtual-go-PR-412-1-stack-cost] did not exist. Created. 00:07:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-412-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:07:05 /w/workspace/device-virtual-go/1@tmp/durable-ee8c4b05/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:07:06 + echo total: 0.10999999940395355 [Pipeline] stash 00:07:06 Warning: overwriting stash ‘stack-cost’ 00:07:06 Stashed 1 file(s) [Pipeline] } 00:07:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-412-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:07:06 $ docker stop --time=1 1a2d347dcf520a6bec6255aa94d23901686522bb754e10c87db67bf0a7218916 00:07:08 $ docker rm -f --volumes 1a2d347dcf520a6bec6255aa94d23901686522bb754e10c87db67bf0a7218916 [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 00:07:09 provisioning config files... 00:07:09 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-412@tmp/config4959456343232916726tmp [Pipeline] { [Pipeline] sh 00:07:09 + set +x 00:07:09 + bash -s -- 00:07:09 + curl -s https://codecov.io/bash 00:07:09 00:07:09 _____ _ 00:07:09 / ____| | | 00:07:09 | | ___ __| | ___ ___ _____ __ 00:07:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:07:09 | |___| (_) | (_| | __/ (_| (_) \ V / 00:07:09 \_____\___/ \__,_|\___|\___\___/ \_/ 00:07:09 Bash-1.0.6 00:07:09 00:07:09 00:07:09 ==> git version 2.25.1 found 00:07:09 ==> 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 00:07:09 Release-Date: 2020-01-08 00:07:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:07:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:07:09 ==> Jenkins CI detected. 00:07:09 current dir:  /w/workspace/foundry_device-virtual-go_PR-412 00:07:09 project root: . 00:07:09 --> token set from env 00:07:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:07:09 ==> Running gcov in . (disable via -X gcov) 00:07:09 ==> Python coveragepy not found 00:07:09 ==> Searching for coverage reports in: 00:07:09 + . 00:07:09 -> Found 1 reports 00:07:09 ==> Detecting git/mercurial file structure 00:07:09 ==> Reading reports 00:07:09 + ./coverage.out bytes=43063 00:07:09 ==> Appending adjustments 00:07:09 https://docs.codecov.io/docs/fixing-reports 00:07:10 + Found adjustments 00:07:10 ==> Gzipping contents 00:07:10 8.0K /tmp/codecov.4VBqA6.gz 00:07:10 ==> Uploading reports 00:07:10 url: https://codecov.io 00:07:10 query: branch=PR-412&commit=3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-412%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=412&job=&cmd_args= 00:07:10 -> Pinging Codecov 00:07:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-412&commit=3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-412%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=412&job=&cmd_args= 00:07:10 -> Uploading to 00:07:10 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/5E52B4B073DB2E39498172D8E973AA87/3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab/98580881-8ff9-48b7-8af0-a45aac8d9774.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T000710Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a434c5343eda2f8f1e4d32f667670320af2cdac89770f867717c4bf94902bbe2 00:07:10 % Total % Received % Xferd Average Speed Time Time Time Current 00:07:10 Dload Upload Total Spent Left Speed 00:07:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 22344 --:--:-- --:--:-- --:--:-- 22344 00:07:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/3eaa720c5f9dee7c54b75bd1a4b5473d8c3cddab [Pipeline] } 00:07:10 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 00:07:12 + [ -d /w/workspace/foundry_device-virtual-go_PR-412/archives ] 00:07:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-412/archives 00:07:12 total 16 00:07:12 drwxr-xr-x 3 root root 4096 May 24 23:56 . 00:07:12 drwxrwxr-x 10 jenkins jenkins 4096 May 24 23:56 .. 00:07:12 drwxr-xr-x 2 root root 4096 May 24 23:56 cost 00:07:12 -rw-r--r-- 1 root root 89 May 24 23:56 cost.csv 00:07:12 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-412/archives 00:07:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-412/archives 00:07:12 total 16 00:07:12 drwxr-xr-x 3 jenkins jenkins 4096 May 24 23:56 . 00:07:12 drwxrwxr-x 10 jenkins jenkins 4096 May 24 23:56 .. 00:07:12 drwxr-xr-x 2 jenkins jenkins 4096 May 24 23:56 cost 00:07:12 -rw-r--r-- 1 jenkins jenkins 89 May 24 23:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:07:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:07:13 ---> package-listing.sh 00:07:13 ++ facter osfamily 00:07:13 ++ tr '[:upper:]' '[:lower:]' 00:07:13 + OS_FAMILY=debian 00:07:13 + workspace=/w/workspace/foundry_device-virtual-go_PR-412 00:07:13 + START_PACKAGES=/tmp/packages_start.txt 00:07:13 + END_PACKAGES=/tmp/packages_end.txt 00:07:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:07:13 + PACKAGES=/tmp/packages_start.txt 00:07:13 + '[' /w/workspace/foundry_device-virtual-go_PR-412 ']' 00:07:13 + PACKAGES=/tmp/packages_end.txt 00:07:13 + case "${OS_FAMILY}" in 00:07:13 + dpkg -l 00:07:13 + grep '^ii' 00:07:13 + '[' -f /tmp/packages_start.txt ']' 00:07:13 + '[' -f /tmp/packages_end.txt ']' 00:07:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:07:13 + '[' /w/workspace/foundry_device-virtual-go_PR-412 ']' 00:07:13 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-412/archives/ 00:07:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-412/archives/ [Pipeline] echo 00:07:13 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-412/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:07:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:07:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:14 prd-ubuntu20.04-docker-8c-8g-16828 does not seem to be running inside a container 00:07:14 $ 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-412/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-412 -v /w/workspace/foundry_device-virtual-go_PR-412:/w/workspace/foundry_device-virtual-go_PR-412:rw,z -v /w/workspace/foundry_device-virtual-go_PR-412@tmp:/w/workspace/foundry_device-virtual-go_PR-412@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 00:07:15 $ docker top e7cabcc5787ff0a4343d89c40e74dd00174cc105521fa469f4b562730b7b009f -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:15 + touch /tmp/pre-build-complete [Pipeline] sh 00:07:15 + mkdir -p /var/log/sysstat [Pipeline] sh 00:07:16 + ls /var/log/sa-host 00:07:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:07:16 provisioning config files... 00:07:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-412@tmp/config375104306770920560tmp [Pipeline] { [Pipeline] echo 00:07:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:07:16 ---> create-netrc.sh [Pipeline] } 00:07:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:07:17 ---> python-tools-install.sh [Pipeline] echo 00:07:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:07:17 ---> sudo-logs.sh 00:07:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:07:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:07:17 ---> job-cost.sh 00:07:17 lf-activate-venv: SKIPPING 00:07:17 DEBUG: total: 0.2199999988079071 00:07:17 INFO: Retrieving Stack Cost... 00:07:18 INFO: Retrieving Pricing Info for: v3-standard-8 00:07:18 INFO: Archiving Costs [Pipeline] echo 00:07:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:07:18 ---> logs-deploy.sh 00:07:18 lf-activate-venv: SKIPPING 00:07:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-412/1 00:07:18 INFO: archiving workspace using pattern(s): 00:07:19 Archives upload complete. 00:07:19 INFO: archiving logs to Nexus