Pull request #287 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 9cab87334a4d5affcc1b2c5c12d642008ef46c2d rather than e414a0ef60f40c4bc0a47abe8eed3674be8d338f Obtained Jenkinsfile from 9cab87334a4d5affcc1b2c5c12d642008ef46c2d 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-ssh3609741520185818057.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e2cac8b444d664382c771f5dccbf61e369ddf83e 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-ssh1409460394032550104.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 e2cac8b444d664382c771f5dccbf61e369ddf83e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6231097204241074018.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e2cac8b444d664382c771f5dccbf61e369ddf83e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e2cac8b444d664382c771f5dccbf61e369ddf83e # timeout=10 Commit message: "Merge pull request #396 from ernestojeda/snyk-enhancements" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5541923416503648504.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3524440286123658029.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-918’ Running on prd-ubuntu20.04-docker-8c-8g-921 in /w/workspace/foundry_device-virtual-go_PR-287 [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-287 # 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/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit e414a0ef60f40c4bc0a47abe8eed3674be8d338f Merge succeeded, producing e414a0ef60f40c4bc0a47abe8eed3674be8d338f Checking out Revision e414a0ef60f40c4bc0a47abe8eed3674be8d338f (PR-287) > git config core.sparsecheckout # timeout=10 > git checkout -f e414a0ef60f40c4bc0a47abe8eed3674be8d338f # 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 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e414a0ef60f40c4bc0a47abe8eed3674be8d338f # timeout=10 Commit message: "feat(snap): Enable config options after SetComponentName" > git rev-list --no-walk ccb4f5e4411e93ad5a61be90557f2f0c2d4571c5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:15:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:15:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:15:07 ========================================================= 11:15:07 EdgeX Global Pipelines Version Info 11:15:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:15:08 ------------------- 11:15:08 stable info: 11:15:08 ------------------- 11:15:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:15:08 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 11:15:08 Message: update stable to v1.0.231 11:15:09 ------------------- 11:15:09 experimental info: 11:15:09 ------------------- 11:15:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:15:09 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 11:15:09 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e414a0ef60f40c4bc0a47abe8eed3674be8d338f [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e414a0e [Pipeline] echo 11:15:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:15:09 provisioning config files... 11:15:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config3112491487320769341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:15:10 ---> docker-login.sh 11:15:10 nexus3.edgexfoundry.org:10001 11:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:10 Configure a credential helper to remove this warning. See 11:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:10 11:15:10 Login Succeeded 11:15:10 nexus3.edgexfoundry.org:10002 11:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:11 Configure a credential helper to remove this warning. See 11:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:11 11:15:11 Login Succeeded 11:15:11 nexus3.edgexfoundry.org:10003 11:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:11 Configure a credential helper to remove this warning. See 11:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:11 11:15:11 Login Succeeded 11:15:11 nexus3.edgexfoundry.org:10004 11:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:11 Configure a credential helper to remove this warning. See 11:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:11 11:15:11 Login Succeeded 11:15:11 docker.io 11:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:11 Configure a credential helper to remove this warning. See 11:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:11 11:15:11 Login Succeeded 11:15:11 ---> docker-login.sh ends [Pipeline] } 11:15:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:15:12 + git rev-list -1 --merges e414a0ef60f40c4bc0a47abe8eed3674be8d338f~1..e414a0ef60f40c4bc0a47abe8eed3674be8d338f [Pipeline] echo 11:15:12 -----------> git rev-list -1 --merges e414a0ef60f40c4bc0a47abe8eed3674be8d338f~1..e414a0ef60f40c4bc0a47abe8eed3674be8d338f e414a0ef60f40c4bc0a47abe8eed3674be8d338f [false] [Pipeline] sh 11:15:12 + git log --format=format:%s -1 e414a0ef60f40c4bc0a47abe8eed3674be8d338f [Pipeline] echo 11:15:12 ========================================================= 11:15:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:15:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:15:12 + git log --format=format:%s -1 e414a0ef60f40c4bc0a47abe8eed3674be8d338f [Pipeline] echo 11:15:12 [semverPrep] GIT_COMMIT: e414a0ef60f40c4bc0a47abe8eed3674be8d338f, Commit Message: feat(snap): Enable config options after SetComponentName [Pipeline] echo 11:15:12 [semverPrep] This is not a build commit. [Pipeline] sh 11:15:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:15:13 + grep -v github /etc/ssh/ssh_known_hosts 11:15:13 + [ -e /tmp/ssh_known_hosts ] 11:15:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:15:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:15:13 + sudo tee -a /etc/ssh/ssh_known_hosts 11:15:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:15:13 11:15:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:15:14 latest: Pulling from edgex-devops/py-git-semver 11:15:14 42c077c10790: Pulling fs layer 11:15:14 f63e77b7563a: Pulling fs layer 11:15:14 bd5fdadae976: Pulling fs layer 11:15:14 205491f53016: Pulling fs layer 11:15:14 df18705c85c3: Pulling fs layer 11:15:14 205491f53016: Waiting 11:15:14 bdb3f477010e: Pulling fs layer 11:15:14 c8a8fc8e1c8f: Pulling fs layer 11:15:14 bdb3f477010e: Waiting 11:15:14 df18705c85c3: Waiting 11:15:14 c8a8fc8e1c8f: Waiting 11:15:14 2c6e9b1d212d: Pulling fs layer 11:15:14 bdb8f0575790: Pulling fs layer 11:15:14 386e3cb2ff24: Pulling fs layer 11:15:14 2343380bae48: Pulling fs layer 11:15:14 2c6e9b1d212d: Waiting 11:15:14 bdb8f0575790: Waiting 11:15:14 386e3cb2ff24: Waiting 11:15:14 2343380bae48: Waiting 11:15:14 f63e77b7563a: Verifying Checksum 11:15:14 f63e77b7563a: Download complete 11:15:14 205491f53016: Verifying Checksum 11:15:14 205491f53016: Download complete 11:15:14 df18705c85c3: Verifying Checksum 11:15:14 df18705c85c3: Download complete 11:15:14 bd5fdadae976: Verifying Checksum 11:15:14 bdb3f477010e: Verifying Checksum 11:15:14 bdb3f477010e: Download complete 11:15:14 bd5fdadae976: Download complete 11:15:14 2c6e9b1d212d: Verifying Checksum 11:15:14 2c6e9b1d212d: Download complete 11:15:14 bdb8f0575790: Download complete 11:15:14 386e3cb2ff24: Download complete 11:15:14 2343380bae48: Download complete 11:15:14 42c077c10790: Download complete 11:15:14 c8a8fc8e1c8f: Verifying Checksum 11:15:14 c8a8fc8e1c8f: Download complete 11:15:15 42c077c10790: Pull complete 11:15:16 f63e77b7563a: Pull complete 11:15:16 bd5fdadae976: Pull complete 11:15:16 205491f53016: Pull complete 11:15:17 df18705c85c3: Pull complete 11:15:17 bdb3f477010e: Pull complete 11:15:19 c8a8fc8e1c8f: Pull complete 11:15:19 2c6e9b1d212d: Pull complete 11:15:19 bdb8f0575790: Pull complete 11:15:19 386e3cb2ff24: Pull complete 11:15:19 2343380bae48: Pull complete 11:15:19 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 11:15:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:15:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:15:19 prd-ubuntu20.04-docker-8c-8g-921 does not seem to be running inside a container 11:15:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 11:15:22 $ docker top b0a5e0709db6425c784735b65d8ca01d1b065dfebcbe6fd479fab925d177440d -eo pid,comm 11:15:22 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). 11:15:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:15:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:15:22 [ssh-agent] Looking for ssh-agent implementation... 11:15:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:15:22 $ docker exec b0a5e0709db6425c784735b65d8ca01d1b065dfebcbe6fd479fab925d177440d ssh-agent 11:15:22 SSH_AUTH_SOCK=/tmp/ssh-vWTEsjDkkSjJ/agent.32 11:15:22 SSH_AGENT_PID=38 11:15:22 Running ssh-add (command line suppressed) 11:15:22 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_5953748688218903392.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_5953748688218903392.key) 11:15:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:15:22 + git tag --points-at HEAD [Pipeline] } 11:15:22 $ docker exec --env ******** --env ******** b0a5e0709db6425c784735b65d8ca01d1b065dfebcbe6fd479fab925d177440d ssh-agent -k 11:15:23 unset SSH_AUTH_SOCK; 11:15:23 unset SSH_AGENT_PID; 11:15:23 echo Agent pid 38 killed; 11:15:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:15:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:15:23 [ssh-agent] Looking for ssh-agent implementation... 11:15:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:15:23 $ docker exec b0a5e0709db6425c784735b65d8ca01d1b065dfebcbe6fd479fab925d177440d ssh-agent 11:15:23 SSH_AUTH_SOCK=/tmp/ssh-lhFkBSUQSCac/agent.71 11:15:23 SSH_AGENT_PID=77 11:15:23 Running ssh-add (command line suppressed) 11:15:23 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_7228118128518144269.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_7228118128518144269.key) 11:15:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:15:23 + git semver init 11:15:24 2022-06-03 11:15:24,040 [run_init] DEBUG init version:0.0.0 force:False 11:15:24 2022-06-03 11:15:24,041 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver 11:15:24 2022-06-03 11:15:24,041 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-287/.semver 11:15:24 2022-06-03 11:15:24,041 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-287/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-287, universal_newlines=False, shell=None, istream=None) 11:15:25 2022-06-03 11:15:24,979 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude 11:15:25 2022-06-03 11:15:24,979 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 with force:False 11:15:25 2022-06-03 11:15:24,979 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 11:15:25 2022-06-03 11:15:24,984 [execute] INFO git cat-file --batch-check 11:15:25 2022-06-03 11:15:24,984 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) 11:15:25 2022-06-03 11:15:24,992 [execute] INFO git cat-file --batch 11:15:25 2022-06-03 11:15:24,992 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) 11:15:25 2022-06-03 11:15:24,999 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 11:15:25 0.0.0 [Pipeline] } 11:15:25 $ docker exec --env ******** --env ******** b0a5e0709db6425c784735b65d8ca01d1b065dfebcbe6fd479fab925d177440d ssh-agent -k 11:15:25 unset SSH_AUTH_SOCK; 11:15:25 unset SSH_AGENT_PID; 11:15:25 echo Agent pid 77 killed; 11:15:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:15:25 + git semver [Pipeline] } 11:15:25 $ docker stop --time=1 b0a5e0709db6425c784735b65d8ca01d1b065dfebcbe6fd479fab925d177440d 11:15:27 $ docker rm -f b0a5e0709db6425c784735b65d8ca01d1b065dfebcbe6fd479fab925d177440d [Pipeline] // withDockerContainer [Pipeline] sh 11:15:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:15:27 Stashed 1 file(s) [Pipeline] echo 11:15:27 [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 11:15:28 provisioning config files... 11:15:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config4241301689609980636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:15:28 ---> docker-login.sh 11:15:28 nexus3.edgexfoundry.org:10001 11:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:28 Configure a credential helper to remove this warning. See 11:15:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:28 11:15:28 Login Succeeded 11:15:28 nexus3.edgexfoundry.org:10002 11:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:28 Configure a credential helper to remove this warning. See 11:15:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:28 11:15:28 Login Succeeded 11:15:28 nexus3.edgexfoundry.org:10003 11:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:28 Configure a credential helper to remove this warning. See 11:15:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:28 11:15:28 Login Succeeded 11:15:28 nexus3.edgexfoundry.org:10004 11:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:28 Configure a credential helper to remove this warning. See 11:15:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:28 11:15:28 Login Succeeded 11:15:28 docker.io 11:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:29 Configure a credential helper to remove this warning. See 11:15:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:29 11:15:29 Login Succeeded 11:15:29 ---> docker-login.sh ends [Pipeline] } 11:15:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:15:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:15:29 ========================================================= 11:15:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:15:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 11:15:29 Sending build context to Docker daemon 23.14MB 11:15:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:15:29 Step 2/12 : FROM ${BASE} AS builder 11:15:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:15:29 59bf1c3509f3: Pulling fs layer 11:15:29 666ba61612fd: Pulling fs layer 11:15:29 8ed8ca486205: Pulling fs layer 11:15:29 4fe6c5a15a65: Pulling fs layer 11:15:29 22a0e8bec74d: Pulling fs layer 11:15:29 ca2b28591e48: Pulling fs layer 11:15:29 a51346096db8: Pulling fs layer 11:15:29 daebc70d1ce1: Pulling fs layer 11:15:29 0e18a0eac166: Pulling fs layer 11:15:29 4fe6c5a15a65: Waiting 11:15:29 22a0e8bec74d: Waiting 11:15:29 ca2b28591e48: Waiting 11:15:29 a51346096db8: Waiting 11:15:29 0e18a0eac166: Waiting 11:15:29 daebc70d1ce1: Waiting 11:15:29 8ed8ca486205: Verifying Checksum 11:15:29 8ed8ca486205: Download complete 11:15:29 666ba61612fd: Download complete 11:15:29 22a0e8bec74d: Download complete 11:15:29 ca2b28591e48: Verifying Checksum 11:15:29 ca2b28591e48: Download complete 11:15:29 a51346096db8: Download complete 11:15:29 59bf1c3509f3: Verifying Checksum 11:15:29 59bf1c3509f3: Download complete 11:15:29 daebc70d1ce1: Verifying Checksum 11:15:29 daebc70d1ce1: Download complete 11:15:30 59bf1c3509f3: Pull complete 11:15:30 666ba61612fd: Pull complete 11:15:30 8ed8ca486205: Pull complete 11:15:30 0e18a0eac166: Verifying Checksum 11:15:30 0e18a0eac166: Download complete 11:15:30 4fe6c5a15a65: Verifying Checksum 11:15:30 4fe6c5a15a65: Download complete 11:15:34 4fe6c5a15a65: Pull complete 11:15:34 22a0e8bec74d: Pull complete 11:15:34 ca2b28591e48: Pull complete 11:15:35 a51346096db8: Pull complete 11:15:35 daebc70d1ce1: Pull complete 11:15:37 0e18a0eac166: Pull complete 11:15:37 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 11:15:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:15:37 ---> f018257e8ee9 11:15:37 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:15:40 ---> Running in 1854dd91ee32 11:15:40 Removing intermediate container 1854dd91ee32 11:15:40 ---> 0033de286f3f 11:15:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:15:40 ---> Running in 7831078462ba 11:15:40 Removing intermediate container 7831078462ba 11:15:40 ---> 8e559489697f 11:15:40 Step 5/12 : WORKDIR /device-virtual-go 11:15:40 ---> Running in 99ff42cf681e 11:15:40 Removing intermediate container 99ff42cf681e 11:15:40 ---> 5c3f31ee7411 11:15:40 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:15:40 ---> Running in 53f29d32d64f 11:15:41 Removing intermediate container 53f29d32d64f 11:15:41 ---> 228856f8e897 11:15:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:15:41 ---> Running in 02d62e4d56eb 11:15:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:15:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:15:43 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:15:43 (2/4) Installing libedit (20210910.3.1-r0) 11:15:43 Still waiting to schedule task 11:15:43 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-919’ 11:15:43 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:15:43 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:15:43 Executing busybox-1.34.1-r3.trigger 11:15:43 OK: 224 MiB in 56 packages 11:15:44 Removing intermediate container 02d62e4d56eb 11:15:44 ---> 4d67a9a3e579 11:15:44 Step 8/12 : COPY go.mod vendor* ./ 11:15:44 ---> 0c687ba44e95 11:15:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:15:44 ---> Running in afa83bd5c784 11:16:02 Removing intermediate container afa83bd5c784 11:16:02 ---> 52094b9e0bdb 11:16:02 Step 10/12 : COPY . . 11:16:02 ---> 9d86fa7d5655 11:16:02 Step 11/12 : ARG MAKE='make build' 11:16:02 ---> Running in 67c908a5bc51 11:16:02 Removing intermediate container 67c908a5bc51 11:16:02 ---> b79b01873aa9 11:16:02 Step 12/12 : RUN $MAKE 11:16:02 ---> Running in 6204172aad4d 11:16:02 noop 11:16:02 Removing intermediate container 6204172aad4d 11:16:02 ---> f469cf7c767e 11:16:02 Successfully built f469cf7c767e 11:16:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:03 + docker inspect -f . ci-base-image-x86_64 11:16:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:16:03 prd-ubuntu20.04-docker-8c-8g-921 does not seem to be running inside a container 11:16:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:16:03 $ docker top 9b5b18405d9d69ba9b27f18d66076109d291266fe278e1696516489415c6dc2f -eo pid,comm [Pipeline] { [Pipeline] sh 11:16:04 + go version 11:16:04 go version go1.17.6 linux/amd64 [Pipeline] } 11:16:04 $ docker stop --time=1 9b5b18405d9d69ba9b27f18d66076109d291266fe278e1696516489415c6dc2f 11:16:05 $ docker rm -f 9b5b18405d9d69ba9b27f18d66076109d291266fe278e1696516489415c6dc2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:06 + docker inspect -f . ci-base-image-x86_64 11:16:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:16:06 prd-ubuntu20.04-docker-8c-8g-921 does not seem to be running inside a container 11:16:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:16:07 $ docker top 77907853086fd9ce700781b34b2d116e4b2a8f7b6b685c6edf25c2b4ef4cce76 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:16:07 + make test 11:16:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:16:08 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:16:18 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:16:18 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.044s coverage: 65.7% of statements 11:16:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:16:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:16:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:16:30 ./bin/test-attribution-txt.sh [Pipeline] echo 11:16:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:16:30 $ docker stop --time=1 77907853086fd9ce700781b34b2d116e4b2a8f7b6b685c6edf25c2b4ef4cce76 11:16:33 $ docker rm -f 77907853086fd9ce700781b34b2d116e4b2a8f7b6b685c6edf25c2b4ef4cce76 [Pipeline] // withDockerContainer [Pipeline] sh 11:16:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:16:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:16:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:16:34 + ls -al . 11:16:34 total 192 11:16:34 drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 11:16 . 11:16:34 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 11:15 .. 11:16:34 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 11:15 .git 11:16:34 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:15 .github 11:16:34 -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 11:15 .gitignore 11:16:34 -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 11:15 .golangci.yml 11:16:34 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 11:15 .semver 11:16:34 -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 11:15 Attribution.txt 11:16:34 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 11:15 CHANGELOG.md 11:16:34 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 11:15 Dockerfile 11:16:34 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 11:15 GOVERNANCE.md 11:16:34 -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 11:15 Jenkinsfile 11:16:34 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 11:15 LICENSE 11:16:34 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 11:15 Makefile 11:16:34 -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 11:15 OWNERS.md 11:16:34 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 11:15 README.md 11:16:34 -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 11:15 VERSION 11:16:34 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 11:15 bin 11:16:34 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:15 cmd 11:16:34 -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 11:16 coverage.out 11:16:34 -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 11:15 go.mod 11:16:34 -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 11:15 go.sum 11:16:34 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:15 internal 11:16:34 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:15 snap 11:16:34 -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 11:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:34 + 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=e414a0ef60f40c4bc0a47abe8eed3674be8d338f --label arch=amd64 --label version=0.0.0 . 11:16:34 Sending build context to Docker daemon 23.19MB 11:16:34 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:16:34 Step 2/26 : FROM ${BASE} AS builder 11:16:34 ---> f469cf7c767e 11:16:34 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:16:35 ---> Running in 6a8230e8588c 11:16:35 Removing intermediate container 6a8230e8588c 11:16:35 ---> 1a2222602ac5 11:16:35 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:16:35 ---> Running in 4bb1c7258d20 11:16:35 Removing intermediate container 4bb1c7258d20 11:16:35 ---> 88af4b782619 11:16:35 Step 5/26 : WORKDIR /device-virtual-go 11:16:35 ---> Running in a993ca8bd6f5 11:16:35 Removing intermediate container a993ca8bd6f5 11:16:35 ---> 3f9eff47ff3e 11:16:35 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:16:35 ---> Running in 26b142ccbead 11:16:36 Removing intermediate container 26b142ccbead 11:16:36 ---> 7c77348b7f11 11:16:36 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:16:36 ---> Running in acadc8a82c2a 11:16:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:16:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:16:37 OK: 224 MiB in 56 packages 11:16:38 Removing intermediate container acadc8a82c2a 11:16:38 ---> bc819661b457 11:16:38 Step 8/26 : COPY go.mod vendor* ./ 11:16:38 ---> 4370d46bdb6d 11:16:38 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:16:38 ---> Running in 0bd417070d8a 11:16:39 Removing intermediate container 0bd417070d8a 11:16:39 ---> e0132728d488 11:16:39 Step 10/26 : COPY . . 11:16:40 ---> 692c48e2beb7 11:16:40 Step 11/26 : ARG MAKE='make build' 11:16:40 ---> Running in da8dd2276b84 11:16:40 Removing intermediate container da8dd2276b84 11:16:40 ---> f8fafeef9cb7 11:16:40 Step 12/26 : RUN $MAKE 11:16:40 ---> Running in b19bc5c4f302 11:16:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:17:02 Removing intermediate container b19bc5c4f302 11:17:02 ---> a00968414efd 11:17:02 Step 13/26 : FROM alpine:3.14 11:17:02 3.14: Pulling from library/alpine 11:17:02 8663204ce13b: Pulling fs layer 11:17:02 8663204ce13b: Verifying Checksum 11:17:02 8663204ce13b: Download complete 11:17:02 8663204ce13b: Pull complete 11:17:02 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:17:02 Status: Downloaded newer image for alpine:3.14 11:17:02 ---> e04c818066af 11:17:02 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:17:02 ---> Running in 8b3936d99319 11:17:02 Removing intermediate container 8b3936d99319 11:17:02 ---> e1235557fab2 11:17:02 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:17:02 ---> Running in f783a0efab22 11:17:03 Removing intermediate container f783a0efab22 11:17:03 ---> c4455f6ac66a 11:17:03 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:17:03 ---> Running in f3fc3eb4c3b4 11:17:03 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:17:04 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:17:05 (1/6) Installing dumb-init (1.2.5-r1) 11:17:05 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:17:05 (3/6) Installing libsodium (1.0.18-r0) 11:17:05 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:17:05 (5/6) Installing libzmq (4.3.4-r0) 11:17:05 (6/6) Installing zeromq (4.3.4-r0) 11:17:05 Executing busybox-1.33.1-r7.trigger 11:17:05 OK: 8 MiB in 20 packages 11:17:06 Removing intermediate container f3fc3eb4c3b4 11:17:06 ---> edc83b82b469 11:17:06 Step 17/26 : WORKDIR / 11:17:06 ---> Running in 5f14f37242c8 11:17:06 Removing intermediate container 5f14f37242c8 11:17:06 ---> 0b282ba2c52e 11:17:06 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:17:06 ---> 17a1848b2e51 11:17:06 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:17:06 ---> 3074565c2be6 11:17:06 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:17:07 ---> 7b4be5afed27 11:17:07 Step 21/26 : EXPOSE 59900 11:17:07 ---> Running in b03264ea1a79 11:17:07 Removing intermediate container b03264ea1a79 11:17:07 ---> 0c3c9cd915fc 11:17:07 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:17:07 ---> Running in dab8c13e6215 11:17:08 Removing intermediate container dab8c13e6215 11:17:08 ---> d12c9fa07916 11:17:08 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:17:08 ---> Running in 54e4c5df2358 11:17:08 Removing intermediate container 54e4c5df2358 11:17:08 ---> 885c65736f4a 11:17:08 Step 24/26 : LABEL arch=amd64 11:17:08 ---> Running in c9bdde338d61 11:17:08 Removing intermediate container c9bdde338d61 11:17:08 ---> fde13f87c2c5 11:17:08 Step 25/26 : LABEL git_sha=e414a0ef60f40c4bc0a47abe8eed3674be8d338f 11:17:08 ---> Running in de61b9cf13a3 11:17:08 Removing intermediate container de61b9cf13a3 11:17:08 ---> 622c575464c0 11:17:08 Step 26/26 : LABEL version=0.0.0 11:17:08 ---> Running in 3c65a4fb60aa 11:17:08 Removing intermediate container 3c65a4fb60aa 11:17:08 ---> 990bf2d76532 11:17:08 [Warning] One or more build-args [ARCH] were not consumed 11:17:08 Successfully built 990bf2d76532 11:17:08 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 11:17:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:17:09 11:17:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:17:09 latest: Pulling from edgex-lftools-log-publisher 11:17:09 5eb5b503b376: Pulling fs layer 11:17:09 5c69ac0246d0: Pulling fs layer 11:17:09 ec43610c2a17: Pulling fs layer 11:17:09 3a2ae6a8a46f: Pulling fs layer 11:17:09 33b1e0a273af: Pulling fs layer 11:17:09 5d3b04190fa2: Pulling fs layer 11:17:09 2f39f015ded8: Pulling fs layer 11:17:09 3a2ae6a8a46f: Waiting 11:17:09 5c69ac0246d0: Verifying Checksum 11:17:09 5c69ac0246d0: Download complete 11:17:09 3a2ae6a8a46f: Verifying Checksum 11:17:09 3a2ae6a8a46f: Download complete 11:17:09 ec43610c2a17: Verifying Checksum 11:17:09 ec43610c2a17: Download complete 11:17:09 33b1e0a273af: Verifying Checksum 11:17:09 33b1e0a273af: Download complete 11:17:09 5d3b04190fa2: Download complete 11:17:09 5eb5b503b376: Verifying Checksum 11:17:09 5eb5b503b376: Download complete 11:17:10 2f39f015ded8: Verifying Checksum 11:17:10 2f39f015ded8: Download complete 11:17:11 5eb5b503b376: Pull complete 11:17:11 5c69ac0246d0: Pull complete 11:17:11 ec43610c2a17: Pull complete 11:17:11 3a2ae6a8a46f: Pull complete 11:17:12 33b1e0a273af: Pull complete 11:17:12 5d3b04190fa2: Pull complete 11:17:17 2f39f015ded8: Pull complete 11:17:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:17:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:17:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:17:17 prd-ubuntu20.04-docker-8c-8g-921 does not seem to be running inside a container 11:17:17 $ 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-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:17:21 $ docker top c008a25b9df797a5678c7a3f349047b45494f89d417dbd70acac1fd6ffecb845 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:17:21 ---> job-cost.sh 11:17:21 lf-activate-venv: SKIPPING 11:17:21 INFO: No Stack... 11:17:21 INFO: Retrieving Pricing Info for: v3-standard-8 11:17:22 INFO: Archiving Costs [Pipeline] sh 11:17:22 + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv 11:17:22 + cut -d, -f6 [Pipeline] lock 11:17:22 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] 11:17:22 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] did not exist. Created. 11:17:22 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:17:23 + echo total: 0.2199999988079071 [Pipeline] stash 11:17:23 Stashed 1 file(s) [Pipeline] } 11:17:23 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] [Pipeline] // lock [Pipeline] } 11:17:23 $ docker stop --time=1 c008a25b9df797a5678c7a3f349047b45494f89d417dbd70acac1fd6ffecb845 11:17:24 $ docker rm -f c008a25b9df797a5678c7a3f349047b45494f89d417dbd70acac1fd6ffecb845 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:19:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-922 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws 11:19:26 Running in /w/workspace/device-virtual-go/10 [Pipeline] { [Pipeline] checkout 11:19:26 The recommended git tool is: git 11:19:32 using credential edgex-jenkins-ssh 11:19:32 Cloning the remote Git repository 11:19:32 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:19:32 > git init /w/workspace/device-virtual-go/10 # timeout=10 11:19:33 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:19:33 > git --version # timeout=10 11:19:33 > git --version # 'git version 2.25.1' 11:19:33 using GIT_SSH to set credentials SSH Credentials for GitHub 11:19:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:19:35 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit e414a0ef60f40c4bc0a47abe8eed3674be8d338f 11:19:36 Merge succeeded, producing e414a0ef60f40c4bc0a47abe8eed3674be8d338f 11:19:36 Checking out Revision e414a0ef60f40c4bc0a47abe8eed3674be8d338f (PR-287) 11:19:35 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:19:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:19:35 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:19:35 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:19:35 using GIT_SSH to set credentials SSH Credentials for GitHub 11:19:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:19:35 > git config core.sparsecheckout # timeout=10 11:19:35 > git checkout -f e414a0ef60f40c4bc0a47abe8eed3674be8d338f # timeout=10 11:19:35 > git remote # timeout=10 11:19:35 > git config --get remote.origin.url # timeout=10 11:19:35 using GIT_SSH to set credentials SSH Credentials for GitHub 11:19:36 > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 11:19:36 > git rev-parse HEAD^{commit} # timeout=10 11:19:36 > git config core.sparsecheckout # timeout=10 11:19:36 > git checkout -f e414a0ef60f40c4bc0a47abe8eed3674be8d338f # timeout=10 11:19:40 Commit message: "feat(snap): Enable config options after SetComponentName" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:19:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:19:41 % Total % Received % Xferd Average Speed Time Time Time Current 11:19:41 Dload Upload Total Spent Left Speed 11:19:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 59480 0 --:--:-- --:--:-- --:--:-- 59193 [Pipeline] sh 11:19:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:19:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:19:42 + sudo tee /etc/docker/daemon.new 11:19:42 { 11:19:42 "registry-mirrors": [ 11:19:42 "https://nexus3.edgexfoundry.org:10001" 11:19:42 ], 11:19:42 "bip": "10.250.0.254/24", 11:19:42 "hosts": [ 11:19:42 "tcp://0.0.0.0:5555", 11:19:42 "unix:///var/run/docker.sock" 11:19:42 ], 11:19:42 "mtu": 1458, 11:19:42 "selinux-enabled": true, 11:19:42 "seccomp-profile": "/etc/docker/seccomp.json" 11:19:42 } [Pipeline] sh 11:19:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:19:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:20:01 provisioning config files... 11:20:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/10@tmp/config1055302428802433200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:20:02 ---> docker-login.sh 11:20:02 nexus3.edgexfoundry.org:10001 11:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:20:02 Configure a credential helper to remove this warning. See 11:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:20:02 11:20:02 Login Succeeded 11:20:02 nexus3.edgexfoundry.org:10002 11:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:20:03 Configure a credential helper to remove this warning. See 11:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:20:03 11:20:03 Login Succeeded 11:20:03 nexus3.edgexfoundry.org:10003 11:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:20:03 Configure a credential helper to remove this warning. See 11:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:20:03 11:20:03 Login Succeeded 11:20:03 nexus3.edgexfoundry.org:10004 11:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:20:04 Configure a credential helper to remove this warning. See 11:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:20:04 11:20:04 Login Succeeded 11:20:04 docker.io 11:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:20:04 Configure a credential helper to remove this warning. See 11:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:20:04 11:20:04 Login Succeeded 11:20:05 ---> docker-login.sh ends [Pipeline] } 11:20:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:20:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:20:05 ========================================================= 11:20:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:20:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:20:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 11:20:06 Sending build context to Docker daemon 11.76MB 11:20:06 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:20:06 Step 2/12 : FROM ${BASE} AS builder 11:20:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:20:06 9b3977197b4f: Pulling fs layer 11:20:06 1a89e8eeedd5: Pulling fs layer 11:20:06 94645a83ff95: Pulling fs layer 11:20:06 3f3a8bcf1eab: Pulling fs layer 11:20:06 0c92f367c5e7: Pulling fs layer 11:20:06 3096ccb668a1: Pulling fs layer 11:20:06 e8cf19c19ddd: Pulling fs layer 11:20:06 a4caa8a26152: Pulling fs layer 11:20:06 3096ccb668a1: Waiting 11:20:06 e8cf19c19ddd: Waiting 11:20:06 3f3a8bcf1eab: Waiting 11:20:06 a4caa8a26152: Waiting 11:20:06 0c92f367c5e7: Waiting 11:20:06 94645a83ff95: Verifying Checksum 11:20:06 94645a83ff95: Download complete 11:20:06 1a89e8eeedd5: Verifying Checksum 11:20:06 1a89e8eeedd5: Download complete 11:20:06 0c92f367c5e7: Verifying Checksum 11:20:06 0c92f367c5e7: Download complete 11:20:06 3096ccb668a1: Verifying Checksum 11:20:06 3096ccb668a1: Download complete 11:20:06 9b3977197b4f: Download complete 11:20:06 e8cf19c19ddd: Verifying Checksum 11:20:06 e8cf19c19ddd: Download complete 11:20:07 9b3977197b4f: Pull complete 11:20:07 1a89e8eeedd5: Pull complete 11:20:08 94645a83ff95: Pull complete 11:20:08 a4caa8a26152: Verifying Checksum 11:20:08 a4caa8a26152: Download complete 11:20:09 3f3a8bcf1eab: Verifying Checksum 11:20:09 3f3a8bcf1eab: Download complete 11:20:21 3f3a8bcf1eab: Pull complete 11:20:21 0c92f367c5e7: Pull complete 11:20:21 3096ccb668a1: Pull complete 11:20:21 e8cf19c19ddd: Pull complete 11:20:28 a4caa8a26152: Pull complete 11:20:28 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 11:20:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:20:28 ---> 725f1c02e7f9 11:20:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:20:28 ---> Running in b931538d0fc2 11:20:29 Removing intermediate container b931538d0fc2 11:20:29 ---> 64d44605f258 11:20:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:20:29 ---> Running in 325c8472e529 11:20:29 Removing intermediate container 325c8472e529 11:20:29 ---> a093e33e35a3 11:20:29 Step 5/12 : WORKDIR /device-virtual-go 11:20:29 ---> Running in eb08778ecf06 11:20:30 Removing intermediate container eb08778ecf06 11:20:30 ---> b31b736779f0 11:20:30 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:20:30 ---> Running in 4e913ccd5dbc 11:20:33 Removing intermediate container 4e913ccd5dbc 11:20:33 ---> e0b4bca6c149 11:20:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:20:33 ---> Running in c6103f8aa1da 11:20:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:20:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:20:35 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:20:35 (2/4) Installing libedit (20210910.3.1-r0) 11:20:35 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:20:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:20:36 Executing busybox-1.34.1-r3.trigger 11:20:36 OK: 224 MiB in 56 packages 11:20:37 Removing intermediate container c6103f8aa1da 11:20:37 ---> bd9b6e5da56a 11:20:37 Step 8/12 : COPY go.mod vendor* ./ 11:20:37 ---> e466e4d82ae7 11:20:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:20:37 ---> Running in 4f8841d31449 11:21:24 Removing intermediate container 4f8841d31449 11:21:24 ---> 8cbb86769567 11:21:24 Step 10/12 : COPY . . 11:21:24 ---> c539fb68d803 11:21:24 Step 11/12 : ARG MAKE='make build' 11:21:24 ---> Running in a4971d2998c7 11:21:24 Removing intermediate container a4971d2998c7 11:21:24 ---> 2bd0b68c12ea 11:21:24 Step 12/12 : RUN $MAKE 11:21:24 ---> Running in e312743b3842 11:21:25 noop 11:21:26 Removing intermediate container e312743b3842 11:21:26 ---> 40c7cf2b4c0b 11:21:26 Successfully built 40c7cf2b4c0b 11:21:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:21:26 + docker inspect -f . ci-base-image-arm64 11:21:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:21:26 prd-ubuntu20.04-docker-arm64-4c-16g-922 does not seem to be running inside a container 11:21:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:21:28 $ docker top 44eebd41ab463fbfcf46a1949549bf3b112c8ffc7cae6c2b4a8427dc12bd5703 -eo pid,comm [Pipeline] { [Pipeline] sh 11:21:29 + go version 11:21:29 go version go1.17.6 linux/arm64 [Pipeline] } 11:21:29 $ docker stop --time=1 44eebd41ab463fbfcf46a1949549bf3b112c8ffc7cae6c2b4a8427dc12bd5703 11:21:30 $ docker rm -f 44eebd41ab463fbfcf46a1949549bf3b112c8ffc7cae6c2b4a8427dc12bd5703 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:21:31 + docker inspect -f . ci-base-image-arm64 11:21:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:21:31 prd-ubuntu20.04-docker-arm64-4c-16g-922 does not seem to be running inside a container 11:21:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:21:32 $ docker top 59ea31f79fa50819710aaee47837f388f20dd66ac13e9d6076ef14f5b036c8e5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:21:33 + make test 11:21:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:21:35 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:22:57 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:22:57 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.149s coverage: 65.7% of statements 11:22:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:22:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:23:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:23:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:23:24 ./bin/test-attribution-txt.sh [Pipeline] echo 11:23:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:23:25 $ docker stop --time=1 59ea31f79fa50819710aaee47837f388f20dd66ac13e9d6076ef14f5b036c8e5 11:23:27 $ docker rm -f 59ea31f79fa50819710aaee47837f388f20dd66ac13e9d6076ef14f5b036c8e5 [Pipeline] // withDockerContainer [Pipeline] sh 11:23:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:23:28 Warning: overwriting stash ‘coverage-report’ 11:23:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:23:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:23:29 + ls -al . 11:23:29 total 188 11:23:29 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 11:23 . 11:23:29 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 11:19 .. 11:23:29 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 11:19 .git 11:23:29 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:19 .github 11:23:29 -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 11:19 .gitignore 11:23:29 -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 11:19 .golangci.yml 11:23:29 -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 11:19 Attribution.txt 11:23:29 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 11:19 CHANGELOG.md 11:23:29 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 11:19 Dockerfile 11:23:29 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 11:19 GOVERNANCE.md 11:23:29 -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 11:19 Jenkinsfile 11:23:29 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 11:19 LICENSE 11:23:29 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 11:19 Makefile 11:23:29 -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 11:19 OWNERS.md 11:23:29 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 11:19 README.md 11:23:29 -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 11:15 VERSION 11:23:29 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 11:19 bin 11:23:29 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:19 cmd 11:23:29 -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 11:22 coverage.out 11:23:29 -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 11:19 go.mod 11:23:29 -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 11:19 go.sum 11:23:29 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:19 internal 11:23:29 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 11:19 snap 11:23:29 -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 11:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:23:30 + 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=e414a0ef60f40c4bc0a47abe8eed3674be8d338f --label arch=arm64 --label version=0.0.0 . 11:23:30 Sending build context to Docker daemon 11.81MB 11:23:30 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:23:30 Step 2/26 : FROM ${BASE} AS builder 11:23:30 ---> 40c7cf2b4c0b 11:23:30 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:23:31 ---> Running in 4c75d254d69e 11:23:31 Removing intermediate container 4c75d254d69e 11:23:31 ---> cc4971bff6c3 11:23:31 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:23:31 ---> Running in b3e7cd42d355 11:23:31 Removing intermediate container b3e7cd42d355 11:23:31 ---> 46601b57e33b 11:23:31 Step 5/26 : WORKDIR /device-virtual-go 11:23:31 ---> Running in 198077f6ffc5 11:23:32 Removing intermediate container 198077f6ffc5 11:23:32 ---> a25e417347b4 11:23:32 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:23:32 ---> Running in f6ae822b28e4 11:23:34 Removing intermediate container f6ae822b28e4 11:23:34 ---> da86f453ac37 11:23:34 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:23:34 ---> Running in 77f63f064953 11:23:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:23:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:23:36 OK: 224 MiB in 56 packages 11:23:37 Removing intermediate container 77f63f064953 11:23:37 ---> f1345fbb9184 11:23:37 Step 8/26 : COPY go.mod vendor* ./ 11:23:38 ---> 0a1ad1e8544e 11:23:38 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:23:38 ---> Running in 9392ae88107e 11:23:40 Removing intermediate container 9392ae88107e 11:23:40 ---> 0bf495403f11 11:23:40 Step 10/26 : COPY . . 11:23:41 ---> a0b06c127496 11:23:41 Step 11/26 : ARG MAKE='make build' 11:23:41 ---> Running in 76ec7102ab4a 11:23:42 Removing intermediate container 76ec7102ab4a 11:23:42 ---> b22d62fab0d2 11:23:42 Step 12/26 : RUN $MAKE 11:23:42 ---> Running in 309222b4e13e 11:23:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:25:50 Removing intermediate container 309222b4e13e 11:25:50 ---> 1eb8feb4ea08 11:25:50 Step 13/26 : FROM alpine:3.14 11:25:50 3.14: Pulling from library/alpine 11:25:50 455c02918c45: Pulling fs layer 11:25:50 455c02918c45: Verifying Checksum 11:25:50 455c02918c45: Download complete 11:25:50 455c02918c45: Pull complete 11:25:50 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:25:50 Status: Downloaded newer image for alpine:3.14 11:25:50 ---> ac73e934f311 11:25:50 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:25:50 ---> Running in be93f664e818 11:25:50 Removing intermediate container be93f664e818 11:25:50 ---> 939ec36d54a9 11:25:50 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:25:50 ---> Running in 17b6c4e2cf3c 11:25:52 Removing intermediate container 17b6c4e2cf3c 11:25:52 ---> d94e0ba01a13 11:25:52 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:25:52 ---> Running in bf6b51112977 11:25:53 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:25:54 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:25:55 (1/6) Installing dumb-init (1.2.5-r1) 11:25:55 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:25:55 (3/6) Installing libsodium (1.0.18-r0) 11:25:55 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:25:55 (5/6) Installing libzmq (4.3.4-r0) 11:25:55 (6/6) Installing zeromq (4.3.4-r0) 11:25:55 Executing busybox-1.33.1-r7.trigger 11:25:56 OK: 8 MiB in 20 packages 11:25:57 Removing intermediate container bf6b51112977 11:25:57 ---> f1ac477adf8b 11:25:57 Step 17/26 : WORKDIR / 11:25:57 ---> Running in 6f8c1b5ad088 11:25:57 Removing intermediate container 6f8c1b5ad088 11:25:57 ---> e6a93c0fb336 11:25:57 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:25:57 ---> 3e1a36cb2398 11:25:57 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:25:58 ---> a56a9e50e005 11:25:58 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:26:00 ---> fb7d6d618c66 11:26:00 Step 21/26 : EXPOSE 59900 11:26:00 ---> Running in 6f8b369f0656 11:26:00 Removing intermediate container 6f8b369f0656 11:26:00 ---> 9e801d9aa672 11:26:00 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:26:00 ---> Running in ac3738cd591f 11:26:00 Removing intermediate container ac3738cd591f 11:26:00 ---> ae34156aab01 11:26:00 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:26:00 ---> Running in 724681c8914e 11:26:01 Removing intermediate container 724681c8914e 11:26:01 ---> 0f8c06df368c 11:26:01 Step 24/26 : LABEL arch=arm64 11:26:01 ---> Running in e93f90023339 11:26:01 Removing intermediate container e93f90023339 11:26:01 ---> 3bcece27c961 11:26:01 Step 25/26 : LABEL git_sha=e414a0ef60f40c4bc0a47abe8eed3674be8d338f 11:26:01 ---> Running in a38d713207e9 11:26:02 Removing intermediate container a38d713207e9 11:26:02 ---> 17684ed5aec4 11:26:02 Step 26/26 : LABEL version=0.0.0 11:26:02 ---> Running in 459791f2ac54 11:26:02 Removing intermediate container 459791f2ac54 11:26:02 ---> 076ad4eaefcb 11:26:02 [Warning] One or more build-args [ARCH] were not consumed 11:26:02 Successfully built 076ad4eaefcb 11:26:02 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 11:26:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:26:02 11:26:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:26:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:26:03 arm64: Pulling from edgex-lftools-log-publisher 11:26:03 8998bd30e6a1: Pulling fs layer 11:26:03 04944245beec: Pulling fs layer 11:26:03 699f458cf7ca: Pulling fs layer 11:26:03 765212b225bb: Pulling fs layer 11:26:03 f23df028b6ca: Pulling fs layer 11:26:03 d65c8cfc05b1: Pulling fs layer 11:26:03 2437ff75d9bd: Pulling fs layer 11:26:03 765212b225bb: Waiting 11:26:03 f23df028b6ca: Waiting 11:26:03 d65c8cfc05b1: Waiting 11:26:03 2437ff75d9bd: Waiting 11:26:03 04944245beec: Verifying Checksum 11:26:03 04944245beec: Download complete 11:26:03 765212b225bb: Verifying Checksum 11:26:03 765212b225bb: Download complete 11:26:03 f23df028b6ca: Verifying Checksum 11:26:03 f23df028b6ca: Download complete 11:26:03 d65c8cfc05b1: Verifying Checksum 11:26:03 d65c8cfc05b1: Download complete 11:26:03 699f458cf7ca: Verifying Checksum 11:26:03 699f458cf7ca: Download complete 11:26:03 8998bd30e6a1: Verifying Checksum 11:26:03 8998bd30e6a1: Download complete 11:26:06 2437ff75d9bd: Verifying Checksum 11:26:06 2437ff75d9bd: Download complete 11:26:08 8998bd30e6a1: Pull complete 11:26:08 04944245beec: Pull complete 11:26:10 699f458cf7ca: Pull complete 11:26:10 765212b225bb: Pull complete 11:26:11 f23df028b6ca: Pull complete 11:26:11 d65c8cfc05b1: Pull complete 11:26:26 2437ff75d9bd: Pull complete 11:26:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:26:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:26:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:26:26 prd-ubuntu20.04-docker-arm64-4c-16g-922 does not seem to be running inside a container 11:26:26 $ 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/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:26:29 $ docker top 416c6e24db15800b0e82fa95465358efcc0420cbcfc3e0bb33346b1e50a52109 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:26:30 ---> job-cost.sh 11:26:30 lf-activate-venv: SKIPPING 11:26:30 INFO: No Stack... 11:26:30 INFO: Retrieving Pricing Info for: v3-standard-4 11:26:31 INFO: Archiving Costs [Pipeline] sh 11:26:32 + cat /w/workspace/device-virtual-go/10/archives/cost.csv 11:26:32 + cut -d, -f6 [Pipeline] lock 11:26:32 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] 11:26:32 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] did not exist. Created. 11:26:32 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:26:33 /w/workspace/device-virtual-go/10@tmp/durable-2152ba47/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:26:33 + echo total: 0.10999999940395355 [Pipeline] stash 11:26:33 Warning: overwriting stash ‘stack-cost’ 11:26:34 Stashed 1 file(s) [Pipeline] } 11:26:34 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-10-stack-cost] [Pipeline] // lock [Pipeline] } 11:26:34 $ docker stop --time=1 416c6e24db15800b0e82fa95465358efcc0420cbcfc3e0bb33346b1e50a52109 11:26:35 $ docker rm -f 416c6e24db15800b0e82fa95465358efcc0420cbcfc3e0bb33346b1e50a52109 [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 11:26:36 provisioning config files... 11:26:36 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config5064380232862937683tmp [Pipeline] { [Pipeline] sh 11:26:36 + set +x 11:26:36 + bash -s -- 11:26:36 + curl -s https://codecov.io/bash 11:26:36 11:26:36 _____ _ 11:26:36 / ____| | | 11:26:36 | | ___ __| | ___ ___ _____ __ 11:26:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:26:36 | |___| (_) | (_| | __/ (_| (_) \ V / 11:26:36 \_____\___/ \__,_|\___|\___\___/ \_/ 11:26:36 Bash-1.0.6 11:26:36 11:26:36 11:26:36 ==> git version 2.25.1 found 11:26:36 ==> 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 11:26:36 Release-Date: 2020-01-08 11:26:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:26:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:26:36 ==> Jenkins CI detected. 11:26:36 current dir:  /w/workspace/foundry_device-virtual-go_PR-287 11:26:36 project root: . 11:26:36 --> token set from env 11:26:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:26:36 ==> Running gcov in . (disable via -X gcov) 11:26:36 ==> Python coveragepy not found 11:26:36 ==> Searching for coverage reports in: 11:26:36 + . 11:26:36 -> Found 1 reports 11:26:36 ==> Detecting git/mercurial file structure 11:26:36 ==> Reading reports 11:26:36 + ./coverage.out bytes=44128 11:26:36 ==> Appending adjustments 11:26:36 https://docs.codecov.io/docs/fixing-reports 11:26:36 + Found adjustments 11:26:36 ==> Gzipping contents 11:26:36 8.0K /tmp/codecov.fPokna.gz 11:26:36 ==> Uploading reports 11:26:36 url: https://codecov.io 11:26:36 query: branch=PR-287&commit=e414a0ef60f40c4bc0a47abe8eed3674be8d338f&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= 11:26:36 -> Pinging Codecov 11:26:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-287&commit=e414a0ef60f40c4bc0a47abe8eed3674be8d338f&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= 11:26:37 -> Uploading to 11:26:37 https://storage.googleapis.com/codecov/v4/raw/2022-06-03/5E52B4B073DB2E39498172D8E973AA87/e414a0ef60f40c4bc0a47abe8eed3674be8d338f/96f1e7d6-b02b-4047-b380-43eb572bd2b3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220603T112636Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ab900b8ca70636bc3da342e0989e726ea46acf0a13a88f397cfe5269a3b56163 11:26:37 % Total % Received % Xferd Average Speed Time Time Time Current 11:26:37 Dload Upload Total Spent Left Speed 11:26:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5470 0 0 100 5470 0 22603 --:--:-- --:--:-- --:--:-- 22603 11:26:37 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/e414a0ef60f40c4bc0a47abe8eed3674be8d338f [Pipeline] } 11:26:37 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 11:26:38 + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] 11:26:38 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 11:26:38 total 16 11:26:38 drwxr-xr-x 3 root root 4096 Jun 3 11:17 . 11:26:38 drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 11:17 .. 11:26:38 drwxr-xr-x 2 root root 4096 Jun 3 11:17 cost 11:26:38 -rw-r--r-- 1 root root 89 Jun 3 11:17 cost.csv 11:26:38 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives 11:26:38 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 11:26:38 total 16 11:26:38 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 11:17 . 11:26:38 drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 11:17 .. 11:26:38 drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 11:17 cost 11:26:38 -rw-r--r-- 1 jenkins jenkins 89 Jun 3 11:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:26:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:26:39 ---> package-listing.sh 11:26:39 ++ facter osfamily 11:26:39 ++ tr '[:upper:]' '[:lower:]' 11:26:39 + OS_FAMILY=debian 11:26:39 + workspace=/w/workspace/foundry_device-virtual-go_PR-287 11:26:39 + START_PACKAGES=/tmp/packages_start.txt 11:26:39 + END_PACKAGES=/tmp/packages_end.txt 11:26:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:26:39 + PACKAGES=/tmp/packages_start.txt 11:26:39 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 11:26:39 + PACKAGES=/tmp/packages_end.txt 11:26:39 + case "${OS_FAMILY}" in 11:26:39 + dpkg -l 11:26:39 + grep '^ii' 11:26:39 + '[' -f /tmp/packages_start.txt ']' 11:26:39 + '[' -f /tmp/packages_end.txt ']' 11:26:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:26:39 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 11:26:39 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ 11:26:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-287/archives/ [Pipeline] echo 11:26:39 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-287/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:26:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:26:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:26:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:26:40 prd-ubuntu20.04-docker-8c-8g-921 does not seem to be running inside a container 11:26:40 $ 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-287/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-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:26:40 $ docker top 07641757e28e5b410ec61a98ffb8f80ba8331196370ea179418a53e3a5858a94 -eo pid,comm [Pipeline] { [Pipeline] sh 11:26:41 + touch /tmp/pre-build-complete [Pipeline] sh 11:26:41 + mkdir -p /var/log/sysstat [Pipeline] sh 11:26:41 + ls /var/log/sa-host 11:26:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:26:42 provisioning config files... 11:26:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config5049554145111268715tmp [Pipeline] { [Pipeline] echo 11:26:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:26:42 ---> create-netrc.sh [Pipeline] } 11:26:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:26:42 ---> python-tools-install.sh [Pipeline] echo 11:26:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:26:42 ---> sudo-logs.sh 11:26:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:26:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:26:43 ---> job-cost.sh 11:26:43 lf-activate-venv: SKIPPING 11:26:43 DEBUG: total: 0.2199999988079071 11:26:43 INFO: Retrieving Stack Cost... 11:26:43 INFO: Retrieving Pricing Info for: v3-standard-8 11:26:44 INFO: Archiving Costs [Pipeline] echo 11:26:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:26:44 ---> logs-deploy.sh 11:26:44 lf-activate-venv: SKIPPING 11:26:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/10 11:26:44 INFO: archiving workspace using pattern(s): 11:26:45 Archives upload complete. 11:26:45 INFO: archiving logs to Nexus