Pull request #326 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 228435ea66986bfb839a97438588f89d5337111a+43843506565b1251b67769be00175dd520b99099 (59955a0b6b48a0962ebb9c4ae22a7d40448bb2a8) 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-ssh6289459463893708486.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7186779856428534841.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-326/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-326/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16583687982197062990.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-326/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17484842157440322736.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh6179834574158804488.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-326/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-326/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5043973978267041991.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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 ‘prd-centos7-blackbox-4c-2g-1315’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-1316’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-1630’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1632 in /w/workspace/foundry_device-virtual-go_PR-326 [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-326 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/326/head:refs/remotes/origin/PR-326 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 43843506565b1251b67769be00175dd520b99099 into PR head commit 228435ea66986bfb839a97438588f89d5337111a Merge succeeded, producing 228435ea66986bfb839a97438588f89d5337111a Checking out Revision 228435ea66986bfb839a97438588f89d5337111a (PR-326) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:20:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 228435ea66986bfb839a97438588f89d5337111a # 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 43843506565b1251b67769be00175dd520b99099 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 228435ea66986bfb839a97438588f89d5337111a # timeout=10 [Pipeline] withCredentials 18:20:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:20:27 ========================================================= 18:20:27 EdgeX Global Pipelines Version Info 18:20:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:20:28 ------------------- 18:20:28 stable info: 18:20:28 ------------------- 18:20:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:20:28 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:20:28 Message: update stable to v1.0.244 18:20:28 ------------------- 18:20:28 experimental info: 18:20:28 ------------------- 18:20:28 Commited By: **** collab-it+edgex@linuxfoundation.org 18:20:28 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:20:28 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:20:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:20:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:20:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-326 [Pipeline] echo 18:20:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-326 [Pipeline] echo 18:20:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-326 [Pipeline] echo 18:20:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 228435ea66986bfb839a97438588f89d5337111a [Pipeline] echo 18:20:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 228435e [Pipeline] echo 18:20:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:20:30 provisioning config files... 18:20:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-326@tmp/config15933366487991127867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:20:30 ---> docker-login.sh 18:20:30 nexus3.edgexfoundry.org:10001 18:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:30 Configure a credential helper to remove this warning. See 18:20:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:30 18:20:30 Login Succeeded 18:20:30 nexus3.edgexfoundry.org:10002 18:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:31 Configure a credential helper to remove this warning. See 18:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:31 18:20:31 Login Succeeded 18:20:31 nexus3.edgexfoundry.org:10003 18:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:31 Configure a credential helper to remove this warning. See 18:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:31 18:20:31 Login Succeeded 18:20:31 nexus3.edgexfoundry.org:10004 18:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:31 Configure a credential helper to remove this warning. See 18:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:31 18:20:31 Login Succeeded 18:20:31 docker.io 18:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:31 Configure a credential helper to remove this warning. See 18:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:31 18:20:31 Login Succeeded 18:20:31 ---> docker-login.sh ends [Pipeline] } 18:20:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:20:32 + git rev-list -1 --merges 228435ea66986bfb839a97438588f89d5337111a~1..228435ea66986bfb839a97438588f89d5337111a [Pipeline] echo 18:20:32 -----------> git rev-list -1 --merges 228435ea66986bfb839a97438588f89d5337111a~1..228435ea66986bfb839a97438588f89d5337111a 228435ea66986bfb839a97438588f89d5337111a [false] [Pipeline] sh 18:20:32 + git log --format=format:%s -1 228435ea66986bfb839a97438588f89d5337111a [Pipeline] echo 18:20:32 ========================================================= 18:20:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:20:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:20:32 + git log --format=format:%s -1 228435ea66986bfb839a97438588f89d5337111a [Pipeline] echo 18:20:33 [semverPrep] GIT_COMMIT: 228435ea66986bfb839a97438588f89d5337111a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:20:33 [semverPrep] This is not a build commit. [Pipeline] sh 18:20:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:20:33 + grep -v github /etc/ssh/ssh_known_hosts 18:20:33 + [ -e /tmp/ssh_known_hosts ] 18:20:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:20:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:20:33 + sudo tee -a /etc/ssh/ssh_known_hosts 18:20:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:20:33 18:20:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:20:34 0.1.4: Pulling from edgex-devops/py-git-semver 18:20:34 b85a868b505f: Pulling fs layer 18:20:34 e2be974225ed: Pulling fs layer 18:20:34 339a4e72a1f5: Pulling fs layer 18:20:34 988bab9f4d93: Pulling fs layer 18:20:34 1469e6f7b9e6: Pulling fs layer 18:20:34 eaf3925da568: Pulling fs layer 18:20:34 bab4dde63d76: Pulling fs layer 18:20:34 bde34c3a00c8: Pulling fs layer 18:20:34 b352a97aabf1: Pulling fs layer 18:20:34 4872d77fe225: Pulling fs layer 18:20:34 5851b861e8e6: Pulling fs layer 18:20:34 988bab9f4d93: Waiting 18:20:34 1469e6f7b9e6: Waiting 18:20:34 bab4dde63d76: Waiting 18:20:34 bde34c3a00c8: Waiting 18:20:34 eaf3925da568: Waiting 18:20:34 b352a97aabf1: Waiting 18:20:34 5851b861e8e6: Waiting 18:20:34 4872d77fe225: Waiting 18:20:34 e2be974225ed: Verifying Checksum 18:20:34 e2be974225ed: Download complete 18:20:34 988bab9f4d93: Verifying Checksum 18:20:34 988bab9f4d93: Download complete 18:20:34 339a4e72a1f5: Verifying Checksum 18:20:34 339a4e72a1f5: Download complete 18:20:34 1469e6f7b9e6: Verifying Checksum 18:20:34 1469e6f7b9e6: Download complete 18:20:34 eaf3925da568: Verifying Checksum 18:20:34 eaf3925da568: Download complete 18:20:34 bde34c3a00c8: Verifying Checksum 18:20:34 bde34c3a00c8: Download complete 18:20:34 b352a97aabf1: Download complete 18:20:34 5851b861e8e6: Verifying Checksum 18:20:34 5851b861e8e6: Download complete 18:20:34 b85a868b505f: Verifying Checksum 18:20:34 b85a868b505f: Download complete 18:20:34 bab4dde63d76: Verifying Checksum 18:20:34 bab4dde63d76: Download complete 18:20:35 b85a868b505f: Pull complete 18:20:35 e2be974225ed: Pull complete 18:20:36 339a4e72a1f5: Pull complete 18:20:36 988bab9f4d93: Pull complete 18:20:36 1469e6f7b9e6: Pull complete 18:20:36 eaf3925da568: Pull complete 18:20:38 bab4dde63d76: Pull complete 18:20:38 bde34c3a00c8: Pull complete 18:20:38 b352a97aabf1: Pull complete 18:20:38 4872d77fe225: Pull complete 18:20:38 5851b861e8e6: Pull complete 18:20:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:20:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:20:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:20:38 prd-ubuntu20.04-docker-8c-8g-1632 does not seem to be running inside a container 18:20:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-326 -v /w/workspace/foundry_device-virtual-go_PR-326:/w/workspace/foundry_device-virtual-go_PR-326:rw,z -v /w/workspace/foundry_device-virtual-go_PR-326@tmp:/w/workspace/foundry_device-virtual-go_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:20:42 $ docker top 87b45b8c99164dcbd06ca1a8e7da689a7044d247c34ca2e9547231eb10ee0d41 -eo pid,comm 18:20:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:20:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:20:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:20:42 [ssh-agent] Looking for ssh-agent implementation... 18:20:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:20:42 $ docker exec 87b45b8c99164dcbd06ca1a8e7da689a7044d247c34ca2e9547231eb10ee0d41 ssh-agent 18:20:42 SSH_AUTH_SOCK=/tmp/ssh-xQTfJAlqdIyW/agent.33 18:20:42 SSH_AGENT_PID=39 18:20:42 Running ssh-add (command line suppressed) 18:20:42 Identity added: /w/workspace/foundry_device-virtual-go_PR-326@tmp/private_key_17242985943958540964.key (/w/workspace/foundry_device-virtual-go_PR-326@tmp/private_key_17242985943958540964.key) 18:20:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:20:42 + git tag --points-at HEAD [Pipeline] } 18:20:42 $ docker exec --env ******** --env ******** 87b45b8c99164dcbd06ca1a8e7da689a7044d247c34ca2e9547231eb10ee0d41 ssh-agent -k 18:20:43 unset SSH_AUTH_SOCK; 18:20:43 unset SSH_AGENT_PID; 18:20:43 echo Agent pid 39 killed; 18:20:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:20:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:20:43 [ssh-agent] Looking for ssh-agent implementation... 18:20:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:20:43 $ docker exec 87b45b8c99164dcbd06ca1a8e7da689a7044d247c34ca2e9547231eb10ee0d41 ssh-agent 18:20:43 SSH_AUTH_SOCK=/tmp/ssh-Gp0vtW0vc2uy/agent.71 18:20:43 SSH_AGENT_PID=77 18:20:43 Running ssh-add (command line suppressed) 18:20:43 Identity added: /w/workspace/foundry_device-virtual-go_PR-326@tmp/private_key_16324073878155258789.key (/w/workspace/foundry_device-virtual-go_PR-326@tmp/private_key_16324073878155258789.key) 18:20:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:20:43 + git semver init 18:20:44 2023-01-10 18:20:44,024 [run_init] DEBUG init version:0.0.0 force:False 18:20:44 2023-01-10 18:20:44,025 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-326/.semver 18:20:44 2023-01-10 18:20:44,026 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-326/.semver 18:20:44 2023-01-10 18:20:44,026 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-326/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-326, universal_newlines=False, shell=None, istream=None) 18:20:45 2023-01-10 18:20:45,201 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-326/.git/info/exclude 18:20:45 2023-01-10 18:20:45,201 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-326/.semver/PR-326 with force:False 18:20:45 2023-01-10 18:20:45,201 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-326/.semver/PR-326 18:20:45 2023-01-10 18:20:45,204 [execute] INFO git cat-file --batch-check 18:20:45 2023-01-10 18:20:45,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-326/.semver, universal_newlines=False, shell=None, istream=) 18:20:45 2023-01-10 18:20:45,211 [execute] INFO git cat-file --batch 18:20:45 2023-01-10 18:20:45,211 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-326/.semver, universal_newlines=False, shell=None, istream=) 18:20:45 2023-01-10 18:20:45,216 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-326/.semver/PR-326 18:20:45 0.0.0 [Pipeline] } 18:20:45 $ docker exec --env ******** --env ******** 87b45b8c99164dcbd06ca1a8e7da689a7044d247c34ca2e9547231eb10ee0d41 ssh-agent -k 18:20:45 unset SSH_AUTH_SOCK; 18:20:45 unset SSH_AGENT_PID; 18:20:45 echo Agent pid 77 killed; 18:20:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:20:46 + git semver [Pipeline] } 18:20:46 $ docker stop --time=1 87b45b8c99164dcbd06ca1a8e7da689a7044d247c34ca2e9547231eb10ee0d41 18:20:47 $ docker rm -f --volumes 87b45b8c99164dcbd06ca1a8e7da689a7044d247c34ca2e9547231eb10ee0d41 [Pipeline] // withDockerContainer [Pipeline] sh 18:20:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:20:48 Stashed 1 file(s) [Pipeline] echo 18:20:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:20:48 provisioning config files... 18:20:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-326@tmp/config13130358832676365113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:20:49 ---> docker-login.sh 18:20:49 nexus3.edgexfoundry.org:10001 18:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:49 Configure a credential helper to remove this warning. See 18:20:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:49 18:20:49 Login Succeeded 18:20:49 nexus3.edgexfoundry.org:10002 18:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:49 Configure a credential helper to remove this warning. See 18:20:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:49 18:20:49 Login Succeeded 18:20:49 nexus3.edgexfoundry.org:10003 18:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:49 Configure a credential helper to remove this warning. See 18:20:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:49 18:20:49 Login Succeeded 18:20:49 nexus3.edgexfoundry.org:10004 18:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:49 Configure a credential helper to remove this warning. See 18:20:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:49 18:20:49 Login Succeeded 18:20:49 docker.io 18:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:49 Configure a credential helper to remove this warning. See 18:20:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:49 18:20:49 Login Succeeded 18:20:49 ---> docker-login.sh ends [Pipeline] } 18:20:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:20:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:20:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:20:50 ========================================================= 18:20:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:20:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:20:50 Sending build context to Docker daemon 23.32MB 18:20:50 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:20:50 Step 2/12 : FROM ${BASE} AS builder 18:20:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:20:50 213ec9aee27d: Pulling fs layer 18:20:50 4583459ba037: Pulling fs layer 18:20:50 93c1e223e6f2: Pulling fs layer 18:20:50 53926ce57604: Pulling fs layer 18:20:50 21b2b0c7a3f4: Pulling fs layer 18:20:50 22ff95d597cd: Pulling fs layer 18:20:50 12d6caf4c0d1: Pulling fs layer 18:20:50 96b7cbca73a9: Pulling fs layer 18:20:50 a7acece74701: Pulling fs layer 18:20:50 12d6caf4c0d1: Waiting 18:20:50 53926ce57604: Waiting 18:20:50 96b7cbca73a9: Waiting 18:20:50 a7acece74701: Waiting 18:20:50 21b2b0c7a3f4: Waiting 18:20:50 22ff95d597cd: Waiting 18:20:50 93c1e223e6f2: Verifying Checksum 18:20:50 93c1e223e6f2: Download complete 18:20:50 4583459ba037: Verifying Checksum 18:20:50 4583459ba037: Download complete 18:20:50 21b2b0c7a3f4: Verifying Checksum 18:20:50 21b2b0c7a3f4: Download complete 18:20:50 22ff95d597cd: Verifying Checksum 18:20:50 22ff95d597cd: Download complete 18:20:50 213ec9aee27d: Verifying Checksum 18:20:50 213ec9aee27d: Download complete 18:20:50 12d6caf4c0d1: Verifying Checksum 18:20:50 12d6caf4c0d1: Download complete 18:20:51 213ec9aee27d: Pull complete 18:20:51 4583459ba037: Pull complete 18:20:51 93c1e223e6f2: Pull complete 18:20:51 a7acece74701: Verifying Checksum 18:20:51 a7acece74701: Download complete 18:20:51 96b7cbca73a9: Verifying Checksum 18:20:51 96b7cbca73a9: Download complete 18:20:51 53926ce57604: Verifying Checksum 18:20:51 53926ce57604: Download complete 18:20:56 53926ce57604: Pull complete 18:20:56 21b2b0c7a3f4: Pull complete 18:20:56 22ff95d597cd: Pull complete 18:20:56 12d6caf4c0d1: Pull complete 18:20:57 96b7cbca73a9: Pull complete 18:20:58 a7acece74701: Pull complete 18:20:58 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:20:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:20:58 ---> db6d94c90886 18:20:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:21:03 Still waiting to schedule task 18:21:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1628’ 18:21:03 ---> Running in f2202c763f56 18:21:03 Removing intermediate container f2202c763f56 18:21:03 ---> 7c6b30f3bbd8 18:21:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:21:03 ---> Running in 21a4ae3223e6 18:21:04 Removing intermediate container 21a4ae3223e6 18:21:04 ---> 09309293c469 18:21:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:21:04 ---> Running in f185b7eab4b0 18:21:04 Removing intermediate container f185b7eab4b0 18:21:04 ---> 40fc0d81baba 18:21:04 Step 6/12 : WORKDIR /device-virtual-go 18:21:04 ---> Running in cfbdd2d67433 18:21:04 Removing intermediate container cfbdd2d67433 18:21:04 ---> 65f814d8811b 18:21:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:21:04 ---> Running in f1e57553045e 18:21:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:21:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:21:04 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:21:04 (2/4) Installing libedit (20210910.3.1-r0) 18:21:04 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:21:04 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:21:04 Executing busybox-1.35.0-r17.trigger 18:21:04 OK: 216 MiB in 55 packages 18:21:05 Removing intermediate container f1e57553045e 18:21:05 ---> 76ed292b025b 18:21:05 Step 8/12 : COPY go.mod vendor* ./ 18:21:05 ---> b033b812fb27 18:21:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:21:05 ---> Running in aabb335c473e 18:21:27 Removing intermediate container aabb335c473e 18:21:27 ---> f6b92f589099 18:21:27 Step 10/12 : COPY . . 18:21:27 ---> d543d36f6501 18:21:27 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:21:27 ---> Running in c7bc31573431 18:21:28 Removing intermediate container c7bc31573431 18:21:28 ---> 41f13c931825 18:21:28 Step 12/12 : RUN $MAKE 18:21:28 ---> Running in 24d9a1f66c51 18:21:28 noop 18:21:28 Removing intermediate container 24d9a1f66c51 18:21:28 ---> da92fa0b99bb 18:21:28 Successfully built da92fa0b99bb 18:21:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:29 + docker inspect -f . ci-base-image-x86_64 18:21:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:21:29 prd-ubuntu20.04-docker-8c-8g-1632 does not seem to be running inside a container 18:21:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-326 -v /w/workspace/foundry_device-virtual-go_PR-326:/w/workspace/foundry_device-virtual-go_PR-326:rw,z -v /w/workspace/foundry_device-virtual-go_PR-326@tmp:/w/workspace/foundry_device-virtual-go_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:21:29 $ docker top 89d82e2fb0a69d45d674560087265e40ecc9029c1052f6543e53b1b84f646f54 -eo pid,comm [Pipeline] { [Pipeline] sh 18:21:30 + go version 18:21:30 go version go1.18.7 linux/amd64 [Pipeline] } 18:21:30 $ docker stop --time=1 89d82e2fb0a69d45d674560087265e40ecc9029c1052f6543e53b1b84f646f54 18:21:31 $ docker rm -f --volumes 89d82e2fb0a69d45d674560087265e40ecc9029c1052f6543e53b1b84f646f54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:32 + docker inspect -f . ci-base-image-x86_64 18:21:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:21:32 prd-ubuntu20.04-docker-8c-8g-1632 does not seem to be running inside a container 18:21:32 $ 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-326 -v /w/workspace/foundry_device-virtual-go_PR-326:/w/workspace/foundry_device-virtual-go_PR-326:rw,z -v /w/workspace/foundry_device-virtual-go_PR-326@tmp:/w/workspace/foundry_device-virtual-go_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:21:32 $ docker top 413779549f8db76bd1dc1db65b1001d7971e22bf60be5d7e33cfbb5ffa1128b5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:21:32 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-326 [Pipeline] fileExists [Pipeline] sh 18:21:33 + make test 18:21:33 go test ./... -coverprofile=coverage.out 18:21:33 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:21:43 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:21:43 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements 18:21:50 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 18:21:50 go vet ./... 18:21:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:21:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:21:52 ./bin/test-attribution-txt.sh [Pipeline] echo 18:21:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:21:52 $ docker stop --time=1 413779549f8db76bd1dc1db65b1001d7971e22bf60be5d7e33cfbb5ffa1128b5 18:21:54 $ docker rm -f --volumes 413779549f8db76bd1dc1db65b1001d7971e22bf60be5d7e33cfbb5ffa1128b5 [Pipeline] // withDockerContainer [Pipeline] sh 18:21:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:21:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:21:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:21:56 + ls -al . 18:21:56 total 204 18:21:56 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 18:21 . 18:21:56 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 18:20 .. 18:21:56 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 18:21 .git 18:21:56 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 18:20 .github 18:21:56 -rw-rw-r-- 1 jenkins jenkins 337 Jan 10 18:20 .gitignore 18:21:56 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 18:20 .golangci.yml 18:21:56 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 18:20 .semver 18:21:56 -rw-rw-r-- 1 jenkins jenkins 8423 Jan 10 18:20 Attribution.txt 18:21:56 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 10 18:20 CHANGELOG.md 18:21:56 -rw-rw-r-- 1 jenkins jenkins 1646 Jan 10 18:20 Dockerfile 18:21:56 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 18:20 GOVERNANCE.md 18:21:56 -rw-rw-r-- 1 jenkins jenkins 660 Jan 10 18:20 Jenkinsfile 18:21:56 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 18:20 LICENSE 18:21:56 -rw-rw-r-- 1 jenkins jenkins 1661 Jan 10 18:20 Makefile 18:21:56 -rw-rw-r-- 1 jenkins jenkins 623 Jan 10 18:20 OWNERS.md 18:21:56 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 10 18:20 README.md 18:21:56 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 18:20 VERSION 18:21:56 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 18:20 bin 18:21:56 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 18:20 cmd 18:21:56 -rw-r--r-- 1 jenkins jenkins 44128 Jan 10 18:21 coverage.out 18:21:56 -rw-rw-r-- 1 jenkins jenkins 3340 Jan 10 18:20 go.mod 18:21:56 -rw-rw-r-- 1 jenkins jenkins 44412 Jan 10 18:20 go.sum 18:21:56 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 18:20 internal 18:21:56 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 18:20 snap 18:21:56 -rw-rw-r-- 1 jenkins jenkins 235 Jan 10 18:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:56 + 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=228435ea66986bfb839a97438588f89d5337111a --label arch=amd64 --label version=0.0.0 . 18:21:56 Sending build context to Docker daemon 23.37MB 18:21:56 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:21:56 Step 2/25 : FROM ${BASE} AS builder 18:21:56 ---> da92fa0b99bb 18:21:56 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:21:56 ---> Running in 7e6ab5003590 18:21:56 Removing intermediate container 7e6ab5003590 18:21:56 ---> bf7f91bc9f5c 18:21:56 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 18:21:56 ---> Running in 765edd569e5e 18:21:57 Removing intermediate container 765edd569e5e 18:21:57 ---> f5a9cc2ab8d5 18:21:57 Step 5/25 : ARG ADD_BUILD_TAGS="" 18:21:57 ---> Running in 70132569c3e5 18:21:57 Removing intermediate container 70132569c3e5 18:21:57 ---> f86ebbaa867b 18:21:57 Step 6/25 : WORKDIR /device-virtual-go 18:21:57 ---> Running in 571466707f66 18:21:57 Removing intermediate container 571466707f66 18:21:57 ---> 6cd5ce8ec945 18:21:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:21:57 ---> Running in beabb0ae8b30 18:21:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:21:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:21:57 OK: 216 MiB in 55 packages 18:21:58 Removing intermediate container beabb0ae8b30 18:21:58 ---> fb6771fb9e24 18:21:58 Step 8/25 : COPY go.mod vendor* ./ 18:21:58 ---> e43f84db8dcc 18:21:58 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:21:58 ---> Running in 16e2d6d98a15 18:21:59 Removing intermediate container 16e2d6d98a15 18:21:59 ---> 633b385bf8d4 18:21:59 Step 10/25 : COPY . . 18:21:59 ---> 715dd4d758ab 18:21:59 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:21:59 ---> Running in 7e55c0a3e856 18:21:59 Removing intermediate container 7e55c0a3e856 18:21:59 ---> d5c099cd8ea3 18:21:59 Step 12/25 : RUN $MAKE 18:21:59 ---> Running in d7d811d170af 18:22:00 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 18:22:22 Removing intermediate container d7d811d170af 18:22:22 ---> d6998b5f528e 18:22:22 Step 13/25 : FROM alpine:3.16 18:22:22 3.16: Pulling from library/alpine 18:22:22 ca7dd9ec2225: Pulling fs layer 18:22:22 ca7dd9ec2225: Verifying Checksum 18:22:22 ca7dd9ec2225: Download complete 18:22:22 ca7dd9ec2225: Pull complete 18:22:22 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:22:22 Status: Downloaded newer image for alpine:3.16 18:22:22 ---> bfe296a52501 18:22:22 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:22:22 ---> Running in 82889c4168ad 18:22:22 Removing intermediate container 82889c4168ad 18:22:22 ---> 451535e2d986 18:22:22 Step 15/25 : RUN apk add --update --no-cache dumb-init 18:22:22 ---> Running in c94d04004d76 18:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:22:22 (1/1) Installing dumb-init (1.2.5-r1) 18:22:22 Executing busybox-1.35.0-r17.trigger 18:22:22 OK: 6 MiB in 15 packages 18:22:22 Removing intermediate container c94d04004d76 18:22:22 ---> 918693cccc56 18:22:22 Step 16/25 : WORKDIR / 18:22:22 ---> Running in 5b690e560eb5 18:22:22 Removing intermediate container 5b690e560eb5 18:22:22 ---> 96507502ec78 18:22:22 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:22:22 ---> 2bef5701ab25 18:22:22 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 18:22:22 ---> 9a2849a10370 18:22:22 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 18:22:22 ---> 81565e944a74 18:22:22 Step 20/25 : EXPOSE 59900 18:22:22 ---> Running in 5806de0e0858 18:22:22 Removing intermediate container 5806de0e0858 18:22:22 ---> 47f9632aeaf1 18:22:22 Step 21/25 : ENTRYPOINT ["/device-virtual"] 18:22:22 ---> Running in 77c221a55eda 18:22:22 Removing intermediate container 77c221a55eda 18:22:22 ---> 4c9102686f3e 18:22:22 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:22:22 ---> Running in 6701d0f910d7 18:22:23 Removing intermediate container 6701d0f910d7 18:22:23 ---> 5605242d05f0 18:22:23 Step 23/25 : LABEL arch=amd64 18:22:23 ---> Running in 4620b509890c 18:22:23 Removing intermediate container 4620b509890c 18:22:23 ---> ed08ed397c8c 18:22:23 Step 24/25 : LABEL git_sha=228435ea66986bfb839a97438588f89d5337111a 18:22:23 ---> Running in 65125abe18fc 18:22:23 Removing intermediate container 65125abe18fc 18:22:23 ---> f2eeb31017d3 18:22:23 Step 25/25 : LABEL version=0.0.0 18:22:23 ---> Running in ee9aa4490172 18:22:23 Removing intermediate container ee9aa4490172 18:22:23 ---> c3828bbd58e6 18:22:23 [Warning] One or more build-args [ARCH] were not consumed 18:22:23 Successfully built c3828bbd58e6 18:22:23 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:22:24 18:22:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:22:24 latest: Pulling from edgex-lftools-log-publisher 18:22:24 5eb5b503b376: Pulling fs layer 18:22:24 5c69ac0246d0: Pulling fs layer 18:22:24 ec43610c2a17: Pulling fs layer 18:22:24 3a2ae6a8a46f: Pulling fs layer 18:22:24 33b1e0a273af: Pulling fs layer 18:22:24 5d3b04190fa2: Pulling fs layer 18:22:24 2f39f015ded8: Pulling fs layer 18:22:24 3a2ae6a8a46f: Waiting 18:22:24 33b1e0a273af: Waiting 18:22:24 5d3b04190fa2: Waiting 18:22:24 2f39f015ded8: Waiting 18:22:24 5c69ac0246d0: Download complete 18:22:24 3a2ae6a8a46f: Verifying Checksum 18:22:24 3a2ae6a8a46f: Download complete 18:22:24 33b1e0a273af: Verifying Checksum 18:22:24 33b1e0a273af: Download complete 18:22:24 5d3b04190fa2: Verifying Checksum 18:22:24 5d3b04190fa2: Download complete 18:22:24 ec43610c2a17: Download complete 18:22:25 5eb5b503b376: Download complete 18:22:25 2f39f015ded8: Download complete 18:22:26 5eb5b503b376: Pull complete 18:22:26 5c69ac0246d0: Pull complete 18:22:26 ec43610c2a17: Pull complete 18:22:27 3a2ae6a8a46f: Pull complete 18:22:27 33b1e0a273af: Pull complete 18:22:27 5d3b04190fa2: Pull complete 18:22:32 2f39f015ded8: Pull complete 18:22:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:22:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:22:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:22:32 prd-ubuntu20.04-docker-8c-8g-1632 does not seem to be running inside a container 18:22:32 $ 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-326 -v /w/workspace/foundry_device-virtual-go_PR-326:/w/workspace/foundry_device-virtual-go_PR-326:rw,z -v /w/workspace/foundry_device-virtual-go_PR-326@tmp:/w/workspace/foundry_device-virtual-go_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:22:36 $ docker top cb91f34a9fb1645608fd00dbd16aaced6d33f1efcefd6e5d64788dff84d43ebe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:22:37 ---> job-cost.sh 18:22:37 lf-activate-venv: SKIPPING 18:22:37 INFO: No Stack... 18:22:37 INFO: Retrieving Pricing Info for: v3-standard-8 18:22:37 INFO: Archiving Costs [Pipeline] sh 18:22:38 + cat /w/workspace/foundry_device-virtual-go_PR-326/archives/cost.csv 18:22:38 + cut -d, -f6 [Pipeline] lock 18:22:38 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] 18:22:38 Resource [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] did not exist. Created. 18:22:38 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:22:38 + echo total: 0.2199999988079071 [Pipeline] stash 18:22:38 Stashed 1 file(s) [Pipeline] } 18:22:38 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:22:38 $ docker stop --time=1 cb91f34a9fb1645608fd00dbd16aaced6d33f1efcefd6e5d64788dff84d43ebe 18:22:39 $ docker rm -f --volumes cb91f34a9fb1645608fd00dbd16aaced6d33f1efcefd6e5d64788dff84d43ebe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:23:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1635 in /w/workspace/foundry_device-virtual-go_PR-326 [Pipeline] { [Pipeline] ws 18:23:33 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 18:23:33 The recommended git tool is: git 18:23:40 using credential edgex-jenkins-ssh 18:23:40 Cloning the remote Git repository 18:23:40 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 18:23:40 > git init /w/workspace/device-virtual-go/1 # timeout=10 18:23:40 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:23:40 > git --version # timeout=10 18:23:40 > git --version # 'git version 2.25.1' 18:23:40 using GIT_SSH to set credentials SSH Credentials for GitHub 18:23:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:23:43 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:23:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:23:44 Merging remotes/origin/main commit 43843506565b1251b67769be00175dd520b99099 into PR head commit 228435ea66986bfb839a97438588f89d5337111a 18:23:45 Merge succeeded, producing 228435ea66986bfb839a97438588f89d5337111a 18:23:45 Checking out Revision 228435ea66986bfb839a97438588f89d5337111a (PR-326) 18:23:44 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:23:44 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:23:44 using GIT_SSH to set credentials SSH Credentials for GitHub 18:23:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/326/head:refs/remotes/origin/PR-326 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:23:44 > git config core.sparsecheckout # timeout=10 18:23:44 > git checkout -f 228435ea66986bfb839a97438588f89d5337111a # timeout=10 18:23:45 > git remote # timeout=10 18:23:45 > git config --get remote.origin.url # timeout=10 18:23:45 using GIT_SSH to set credentials SSH Credentials for GitHub 18:23:45 > git merge 43843506565b1251b67769be00175dd520b99099 # timeout=10 18:23:45 > git rev-parse HEAD^{commit} # timeout=10 18:23:45 > git config core.sparsecheckout # timeout=10 18:23:45 > git checkout -f 228435ea66986bfb839a97438588f89d5337111a # timeout=10 18:23:45 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 18:23:45 > git --version # timeout=10 18:23:45 > git --version # 'git version 2.25.1' 18:23:45 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:23:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:23:46 % Total % Received % Xferd Average Speed Time Time Time Current 18:23:46 Dload Upload Total Spent Left Speed 18:23:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 18:23:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:23:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:23:47 + sudo tee /etc/docker/daemon.new 18:23:47 { 18:23:47 "registry-mirrors": [ 18:23:47 "https://nexus3.edgexfoundry.org:10001" 18:23:47 ], 18:23:47 "bip": "10.250.0.254/24", 18:23:47 "hosts": [ 18:23:47 "tcp://0.0.0.0:5555", 18:23:47 "unix:///var/run/docker.sock" 18:23:47 ], 18:23:47 "mtu": 1458, 18:23:47 "selinux-enabled": true, 18:23:47 "seccomp-profile": "/etc/docker/seccomp.json" 18:23:47 } [Pipeline] sh 18:23:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:23:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:06 provisioning config files... 18:24:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config16848610706590304185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:07 ---> docker-login.sh 18:24:07 nexus3.edgexfoundry.org:10001 18:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:07 Configure a credential helper to remove this warning. See 18:24:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:07 18:24:07 Login Succeeded 18:24:07 nexus3.edgexfoundry.org:10002 18:24:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:08 Configure a credential helper to remove this warning. See 18:24:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:08 18:24:08 Login Succeeded 18:24:08 nexus3.edgexfoundry.org:10003 18:24:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:08 Configure a credential helper to remove this warning. See 18:24:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:08 18:24:08 Login Succeeded 18:24:08 nexus3.edgexfoundry.org:10004 18:24:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:08 Configure a credential helper to remove this warning. See 18:24:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:08 18:24:08 Login Succeeded 18:24:08 docker.io 18:24:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:09 Configure a credential helper to remove this warning. See 18:24:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:09 18:24:09 Login Succeeded 18:24:09 ---> docker-login.sh ends [Pipeline] } 18:24:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:24:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:24:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:24:10 ========================================================= 18:24:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:24:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:24:10 Sending build context to Docker daemon 11.81MB 18:24:10 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:24:10 Step 2/12 : FROM ${BASE} AS builder 18:24:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:24:11 9b18e9b68314: Pulling fs layer 18:24:11 35d82f9e3411: Pulling fs layer 18:24:11 e16973657156: Pulling fs layer 18:24:11 fc693d55d65f: Pulling fs layer 18:24:11 7e9fc2657dce: Pulling fs layer 18:24:11 dda99020689f: Pulling fs layer 18:24:11 db1c61fa0a46: Pulling fs layer 18:24:11 891c053d2c06: Pulling fs layer 18:24:11 fc693d55d65f: Waiting 18:24:11 7e9fc2657dce: Waiting 18:24:11 dda99020689f: Waiting 18:24:11 db1c61fa0a46: Waiting 18:24:11 891c053d2c06: Waiting 18:24:11 e16973657156: Verifying Checksum 18:24:11 e16973657156: Download complete 18:24:11 35d82f9e3411: Download complete 18:24:11 7e9fc2657dce: Verifying Checksum 18:24:11 7e9fc2657dce: Download complete 18:24:11 dda99020689f: Verifying Checksum 18:24:11 dda99020689f: Download complete 18:24:11 9b18e9b68314: Verifying Checksum 18:24:12 9b18e9b68314: Pull complete 18:24:12 891c053d2c06: Verifying Checksum 18:24:12 891c053d2c06: Download complete 18:24:12 35d82f9e3411: Pull complete 18:24:12 e16973657156: Pull complete 18:24:13 db1c61fa0a46: Download complete 18:24:14 fc693d55d65f: Verifying Checksum 18:24:14 fc693d55d65f: Download complete 18:24:26 fc693d55d65f: Pull complete 18:24:26 7e9fc2657dce: Pull complete 18:24:26 dda99020689f: Pull complete 18:24:31 db1c61fa0a46: Pull complete 18:24:33 891c053d2c06: Pull complete 18:24:33 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:24:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:24:33 ---> f96f9c87975a 18:24:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:24:35 ---> Running in 3f0667f44386 18:24:36 Removing intermediate container 3f0667f44386 18:24:36 ---> c85c854c3ca6 18:24:36 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:24:36 ---> Running in 3609c041b2ac 18:24:36 Removing intermediate container 3609c041b2ac 18:24:36 ---> a855e09c531a 18:24:36 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:24:36 ---> Running in 7ed7845dcbda 18:24:37 Removing intermediate container 7ed7845dcbda 18:24:37 ---> 21418d04dc41 18:24:37 Step 6/12 : WORKDIR /device-virtual-go 18:24:37 ---> Running in cb0f37f6e5db 18:24:37 Removing intermediate container cb0f37f6e5db 18:24:37 ---> e8ade9adfad3 18:24:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:24:37 ---> Running in e3591620439c 18:24:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:24:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:24:40 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:24:40 (2/4) Installing libedit (20210910.3.1-r0) 18:24:40 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:24:40 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:24:40 Executing busybox-1.35.0-r17.trigger 18:24:40 OK: 226 MiB in 55 packages 18:24:41 Removing intermediate container e3591620439c 18:24:41 ---> 33386bee21cc 18:24:41 Step 8/12 : COPY go.mod vendor* ./ 18:24:42 ---> 4241851fe9a1 18:24:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:24:42 ---> Running in 4e79d746049c 18:25:38 Removing intermediate container 4e79d746049c 18:25:38 ---> 4aa5e9c98323 18:25:38 Step 10/12 : COPY . . 18:25:38 ---> cf3f4f01b21a 18:25:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:25:38 ---> Running in 43d3c7444819 18:25:38 Removing intermediate container 43d3c7444819 18:25:38 ---> 46e57efcc85a 18:25:38 Step 12/12 : RUN $MAKE 18:25:38 ---> Running in 22a53e15652e 18:25:39 noop 18:25:40 Removing intermediate container 22a53e15652e 18:25:40 ---> 94552ee59095 18:25:40 Successfully built 94552ee59095 18:25:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:41 + docker inspect -f . ci-base-image-arm64 18:25:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:25:41 prd-ubuntu20.04-docker-arm64-4c-16g-1635 does not seem to be running inside a container 18:25:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:25:42 $ docker top fba488ad90495cd4fea16c57caa1f24624719094bb4f07c2ec14d96706f3b39e -eo pid,comm [Pipeline] { [Pipeline] sh 18:25:43 + go version 18:25:43 go version go1.18.7 linux/arm64 [Pipeline] } 18:25:43 $ docker stop --time=1 fba488ad90495cd4fea16c57caa1f24624719094bb4f07c2ec14d96706f3b39e 18:25:45 $ docker rm -f --volumes fba488ad90495cd4fea16c57caa1f24624719094bb4f07c2ec14d96706f3b39e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:46 + docker inspect -f . ci-base-image-arm64 18:25:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:25:46 prd-ubuntu20.04-docker-arm64-4c-16g-1635 does not seem to be running inside a container 18:25:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:25:48 $ docker top d5dbd4318b4057ca4320f7404142b357c77baf16b1af26c4a9dfd0c8e1c068ba -eo pid,comm [Pipeline] { [Pipeline] sh 18:25:48 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 18:25:49 + make test 18:25:49 go test ./... -coverprofile=coverage.out 18:25:51 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:27:28 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:27:28 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.151s coverage: 65.7% of statements 18:27:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:27:28 go vet ./... 18:27:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:27:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:27:50 ./bin/test-attribution-txt.sh [Pipeline] echo 18:27:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:27:50 $ docker stop --time=1 d5dbd4318b4057ca4320f7404142b357c77baf16b1af26c4a9dfd0c8e1c068ba 18:27:52 $ docker rm -f --volumes d5dbd4318b4057ca4320f7404142b357c77baf16b1af26c4a9dfd0c8e1c068ba [Pipeline] // withDockerContainer [Pipeline] sh 18:27:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:27:53 Warning: overwriting stash ‘coverage-report’ 18:27:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:27:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:27:55 + ls -al . 18:27:55 total 200 18:27:55 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 18:25 . 18:27:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 18:23 .. 18:27:55 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 18:23 .git 18:27:55 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 18:23 .github 18:27:55 -rw-rw-r-- 1 jenkins jenkins 337 Jan 10 18:23 .gitignore 18:27:55 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 18:23 .golangci.yml 18:27:55 -rw-rw-r-- 1 jenkins jenkins 8423 Jan 10 18:23 Attribution.txt 18:27:55 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 10 18:23 CHANGELOG.md 18:27:55 -rw-rw-r-- 1 jenkins jenkins 1646 Jan 10 18:23 Dockerfile 18:27:55 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 18:23 GOVERNANCE.md 18:27:55 -rw-rw-r-- 1 jenkins jenkins 660 Jan 10 18:23 Jenkinsfile 18:27:55 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 18:23 LICENSE 18:27:55 -rw-rw-r-- 1 jenkins jenkins 1661 Jan 10 18:23 Makefile 18:27:55 -rw-rw-r-- 1 jenkins jenkins 623 Jan 10 18:23 OWNERS.md 18:27:55 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 10 18:23 README.md 18:27:55 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 18:20 VERSION 18:27:55 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 18:23 bin 18:27:55 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 18:23 cmd 18:27:55 -rw-r--r-- 1 jenkins jenkins 44128 Jan 10 18:27 coverage.out 18:27:55 -rw-rw-r-- 1 jenkins jenkins 3340 Jan 10 18:23 go.mod 18:27:55 -rw-rw-r-- 1 jenkins jenkins 44412 Jan 10 18:23 go.sum 18:27:55 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 18:23 internal 18:27:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 18:23 snap 18:27:55 -rw-rw-r-- 1 jenkins jenkins 235 Jan 10 18:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:55 + 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=228435ea66986bfb839a97438588f89d5337111a --label arch=arm64 --label version=0.0.0 . 18:27:55 Sending build context to Docker daemon 11.86MB 18:27:56 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:27:56 Step 2/25 : FROM ${BASE} AS builder 18:27:56 ---> 94552ee59095 18:27:56 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:27:56 ---> Running in 2f27cf0e637a 18:27:56 Removing intermediate container 2f27cf0e637a 18:27:56 ---> 0a50b697feee 18:27:56 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 18:27:56 ---> Running in ecf78c197b8a 18:27:56 Removing intermediate container ecf78c197b8a 18:27:56 ---> 2531693f599b 18:27:56 Step 5/25 : ARG ADD_BUILD_TAGS="" 18:27:56 ---> Running in 73143eb732d1 18:27:57 Removing intermediate container 73143eb732d1 18:27:57 ---> 4eb4b284fa15 18:27:57 Step 6/25 : WORKDIR /device-virtual-go 18:27:57 ---> Running in 9769dd2ef65d 18:27:57 Removing intermediate container 9769dd2ef65d 18:27:57 ---> b47e73735c4c 18:27:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:27:57 ---> Running in afa918be3a35 18:27:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:27:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:28:00 OK: 226 MiB in 55 packages 18:28:02 Removing intermediate container afa918be3a35 18:28:02 ---> b27305050103 18:28:02 Step 8/25 : COPY go.mod vendor* ./ 18:28:02 ---> 0b4c955dd6a0 18:28:02 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:28:02 ---> Running in 8c7d22c5c656 18:28:05 Removing intermediate container 8c7d22c5c656 18:28:05 ---> 703b06b1abd3 18:28:05 Step 10/25 : COPY . . 18:28:06 ---> cadbae02c3a0 18:28:06 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:28:06 ---> Running in d1d0ad4ec399 18:28:06 Removing intermediate container d1d0ad4ec399 18:28:06 ---> 635015f40a4d 18:28:06 Step 12/25 : RUN $MAKE 18:28:06 ---> Running in 2b9a922a23e0 18:28:07 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 18:30:59 Removing intermediate container 2b9a922a23e0 18:30:59 ---> 5451418d86a9 18:30:59 Step 13/25 : FROM alpine:3.16 18:30:59 3.16: Pulling from library/alpine 18:30:59 6875df1f5354: Pulling fs layer 18:30:59 6875df1f5354: Verifying Checksum 18:30:59 6875df1f5354: Download complete 18:30:59 6875df1f5354: Pull complete 18:30:59 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:30:59 Status: Downloaded newer image for alpine:3.16 18:30:59 ---> 2b4661558fb8 18:30:59 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:30:59 ---> Running in d9f46b63d2f5 18:30:59 Removing intermediate container d9f46b63d2f5 18:30:59 ---> 3d510df0d730 18:30:59 Step 15/25 : RUN apk add --update --no-cache dumb-init 18:30:59 ---> Running in 4bdeb7ca1a3d 18:30:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:30:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:30:59 (1/1) Installing dumb-init (1.2.5-r1) 18:30:59 Executing busybox-1.35.0-r17.trigger 18:30:59 OK: 5 MiB in 15 packages 18:30:59 Removing intermediate container 4bdeb7ca1a3d 18:30:59 ---> d2e2ce532754 18:30:59 Step 16/25 : WORKDIR / 18:30:59 ---> Running in 1b4b77207b6a 18:30:59 Removing intermediate container 1b4b77207b6a 18:30:59 ---> fd8010051f46 18:30:59 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:30:59 ---> 948432ec055c 18:30:59 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 18:30:59 ---> 07807e610cb1 18:30:59 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 18:30:59 ---> a7093d258dbd 18:30:59 Step 20/25 : EXPOSE 59900 18:30:59 ---> Running in 9c1fb72c3594 18:30:59 Removing intermediate container 9c1fb72c3594 18:30:59 ---> 7a9cc48d9c09 18:30:59 Step 21/25 : ENTRYPOINT ["/device-virtual"] 18:30:59 ---> Running in 073904e4b911 18:30:59 Removing intermediate container 073904e4b911 18:30:59 ---> bb37e3252dbb 18:30:59 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:30:59 ---> Running in bbb116c5256a 18:30:59 Removing intermediate container bbb116c5256a 18:30:59 ---> b0eba9f64a92 18:30:59 Step 23/25 : LABEL arch=arm64 18:30:59 ---> Running in 8d491e93e911 18:30:59 Removing intermediate container 8d491e93e911 18:30:59 ---> e5016a80d4ca 18:30:59 Step 24/25 : LABEL git_sha=228435ea66986bfb839a97438588f89d5337111a 18:30:59 ---> Running in 0a635d0209af 18:30:59 Removing intermediate container 0a635d0209af 18:30:59 ---> c843ff81caf3 18:30:59 Step 25/25 : LABEL version=0.0.0 18:30:59 ---> Running in bcf70c6be6f7 18:30:59 Removing intermediate container bcf70c6be6f7 18:30:59 ---> f41398cd39c0 18:30:59 [Warning] One or more build-args [ARCH] were not consumed 18:30:59 Successfully built f41398cd39c0 18:30:59 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:31:00 18:31:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:31:00 arm64: Pulling from edgex-lftools-log-publisher 18:31:00 8998bd30e6a1: Pulling fs layer 18:31:00 04944245beec: Pulling fs layer 18:31:00 699f458cf7ca: Pulling fs layer 18:31:00 765212b225bb: Pulling fs layer 18:31:00 f23df028b6ca: Pulling fs layer 18:31:00 d65c8cfc05b1: Pulling fs layer 18:31:00 2437ff75d9bd: Pulling fs layer 18:31:00 f23df028b6ca: Waiting 18:31:00 d65c8cfc05b1: Waiting 18:31:00 2437ff75d9bd: Waiting 18:31:00 765212b225bb: Waiting 18:31:01 04944245beec: Verifying Checksum 18:31:01 04944245beec: Download complete 18:31:01 765212b225bb: Verifying Checksum 18:31:01 765212b225bb: Download complete 18:31:01 f23df028b6ca: Verifying Checksum 18:31:01 f23df028b6ca: Download complete 18:31:01 d65c8cfc05b1: Verifying Checksum 18:31:01 d65c8cfc05b1: Download complete 18:31:01 699f458cf7ca: Verifying Checksum 18:31:01 699f458cf7ca: Download complete 18:31:01 8998bd30e6a1: Verifying Checksum 18:31:01 8998bd30e6a1: Download complete 18:31:04 2437ff75d9bd: Verifying Checksum 18:31:04 2437ff75d9bd: Download complete 18:31:05 8998bd30e6a1: Pull complete 18:31:06 04944245beec: Pull complete 18:31:07 699f458cf7ca: Pull complete 18:31:07 765212b225bb: Pull complete 18:31:08 f23df028b6ca: Pull complete 18:31:09 d65c8cfc05b1: Pull complete 18:31:24 2437ff75d9bd: Pull complete 18:31:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:31:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:31:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:24 prd-ubuntu20.04-docker-arm64-4c-16g-1635 does not seem to be running inside a container 18:31:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:31:27 $ docker top 24dd956897845549e1b6675b213a85a52a8ca6a97c4798a144c3722898475498 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:31:28 ---> job-cost.sh 18:31:28 lf-activate-venv: SKIPPING 18:31:28 INFO: No Stack... 18:31:28 INFO: Retrieving Pricing Info for: v3-standard-4 18:31:29 INFO: Archiving Costs [Pipeline] sh 18:31:30 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 18:31:30 + cut -d, -f6 [Pipeline] lock 18:31:30 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] 18:31:30 Resource [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] did not exist. Created. 18:31:30 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:31:31 /w/workspace/device-virtual-go/1@tmp/durable-70826d2b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:31:31 + echo total: 0.10999999940395355 [Pipeline] stash 18:31:31 Warning: overwriting stash ‘stack-cost’ 18:31:31 Stashed 1 file(s) [Pipeline] } 18:31:31 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-326-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:31:31 $ docker stop --time=1 24dd956897845549e1b6675b213a85a52a8ca6a97c4798a144c3722898475498 18:31:33 $ docker rm -f --volumes 24dd956897845549e1b6675b213a85a52a8ca6a97c4798a144c3722898475498 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:31:34 provisioning config files... 18:31:34 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-326@tmp/config17865006965699575801tmp [Pipeline] { [Pipeline] sh 18:31:34 + set +x 18:31:34 + bash -s -- 18:31:34 + curl -s https://codecov.io/bash 18:31:34 18:31:34 _____ _ 18:31:34 / ____| | | 18:31:34 | | ___ __| | ___ ___ _____ __ 18:31:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:31:34 | |___| (_) | (_| | __/ (_| (_) \ V / 18:31:34 \_____\___/ \__,_|\___|\___\___/ \_/ 18:31:34 Bash-1.0.6 18:31:34 18:31:34 18:31:34 ==> git version 2.25.1 found 18:31:34 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:31:34 Release-Date: 2020-01-08 18:31:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:31:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:31:34 ==> Jenkins CI detected. 18:31:34 current dir:  /w/workspace/foundry_device-virtual-go_PR-326 18:31:34 project root: . 18:31:34 --> token set from env 18:31:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:31:34 ==> Running gcov in . (disable via -X gcov) 18:31:34 ==> Python coveragepy not found 18:31:34 ==> Searching for coverage reports in: 18:31:34 + . 18:31:34 -> Found 1 reports 18:31:34 ==> Detecting git/mercurial file structure 18:31:34 ==> Reading reports 18:31:34 + ./coverage.out bytes=44128 18:31:34 ==> Appending adjustments 18:31:34 https://docs.codecov.io/docs/fixing-reports 18:31:35 + Found adjustments 18:31:35 ==> Gzipping contents 18:31:35 8.0K /tmp/codecov.1taKnx.gz 18:31:35 ==> Uploading reports 18:31:35 url: https://codecov.io 18:31:35 query: branch=PR-326&commit=228435ea66986bfb839a97438588f89d5337111a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-326%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=326&job=&cmd_args= 18:31:35 -> Pinging Codecov 18:31:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-326&commit=228435ea66986bfb839a97438588f89d5337111a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-326%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=326&job=&cmd_args= 18:31:35 -> Uploading to 18:31:35 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/5E52B4B073DB2E39498172D8E973AA87/228435ea66986bfb839a97438588f89d5337111a/07ff92b5-8b12-47ca-b124-0c4dd4bbb07f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T183135Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0533f3c2ba4a723d4e34599c404ce7b511f6605ce29ff06461a0e8cee3f3f6c7 18:31:35 % Total % Received % Xferd Average Speed Time Time Time Current 18:31:35 Dload Upload Total Spent Left Speed 18:31:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5503 0 0 100 5503 0 27108 --:--:-- --:--:-- --:--:-- 26975 100 5503 0 0 100 5503 0 25476 --:--:-- --:--:-- --:--:-- 25359 18:31:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/228435ea66986bfb839a97438588f89d5337111a [Pipeline] } 18:31:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:31:37 + [ -d /w/workspace/foundry_device-virtual-go_PR-326/archives ] 18:31:37 + ls -al /w/workspace/foundry_device-virtual-go_PR-326/archives 18:31:37 total 16 18:31:37 drwxr-xr-x 3 root root 4096 Jan 10 18:22 . 18:31:37 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 18:22 .. 18:31:37 drwxr-xr-x 2 root root 4096 Jan 10 18:22 cost 18:31:37 -rw-r--r-- 1 root root 89 Jan 10 18:22 cost.csv 18:31:37 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-326/archives 18:31:37 + ls -al /w/workspace/foundry_device-virtual-go_PR-326/archives 18:31:37 total 16 18:31:37 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 18:22 . 18:31:37 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 18:22 .. 18:31:37 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 18:22 cost 18:31:37 -rw-r--r-- 1 jenkins jenkins 89 Jan 10 18:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:31:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:31:38 ---> package-listing.sh 18:31:38 ++ facter osfamily 18:31:38 ++ tr '[:upper:]' '[:lower:]' 18:31:38 + OS_FAMILY=debian 18:31:38 + workspace=/w/workspace/foundry_device-virtual-go_PR-326 18:31:38 + START_PACKAGES=/tmp/packages_start.txt 18:31:38 + END_PACKAGES=/tmp/packages_end.txt 18:31:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:31:38 + PACKAGES=/tmp/packages_start.txt 18:31:38 + '[' /w/workspace/foundry_device-virtual-go_PR-326 ']' 18:31:38 + PACKAGES=/tmp/packages_end.txt 18:31:38 + case "${OS_FAMILY}" in 18:31:38 + dpkg -l 18:31:38 + grep '^ii' 18:31:38 + '[' -f /tmp/packages_start.txt ']' 18:31:38 + '[' -f /tmp/packages_end.txt ']' 18:31:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:31:38 + '[' /w/workspace/foundry_device-virtual-go_PR-326 ']' 18:31:38 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-326/archives/ 18:31:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-326/archives/ [Pipeline] echo 18:31:38 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-326/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:31:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:31:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:39 prd-ubuntu20.04-docker-8c-8g-1632 does not seem to be running inside a container 18:31:39 $ 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-326/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-326 -v /w/workspace/foundry_device-virtual-go_PR-326:/w/workspace/foundry_device-virtual-go_PR-326:rw,z -v /w/workspace/foundry_device-virtual-go_PR-326@tmp:/w/workspace/foundry_device-virtual-go_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:31:40 $ docker top 06ea54c3a5c0e44f7f416ac31418e9fb99977a937c84921774e15772bcd733ee -eo pid,comm [Pipeline] { [Pipeline] sh 18:31:40 + touch /tmp/pre-build-complete [Pipeline] sh 18:31:40 + mkdir -p /var/log/sysstat [Pipeline] sh 18:31:41 + ls /var/log/sa-host 18:31:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:31:41 provisioning config files... 18:31:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-326@tmp/config13568664767472502465tmp [Pipeline] { [Pipeline] echo 18:31:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:31:41 ---> create-netrc.sh [Pipeline] } 18:31:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:31:42 ---> python-tools-install.sh [Pipeline] echo 18:31:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:31:42 ---> sudo-logs.sh 18:31:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:31:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:31:42 ---> job-cost.sh 18:31:42 lf-activate-venv: SKIPPING 18:31:42 DEBUG: total: 0.2199999988079071 18:31:42 INFO: Retrieving Stack Cost... 18:31:43 INFO: Retrieving Pricing Info for: v3-standard-8 18:31:43 INFO: Archiving Costs [Pipeline] echo 18:31:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:31:44 ---> logs-deploy.sh 18:31:44 lf-activate-venv: SKIPPING 18:31:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-326/1 18:31:44 INFO: archiving workspace using pattern(s): 18:31:44 Archives upload complete. 18:31:44 INFO: archiving logs to Nexus