Pull request #287 updated 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 253bc954d7726a3ef5e384993d6e5cd9a4957198 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-ssh9931158544150092183.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-ssh2687903776644318545.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-ssh8223380561573437807.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-ssh12079926724637160920.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-ssh13742913703429410026.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 ‘prd-ubuntu20.04-docker-8c-8g-908’ is offline Running on prd-ubuntu20.04-docker-8c-8g-911 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 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit 253bc954d7726a3ef5e384993d6e5cd9a4957198 Merge succeeded, producing 253bc954d7726a3ef5e384993d6e5cd9a4957198 Checking out Revision 253bc954d7726a3ef5e384993d6e5cd9a4957198 (PR-287) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 253bc954d7726a3ef5e384993d6e5cd9a4957198 # 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 253bc954d7726a3ef5e384993d6e5cd9a4957198 # timeout=10 Commit message: "build(snap): Update CI workflow with canonical repo" > git rev-list --no-walk 9cb55bb2cfe838c22c2ea979fd784ef7e579c54d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:10:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:10:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:10:39 ========================================================= 09:10:39 EdgeX Global Pipelines Version Info 09:10:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:10:40 ------------------- 09:10:40 stable info: 09:10:40 ------------------- 09:10:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:10:40 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 09:10:40 Message: update stable to v1.0.231 09:10:41 ------------------- 09:10:41 experimental info: 09:10:41 ------------------- 09:10:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:10:41 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 09:10:41 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 253bc954d7726a3ef5e384993d6e5cd9a4957198 [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 253bc95 [Pipeline] echo 09:10:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:10:41 provisioning config files... 09:10:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config9100219809580000450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:10:42 ---> docker-login.sh 09:10:42 nexus3.edgexfoundry.org:10001 09:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:42 Configure a credential helper to remove this warning. See 09:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:42 09:10:42 Login Succeeded 09:10:42 nexus3.edgexfoundry.org:10002 09:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:42 Configure a credential helper to remove this warning. See 09:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:42 09:10:42 Login Succeeded 09:10:42 nexus3.edgexfoundry.org:10003 09:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:42 Configure a credential helper to remove this warning. See 09:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:42 09:10:42 Login Succeeded 09:10:42 nexus3.edgexfoundry.org:10004 09:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:42 Configure a credential helper to remove this warning. See 09:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:42 09:10:42 Login Succeeded 09:10:42 docker.io 09:10:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:43 Configure a credential helper to remove this warning. See 09:10:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:43 09:10:43 Login Succeeded 09:10:43 ---> docker-login.sh ends [Pipeline] } 09:10:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:10:43 + git rev-list -1 --merges 253bc954d7726a3ef5e384993d6e5cd9a4957198~1..253bc954d7726a3ef5e384993d6e5cd9a4957198 [Pipeline] echo 09:10:43 -----------> git rev-list -1 --merges 253bc954d7726a3ef5e384993d6e5cd9a4957198~1..253bc954d7726a3ef5e384993d6e5cd9a4957198 253bc954d7726a3ef5e384993d6e5cd9a4957198 [false] [Pipeline] sh 09:10:44 + git log --format=format:%s -1 253bc954d7726a3ef5e384993d6e5cd9a4957198 [Pipeline] echo 09:10:44 ========================================================= 09:10:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:10:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:10:44 + git log --format=format:%s -1 253bc954d7726a3ef5e384993d6e5cd9a4957198 [Pipeline] echo 09:10:44 [semverPrep] GIT_COMMIT: 253bc954d7726a3ef5e384993d6e5cd9a4957198, Commit Message: build(snap): Update CI workflow with canonical repo [Pipeline] echo 09:10:44 [semverPrep] This is not a build commit. [Pipeline] sh 09:10:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:10:44 + grep -v github /etc/ssh/ssh_known_hosts 09:10:44 + [ -e /tmp/ssh_known_hosts ] 09:10:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:10:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:10:44 + sudo tee -a /etc/ssh/ssh_known_hosts 09:10:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:10:45 09:10:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:10:45 latest: Pulling from edgex-devops/py-git-semver 09:10:45 42c077c10790: Pulling fs layer 09:10:45 f63e77b7563a: Pulling fs layer 09:10:45 bd5fdadae976: Pulling fs layer 09:10:45 205491f53016: Pulling fs layer 09:10:45 df18705c85c3: Pulling fs layer 09:10:45 bdb3f477010e: Pulling fs layer 09:10:45 c8a8fc8e1c8f: Pulling fs layer 09:10:45 2c6e9b1d212d: Pulling fs layer 09:10:45 bdb8f0575790: Pulling fs layer 09:10:45 386e3cb2ff24: Pulling fs layer 09:10:45 2343380bae48: Pulling fs layer 09:10:45 c8a8fc8e1c8f: Waiting 09:10:45 2c6e9b1d212d: Waiting 09:10:45 bdb8f0575790: Waiting 09:10:45 386e3cb2ff24: Waiting 09:10:45 2343380bae48: Waiting 09:10:45 205491f53016: Waiting 09:10:45 df18705c85c3: Waiting 09:10:45 bdb3f477010e: Waiting 09:10:45 f63e77b7563a: Download complete 09:10:45 205491f53016: Verifying Checksum 09:10:45 205491f53016: Download complete 09:10:45 df18705c85c3: Verifying Checksum 09:10:45 df18705c85c3: Download complete 09:10:45 bdb3f477010e: Verifying Checksum 09:10:45 bdb3f477010e: Download complete 09:10:45 bd5fdadae976: Verifying Checksum 09:10:45 bd5fdadae976: Download complete 09:10:45 2c6e9b1d212d: Verifying Checksum 09:10:45 2c6e9b1d212d: Download complete 09:10:45 bdb8f0575790: Verifying Checksum 09:10:45 bdb8f0575790: Download complete 09:10:45 386e3cb2ff24: Download complete 09:10:45 2343380bae48: Download complete 09:10:45 42c077c10790: Verifying Checksum 09:10:45 42c077c10790: Download complete 09:10:46 c8a8fc8e1c8f: Verifying Checksum 09:10:46 c8a8fc8e1c8f: Download complete 09:10:47 42c077c10790: Pull complete 09:10:47 f63e77b7563a: Pull complete 09:10:48 bd5fdadae976: Pull complete 09:10:48 205491f53016: Pull complete 09:10:48 df18705c85c3: Pull complete 09:10:48 bdb3f477010e: Pull complete 09:10:50 c8a8fc8e1c8f: Pull complete 09:10:50 2c6e9b1d212d: Pull complete 09:10:50 bdb8f0575790: Pull complete 09:10:51 386e3cb2ff24: Pull complete 09:10:51 2343380bae48: Pull complete 09:10:51 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 09:10:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:10:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:10:51 prd-ubuntu20.04-docker-8c-8g-911 does not seem to be running inside a container 09:10:51 $ 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 09:10:52 $ docker top d824c7a65dc153b00430c557edf6aba2e3f12deae32af855143f81803bbf7d3a -eo pid,comm 09:10:53 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). 09:10:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:10:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:10:53 [ssh-agent] Looking for ssh-agent implementation... 09:10:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:10:53 $ docker exec d824c7a65dc153b00430c557edf6aba2e3f12deae32af855143f81803bbf7d3a ssh-agent 09:10:53 SSH_AUTH_SOCK=/tmp/ssh-72jNpCQAmBIk/agent.32 09:10:53 SSH_AGENT_PID=38 09:10:53 Running ssh-add (command line suppressed) 09:10:53 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_5489583868380721886.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_5489583868380721886.key) 09:10:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:10:53 + git tag --points-at HEAD [Pipeline] } 09:10:53 $ docker exec --env ******** --env ******** d824c7a65dc153b00430c557edf6aba2e3f12deae32af855143f81803bbf7d3a ssh-agent -k 09:10:53 unset SSH_AUTH_SOCK; 09:10:53 unset SSH_AGENT_PID; 09:10:53 echo Agent pid 38 killed; 09:10:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:10:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:10:53 [ssh-agent] Looking for ssh-agent implementation... 09:10:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:10:54 $ docker exec d824c7a65dc153b00430c557edf6aba2e3f12deae32af855143f81803bbf7d3a ssh-agent 09:10:54 SSH_AUTH_SOCK=/tmp/ssh-8XAgwoDOzXpC/agent.70 09:10:54 SSH_AGENT_PID=76 09:10:54 Running ssh-add (command line suppressed) 09:10:54 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_680106581115562182.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_680106581115562182.key) 09:10:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:10:54 + git semver init 09:10:54 2022-06-03 09:10:54,932 [run_init] DEBUG init version:0.0.0 force:False 09:10:54 2022-06-03 09:10:54,932 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver 09:10:54 2022-06-03 09:10:54,933 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-287/.semver 09:10:54 2022-06-03 09:10:54,933 [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) 09:10:55 2022-06-03 09:10:55,877 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude 09:10:55 2022-06-03 09:10:55,878 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 with force:False 09:10:55 2022-06-03 09:10:55,878 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 09:10:55 2022-06-03 09:10:55,883 [execute] INFO git cat-file --batch-check 09:10:55 2022-06-03 09:10:55,884 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) 09:10:55 2022-06-03 09:10:55,891 [execute] INFO git cat-file --batch 09:10:55 2022-06-03 09:10:55,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) 09:10:55 2022-06-03 09:10:55,899 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 09:10:55 0.0.0 [Pipeline] } 09:10:56 $ docker exec --env ******** --env ******** d824c7a65dc153b00430c557edf6aba2e3f12deae32af855143f81803bbf7d3a ssh-agent -k 09:10:56 unset SSH_AUTH_SOCK; 09:10:56 unset SSH_AGENT_PID; 09:10:56 echo Agent pid 76 killed; 09:10:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:10:56 + git semver [Pipeline] } 09:10:56 $ docker stop --time=1 d824c7a65dc153b00430c557edf6aba2e3f12deae32af855143f81803bbf7d3a 09:10:58 $ docker rm -f d824c7a65dc153b00430c557edf6aba2e3f12deae32af855143f81803bbf7d3a [Pipeline] // withDockerContainer [Pipeline] sh 09:10:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:10:58 Stashed 1 file(s) [Pipeline] echo 09:10:58 [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 09:10:59 provisioning config files... 09:10:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config2533003873529432105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:10:59 ---> docker-login.sh 09:10:59 nexus3.edgexfoundry.org:10001 09:10:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:59 Configure a credential helper to remove this warning. See 09:10:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:59 09:10:59 Login Succeeded 09:10:59 nexus3.edgexfoundry.org:10002 09:10:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:59 Configure a credential helper to remove this warning. See 09:10:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:59 09:10:59 Login Succeeded 09:10:59 nexus3.edgexfoundry.org:10003 09:10:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:59 Configure a credential helper to remove this warning. See 09:10:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:59 09:10:59 Login Succeeded 09:10:59 nexus3.edgexfoundry.org:10004 09:10:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:59 Configure a credential helper to remove this warning. See 09:10:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:59 09:10:59 Login Succeeded 09:10:59 docker.io 09:10:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:00 Configure a credential helper to remove this warning. See 09:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:00 09:11:00 Login Succeeded 09:11:00 ---> docker-login.sh ends [Pipeline] } 09:11:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:11:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:11:00 ========================================================= 09:11:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:11:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:00 + 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 . 09:11:00 Sending build context to Docker daemon 23.12MB 09:11:00 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:11:00 Step 2/12 : FROM ${BASE} AS builder 09:11:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:11:01 59bf1c3509f3: Pulling fs layer 09:11:01 666ba61612fd: Pulling fs layer 09:11:01 8ed8ca486205: Pulling fs layer 09:11:01 4fe6c5a15a65: Pulling fs layer 09:11:01 22a0e8bec74d: Pulling fs layer 09:11:01 ca2b28591e48: Pulling fs layer 09:11:01 a51346096db8: Pulling fs layer 09:11:01 daebc70d1ce1: Pulling fs layer 09:11:01 0e18a0eac166: Pulling fs layer 09:11:01 ca2b28591e48: Waiting 09:11:01 4fe6c5a15a65: Waiting 09:11:01 a51346096db8: Waiting 09:11:01 daebc70d1ce1: Waiting 09:11:01 22a0e8bec74d: Waiting 09:11:01 0e18a0eac166: Waiting 09:11:01 8ed8ca486205: Verifying Checksum 09:11:01 8ed8ca486205: Download complete 09:11:01 666ba61612fd: Download complete 09:11:01 22a0e8bec74d: Verifying Checksum 09:11:01 22a0e8bec74d: Download complete 09:11:01 ca2b28591e48: Download complete 09:11:01 59bf1c3509f3: Verifying Checksum 09:11:01 59bf1c3509f3: Download complete 09:11:01 a51346096db8: Verifying Checksum 09:11:01 a51346096db8: Download complete 09:11:01 daebc70d1ce1: Verifying Checksum 09:11:01 daebc70d1ce1: Download complete 09:11:01 59bf1c3509f3: Pull complete 09:11:01 666ba61612fd: Pull complete 09:11:01 8ed8ca486205: Pull complete 09:11:01 4fe6c5a15a65: Verifying Checksum 09:11:01 4fe6c5a15a65: Download complete 09:11:01 0e18a0eac166: Verifying Checksum 09:11:01 0e18a0eac166: Download complete 09:11:06 4fe6c5a15a65: Pull complete 09:11:06 22a0e8bec74d: Pull complete 09:11:06 ca2b28591e48: Pull complete 09:11:06 a51346096db8: Pull complete 09:11:06 daebc70d1ce1: Pull complete 09:11:08 0e18a0eac166: Pull complete 09:11:08 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 09:11:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:11:08 ---> f018257e8ee9 09:11:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:11:10 ---> Running in 9200864f63a5 09:11:10 Removing intermediate container 9200864f63a5 09:11:10 ---> 9daef7d584ab 09:11:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:11:10 ---> Running in c2fcaf66a1f4 09:11:10 Removing intermediate container c2fcaf66a1f4 09:11:10 ---> bd29f3f6f488 09:11:10 Step 5/12 : WORKDIR /device-virtual-go 09:11:10 ---> Running in c959ad77b659 09:11:11 Removing intermediate container c959ad77b659 09:11:11 ---> 46541eaa8e46 09:11:11 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:11:11 ---> Running in a48cce135516 09:11:11 Removing intermediate container a48cce135516 09:11:11 ---> ac213830f5a8 09:11:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:11:11 ---> Running in 95779e06cc67 09:11:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:11:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:11:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:11:13 (2/4) Installing libedit (20210910.3.1-r0) 09:11:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:11:13 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:11:13 Executing busybox-1.34.1-r3.trigger 09:11:13 OK: 224 MiB in 56 packages 09:11:14 Still waiting to schedule task 09:11:14 ‘prd-ubuntu20.04-docker-arm64-4c-16g-909’ is offline 09:11:14 Removing intermediate container 95779e06cc67 09:11:14 ---> 872a7aef4157 09:11:14 Step 8/12 : COPY go.mod vendor* ./ 09:11:14 ---> 286fc1667c24 09:11:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:11:14 ---> Running in 67fbb812a457 09:11:32 Removing intermediate container 67fbb812a457 09:11:32 ---> 4f7e646bc35e 09:11:32 Step 10/12 : COPY . . 09:11:32 ---> 21acd255f1dd 09:11:32 Step 11/12 : ARG MAKE='make build' 09:11:32 ---> Running in 36ec09458fe5 09:11:32 Removing intermediate container 36ec09458fe5 09:11:32 ---> b4215392b286 09:11:32 Step 12/12 : RUN $MAKE 09:11:32 ---> Running in 6ead8828f04f 09:11:32 noop 09:11:32 Removing intermediate container 6ead8828f04f 09:11:32 ---> f2a1d5a3c0fc 09:11:32 Successfully built f2a1d5a3c0fc 09:11:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:32 + docker inspect -f . ci-base-image-x86_64 09:11:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:32 prd-ubuntu20.04-docker-8c-8g-911 does not seem to be running inside a container 09:11:32 $ 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 09:11:33 $ docker top dba7dd7ce133f28133aa5f51de553a428765c759d27f1ea474f88f57386813ad -eo pid,comm [Pipeline] { [Pipeline] sh 09:11:33 + go version 09:11:33 go version go1.17.6 linux/amd64 [Pipeline] } 09:11:33 $ docker stop --time=1 dba7dd7ce133f28133aa5f51de553a428765c759d27f1ea474f88f57386813ad 09:11:35 $ docker rm -f dba7dd7ce133f28133aa5f51de553a428765c759d27f1ea474f88f57386813ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:35 + docker inspect -f . ci-base-image-x86_64 09:11:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:35 prd-ubuntu20.04-docker-8c-8g-911 does not seem to be running inside a container 09:11:35 $ 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 09:11:36 $ docker top eb6294326001a6b0fed145b1adfd3aed982459310bc68d09f533d70df982014b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:11:36 + make test 09:11:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:11:36 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:11:46 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:11:46 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 09:11:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:11:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:11:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:11:59 ./bin/test-attribution-txt.sh [Pipeline] echo 09:11:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:11:59 $ docker stop --time=1 eb6294326001a6b0fed145b1adfd3aed982459310bc68d09f533d70df982014b 09:12:01 $ docker rm -f eb6294326001a6b0fed145b1adfd3aed982459310bc68d09f533d70df982014b [Pipeline] // withDockerContainer [Pipeline] sh 09:12:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:12:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:12:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:12:02 + ls -al . 09:12:02 total 192 09:12:02 drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 09:11 . 09:12:02 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 09:10 .. 09:12:02 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 09:10 .git 09:12:02 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:10 .github 09:12:02 -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 09:10 .gitignore 09:12:02 -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 09:10 .golangci.yml 09:12:02 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 09:10 .semver 09:12:02 -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 09:10 Attribution.txt 09:12:02 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 09:10 CHANGELOG.md 09:12:02 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 09:10 Dockerfile 09:12:02 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 09:10 GOVERNANCE.md 09:12:02 -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 09:10 Jenkinsfile 09:12:02 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 09:10 LICENSE 09:12:02 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 09:10 Makefile 09:12:02 -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 09:10 OWNERS.md 09:12:02 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 09:10 README.md 09:12:02 -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 09:10 VERSION 09:12:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 09:10 bin 09:12:02 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:10 cmd 09:12:02 -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 09:11 coverage.out 09:12:02 -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 09:10 go.mod 09:12:02 -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 09:10 go.sum 09:12:02 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:10 internal 09:12:02 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:10 snap 09:12:02 -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 09:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:02 + 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=253bc954d7726a3ef5e384993d6e5cd9a4957198 --label arch=amd64 --label version=0.0.0 . 09:12:02 Sending build context to Docker daemon 23.17MB 09:12:02 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 09:12:02 Step 2/26 : FROM ${BASE} AS builder 09:12:02 ---> f2a1d5a3c0fc 09:12:02 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:12:03 ---> Running in 605d2a9bf70c 09:12:03 Removing intermediate container 605d2a9bf70c 09:12:03 ---> 4b434e71041f 09:12:03 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 09:12:03 ---> Running in 3961933b53f0 09:12:03 Removing intermediate container 3961933b53f0 09:12:03 ---> cbd1c1330b9f 09:12:03 Step 5/26 : WORKDIR /device-virtual-go 09:12:03 ---> Running in cec0327b2f20 09:12:03 Removing intermediate container cec0327b2f20 09:12:03 ---> 62fbd19dfe96 09:12:03 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:12:03 ---> Running in 20a8f702e3c3 09:12:04 Removing intermediate container 20a8f702e3c3 09:12:04 ---> 8cf09b7b169e 09:12:04 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:12:04 ---> Running in 4ff665205bcb 09:12:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:12:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:12:05 OK: 224 MiB in 56 packages 09:12:05 Removing intermediate container 4ff665205bcb 09:12:05 ---> ca55b88770aa 09:12:05 Step 8/26 : COPY go.mod vendor* ./ 09:12:06 ---> 5ea721e827ed 09:12:06 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:12:06 ---> Running in c577fc6e92a0 09:12:07 Removing intermediate container c577fc6e92a0 09:12:07 ---> 23cb374010b0 09:12:07 Step 10/26 : COPY . . 09:12:07 ---> 27fb45f277b7 09:12:07 Step 11/26 : ARG MAKE='make build' 09:12:07 ---> Running in 61cfba159ee2 09:12:07 Removing intermediate container 61cfba159ee2 09:12:07 ---> ff2db5fe4f02 09:12:07 Step 12/26 : RUN $MAKE 09:12:07 ---> Running in 99bc1c29143e 09:12:07 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 09:12:29 Removing intermediate container 99bc1c29143e 09:12:29 ---> 0f4c9f2a382f 09:12:29 Step 13/26 : FROM alpine:3.14 09:12:30 3.14: Pulling from library/alpine 09:12:30 8663204ce13b: Pulling fs layer 09:12:30 8663204ce13b: Verifying Checksum 09:12:30 8663204ce13b: Download complete 09:12:30 8663204ce13b: Pull complete 09:12:30 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:12:30 Status: Downloaded newer image for alpine:3.14 09:12:30 ---> e04c818066af 09:12:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:12:31 ---> Running in 0445c6e60be6 09:12:31 Removing intermediate container 0445c6e60be6 09:12:31 ---> b79fa94104bb 09:12:31 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:12:31 ---> Running in 006dd9a631b1 09:12:32 Removing intermediate container 006dd9a631b1 09:12:32 ---> b8f91bc54595 09:12:32 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 09:12:32 ---> Running in f1bcd80074f8 09:12:32 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:12:32 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:12:33 (1/6) Installing dumb-init (1.2.5-r1) 09:12:33 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:12:33 (3/6) Installing libsodium (1.0.18-r0) 09:12:33 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:12:33 (5/6) Installing libzmq (4.3.4-r0) 09:12:33 (6/6) Installing zeromq (4.3.4-r0) 09:12:33 Executing busybox-1.33.1-r7.trigger 09:12:33 OK: 8 MiB in 20 packages 09:12:34 Removing intermediate container f1bcd80074f8 09:12:34 ---> 506246ebb662 09:12:34 Step 17/26 : WORKDIR / 09:12:34 ---> Running in 058cea2f0efb 09:12:34 Removing intermediate container 058cea2f0efb 09:12:34 ---> bb1d994aacd3 09:12:34 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:12:34 ---> cad4e04dea51 09:12:34 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 09:12:34 ---> 2add17b28ba8 09:12:34 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 09:12:35 ---> 5503b73aa2eb 09:12:35 Step 21/26 : EXPOSE 59900 09:12:35 ---> Running in 68d56638287b 09:12:35 Removing intermediate container 68d56638287b 09:12:35 ---> ed69584a43dc 09:12:35 Step 22/26 : ENTRYPOINT ["/device-virtual"] 09:12:35 ---> Running in a7a617962e61 09:12:35 Removing intermediate container a7a617962e61 09:12:35 ---> 85dad37121ca 09:12:35 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:12:35 ---> Running in 9a9c4764912b 09:12:35 Removing intermediate container 9a9c4764912b 09:12:35 ---> 0c5fa1e8f9d0 09:12:35 Step 24/26 : LABEL arch=amd64 09:12:35 ---> Running in 0bc037fd869c 09:12:35 Removing intermediate container 0bc037fd869c 09:12:35 ---> d93991205188 09:12:35 Step 25/26 : LABEL git_sha=253bc954d7726a3ef5e384993d6e5cd9a4957198 09:12:35 ---> Running in 3d78854aabbb 09:12:36 Removing intermediate container 3d78854aabbb 09:12:36 ---> 72d4a45f493a 09:12:36 Step 26/26 : LABEL version=0.0.0 09:12:36 ---> Running in 54666420ba1a 09:12:36 Removing intermediate container 54666420ba1a 09:12:36 ---> 4318dced796c 09:12:36 [Warning] One or more build-args [ARCH] were not consumed 09:12:36 Successfully built 4318dced796c 09:12:36 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 09:12:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:12:36 09:12:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:12:37 latest: Pulling from edgex-lftools-log-publisher 09:12:37 5eb5b503b376: Pulling fs layer 09:12:37 5c69ac0246d0: Pulling fs layer 09:12:37 ec43610c2a17: Pulling fs layer 09:12:37 3a2ae6a8a46f: Pulling fs layer 09:12:37 33b1e0a273af: Pulling fs layer 09:12:37 5d3b04190fa2: Pulling fs layer 09:12:37 2f39f015ded8: Pulling fs layer 09:12:37 3a2ae6a8a46f: Waiting 09:12:37 33b1e0a273af: Waiting 09:12:37 5d3b04190fa2: Waiting 09:12:37 5c69ac0246d0: Verifying Checksum 09:12:37 5c69ac0246d0: Download complete 09:12:37 3a2ae6a8a46f: Verifying Checksum 09:12:37 3a2ae6a8a46f: Download complete 09:12:37 33b1e0a273af: Verifying Checksum 09:12:37 33b1e0a273af: Download complete 09:12:37 ec43610c2a17: Verifying Checksum 09:12:37 ec43610c2a17: Download complete 09:12:37 5d3b04190fa2: Verifying Checksum 09:12:37 5d3b04190fa2: Download complete 09:12:37 5eb5b503b376: Download complete 09:12:38 2f39f015ded8: Download complete 09:12:38 5eb5b503b376: Pull complete 09:12:38 5c69ac0246d0: Pull complete 09:12:39 ec43610c2a17: Pull complete 09:12:39 3a2ae6a8a46f: Pull complete 09:12:39 33b1e0a273af: Pull complete 09:12:39 5d3b04190fa2: Pull complete 09:12:45 2f39f015ded8: Pull complete 09:12:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:12:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:12:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:12:45 prd-ubuntu20.04-docker-8c-8g-911 does not seem to be running inside a container 09:12:45 $ 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 09:12:47 $ docker top dade1ce4b3d747373a1bb0f733a67d4552a47966f784af12108ceba7c35bc148 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:12:47 ---> job-cost.sh 09:12:47 lf-activate-venv: SKIPPING 09:12:47 INFO: No Stack... 09:12:48 INFO: Retrieving Pricing Info for: v3-standard-8 09:12:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-912 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws 09:12:48 Running in /w/workspace/device-virtual-go/8 [Pipeline] { [Pipeline] checkout 09:12:48 The recommended git tool is: git 09:12:48 INFO: Archiving Costs [Pipeline] sh 09:12:48 + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv 09:12:48 + cut -d, -f6 [Pipeline] lock 09:12:48 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] 09:12:48 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] did not exist. Created. 09:12:48 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:12:49 + echo total: 0.2199999988079071 [Pipeline] stash 09:12:49 Stashed 1 file(s) [Pipeline] } 09:12:49 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] [Pipeline] // lock [Pipeline] } 09:12:49 $ docker stop --time=1 dade1ce4b3d747373a1bb0f733a67d4552a47966f784af12108ceba7c35bc148 09:12:50 $ docker rm -f dade1ce4b3d747373a1bb0f733a67d4552a47966f784af12108ceba7c35bc148 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:12:54 using credential edgex-jenkins-ssh 09:12:54 Cloning the remote Git repository 09:12:54 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:12:54 > git init /w/workspace/device-virtual-go/8 # timeout=10 09:12:54 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:12:54 > git --version # timeout=10 09:12:54 > git --version # 'git version 2.25.1' 09:12:54 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:12:56 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:12:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:12:57 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit 253bc954d7726a3ef5e384993d6e5cd9a4957198 09:12:57 Merge succeeded, producing 253bc954d7726a3ef5e384993d6e5cd9a4957198 09:12:57 Checking out Revision 253bc954d7726a3ef5e384993d6e5cd9a4957198 (PR-287) 09:12:57 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:12:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:12:57 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:57 > 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 09:12:57 > git config core.sparsecheckout # timeout=10 09:12:57 > git checkout -f 253bc954d7726a3ef5e384993d6e5cd9a4957198 # timeout=10 09:12:57 > git remote # timeout=10 09:12:57 > git config --get remote.origin.url # timeout=10 09:12:57 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:57 > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 09:12:57 > git rev-parse HEAD^{commit} # timeout=10 09:12:57 > git config core.sparsecheckout # timeout=10 09:12:57 > git checkout -f 253bc954d7726a3ef5e384993d6e5cd9a4957198 # timeout=10 09:13:01 Commit message: "build(snap): Update CI workflow with canonical repo" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:13:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:13:03 % Total % Received % Xferd Average Speed Time Time Time Current 09:13:03 Dload Upload Total Spent Left Speed 09:13:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 85685 0 --:--:-- --:--:-- --:--:-- 85685 [Pipeline] sh 09:13:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:13:04 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 09:13:04 09:13:04 { 09:13:04 "registry-mirrors": [ 09:13:04 "https://nexus3.edgexfoundry.org:10001" 09:13:04 ], 09:13:04 "bip": "10.250.0.254/24", 09:13:04 "hosts": [ 09:13:04 "tcp://0.0.0.0:5555", 09:13:04 "unix:///var/run/docker.sock" 09:13:04 ], 09:13:04 "mtu": 1458, 09:13:04 "selinux-enabled": true, 09:13:04 "seccomp-profile": "/etc/docker/seccomp.json" 09:13:04 } [Pipeline] sh 09:13:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:13:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:13:23 provisioning config files... 09:13:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/8@tmp/config2648405086688371129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:23 ---> docker-login.sh 09:13:23 nexus3.edgexfoundry.org:10001 09:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:24 Configure a credential helper to remove this warning. See 09:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:24 09:13:24 Login Succeeded 09:13:24 nexus3.edgexfoundry.org:10002 09:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:24 Configure a credential helper to remove this warning. See 09:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:24 09:13:24 Login Succeeded 09:13:25 nexus3.edgexfoundry.org:10003 09:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:25 Configure a credential helper to remove this warning. See 09:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:25 09:13:25 Login Succeeded 09:13:25 nexus3.edgexfoundry.org:10004 09:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:25 Configure a credential helper to remove this warning. See 09:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:25 09:13:25 Login Succeeded 09:13:25 docker.io 09:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:26 Configure a credential helper to remove this warning. See 09:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:26 09:13:26 Login Succeeded 09:13:26 ---> docker-login.sh ends [Pipeline] } 09:13:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:13:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:13:26 ========================================================= 09:13:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:13:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:27 + 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 . 09:13:27 Sending build context to Docker daemon 11.74MB 09:13:27 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:13:27 Step 2/12 : FROM ${BASE} AS builder 09:13:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:13:27 9b3977197b4f: Pulling fs layer 09:13:27 1a89e8eeedd5: Pulling fs layer 09:13:27 94645a83ff95: Pulling fs layer 09:13:27 3f3a8bcf1eab: Pulling fs layer 09:13:27 0c92f367c5e7: Pulling fs layer 09:13:27 3096ccb668a1: Pulling fs layer 09:13:27 e8cf19c19ddd: Pulling fs layer 09:13:27 a4caa8a26152: Pulling fs layer 09:13:27 3096ccb668a1: Waiting 09:13:27 e8cf19c19ddd: Waiting 09:13:27 a4caa8a26152: Waiting 09:13:27 3f3a8bcf1eab: Waiting 09:13:27 0c92f367c5e7: Waiting 09:13:27 94645a83ff95: Verifying Checksum 09:13:27 94645a83ff95: Download complete 09:13:27 1a89e8eeedd5: Verifying Checksum 09:13:27 1a89e8eeedd5: Download complete 09:13:27 0c92f367c5e7: Verifying Checksum 09:13:27 0c92f367c5e7: Download complete 09:13:27 3096ccb668a1: Verifying Checksum 09:13:27 3096ccb668a1: Download complete 09:13:28 9b3977197b4f: Download complete 09:13:28 e8cf19c19ddd: Verifying Checksum 09:13:28 e8cf19c19ddd: Download complete 09:13:28 9b3977197b4f: Pull complete 09:13:29 1a89e8eeedd5: Pull complete 09:13:29 94645a83ff95: Pull complete 09:13:29 a4caa8a26152: Download complete 09:13:30 3f3a8bcf1eab: Verifying Checksum 09:13:30 3f3a8bcf1eab: Download complete 09:13:42 3f3a8bcf1eab: Pull complete 09:13:42 0c92f367c5e7: Pull complete 09:13:43 3096ccb668a1: Pull complete 09:13:43 e8cf19c19ddd: Pull complete 09:13:50 a4caa8a26152: Pull complete 09:13:50 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 09:13:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:13:50 ---> 725f1c02e7f9 09:13:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:13:50 ---> Running in 044b57059db6 09:13:50 Removing intermediate container 044b57059db6 09:13:50 ---> 72ca7bfefce0 09:13:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:13:50 ---> Running in 83aef9c99951 09:13:50 Removing intermediate container 83aef9c99951 09:13:50 ---> 43c53aaaca2c 09:13:50 Step 5/12 : WORKDIR /device-virtual-go 09:13:50 ---> Running in f1b105941075 09:13:51 Removing intermediate container f1b105941075 09:13:51 ---> 8394af1049f0 09:13:51 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:13:51 ---> Running in 7dba86f6bda8 09:13:53 Removing intermediate container 7dba86f6bda8 09:13:53 ---> 77a31c4e495f 09:13:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:13:53 ---> Running in 500375045bbc 09:13:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:13:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:13:55 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:13:55 (2/4) Installing libedit (20210910.3.1-r0) 09:13:56 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:13:56 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:13:56 Executing busybox-1.34.1-r3.trigger 09:13:56 OK: 224 MiB in 56 packages 09:13:58 Removing intermediate container 500375045bbc 09:13:58 ---> 3b0256126757 09:13:58 Step 8/12 : COPY go.mod vendor* ./ 09:13:58 ---> b9b1a6438cac 09:13:58 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:13:58 ---> Running in 1cded815afc2 09:14:45 Removing intermediate container 1cded815afc2 09:14:45 ---> 1dd1ba369d3a 09:14:45 Step 10/12 : COPY . . 09:14:45 ---> 1226f9e8e98d 09:14:45 Step 11/12 : ARG MAKE='make build' 09:14:45 ---> Running in 04d7103492f0 09:14:45 Removing intermediate container 04d7103492f0 09:14:45 ---> e5ee06e91ec5 09:14:45 Step 12/12 : RUN $MAKE 09:14:45 ---> Running in cd81bee343fe 09:14:45 noop 09:14:45 Removing intermediate container cd81bee343fe 09:14:45 ---> 769a9816d6ac 09:14:45 Successfully built 769a9816d6ac 09:14:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:46 + docker inspect -f . ci-base-image-arm64 09:14:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:46 prd-ubuntu20.04-docker-arm64-4c-16g-912 does not seem to be running inside a container 09:14:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/8 -v /w/workspace/device-virtual-go/8:/w/workspace/device-virtual-go/8:rw,z -v /w/workspace/device-virtual-go/8@tmp:/w/workspace/device-virtual-go/8@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 09:14:47 $ docker top 0cf7dc54b6b296503f0c754f70f7107302b7f4c77071a3c8c180083a78e349b1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:14:48 + go version 09:14:48 go version go1.17.6 linux/arm64 [Pipeline] } 09:14:48 $ docker stop --time=1 0cf7dc54b6b296503f0c754f70f7107302b7f4c77071a3c8c180083a78e349b1 09:14:50 $ docker rm -f 0cf7dc54b6b296503f0c754f70f7107302b7f4c77071a3c8c180083a78e349b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:50 + docker inspect -f . ci-base-image-arm64 09:14:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:51 prd-ubuntu20.04-docker-arm64-4c-16g-912 does not seem to be running inside a container 09:14:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/8 -v /w/workspace/device-virtual-go/8:/w/workspace/device-virtual-go/8:rw,z -v /w/workspace/device-virtual-go/8@tmp:/w/workspace/device-virtual-go/8@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 09:14:52 $ docker top bbe292b8d106e65ef89711778379b73fcf86628e20cc5a3a31252edfe3de28e3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:14:53 + make test 09:14:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:14:55 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:16:17 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:16:17 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.138s coverage: 65.7% of statements 09:16:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:16:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:16:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:16:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:16:39 ./bin/test-attribution-txt.sh [Pipeline] echo 09:16:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:16:39 $ docker stop --time=1 bbe292b8d106e65ef89711778379b73fcf86628e20cc5a3a31252edfe3de28e3 09:16:41 $ docker rm -f bbe292b8d106e65ef89711778379b73fcf86628e20cc5a3a31252edfe3de28e3 [Pipeline] // withDockerContainer [Pipeline] sh 09:16:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:16:42 Warning: overwriting stash ‘coverage-report’ 09:16:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:16:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:16:43 + ls -al . 09:16:43 total 188 09:16:43 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 09:16 . 09:16:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 09:12 .. 09:16:43 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 09:13 .git 09:16:43 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:12 .github 09:16:43 -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 09:12 .gitignore 09:16:43 -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 09:12 .golangci.yml 09:16:43 -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 09:12 Attribution.txt 09:16:43 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 09:12 CHANGELOG.md 09:16:43 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 09:12 Dockerfile 09:16:43 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 09:12 GOVERNANCE.md 09:16:43 -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 09:12 Jenkinsfile 09:16:43 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 09:12 LICENSE 09:16:43 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 09:12 Makefile 09:16:43 -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 09:12 OWNERS.md 09:16:43 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 09:12 README.md 09:16:43 -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 09:10 VERSION 09:16:43 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 09:12 bin 09:16:43 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:12 cmd 09:16:43 -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 09:16 coverage.out 09:16:43 -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 09:12 go.mod 09:16:43 -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 09:12 go.sum 09:16:43 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:12 internal 09:16:43 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 09:12 snap 09:16:43 -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 09:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:43 + 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=253bc954d7726a3ef5e384993d6e5cd9a4957198 --label arch=arm64 --label version=0.0.0 . 09:16:44 Sending build context to Docker daemon 11.79MB 09:16:44 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 09:16:44 Step 2/26 : FROM ${BASE} AS builder 09:16:44 ---> 769a9816d6ac 09:16:44 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:16:44 ---> Running in 8ad245b822d6 09:16:44 Removing intermediate container 8ad245b822d6 09:16:44 ---> ce5a24a83dc4 09:16:44 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 09:16:45 ---> Running in fcc120aaaefe 09:16:45 Removing intermediate container fcc120aaaefe 09:16:45 ---> 7a22fc8b8cc3 09:16:45 Step 5/26 : WORKDIR /device-virtual-go 09:16:45 ---> Running in 9b0a4affc8de 09:16:45 Removing intermediate container 9b0a4affc8de 09:16:45 ---> 36163e93e9d0 09:16:45 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:16:45 ---> Running in 25d0e4e04614 09:16:47 Removing intermediate container 25d0e4e04614 09:16:47 ---> fa2aacd7ce94 09:16:47 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:16:47 ---> Running in de9451cc8107 09:16:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:16:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:16:50 OK: 224 MiB in 56 packages 09:16:50 Removing intermediate container de9451cc8107 09:16:50 ---> 4e5fadd98408 09:16:50 Step 8/26 : COPY go.mod vendor* ./ 09:16:51 ---> f27a9b3e4057 09:16:51 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:16:51 ---> Running in 30cd95482c55 09:16:53 Removing intermediate container 30cd95482c55 09:16:53 ---> 88622995f3f2 09:16:53 Step 10/26 : COPY . . 09:16:54 ---> fada50d99547 09:16:54 Step 11/26 : ARG MAKE='make build' 09:16:54 ---> Running in d219d5100016 09:16:55 Removing intermediate container d219d5100016 09:16:55 ---> 59e05a3350f6 09:16:55 Step 12/26 : RUN $MAKE 09:16:55 ---> Running in 23f29ecdbb16 09:16:56 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 09:19:03 Removing intermediate container 23f29ecdbb16 09:19:03 ---> 1385cd142097 09:19:03 Step 13/26 : FROM alpine:3.14 09:19:03 3.14: Pulling from library/alpine 09:19:03 455c02918c45: Pulling fs layer 09:19:03 455c02918c45: Verifying Checksum 09:19:03 455c02918c45: Download complete 09:19:03 455c02918c45: Pull complete 09:19:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:19:03 Status: Downloaded newer image for alpine:3.14 09:19:03 ---> ac73e934f311 09:19:03 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:19:03 ---> Running in db6a7b2ee82b 09:19:03 Removing intermediate container db6a7b2ee82b 09:19:03 ---> df8387541072 09:19:03 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:19:03 ---> Running in dc26914d6c37 09:19:03 Removing intermediate container dc26914d6c37 09:19:03 ---> 2231def3542e 09:19:03 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 09:19:03 ---> Running in eb105448101f 09:19:03 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:19:03 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:19:03 (1/6) Installing dumb-init (1.2.5-r1) 09:19:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:19:03 (3/6) Installing libsodium (1.0.18-r0) 09:19:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:19:03 (5/6) Installing libzmq (4.3.4-r0) 09:19:03 (6/6) Installing zeromq (4.3.4-r0) 09:19:03 Executing busybox-1.33.1-r7.trigger 09:19:03 OK: 8 MiB in 20 packages 09:19:03 Removing intermediate container eb105448101f 09:19:03 ---> 2ffd9f604889 09:19:03 Step 17/26 : WORKDIR / 09:19:03 ---> Running in b279d66d821a 09:19:03 Removing intermediate container b279d66d821a 09:19:03 ---> cce97c4e3260 09:19:03 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:19:03 ---> 4d42530ca0ec 09:19:03 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 09:19:03 ---> 48318ff2241e 09:19:03 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 09:19:03 ---> b4ac23bf597f 09:19:03 Step 21/26 : EXPOSE 59900 09:19:03 ---> Running in d0313d24e4fd 09:19:03 Removing intermediate container d0313d24e4fd 09:19:03 ---> 0412c74adc91 09:19:03 Step 22/26 : ENTRYPOINT ["/device-virtual"] 09:19:03 ---> Running in fd2020fbba9e 09:19:03 Removing intermediate container fd2020fbba9e 09:19:03 ---> 517d4a2e3561 09:19:03 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:19:03 ---> Running in 1c2b0a3775d6 09:19:03 Removing intermediate container 1c2b0a3775d6 09:19:03 ---> ab55a9c03ad4 09:19:03 Step 24/26 : LABEL arch=arm64 09:19:03 ---> Running in f8c57f82a986 09:19:03 Removing intermediate container f8c57f82a986 09:19:03 ---> f6bda8aa6247 09:19:03 Step 25/26 : LABEL git_sha=253bc954d7726a3ef5e384993d6e5cd9a4957198 09:19:03 ---> Running in b891409cf3de 09:19:03 Removing intermediate container b891409cf3de 09:19:03 ---> f436be070eb3 09:19:03 Step 26/26 : LABEL version=0.0.0 09:19:03 ---> Running in 42552eeb456a 09:19:03 Removing intermediate container 42552eeb456a 09:19:03 ---> b24a5dcc7b1d 09:19:03 [Warning] One or more build-args [ARCH] were not consumed 09:19:03 Successfully built b24a5dcc7b1d 09:19:03 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 09:19:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:19:03 09:19:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:19:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:19:04 arm64: Pulling from edgex-lftools-log-publisher 09:19:04 8998bd30e6a1: Pulling fs layer 09:19:04 04944245beec: Pulling fs layer 09:19:04 699f458cf7ca: Pulling fs layer 09:19:04 765212b225bb: Pulling fs layer 09:19:04 f23df028b6ca: Pulling fs layer 09:19:04 d65c8cfc05b1: Pulling fs layer 09:19:04 2437ff75d9bd: Pulling fs layer 09:19:04 765212b225bb: Waiting 09:19:04 f23df028b6ca: Waiting 09:19:04 d65c8cfc05b1: Waiting 09:19:04 2437ff75d9bd: Waiting 09:19:04 04944245beec: Verifying Checksum 09:19:04 04944245beec: Download complete 09:19:04 765212b225bb: Verifying Checksum 09:19:04 765212b225bb: Download complete 09:19:04 f23df028b6ca: Verifying Checksum 09:19:04 f23df028b6ca: Download complete 09:19:04 d65c8cfc05b1: Verifying Checksum 09:19:04 d65c8cfc05b1: Download complete 09:19:04 699f458cf7ca: Verifying Checksum 09:19:04 699f458cf7ca: Download complete 09:19:04 8998bd30e6a1: Verifying Checksum 09:19:04 8998bd30e6a1: Download complete 09:19:07 2437ff75d9bd: Verifying Checksum 09:19:07 2437ff75d9bd: Download complete 09:19:09 8998bd30e6a1: Pull complete 09:19:09 04944245beec: Pull complete 09:19:11 699f458cf7ca: Pull complete 09:19:11 765212b225bb: Pull complete 09:19:12 f23df028b6ca: Pull complete 09:19:12 d65c8cfc05b1: Pull complete 09:19:27 2437ff75d9bd: Pull complete 09:19:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:19:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:19:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:19:27 prd-ubuntu20.04-docker-arm64-4c-16g-912 does not seem to be running inside a container 09:19:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/8 -v /w/workspace/device-virtual-go/8:/w/workspace/device-virtual-go/8:rw,z -v /w/workspace/device-virtual-go/8@tmp:/w/workspace/device-virtual-go/8@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 09:19:30 $ docker top 53506b46f3fa2ec46cc036eefc20e539631e356c2fd36f3a6c884edd2cb62a4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:19:31 ---> job-cost.sh 09:19:31 lf-activate-venv: SKIPPING 09:19:31 INFO: No Stack... 09:19:31 INFO: Retrieving Pricing Info for: v3-standard-4 09:19:32 INFO: Archiving Costs [Pipeline] sh 09:19:33 + cat /w/workspace/device-virtual-go/8/archives/cost.csv 09:19:33 + cut -d, -f6 [Pipeline] lock 09:19:33 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] 09:19:33 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] did not exist. Created. 09:19:33 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:19:34 /w/workspace/device-virtual-go/8@tmp/durable-a8eae339/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:19:34 + echo total: 0.10999999940395355 [Pipeline] stash 09:19:34 Warning: overwriting stash ‘stack-cost’ 09:19:34 Stashed 1 file(s) [Pipeline] } 09:19:34 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-8-stack-cost] [Pipeline] // lock [Pipeline] } 09:19:34 $ docker stop --time=1 53506b46f3fa2ec46cc036eefc20e539631e356c2fd36f3a6c884edd2cb62a4d 09:19:36 $ docker rm -f 53506b46f3fa2ec46cc036eefc20e539631e356c2fd36f3a6c884edd2cb62a4d [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 09:19:36 provisioning config files... 09:19:37 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config1722896805352225093tmp [Pipeline] { [Pipeline] sh 09:19:37 + set +x 09:19:37 + curl -s https://codecov.io/bash 09:19:37 + bash -s -- 09:19:37 09:19:37 _____ _ 09:19:37 / ____| | | 09:19:37 | | ___ __| | ___ ___ _____ __ 09:19:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:19:37 | |___| (_) | (_| | __/ (_| (_) \ V / 09:19:37 \_____\___/ \__,_|\___|\___\___/ \_/ 09:19:37 Bash-1.0.6 09:19:37 09:19:37 09:19:37 ==> git version 2.25.1 found 09:19:37 ==> 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 09:19:37 Release-Date: 2020-01-08 09:19:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:19:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:19:37 ==> Jenkins CI detected. 09:19:37 current dir:  /w/workspace/foundry_device-virtual-go_PR-287 09:19:37 project root: . 09:19:37 --> token set from env 09:19:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:19:37 ==> Running gcov in . (disable via -X gcov) 09:19:37 ==> Python coveragepy not found 09:19:37 ==> Searching for coverage reports in: 09:19:37 + . 09:19:37 -> Found 1 reports 09:19:37 ==> Detecting git/mercurial file structure 09:19:37 ==> Reading reports 09:19:37 + ./coverage.out bytes=44128 09:19:37 ==> Appending adjustments 09:19:37 https://docs.codecov.io/docs/fixing-reports 09:19:37 + Found adjustments 09:19:37 ==> Gzipping contents 09:19:37 8.0K /tmp/codecov.uRGujP.gz 09:19:37 ==> Uploading reports 09:19:37 url: https://codecov.io 09:19:37 query: branch=PR-287&commit=253bc954d7726a3ef5e384993d6e5cd9a4957198&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= 09:19:37 -> Pinging Codecov 09:19:37 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=253bc954d7726a3ef5e384993d6e5cd9a4957198&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= 09:19:37 -> Uploading to 09:19:37 https://storage.googleapis.com/codecov/v4/raw/2022-06-03/5E52B4B073DB2E39498172D8E973AA87/253bc954d7726a3ef5e384993d6e5cd9a4957198/21ca95bf-a307-48d5-9fdb-b2eebadb1cce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220603T091937Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a25bf5f2d1e39885599222d16ba2776bda4df951255d11055b8fb51fe15a7068 09:19:37 % Total % Received % Xferd Average Speed Time Time Time Current 09:19:37 Dload Upload Total Spent Left Speed 09:19:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5513 0 0 100 5513 0 24945 --:--:-- --:--:-- --:--:-- 24945 09:19:38 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/253bc954d7726a3ef5e384993d6e5cd9a4957198 [Pipeline] } 09:19:38 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 09:19:38 + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] 09:19:38 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 09:19:38 total 16 09:19:38 drwxr-xr-x 3 root root 4096 Jun 3 09:12 . 09:19:38 drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 09:12 .. 09:19:38 drwxr-xr-x 2 root root 4096 Jun 3 09:12 cost 09:19:38 -rw-r--r-- 1 root root 88 Jun 3 09:12 cost.csv 09:19:38 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives 09:19:38 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 09:19:38 total 16 09:19:38 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 09:12 . 09:19:38 drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 09:12 .. 09:19:38 drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 09:12 cost 09:19:38 -rw-r--r-- 1 jenkins jenkins 88 Jun 3 09:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:19:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:19:40 ---> package-listing.sh 09:19:40 ++ facter osfamily 09:19:40 ++ tr '[:upper:]' '[:lower:]' 09:19:40 + OS_FAMILY=debian 09:19:40 + workspace=/w/workspace/foundry_device-virtual-go_PR-287 09:19:40 + START_PACKAGES=/tmp/packages_start.txt 09:19:40 + END_PACKAGES=/tmp/packages_end.txt 09:19:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:19:40 + PACKAGES=/tmp/packages_start.txt 09:19:40 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 09:19:40 + PACKAGES=/tmp/packages_end.txt 09:19:40 + case "${OS_FAMILY}" in 09:19:40 + dpkg -l 09:19:40 + grep '^ii' 09:19:40 + '[' -f /tmp/packages_start.txt ']' 09:19:40 + '[' -f /tmp/packages_end.txt ']' 09:19:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:19:40 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 09:19:40 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ 09:19:40 + 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 09:19:40 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 09:19:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:19:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:19:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:19:41 prd-ubuntu20.04-docker-8c-8g-911 does not seem to be running inside a container 09:19:41 $ 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 09:19:41 $ docker top 7cc665e0ccefb33f0d2fab3d9400ba919e0d3a1a8934c64915c7ba7cc3b4b790 -eo pid,comm [Pipeline] { [Pipeline] sh 09:19:41 + touch /tmp/pre-build-complete [Pipeline] sh 09:19:42 + mkdir -p /var/log/sysstat [Pipeline] sh 09:19:42 + ls /var/log/sa-host 09:19:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:19:42 provisioning config files... 09:19:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config4457860672774643169tmp [Pipeline] { [Pipeline] echo 09:19:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:19:42 ---> create-netrc.sh [Pipeline] } 09:19:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:19:43 ---> python-tools-install.sh [Pipeline] echo 09:19:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:19:43 ---> sudo-logs.sh 09:19:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:19:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:19:43 ---> job-cost.sh 09:19:43 lf-activate-venv: SKIPPING 09:19:43 DEBUG: total: 0.2199999988079071 09:19:43 INFO: Retrieving Stack Cost... 09:19:44 INFO: Retrieving Pricing Info for: v3-standard-8 09:19:44 INFO: Archiving Costs [Pipeline] echo 09:19:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:19:44 ---> logs-deploy.sh 09:19:44 lf-activate-venv: SKIPPING 09:19:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/8 09:19:44 INFO: archiving workspace using pattern(s): 09:19:45 Archives upload complete. 09:19:45 INFO: archiving logs to Nexus