Pull request #399 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 81c3d8df6e6916a21c685b3cf20bca39d3871f6d rather than a323398b570b4605ef02cb66b6ed5c65d654fcbc Obtained Jenkinsfile from 81c3d8df6e6916a21c685b3cf20bca39d3871f6d 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-ssh5937274123703752434.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-ssh16366422611436912529.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-399/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-399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11786626110017941160.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-399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13647895688386165676.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-ssh439162289301326476.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-399/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-399/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3279877550247318632.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-14443 in /w/workspace/foundry_device-virtual-go_PR-399 [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-399 # 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 Merging remotes/origin/main commit 81c3d8df6e6916a21c685b3cf20bca39d3871f6d into PR head commit a323398b570b4605ef02cb66b6ed5c65d654fcbc Merge succeeded, producing a323398b570b4605ef02cb66b6ed5c65d654fcbc Checking out Revision a323398b570b4605ef02cb66b6ed5c65d654fcbc (PR-399) 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/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a323398b570b4605ef02cb66b6ed5c65d654fcbc # 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 81c3d8df6e6916a21c685b3cf20bca39d3871f6d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a323398b570b4605ef02cb66b6ed5c65d654fcbc # timeout=10 Commit message: "build: Ignore all go-mods except device-sdk-go" 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] { [Pipeline] timeout 04:32:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:32:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:32:13 ========================================================= 04:32:13 EdgeX Global Pipelines Version Info 04:32:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:32:14 ------------------- 04:32:14 stable info: 04:32:14 ------------------- 04:32:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:32:14 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:32:14 Message: update stable to v1.0.249 04:32:14 ------------------- 04:32:14 experimental info: 04:32:14 ------------------- 04:32:14 Commited By: **** collab-it+edgex@linuxfoundation.org 04:32:14 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:32:14 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-399 [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-399 [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-399 [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a323398b570b4605ef02cb66b6ed5c65d654fcbc [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a323398 [Pipeline] echo 04:32:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:32:16 provisioning config files... 04:32:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-399@tmp/config5186221303587340911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:17 ---> docker-login.sh 04:32:17 nexus3.edgexfoundry.org:10001 04:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:17 Configure a credential helper to remove this warning. See 04:32:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:17 04:32:17 Login Succeeded 04:32:17 nexus3.edgexfoundry.org:10002 04:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:17 Configure a credential helper to remove this warning. See 04:32:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:17 04:32:17 Login Succeeded 04:32:17 nexus3.edgexfoundry.org:10003 04:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:17 Configure a credential helper to remove this warning. See 04:32:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:17 04:32:17 Login Succeeded 04:32:17 nexus3.edgexfoundry.org:10004 04:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:17 Configure a credential helper to remove this warning. See 04:32:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:17 04:32:17 Login Succeeded 04:32:17 docker.io 04:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:18 Configure a credential helper to remove this warning. See 04:32:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:18 04:32:18 Login Succeeded 04:32:18 ---> docker-login.sh ends [Pipeline] } 04:32:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:32:18 + git rev-list -1 --merges a323398b570b4605ef02cb66b6ed5c65d654fcbc~1..a323398b570b4605ef02cb66b6ed5c65d654fcbc [Pipeline] echo 04:32:18 -----------> git rev-list -1 --merges a323398b570b4605ef02cb66b6ed5c65d654fcbc~1..a323398b570b4605ef02cb66b6ed5c65d654fcbc a323398b570b4605ef02cb66b6ed5c65d654fcbc [false] [Pipeline] sh 04:32:19 + git log --format=format:%s -1 a323398b570b4605ef02cb66b6ed5c65d654fcbc [Pipeline] echo 04:32:19 ========================================================= 04:32:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:32:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:32:19 + git log --format=format:%s -1 a323398b570b4605ef02cb66b6ed5c65d654fcbc [Pipeline] echo 04:32:19 [semverPrep] GIT_COMMIT: a323398b570b4605ef02cb66b6ed5c65d654fcbc, Commit Message: build: Ignore all go-mods except device-sdk-go [Pipeline] echo 04:32:19 [semverPrep] This is not a build commit. [Pipeline] sh 04:32:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:32:20 + grep -v github /etc/ssh/ssh_known_hosts 04:32:20 + [ -e /tmp/ssh_known_hosts ] 04:32:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:32:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:32:20 + sudo tee -a /etc/ssh/ssh_known_hosts 04:32:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:32:20 04:32:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:32:21 0.1.4: Pulling from edgex-devops/py-git-semver 04:32:21 b85a868b505f: Pulling fs layer 04:32:21 e2be974225ed: Pulling fs layer 04:32:21 339a4e72a1f5: Pulling fs layer 04:32:21 988bab9f4d93: Pulling fs layer 04:32:21 1469e6f7b9e6: Pulling fs layer 04:32:21 eaf3925da568: Pulling fs layer 04:32:21 bab4dde63d76: Pulling fs layer 04:32:21 bde34c3a00c8: Pulling fs layer 04:32:21 b352a97aabf1: Pulling fs layer 04:32:21 4872d77fe225: Pulling fs layer 04:32:21 5851b861e8e6: Pulling fs layer 04:32:21 b352a97aabf1: Waiting 04:32:21 bab4dde63d76: Waiting 04:32:21 988bab9f4d93: Waiting 04:32:21 bde34c3a00c8: Waiting 04:32:21 4872d77fe225: Waiting 04:32:21 5851b861e8e6: Waiting 04:32:21 eaf3925da568: Waiting 04:32:21 1469e6f7b9e6: Waiting 04:32:21 e2be974225ed: Verifying Checksum 04:32:21 e2be974225ed: Download complete 04:32:21 988bab9f4d93: Verifying Checksum 04:32:21 988bab9f4d93: Download complete 04:32:21 339a4e72a1f5: Verifying Checksum 04:32:21 339a4e72a1f5: Download complete 04:32:21 1469e6f7b9e6: Verifying Checksum 04:32:21 1469e6f7b9e6: Download complete 04:32:21 eaf3925da568: Verifying Checksum 04:32:21 eaf3925da568: Download complete 04:32:21 bde34c3a00c8: Download complete 04:32:21 b352a97aabf1: Verifying Checksum 04:32:21 b352a97aabf1: Download complete 04:32:21 4872d77fe225: Download complete 04:32:21 5851b861e8e6: Verifying Checksum 04:32:21 5851b861e8e6: Download complete 04:32:21 b85a868b505f: Verifying Checksum 04:32:21 b85a868b505f: Download complete 04:32:21 bab4dde63d76: Verifying Checksum 04:32:21 bab4dde63d76: Download complete 04:32:22 b85a868b505f: Pull complete 04:32:22 e2be974225ed: Pull complete 04:32:23 339a4e72a1f5: Pull complete 04:32:23 988bab9f4d93: Pull complete 04:32:23 1469e6f7b9e6: Pull complete 04:32:23 eaf3925da568: Pull complete 04:32:25 bab4dde63d76: Pull complete 04:32:25 bde34c3a00c8: Pull complete 04:32:25 b352a97aabf1: Pull complete 04:32:25 4872d77fe225: Pull complete 04:32:25 5851b861e8e6: Pull complete 04:32:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:32:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:32:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:26 prd-ubuntu20.04-docker-8c-8g-14443 does not seem to be running inside a container 04:32:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-399 -v /w/workspace/foundry_device-virtual-go_PR-399:/w/workspace/foundry_device-virtual-go_PR-399:rw,z -v /w/workspace/foundry_device-virtual-go_PR-399@tmp:/w/workspace/foundry_device-virtual-go_PR-399@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-devops/py-git-semver:0.1.4 cat 04:32:28 $ docker top 555bcd2052f41c6952f690c65b2c7b4b93348cdee61da0399d4b2305f8da77fa -eo pid,comm 04:32:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:32:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:32:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:32:28 [ssh-agent] Looking for ssh-agent implementation... 04:32:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:32:29 $ docker exec 555bcd2052f41c6952f690c65b2c7b4b93348cdee61da0399d4b2305f8da77fa ssh-agent 04:32:29 SSH_AUTH_SOCK=/tmp/ssh-GCaO4DW1aDck/agent.32 04:32:29 SSH_AGENT_PID=38 04:32:29 Running ssh-add (command line suppressed) 04:32:29 Identity added: /w/workspace/foundry_device-virtual-go_PR-399@tmp/private_key_8347741205687973207.key (/w/workspace/foundry_device-virtual-go_PR-399@tmp/private_key_8347741205687973207.key) 04:32:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:32:29 + git tag --points-at HEAD [Pipeline] } 04:32:29 $ docker exec --env ******** --env ******** 555bcd2052f41c6952f690c65b2c7b4b93348cdee61da0399d4b2305f8da77fa ssh-agent -k 04:32:29 unset SSH_AUTH_SOCK; 04:32:29 unset SSH_AGENT_PID; 04:32:29 echo Agent pid 38 killed; 04:32:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:32:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:32:29 [ssh-agent] Looking for ssh-agent implementation... 04:32:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:32:30 $ docker exec 555bcd2052f41c6952f690c65b2c7b4b93348cdee61da0399d4b2305f8da77fa ssh-agent 04:32:30 SSH_AUTH_SOCK=/tmp/ssh-rtbRAHesg1zt/agent.70 04:32:30 SSH_AGENT_PID=76 04:32:30 Running ssh-add (command line suppressed) 04:32:30 Identity added: /w/workspace/foundry_device-virtual-go_PR-399@tmp/private_key_156808903300357946.key (/w/workspace/foundry_device-virtual-go_PR-399@tmp/private_key_156808903300357946.key) 04:32:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:32:30 + git semver init 04:32:30 2023-05-08 04:32:30,856 [run_init] DEBUG init version:0.0.0 force:False 04:32:30 2023-05-08 04:32:30,857 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-399/.semver 04:32:30 2023-05-08 04:32:30,857 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-399/.semver 04:32:30 2023-05-08 04:32:30,857 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-399/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-399, universal_newlines=False, shell=None, istream=None) 04:32:32 2023-05-08 04:32:32,064 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-399/.git/info/exclude 04:32:32 2023-05-08 04:32:32,064 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-399/.semver/PR-399 with force:False 04:32:32 2023-05-08 04:32:32,065 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-399/.semver/PR-399 04:32:32 2023-05-08 04:32:32,069 [execute] INFO git cat-file --batch-check 04:32:32 2023-05-08 04:32:32,069 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-399/.semver, universal_newlines=False, shell=None, istream=) 04:32:32 2023-05-08 04:32:32,075 [execute] INFO git cat-file --batch 04:32:32 2023-05-08 04:32:32,076 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-399/.semver, universal_newlines=False, shell=None, istream=) 04:32:32 2023-05-08 04:32:32,081 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-399/.semver/PR-399 04:32:32 0.0.0 [Pipeline] } 04:32:32 $ docker exec --env ******** --env ******** 555bcd2052f41c6952f690c65b2c7b4b93348cdee61da0399d4b2305f8da77fa ssh-agent -k 04:32:32 unset SSH_AUTH_SOCK; 04:32:32 unset SSH_AGENT_PID; 04:32:32 echo Agent pid 76 killed; 04:32:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:32:32 + git semver [Pipeline] } 04:32:33 $ docker stop --time=1 555bcd2052f41c6952f690c65b2c7b4b93348cdee61da0399d4b2305f8da77fa 04:32:34 $ docker rm -f --volumes 555bcd2052f41c6952f690c65b2c7b4b93348cdee61da0399d4b2305f8da77fa [Pipeline] // withDockerContainer [Pipeline] sh 04:32:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:32:35 Stashed 1 file(s) [Pipeline] echo 04:32:35 [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 04:32:35 provisioning config files... 04:32:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-399@tmp/config9381704702782880964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:36 ---> docker-login.sh 04:32:36 nexus3.edgexfoundry.org:10001 04:32:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:36 Configure a credential helper to remove this warning. See 04:32:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:36 04:32:36 Login Succeeded 04:32:36 nexus3.edgexfoundry.org:10002 04:32:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:36 Configure a credential helper to remove this warning. See 04:32:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:36 04:32:36 Login Succeeded 04:32:36 nexus3.edgexfoundry.org:10003 04:32:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:36 Configure a credential helper to remove this warning. See 04:32:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:36 04:32:36 Login Succeeded 04:32:36 nexus3.edgexfoundry.org:10004 04:32:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:36 Configure a credential helper to remove this warning. See 04:32:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:36 04:32:36 Login Succeeded 04:32:36 docker.io 04:32:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:36 Configure a credential helper to remove this warning. See 04:32:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:36 04:32:36 Login Succeeded 04:32:36 ---> docker-login.sh ends [Pipeline] } 04:32:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:32:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:32:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:32:37 ========================================================= 04:32:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:32:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:37 + 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 . 04:32:37 Sending build context to Docker daemon 23.61MB 04:32:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:32:37 Step 2/12 : FROM ${BASE} AS builder 04:32:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:32:38 f56be85fc22e: Pulling fs layer 04:32:38 85791d961cd3: Pulling fs layer 04:32:38 d694b5ae8c79: Pulling fs layer 04:32:38 9f32a84ed3da: Pulling fs layer 04:32:38 4d19c01a9841: Pulling fs layer 04:32:38 9325e15d5711: Pulling fs layer 04:32:38 556b6ee489ea: Pulling fs layer 04:32:38 c5a4b2cf53e6: Pulling fs layer 04:32:38 9325e15d5711: Waiting 04:32:38 c5a4b2cf53e6: Waiting 04:32:38 556b6ee489ea: Waiting 04:32:38 9f32a84ed3da: Waiting 04:32:38 4d19c01a9841: Waiting 04:32:38 85791d961cd3: Download complete 04:32:38 9f32a84ed3da: Verifying Checksum 04:32:38 9f32a84ed3da: Download complete 04:32:38 4d19c01a9841: Verifying Checksum 04:32:38 4d19c01a9841: Download complete 04:32:38 f56be85fc22e: Verifying Checksum 04:32:38 f56be85fc22e: Download complete 04:32:38 9325e15d5711: Verifying Checksum 04:32:38 9325e15d5711: Download complete 04:32:38 f56be85fc22e: Pull complete 04:32:38 85791d961cd3: Pull complete 04:32:38 c5a4b2cf53e6: Verifying Checksum 04:32:38 c5a4b2cf53e6: Download complete 04:32:38 d694b5ae8c79: Download complete 04:32:38 556b6ee489ea: Verifying Checksum 04:32:38 556b6ee489ea: Download complete 04:32:42 d694b5ae8c79: Pull complete 04:32:42 9f32a84ed3da: Pull complete 04:32:42 4d19c01a9841: Pull complete 04:32:42 9325e15d5711: Pull complete 04:32:44 556b6ee489ea: Pull complete 04:32:45 c5a4b2cf53e6: Pull complete 04:32:45 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:32:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:32:45 ---> c4be618373d6 04:32:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:32:50 Still waiting to schedule task 04:32:50 ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 04:32:50 ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 04:32:50 ‘prd-ubuntu20.04-docker-8c-8g-14435’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 04:32:50 ‘prd-ubuntu20.04-docker-8c-8g-14445’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 04:32:50 ‘prd-ubuntu20.04-docker-arm64-4c-16g-14437’ is offline 04:32:50 ‘prd-ubuntu20.04-docker-arm64-4c-16g-14444’ is offline 04:32:50 ---> Running in 683be20b1e7e 04:32:50 Removing intermediate container 683be20b1e7e 04:32:50 ---> d012b1037c07 04:32:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:32:50 ---> Running in f86029b0de65 04:32:50 Removing intermediate container f86029b0de65 04:32:50 ---> 5a915468003e 04:32:50 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:32:50 ---> Running in 7e2218ea01ea 04:32:50 Removing intermediate container 7e2218ea01ea 04:32:50 ---> 5fcced200fa8 04:32:50 Step 6/12 : WORKDIR /device-virtual-go 04:32:50 ---> Running in 47117e4e9bdb 04:32:50 Removing intermediate container 47117e4e9bdb 04:32:50 ---> a1eee4d34afa 04:32:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:32:50 ---> Running in de5edfbbc013 04:32:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:32:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:32:51 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:32:51 (2/4) Installing libedit (20221030.3.1-r0) 04:32:51 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:32:51 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:32:51 Executing busybox-1.35.0-r29.trigger 04:32:51 OK: 269 MiB in 57 packages 04:32:52 Removing intermediate container de5edfbbc013 04:32:52 ---> 3ad5fa6bd651 04:32:52 Step 8/12 : COPY go.mod vendor* ./ 04:32:52 ---> 4d8abc0e1527 04:32:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:32:52 ---> Running in 9128d271d34a 04:33:18 Removing intermediate container 9128d271d34a 04:33:18 ---> ae57eba3cea4 04:33:18 Step 10/12 : COPY . . 04:33:18 ---> 62030c8c0790 04:33:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:33:18 ---> Running in 0a6190602fe8 04:33:18 Removing intermediate container 0a6190602fe8 04:33:18 ---> 7ea2a2f9c677 04:33:18 Step 12/12 : RUN $MAKE 04:33:18 ---> Running in 537a2343e98d 04:33:19 noop 04:33:19 Removing intermediate container 537a2343e98d 04:33:19 ---> c7b993141e45 04:33:19 Successfully built c7b993141e45 04:33:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:19 + docker inspect -f . ci-base-image-x86_64 04:33:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:20 prd-ubuntu20.04-docker-8c-8g-14443 does not seem to be running inside a container 04:33:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-399 -v /w/workspace/foundry_device-virtual-go_PR-399:/w/workspace/foundry_device-virtual-go_PR-399:rw,z -v /w/workspace/foundry_device-virtual-go_PR-399@tmp:/w/workspace/foundry_device-virtual-go_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:33:20 $ docker top 5c9efc0e62f06f46936fe4bd5996b5752f78645f933c8ecd66b4002faf691d27 -eo pid,comm [Pipeline] { [Pipeline] sh 04:33:20 + go version 04:33:20 go version go1.20.2 linux/amd64 [Pipeline] } 04:33:20 $ docker stop --time=1 5c9efc0e62f06f46936fe4bd5996b5752f78645f933c8ecd66b4002faf691d27 04:33:22 $ docker rm -f --volumes 5c9efc0e62f06f46936fe4bd5996b5752f78645f933c8ecd66b4002faf691d27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:22 + docker inspect -f . ci-base-image-x86_64 04:33:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:23 prd-ubuntu20.04-docker-8c-8g-14443 does not seem to be running inside a container 04:33:23 $ 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-399 -v /w/workspace/foundry_device-virtual-go_PR-399:/w/workspace/foundry_device-virtual-go_PR-399:rw,z -v /w/workspace/foundry_device-virtual-go_PR-399@tmp:/w/workspace/foundry_device-virtual-go_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:33:23 $ docker top b6dd164b414112497af457a7f2d4bb383704770a6ca9ce177736284fdd8d83e0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:33:23 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-399 [Pipeline] fileExists [Pipeline] sh 04:33:24 + make test 04:33:24 go test ./... -coverprofile=coverage.out 04:33:29 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:33:37 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:33:37 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 04:33:44 go vet ./... 04:33:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:33:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:33:47 ./bin/test-attribution-txt.sh [Pipeline] echo 04:33:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:33:47 $ docker stop --time=1 b6dd164b414112497af457a7f2d4bb383704770a6ca9ce177736284fdd8d83e0 04:33:50 $ docker rm -f --volumes b6dd164b414112497af457a7f2d4bb383704770a6ca9ce177736284fdd8d83e0 [Pipeline] // withDockerContainer [Pipeline] sh 04:33:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:33:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:33:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:33:52 + ls -al . 04:33:52 total 192 04:33:52 drwxrwxr-x 9 jenkins jenkins 4096 May 8 04:33 . 04:33:52 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:32 .. 04:33:52 drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:32 .git 04:33:52 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:32 .github 04:33:52 -rw-rw-r-- 1 jenkins jenkins 337 May 8 04:32 .gitignore 04:33:52 -rw-rw-r-- 1 jenkins jenkins 41 May 8 04:32 .golangci.yml 04:33:52 drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:32 .semver 04:33:52 -rw-rw-r-- 1 jenkins jenkins 8652 May 8 04:32 Attribution.txt 04:33:52 -rw-rw-r-- 1 jenkins jenkins 11367 May 8 04:32 CHANGELOG.md 04:33:52 -rw-rw-r-- 1 jenkins jenkins 1646 May 8 04:32 Dockerfile 04:33:52 -rw-rw-r-- 1 jenkins jenkins 677 May 8 04:32 GOVERNANCE.md 04:33:52 -rw-rw-r-- 1 jenkins jenkins 660 May 8 04:32 Jenkinsfile 04:33:52 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 04:32 LICENSE 04:33:52 -rw-rw-r-- 1 jenkins jenkins 1696 May 8 04:32 Makefile 04:33:52 -rw-rw-r-- 1 jenkins jenkins 623 May 8 04:32 OWNERS.md 04:33:52 -rw-rw-r-- 1 jenkins jenkins 3578 May 8 04:32 README.md 04:33:52 -rw-rw-r-- 1 jenkins jenkins 5 May 8 04:32 VERSION 04:33:52 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:32 bin 04:33:52 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:32 cmd 04:33:52 -rw-r--r-- 1 jenkins jenkins 43063 May 8 04:33 coverage.out 04:33:52 -rw-rw-r-- 1 jenkins jenkins 3209 May 8 04:32 go.mod 04:33:52 -rw-rw-r-- 1 jenkins jenkins 30994 May 8 04:32 go.sum 04:33:52 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:32 internal 04:33:52 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:32 snap 04:33:52 -rw-rw-r-- 1 jenkins jenkins 235 May 8 04:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:52 + 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=a323398b570b4605ef02cb66b6ed5c65d654fcbc --label arch=amd64 --label version=0.0.0 . 04:33:52 Sending build context to Docker daemon 23.66MB 04:33:52 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:33:52 Step 2/25 : FROM ${BASE} AS builder 04:33:52 ---> c7b993141e45 04:33:52 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:33:52 ---> Running in 2d9907b1827d 04:33:53 Removing intermediate container 2d9907b1827d 04:33:53 ---> 48b15ee87abb 04:33:53 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 04:33:53 ---> Running in 7570e62dbbb1 04:33:53 Removing intermediate container 7570e62dbbb1 04:33:53 ---> 342f5d2b4779 04:33:53 Step 5/25 : ARG ADD_BUILD_TAGS="" 04:33:53 ---> Running in 3aa55b7a2485 04:33:53 Removing intermediate container 3aa55b7a2485 04:33:53 ---> f5588230782b 04:33:53 Step 6/25 : WORKDIR /device-virtual-go 04:33:53 ---> Running in 86077ae572c4 04:33:53 Removing intermediate container 86077ae572c4 04:33:53 ---> b12370fe1852 04:33:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:33:53 ---> Running in 63fc9566b0dc 04:33:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:33:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:33:53 OK: 269 MiB in 57 packages 04:33:54 Removing intermediate container 63fc9566b0dc 04:33:54 ---> 7d2503c4c82d 04:33:54 Step 8/25 : COPY go.mod vendor* ./ 04:33:54 ---> 2aae4a0860b5 04:33:54 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:33:54 ---> Running in 9180e3ae84e4 04:33:55 Removing intermediate container 9180e3ae84e4 04:33:55 ---> 8f41de521238 04:33:55 Step 10/25 : COPY . . 04:33:55 ---> 2895fc295a1c 04:33:55 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:33:55 ---> Running in 589e3ab52335 04:33:55 Removing intermediate container 589e3ab52335 04:33:55 ---> 4f216ce868ac 04:33:55 Step 12/25 : RUN $MAKE 04:33:55 ---> Running in 15f9908616e8 04:33:56 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 04:34:14 Removing intermediate container 15f9908616e8 04:34:14 ---> 7715f5bedb31 04:34:14 Step 13/25 : FROM alpine:3.17 04:34:14 3.17: Pulling from library/alpine 04:34:14 f56be85fc22e: Already exists 04:34:14 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:34:15 Status: Downloaded newer image for alpine:3.17 04:34:15 ---> 9ed4aefc74f6 04:34:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:34:15 ---> Running in 367c89c1ee4e 04:34:15 Removing intermediate container 367c89c1ee4e 04:34:15 ---> e8c1b963e0ac 04:34:15 Step 15/25 : RUN apk add --update --no-cache dumb-init 04:34:15 ---> Running in 2f0797f99063 04:34:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:34:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:34:15 (1/1) Installing dumb-init (1.2.5-r2) 04:34:15 Executing busybox-1.35.0-r29.trigger 04:34:15 OK: 7 MiB in 16 packages 04:34:16 Removing intermediate container 2f0797f99063 04:34:16 ---> 082085741ae6 04:34:16 Step 16/25 : WORKDIR / 04:34:16 ---> Running in 7414d2c336e6 04:34:16 Removing intermediate container 7414d2c336e6 04:34:16 ---> fdabdbc29600 04:34:16 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:34:16 ---> cd1bf2ee9fe7 04:34:16 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 04:34:16 ---> 03a03f3e4551 04:34:16 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 04:34:17 ---> 8a664a934b74 04:34:17 Step 20/25 : EXPOSE 59900 04:34:17 ---> Running in 5f9bde516857 04:34:17 Removing intermediate container 5f9bde516857 04:34:17 ---> 101fc362de16 04:34:17 Step 21/25 : ENTRYPOINT ["/device-virtual"] 04:34:17 ---> Running in f81b2a3c9eb1 04:34:17 Removing intermediate container f81b2a3c9eb1 04:34:17 ---> 1ef52ab3c5ea 04:34:17 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:34:17 ---> Running in c551c07b2ccd 04:34:17 Removing intermediate container c551c07b2ccd 04:34:17 ---> 7ae3f8c0fd4e 04:34:17 Step 23/25 : LABEL arch=amd64 04:34:17 ---> Running in 624de6d6ef4d 04:34:17 Removing intermediate container 624de6d6ef4d 04:34:17 ---> 30c1989f20d6 04:34:17 Step 24/25 : LABEL git_sha=a323398b570b4605ef02cb66b6ed5c65d654fcbc 04:34:17 ---> Running in 46679b2964a5 04:34:17 Removing intermediate container 46679b2964a5 04:34:17 ---> 3070a481c5c9 04:34:17 Step 25/25 : LABEL version=0.0.0 04:34:17 ---> Running in eb34ef86ba2b 04:34:17 Removing intermediate container eb34ef86ba2b 04:34:17 ---> 62220985dfa7 04:34:17 [Warning] One or more build-args [ARCH] were not consumed 04:34:17 Successfully built 62220985dfa7 04:34:17 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 04:34:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:34:18 04:34:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:34:19 latest: Pulling from edgex-lftools-log-publisher 04:34:19 5eb5b503b376: Pulling fs layer 04:34:19 5c69ac0246d0: Pulling fs layer 04:34:19 ec43610c2a17: Pulling fs layer 04:34:19 3a2ae6a8a46f: Pulling fs layer 04:34:19 33b1e0a273af: Pulling fs layer 04:34:19 5d3b04190fa2: Pulling fs layer 04:34:19 2f39f015ded8: Pulling fs layer 04:34:19 33b1e0a273af: Waiting 04:34:19 5d3b04190fa2: Waiting 04:34:19 3a2ae6a8a46f: Waiting 04:34:19 2f39f015ded8: Waiting 04:34:19 5c69ac0246d0: Download complete 04:34:19 3a2ae6a8a46f: Verifying Checksum 04:34:19 3a2ae6a8a46f: Download complete 04:34:19 33b1e0a273af: Verifying Checksum 04:34:19 33b1e0a273af: Download complete 04:34:19 ec43610c2a17: Verifying Checksum 04:34:19 ec43610c2a17: Download complete 04:34:19 5d3b04190fa2: Download complete 04:34:19 5eb5b503b376: Verifying Checksum 04:34:19 5eb5b503b376: Download complete 04:34:20 2f39f015ded8: Verifying Checksum 04:34:20 2f39f015ded8: Download complete 04:34:20 5eb5b503b376: Pull complete 04:34:20 5c69ac0246d0: Pull complete 04:34:21 ec43610c2a17: Pull complete 04:34:21 3a2ae6a8a46f: Pull complete 04:34:21 33b1e0a273af: Pull complete 04:34:21 5d3b04190fa2: Pull complete 04:34:26 2f39f015ded8: Pull complete 04:34:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:34:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:34:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:27 prd-ubuntu20.04-docker-8c-8g-14443 does not seem to be running inside a container 04:34:27 $ 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-399 -v /w/workspace/foundry_device-virtual-go_PR-399:/w/workspace/foundry_device-virtual-go_PR-399:rw,z -v /w/workspace/foundry_device-virtual-go_PR-399@tmp:/w/workspace/foundry_device-virtual-go_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:34:30 $ docker top a8f7affabf69ca93be0ee1a4c86a09969517f67eaf1e6bb7d22fbee498eb1926 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:34:31 ---> job-cost.sh 04:34:31 lf-activate-venv: SKIPPING 04:34:31 INFO: No Stack... 04:34:31 INFO: Retrieving Pricing Info for: v3-standard-8 04:34:32 INFO: Archiving Costs [Pipeline] sh 04:34:32 + cat /w/workspace/foundry_device-virtual-go_PR-399/archives/cost.csv 04:34:32 + cut -d, -f6 [Pipeline] lock 04:34:32 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] 04:34:32 Resource [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] did not exist. Created. 04:34:32 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:34:32 + echo total: 0.2199999988079071 [Pipeline] stash 04:34:32 Stashed 1 file(s) [Pipeline] } 04:34:33 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:34:33 $ docker stop --time=1 a8f7affabf69ca93be0ee1a4c86a09969517f67eaf1e6bb7d22fbee498eb1926 04:34:34 $ docker rm -f --volumes a8f7affabf69ca93be0ee1a4c86a09969517f67eaf1e6bb7d22fbee498eb1926 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:35:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14447 in /w/workspace/foundry_device-virtual-go_PR-399 [Pipeline] { [Pipeline] ws 04:35:36 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 04:35:37 The recommended git tool is: git 04:35:43 using credential edgex-jenkins-ssh 04:35:43 Cloning the remote Git repository 04:35:44 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 04:35:44 > git init /w/workspace/device-virtual-go/1 # timeout=10 04:35:44 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:35:44 > git --version # timeout=10 04:35:44 > git --version # 'git version 2.25.1' 04:35:44 using GIT_SSH to set credentials SSH Credentials for GitHub 04:35:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:35:47 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:35:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:35:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:35:48 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:35:48 using GIT_SSH to set credentials SSH Credentials for GitHub 04:35:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:35:49 Merging remotes/origin/main commit 81c3d8df6e6916a21c685b3cf20bca39d3871f6d into PR head commit a323398b570b4605ef02cb66b6ed5c65d654fcbc 04:35:49 Merge succeeded, producing a323398b570b4605ef02cb66b6ed5c65d654fcbc 04:35:49 Checking out Revision a323398b570b4605ef02cb66b6ed5c65d654fcbc (PR-399) 04:35:49 > git config core.sparsecheckout # timeout=10 04:35:49 > git checkout -f a323398b570b4605ef02cb66b6ed5c65d654fcbc # timeout=10 04:35:49 > git remote # timeout=10 04:35:49 > git config --get remote.origin.url # timeout=10 04:35:49 using GIT_SSH to set credentials SSH Credentials for GitHub 04:35:49 > git merge 81c3d8df6e6916a21c685b3cf20bca39d3871f6d # timeout=10 04:35:49 > git rev-parse HEAD^{commit} # timeout=10 04:35:49 > git config core.sparsecheckout # timeout=10 04:35:49 > git checkout -f a323398b570b4605ef02cb66b6ed5c65d654fcbc # timeout=10 04:35:53 Commit message: "build: Ignore all go-mods except device-sdk-go" 04:35:53 > git --version # timeout=10 04:35:53 > git --version # 'git version 2.25.1' 04:35:53 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:35:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:35:54 % Total % Received % Xferd Average Speed Time Time Time Current 04:35:54 Dload Upload Total Spent Left Speed 04:35:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 04:35:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:35:55 + sudo tee /etc/docker/daemon.new 04:35:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:35:55 { 04:35:55 "registry-mirrors": [ 04:35:55 "https://nexus3.edgexfoundry.org:10001" 04:35:55 ], 04:35:55 "bip": "10.250.0.254/24", 04:35:55 "hosts": [ 04:35:55 "tcp://0.0.0.0:5555", 04:35:55 "unix:///var/run/docker.sock" 04:35:55 ], 04:35:55 "mtu": 1458, 04:35:55 "selinux-enabled": true, 04:35:55 "seccomp-profile": "/etc/docker/seccomp.json" 04:35:55 } [Pipeline] sh 04:35:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:35:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:36:14 provisioning config files... 04:36:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config12320017622609709113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:36:15 ---> docker-login.sh 04:36:15 nexus3.edgexfoundry.org:10001 04:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:15 Configure a credential helper to remove this warning. See 04:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:15 04:36:15 Login Succeeded 04:36:15 nexus3.edgexfoundry.org:10002 04:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:16 Configure a credential helper to remove this warning. See 04:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:16 04:36:16 Login Succeeded 04:36:16 nexus3.edgexfoundry.org:10003 04:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:16 Configure a credential helper to remove this warning. See 04:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:16 04:36:16 Login Succeeded 04:36:16 nexus3.edgexfoundry.org:10004 04:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:16 Configure a credential helper to remove this warning. See 04:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:16 04:36:16 Login Succeeded 04:36:16 docker.io 04:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:17 Configure a credential helper to remove this warning. See 04:36:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:17 04:36:17 Login Succeeded 04:36:17 ---> docker-login.sh ends [Pipeline] } 04:36:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:36:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:36:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:36:18 ========================================================= 04:36:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:36:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:18 + 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 . 04:36:18 Sending build context to Docker daemon 11.98MB 04:36:19 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:36:19 Step 2/12 : FROM ${BASE} AS builder 04:36:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:36:19 c41833b44d91: Pulling fs layer 04:36:19 ed15518f5707: Pulling fs layer 04:36:19 feae8fd75edb: Pulling fs layer 04:36:19 242c74f7c9fa: Pulling fs layer 04:36:19 3cdef696dda3: Pulling fs layer 04:36:19 2ced38df9373: Pulling fs layer 04:36:19 58f1dce35555: Pulling fs layer 04:36:19 3cdef696dda3: Waiting 04:36:19 2ced38df9373: Waiting 04:36:19 58f1dce35555: Waiting 04:36:19 242c74f7c9fa: Waiting 04:36:19 ed15518f5707: Verifying Checksum 04:36:19 ed15518f5707: Download complete 04:36:19 242c74f7c9fa: Verifying Checksum 04:36:19 242c74f7c9fa: Download complete 04:36:19 3cdef696dda3: Verifying Checksum 04:36:19 3cdef696dda3: Download complete 04:36:19 c41833b44d91: Verifying Checksum 04:36:19 c41833b44d91: Download complete 04:36:20 c41833b44d91: Pull complete 04:36:20 58f1dce35555: Verifying Checksum 04:36:20 58f1dce35555: Download complete 04:36:21 ed15518f5707: Pull complete 04:36:22 feae8fd75edb: Verifying Checksum 04:36:22 feae8fd75edb: Download complete 04:36:22 2ced38df9373: Verifying Checksum 04:36:22 2ced38df9373: Download complete 04:36:37 feae8fd75edb: Pull complete 04:36:37 242c74f7c9fa: Pull complete 04:36:37 3cdef696dda3: Pull complete 04:36:43 2ced38df9373: Pull complete 04:36:45 58f1dce35555: Pull complete 04:36:45 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:36:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:36:45 ---> fadd8f120f05 04:36:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:36:47 ---> Running in 58d1e6bbdc19 04:36:47 Removing intermediate container 58d1e6bbdc19 04:36:47 ---> f36ed1b9d351 04:36:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:36:47 ---> Running in bb79af86c9f2 04:36:48 Removing intermediate container bb79af86c9f2 04:36:48 ---> 5322ad2c74b0 04:36:48 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:36:48 ---> Running in be51c0600af2 04:36:48 Removing intermediate container be51c0600af2 04:36:48 ---> 5fad0668f07d 04:36:48 Step 6/12 : WORKDIR /device-virtual-go 04:36:48 ---> Running in 6a0a35691418 04:36:48 Removing intermediate container 6a0a35691418 04:36:48 ---> 2b5d6c710338 04:36:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:36:48 ---> Running in 2456887054b7 04:36:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:36:52 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:36:52 (2/4) Installing libedit (20221030.3.1-r0) 04:36:52 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:36:52 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:36:52 Executing busybox-1.35.0-r29.trigger 04:36:52 OK: 268 MiB in 57 packages 04:36:53 Removing intermediate container 2456887054b7 04:36:53 ---> 4ac8a3a14bb4 04:36:53 Step 8/12 : COPY go.mod vendor* ./ 04:36:54 ---> e185f6e0965a 04:36:54 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:36:54 ---> Running in b3012908f73d 04:38:02 Removing intermediate container b3012908f73d 04:38:02 ---> 5532642f261b 04:38:02 Step 10/12 : COPY . . 04:38:02 ---> 5abf6d34a69e 04:38:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:38:02 ---> Running in 59de2f2cebb0 04:38:02 Removing intermediate container 59de2f2cebb0 04:38:02 ---> 801413aca1a7 04:38:02 Step 12/12 : RUN $MAKE 04:38:02 ---> Running in bd622fe5e78c 04:38:02 noop 04:38:02 Removing intermediate container bd622fe5e78c 04:38:02 ---> c6291a2ac8c2 04:38:02 Successfully built c6291a2ac8c2 04:38:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:02 + docker inspect -f . ci-base-image-arm64 04:38:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:03 prd-ubuntu20.04-docker-arm64-4c-16g-14447 does not seem to be running inside a container 04:38:03 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:38:06 $ docker top c04311047c01d430e2cbc208f3134044622b1ebbc11f86e6ade948903f5c2ea1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:38:07 + go version 04:38:07 go version go1.20.2 linux/arm64 [Pipeline] } 04:38:07 $ docker stop --time=1 c04311047c01d430e2cbc208f3134044622b1ebbc11f86e6ade948903f5c2ea1 04:38:09 $ docker rm -f --volumes c04311047c01d430e2cbc208f3134044622b1ebbc11f86e6ade948903f5c2ea1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:10 + docker inspect -f . ci-base-image-arm64 04:38:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:10 prd-ubuntu20.04-docker-arm64-4c-16g-14447 does not seem to be running inside a container 04:38:10 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:38:11 $ docker top 18dcce87283f7449f071556d51e7ee9dd5f68cff18e0d4bd513c42777d968cdd -eo pid,comm [Pipeline] { [Pipeline] sh 04:38:12 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 04:38:13 + make test 04:38:13 go test ./... -coverprofile=coverage.out 04:38:52 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:40:59 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:41:01 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.098s coverage: 58.4% of statements 04:41:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:41:01 go vet ./... 04:41:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:41:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:41:34 ./bin/test-attribution-txt.sh [Pipeline] echo 04:41:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:41:34 $ docker stop --time=1 18dcce87283f7449f071556d51e7ee9dd5f68cff18e0d4bd513c42777d968cdd 04:41:36 $ docker rm -f --volumes 18dcce87283f7449f071556d51e7ee9dd5f68cff18e0d4bd513c42777d968cdd [Pipeline] // withDockerContainer [Pipeline] sh 04:41:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:41:37 Warning: overwriting stash ‘coverage-report’ 04:41:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:41:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:41:39 + ls -al . 04:41:39 total 188 04:41:39 drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:38 . 04:41:39 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:35 .. 04:41:39 drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:35 .git 04:41:39 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:35 .github 04:41:39 -rw-rw-r-- 1 jenkins jenkins 337 May 8 04:35 .gitignore 04:41:39 -rw-rw-r-- 1 jenkins jenkins 41 May 8 04:35 .golangci.yml 04:41:39 -rw-rw-r-- 1 jenkins jenkins 8652 May 8 04:35 Attribution.txt 04:41:39 -rw-rw-r-- 1 jenkins jenkins 11367 May 8 04:35 CHANGELOG.md 04:41:39 -rw-rw-r-- 1 jenkins jenkins 1646 May 8 04:35 Dockerfile 04:41:39 -rw-rw-r-- 1 jenkins jenkins 677 May 8 04:35 GOVERNANCE.md 04:41:39 -rw-rw-r-- 1 jenkins jenkins 660 May 8 04:35 Jenkinsfile 04:41:39 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 04:35 LICENSE 04:41:39 -rw-rw-r-- 1 jenkins jenkins 1696 May 8 04:35 Makefile 04:41:39 -rw-rw-r-- 1 jenkins jenkins 623 May 8 04:35 OWNERS.md 04:41:39 -rw-rw-r-- 1 jenkins jenkins 3578 May 8 04:35 README.md 04:41:39 -rw-rw-r-- 1 jenkins jenkins 5 May 8 04:32 VERSION 04:41:39 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:35 bin 04:41:39 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:35 cmd 04:41:39 -rw-r--r-- 1 jenkins jenkins 43063 May 8 04:41 coverage.out 04:41:39 -rw-rw-r-- 1 jenkins jenkins 3209 May 8 04:35 go.mod 04:41:39 -rw-rw-r-- 1 jenkins jenkins 30994 May 8 04:35 go.sum 04:41:39 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:35 internal 04:41:39 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:35 snap 04:41:39 -rw-rw-r-- 1 jenkins jenkins 235 May 8 04:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:39 + 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=a323398b570b4605ef02cb66b6ed5c65d654fcbc --label arch=arm64 --label version=0.0.0 . 04:41:40 Sending build context to Docker daemon 12.02MB 04:41:40 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:41:40 Step 2/25 : FROM ${BASE} AS builder 04:41:40 ---> c6291a2ac8c2 04:41:40 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:41:43 ---> Running in 7216b896a688 04:41:43 Removing intermediate container 7216b896a688 04:41:43 ---> 42051d662fda 04:41:43 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 04:41:43 ---> Running in a51eda2c6040 04:41:44 Removing intermediate container a51eda2c6040 04:41:44 ---> fe6cd29a177b 04:41:44 Step 5/25 : ARG ADD_BUILD_TAGS="" 04:41:44 ---> Running in c6a83e64d7b8 04:41:44 Removing intermediate container c6a83e64d7b8 04:41:44 ---> b027b4eabaa7 04:41:44 Step 6/25 : WORKDIR /device-virtual-go 04:41:44 ---> Running in eb7f49f4aab2 04:41:45 Removing intermediate container eb7f49f4aab2 04:41:45 ---> 58c60855cd67 04:41:45 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:41:45 ---> Running in d2c1db8585d0 04:41:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:41:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:41:48 OK: 268 MiB in 57 packages 04:41:49 Removing intermediate container d2c1db8585d0 04:41:49 ---> 02f72e30b68a 04:41:49 Step 8/25 : COPY go.mod vendor* ./ 04:41:50 ---> 4ca6874922d4 04:41:50 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:41:50 ---> Running in c2e01a5fc25c 04:41:52 Removing intermediate container c2e01a5fc25c 04:41:52 ---> 12e1bbf76291 04:41:52 Step 10/25 : COPY . . 04:41:58 ---> 5f9339a3ca2c 04:41:58 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:41:58 ---> Running in 57ba0a3b7080 04:41:58 Removing intermediate container 57ba0a3b7080 04:41:58 ---> c2ef826ef7ff 04:41:58 Step 12/25 : RUN $MAKE 04:41:58 ---> Running in 5e2250b265c3 04:41:59 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 04:44:36 Removing intermediate container 5e2250b265c3 04:44:36 ---> d7b952ed0d30 04:44:36 Step 13/25 : FROM alpine:3.17 04:44:36 3.17: Pulling from library/alpine 04:44:36 c41833b44d91: Already exists 04:44:36 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:44:36 Status: Downloaded newer image for alpine:3.17 04:44:36 ---> 51e60588ff2c 04:44:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:44:36 ---> Running in 248ccb1f5d07 04:44:36 Removing intermediate container 248ccb1f5d07 04:44:36 ---> 13a6055af3c8 04:44:36 Step 15/25 : RUN apk add --update --no-cache dumb-init 04:44:36 ---> Running in b95eff39d504 04:44:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:44:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:44:37 (1/1) Installing dumb-init (1.2.5-r2) 04:44:37 Executing busybox-1.35.0-r29.trigger 04:44:37 OK: 8 MiB in 16 packages 04:44:39 Removing intermediate container b95eff39d504 04:44:39 ---> 0fdc571853cd 04:44:39 Step 16/25 : WORKDIR / 04:44:39 ---> Running in 76f78e7638d9 04:44:39 Removing intermediate container 76f78e7638d9 04:44:39 ---> e2d263ae103c 04:44:39 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:44:40 ---> 4e332b61c226 04:44:40 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 04:44:41 ---> 7baa7fb0fdec 04:44:41 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 04:44:42 ---> 986f2b858979 04:44:42 Step 20/25 : EXPOSE 59900 04:44:42 ---> Running in b5cd7280bbf4 04:44:43 Removing intermediate container b5cd7280bbf4 04:44:43 ---> 87ce788b53d4 04:44:43 Step 21/25 : ENTRYPOINT ["/device-virtual"] 04:44:43 ---> Running in 5aa098125627 04:44:43 Removing intermediate container 5aa098125627 04:44:43 ---> 6da86fd14e63 04:44:43 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:44:43 ---> Running in d961e8126641 04:44:43 Removing intermediate container d961e8126641 04:44:43 ---> 3728501153d7 04:44:43 Step 23/25 : LABEL arch=arm64 04:44:43 ---> Running in 0dad6dc6556c 04:44:44 Removing intermediate container 0dad6dc6556c 04:44:44 ---> 7cd512b25e11 04:44:44 Step 24/25 : LABEL git_sha=a323398b570b4605ef02cb66b6ed5c65d654fcbc 04:44:44 ---> Running in 88aa1b8a1349 04:44:44 Removing intermediate container 88aa1b8a1349 04:44:44 ---> f50067ec5386 04:44:44 Step 25/25 : LABEL version=0.0.0 04:44:44 ---> Running in b8dc6ad4b0e3 04:44:45 Removing intermediate container b8dc6ad4b0e3 04:44:45 ---> 6ee8ef799666 04:44:45 [Warning] One or more build-args [ARCH] were not consumed 04:44:45 Successfully built 6ee8ef799666 04:44:45 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 04:44:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:44:45 04:44:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:44:46 arm64: Pulling from edgex-lftools-log-publisher 04:44:46 8998bd30e6a1: Pulling fs layer 04:44:46 04944245beec: Pulling fs layer 04:44:46 699f458cf7ca: Pulling fs layer 04:44:46 765212b225bb: Pulling fs layer 04:44:46 f23df028b6ca: Pulling fs layer 04:44:46 765212b225bb: Waiting 04:44:46 d65c8cfc05b1: Pulling fs layer 04:44:46 2437ff75d9bd: Pulling fs layer 04:44:46 f23df028b6ca: Waiting 04:44:46 d65c8cfc05b1: Waiting 04:44:46 2437ff75d9bd: Waiting 04:44:46 04944245beec: Verifying Checksum 04:44:46 04944245beec: Download complete 04:44:46 765212b225bb: Verifying Checksum 04:44:46 765212b225bb: Download complete 04:44:46 f23df028b6ca: Download complete 04:44:46 d65c8cfc05b1: Verifying Checksum 04:44:46 d65c8cfc05b1: Download complete 04:44:46 699f458cf7ca: Verifying Checksum 04:44:46 699f458cf7ca: Download complete 04:44:47 8998bd30e6a1: Verifying Checksum 04:44:47 8998bd30e6a1: Download complete 04:44:49 2437ff75d9bd: Verifying Checksum 04:44:49 2437ff75d9bd: Download complete 04:44:52 8998bd30e6a1: Pull complete 04:44:52 04944245beec: Pull complete 04:44:54 699f458cf7ca: Pull complete 04:44:54 765212b225bb: Pull complete 04:44:55 f23df028b6ca: Pull complete 04:44:55 d65c8cfc05b1: Pull complete 04:45:10 2437ff75d9bd: Pull complete 04:45:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:45:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:45:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:10 prd-ubuntu20.04-docker-arm64-4c-16g-14447 does not seem to be running inside a container 04:45:10 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:45:13 $ docker top bc3c24047fffbe4d577f36334af903190fac9836dfa8d2ef9cb45f86011726a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:45:14 ---> job-cost.sh 04:45:14 lf-activate-venv: SKIPPING 04:45:14 INFO: No Stack... 04:45:14 INFO: Retrieving Pricing Info for: v3-standard-4 04:45:15 INFO: Archiving Costs [Pipeline] sh 04:45:16 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 04:45:16 + cut -d, -f6 [Pipeline] lock 04:45:16 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] 04:45:16 Resource [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] did not exist. Created. 04:45:16 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:45:17 /w/workspace/device-virtual-go/1@tmp/durable-910c207c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:45:17 + echo total: 0.10999999940395355 [Pipeline] stash 04:45:17 Warning: overwriting stash ‘stack-cost’ 04:45:17 Stashed 1 file(s) [Pipeline] } 04:45:17 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-399-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:45:18 $ docker stop --time=1 bc3c24047fffbe4d577f36334af903190fac9836dfa8d2ef9cb45f86011726a7 04:45:19 $ docker rm -f --volumes bc3c24047fffbe4d577f36334af903190fac9836dfa8d2ef9cb45f86011726a7 [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 04:45:20 provisioning config files... 04:45:20 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-399@tmp/config8186034647180296601tmp [Pipeline] { [Pipeline] sh 04:45:20 + set +x 04:45:20 + curl -s https://codecov.io/bash 04:45:20 + bash -s -- 04:45:20 04:45:20 _____ _ 04:45:20 / ____| | | 04:45:20 | | ___ __| | ___ ___ _____ __ 04:45:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:45:20 | |___| (_) | (_| | __/ (_| (_) \ V / 04:45:20 \_____\___/ \__,_|\___|\___\___/ \_/ 04:45:20 Bash-1.0.6 04:45:20 04:45:20 04:45:20 ==> git version 2.25.1 found 04:45:20 ==> 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 04:45:20 Release-Date: 2020-01-08 04:45:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:45:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:45:20 ==> Jenkins CI detected. 04:45:20 current dir:  /w/workspace/foundry_device-virtual-go_PR-399 04:45:20 project root: . 04:45:20 --> token set from env 04:45:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:45:20 ==> Running gcov in . (disable via -X gcov) 04:45:20 ==> Python coveragepy not found 04:45:20 ==> Searching for coverage reports in: 04:45:20 + . 04:45:21 -> Found 1 reports 04:45:21 ==> Detecting git/mercurial file structure 04:45:21 ==> Reading reports 04:45:21 + ./coverage.out bytes=43063 04:45:21 ==> Appending adjustments 04:45:21 https://docs.codecov.io/docs/fixing-reports 04:45:21 + Found adjustments 04:45:21 ==> Gzipping contents 04:45:21 8.0K /tmp/codecov.okQbsH.gz 04:45:21 ==> Uploading reports 04:45:21 url: https://codecov.io 04:45:21 query: branch=PR-399&commit=a323398b570b4605ef02cb66b6ed5c65d654fcbc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-399%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=399&job=&cmd_args= 04:45:21 -> Pinging Codecov 04:45:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-399&commit=a323398b570b4605ef02cb66b6ed5c65d654fcbc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-399%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=399&job=&cmd_args= 04:45:21 -> Uploading to 04:45:21 https://storage.googleapis.com/codecov/v4/raw/2023-05-08/5E52B4B073DB2E39498172D8E973AA87/a323398b570b4605ef02cb66b6ed5c65d654fcbc/c69aa926-3e58-4a3a-94fd-6c3aaa7fa106.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T044521Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cf651d7bd95df9ed0e127f05508f2bfb277a84304ff01e240b414440da29c381 04:45:21 % Total % Received % Xferd Average Speed Time Time Time Current 04:45:21 Dload Upload Total Spent Left Speed 04:45:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 23246 --:--:-- --:--:-- --:--:-- 23246 04:45:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a323398b570b4605ef02cb66b6ed5c65d654fcbc [Pipeline] } 04:45:21 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 04:45:23 + [ -d /w/workspace/foundry_device-virtual-go_PR-399/archives ] 04:45:23 + ls -al /w/workspace/foundry_device-virtual-go_PR-399/archives 04:45:23 total 16 04:45:23 drwxr-xr-x 3 root root 4096 May 8 04:34 . 04:45:23 drwxrwxr-x 10 jenkins jenkins 4096 May 8 04:34 .. 04:45:23 drwxr-xr-x 2 root root 4096 May 8 04:34 cost 04:45:23 -rw-r--r-- 1 root root 89 May 8 04:34 cost.csv 04:45:23 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-399/archives 04:45:23 + ls -al /w/workspace/foundry_device-virtual-go_PR-399/archives 04:45:23 total 16 04:45:23 drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:34 . 04:45:23 drwxrwxr-x 10 jenkins jenkins 4096 May 8 04:34 .. 04:45:23 drwxr-xr-x 2 jenkins jenkins 4096 May 8 04:34 cost 04:45:23 -rw-r--r-- 1 jenkins jenkins 89 May 8 04:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:45:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:45:24 ---> package-listing.sh 04:45:24 ++ facter osfamily 04:45:24 ++ tr '[:upper:]' '[:lower:]' 04:45:24 + OS_FAMILY=debian 04:45:24 + workspace=/w/workspace/foundry_device-virtual-go_PR-399 04:45:24 + START_PACKAGES=/tmp/packages_start.txt 04:45:24 + END_PACKAGES=/tmp/packages_end.txt 04:45:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:45:24 + PACKAGES=/tmp/packages_start.txt 04:45:24 + '[' /w/workspace/foundry_device-virtual-go_PR-399 ']' 04:45:24 + PACKAGES=/tmp/packages_end.txt 04:45:24 + case "${OS_FAMILY}" in 04:45:24 + dpkg -l 04:45:24 + grep '^ii' 04:45:24 + '[' -f /tmp/packages_start.txt ']' 04:45:24 + '[' -f /tmp/packages_end.txt ']' 04:45:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:45:24 + '[' /w/workspace/foundry_device-virtual-go_PR-399 ']' 04:45:24 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-399/archives/ 04:45:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-399/archives/ [Pipeline] echo 04:45:24 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-399/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:45:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:45:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:26 prd-ubuntu20.04-docker-8c-8g-14443 does not seem to be running inside a container 04:45:26 $ 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-399/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-399 -v /w/workspace/foundry_device-virtual-go_PR-399:/w/workspace/foundry_device-virtual-go_PR-399:rw,z -v /w/workspace/foundry_device-virtual-go_PR-399@tmp:/w/workspace/foundry_device-virtual-go_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:45:26 $ docker top 05626acbef2b2910bc1dcbeb58d7dd6e1db84ba0b080462bb5f43ae946f6251a -eo pid,comm [Pipeline] { [Pipeline] sh 04:45:26 + touch /tmp/pre-build-complete [Pipeline] sh 04:45:26 + mkdir -p /var/log/sysstat [Pipeline] sh 04:45:27 + ls /var/log/sa-host 04:45:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:45:27 provisioning config files... 04:45:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-399@tmp/config17164910689476416276tmp [Pipeline] { [Pipeline] echo 04:45:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:45:27 ---> create-netrc.sh [Pipeline] } 04:45:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:45:28 ---> python-tools-install.sh [Pipeline] echo 04:45:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:45:28 ---> sudo-logs.sh 04:45:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:45:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:45:28 ---> job-cost.sh 04:45:28 lf-activate-venv: SKIPPING 04:45:28 DEBUG: total: 0.2199999988079071 04:45:28 INFO: Retrieving Stack Cost... 04:45:29 INFO: Retrieving Pricing Info for: v3-standard-8 04:45:29 INFO: Archiving Costs [Pipeline] echo 04:45:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:45:30 ---> logs-deploy.sh 04:45:30 lf-activate-venv: SKIPPING 04:45:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-399/1 04:45:30 INFO: archiving workspace using pattern(s): 04:45:31 Archives upload complete. 04:45:31 INFO: archiving logs to Nexus