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 8760134d8f81b98d9e42670833e31fee59ce4831 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-ssh3192409983992307288.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-ssh14702211988160397811.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-ssh16190636338921468149.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-ssh16447365787204440403.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-ssh13211462782085014558.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-905 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 8760134d8f81b98d9e42670833e31fee59ce4831 Merge succeeded, producing 8760134d8f81b98d9e42670833e31fee59ce4831 Checking out Revision 8760134d8f81b98d9e42670833e31fee59ce4831 (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 8760134d8f81b98d9e42670833e31fee59ce4831 # 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 8760134d8f81b98d9e42670833e31fee59ce4831 # timeout=10 Commit message: "feat(snap): Enable config options by default" > git rev-list --no-walk a54fedba6436c684cd67b107c613dd3c445aede6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:10:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:10:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:10:48 ========================================================= 07:10:48 EdgeX Global Pipelines Version Info 07:10:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:10:49 ------------------- 07:10:49 stable info: 07:10:49 ------------------- 07:10:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:10:49 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 07:10:49 Message: update stable to v1.0.231 07:10:50 ------------------- 07:10:50 experimental info: 07:10:50 ------------------- 07:10:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:10:50 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 07:10:50 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8760134d8f81b98d9e42670833e31fee59ce4831 [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8760134 [Pipeline] echo 07:10:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:10:50 provisioning config files... 07:10:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config4777068871708729634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:10:50 ---> docker-login.sh 07:10:50 nexus3.edgexfoundry.org:10001 07:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:51 Configure a credential helper to remove this warning. See 07:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:51 07:10:51 Login Succeeded 07:10:51 nexus3.edgexfoundry.org:10002 07:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:51 Configure a credential helper to remove this warning. See 07:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:51 07:10:51 Login Succeeded 07:10:51 nexus3.edgexfoundry.org:10003 07:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:51 Configure a credential helper to remove this warning. See 07:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:51 07:10:51 Login Succeeded 07:10:51 nexus3.edgexfoundry.org:10004 07:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:51 Configure a credential helper to remove this warning. See 07:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:51 07:10:51 Login Succeeded 07:10:51 docker.io 07:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:52 Configure a credential helper to remove this warning. See 07:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:52 07:10:52 Login Succeeded 07:10:52 ---> docker-login.sh ends [Pipeline] } 07:10:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:10:52 + git rev-list -1 --merges 8760134d8f81b98d9e42670833e31fee59ce4831~1..8760134d8f81b98d9e42670833e31fee59ce4831 [Pipeline] echo 07:10:52 -----------> git rev-list -1 --merges 8760134d8f81b98d9e42670833e31fee59ce4831~1..8760134d8f81b98d9e42670833e31fee59ce4831 8760134d8f81b98d9e42670833e31fee59ce4831 [false] [Pipeline] sh 07:10:53 + git log --format=format:%s -1 8760134d8f81b98d9e42670833e31fee59ce4831 [Pipeline] echo 07:10:53 ========================================================= 07:10:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:10:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:10:53 + git log --format=format:%s -1 8760134d8f81b98d9e42670833e31fee59ce4831 [Pipeline] echo 07:10:53 [semverPrep] GIT_COMMIT: 8760134d8f81b98d9e42670833e31fee59ce4831, Commit Message: feat(snap): Enable config options by default [Pipeline] echo 07:10:53 [semverPrep] This is not a build commit. [Pipeline] sh 07:10:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:10:53 + grep -v github /etc/ssh/ssh_known_hosts 07:10:53 + [ -e /tmp/ssh_known_hosts ] 07:10:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:10:53 + + sudo tee -a /etc/ssh/ssh_known_hosts 07:10:53 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:10:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:10:54 07:10:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:10:54 latest: Pulling from edgex-devops/py-git-semver 07:10:54 42c077c10790: Pulling fs layer 07:10:54 f63e77b7563a: Pulling fs layer 07:10:54 bd5fdadae976: Pulling fs layer 07:10:54 205491f53016: Pulling fs layer 07:10:54 df18705c85c3: Pulling fs layer 07:10:54 bdb3f477010e: Pulling fs layer 07:10:54 c8a8fc8e1c8f: Pulling fs layer 07:10:54 2c6e9b1d212d: Pulling fs layer 07:10:54 bdb8f0575790: Pulling fs layer 07:10:54 386e3cb2ff24: Pulling fs layer 07:10:54 2343380bae48: Pulling fs layer 07:10:54 205491f53016: Waiting 07:10:54 df18705c85c3: Waiting 07:10:54 bdb3f477010e: Waiting 07:10:54 c8a8fc8e1c8f: Waiting 07:10:54 bdb8f0575790: Waiting 07:10:54 2343380bae48: Waiting 07:10:54 386e3cb2ff24: Waiting 07:10:54 f63e77b7563a: Verifying Checksum 07:10:54 f63e77b7563a: Download complete 07:10:54 205491f53016: Download complete 07:10:54 df18705c85c3: Verifying Checksum 07:10:54 df18705c85c3: Download complete 07:10:54 bd5fdadae976: Verifying Checksum 07:10:54 bd5fdadae976: Download complete 07:10:54 bdb3f477010e: Verifying Checksum 07:10:54 bdb3f477010e: Download complete 07:10:54 2c6e9b1d212d: Download complete 07:10:54 bdb8f0575790: Download complete 07:10:54 386e3cb2ff24: Download complete 07:10:54 2343380bae48: Verifying Checksum 07:10:54 2343380bae48: Download complete 07:10:54 42c077c10790: Verifying Checksum 07:10:54 42c077c10790: Download complete 07:10:55 c8a8fc8e1c8f: Verifying Checksum 07:10:55 c8a8fc8e1c8f: Download complete 07:10:56 42c077c10790: Pull complete 07:10:56 f63e77b7563a: Pull complete 07:10:56 bd5fdadae976: Pull complete 07:10:57 205491f53016: Pull complete 07:10:57 df18705c85c3: Pull complete 07:10:57 bdb3f477010e: Pull complete 07:10:59 c8a8fc8e1c8f: Pull complete 07:10:59 2c6e9b1d212d: Pull complete 07:10:59 bdb8f0575790: Pull complete 07:10:59 386e3cb2ff24: Pull complete 07:10:59 2343380bae48: Pull complete 07:10:59 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 07:10:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:10:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:10:59 prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container 07:10:59 $ 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 07:11:01 $ docker top 2fdbd16f8b00d8eb4873c7411553751d6560617f489dd8bd6f19d318e158d3a4 -eo pid,comm 07:11:01 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). 07:11:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:11:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:11:01 [ssh-agent] Looking for ssh-agent implementation... 07:11:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:11:01 $ docker exec 2fdbd16f8b00d8eb4873c7411553751d6560617f489dd8bd6f19d318e158d3a4 ssh-agent 07:11:01 SSH_AUTH_SOCK=/tmp/ssh-sEfaHdkv9Ove/agent.32 07:11:01 SSH_AGENT_PID=38 07:11:01 Running ssh-add (command line suppressed) 07:11:01 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_7203565908275067859.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_7203565908275067859.key) 07:11:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:11:02 + git tag --points-at HEAD [Pipeline] } 07:11:02 $ docker exec --env ******** --env ******** 2fdbd16f8b00d8eb4873c7411553751d6560617f489dd8bd6f19d318e158d3a4 ssh-agent -k 07:11:02 unset SSH_AUTH_SOCK; 07:11:02 unset SSH_AGENT_PID; 07:11:02 echo Agent pid 38 killed; 07:11:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:11:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:11:02 [ssh-agent] Looking for ssh-agent implementation... 07:11:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:11:02 $ docker exec 2fdbd16f8b00d8eb4873c7411553751d6560617f489dd8bd6f19d318e158d3a4 ssh-agent 07:11:02 SSH_AUTH_SOCK=/tmp/ssh-wrA6I0CJp3TG/agent.72 07:11:02 SSH_AGENT_PID=79 07:11:02 Running ssh-add (command line suppressed) 07:11:02 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_4187585408395562611.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_4187585408395562611.key) 07:11:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:11:03 + git semver init 07:11:03 2022-06-03 07:11:03,349 [run_init] DEBUG init version:0.0.0 force:False 07:11:03 2022-06-03 07:11:03,350 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver 07:11:03 2022-06-03 07:11:03,350 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-287/.semver 07:11:03 2022-06-03 07:11:03,350 [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) 07:11:04 2022-06-03 07:11:04,346 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude 07:11:04 2022-06-03 07:11:04,347 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 with force:False 07:11:04 2022-06-03 07:11:04,347 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 07:11:04 2022-06-03 07:11:04,352 [execute] INFO git cat-file --batch-check 07:11:04 2022-06-03 07:11:04,352 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) 07:11:04 2022-06-03 07:11:04,359 [execute] INFO git cat-file --batch 07:11:04 2022-06-03 07:11:04,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) 07:11:04 2022-06-03 07:11:04,366 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 07:11:04 0.0.0 [Pipeline] } 07:11:04 $ docker exec --env ******** --env ******** 2fdbd16f8b00d8eb4873c7411553751d6560617f489dd8bd6f19d318e158d3a4 ssh-agent -k 07:11:04 unset SSH_AUTH_SOCK; 07:11:04 unset SSH_AGENT_PID; 07:11:04 echo Agent pid 79 killed; 07:11:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:11:05 + git semver [Pipeline] } 07:11:05 $ docker stop --time=1 2fdbd16f8b00d8eb4873c7411553751d6560617f489dd8bd6f19d318e158d3a4 07:11:06 $ docker rm -f 2fdbd16f8b00d8eb4873c7411553751d6560617f489dd8bd6f19d318e158d3a4 [Pipeline] // withDockerContainer [Pipeline] sh 07:11:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:11:07 Stashed 1 file(s) [Pipeline] echo 07:11:07 [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 07:11:07 provisioning config files... 07:11:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config7422016889239694393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:07 ---> docker-login.sh 07:11:07 nexus3.edgexfoundry.org:10001 07:11:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:07 Configure a credential helper to remove this warning. See 07:11:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:07 07:11:07 Login Succeeded 07:11:07 nexus3.edgexfoundry.org:10002 07:11:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:08 Configure a credential helper to remove this warning. See 07:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:08 07:11:08 Login Succeeded 07:11:08 nexus3.edgexfoundry.org:10003 07:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:08 Configure a credential helper to remove this warning. See 07:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:08 07:11:08 Login Succeeded 07:11:08 nexus3.edgexfoundry.org:10004 07:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:08 Configure a credential helper to remove this warning. See 07:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:08 07:11:08 Login Succeeded 07:11:08 docker.io 07:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:08 Configure a credential helper to remove this warning. See 07:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:08 07:11:08 Login Succeeded 07:11:08 ---> docker-login.sh ends [Pipeline] } 07:11:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:11:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:11:08 ========================================================= 07:11:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:11:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:09 + 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 . 07:11:09 Sending build context to Docker daemon 23.1MB 07:11:09 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 07:11:09 Step 2/12 : FROM ${BASE} AS builder 07:11:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:11:09 59bf1c3509f3: Pulling fs layer 07:11:09 666ba61612fd: Pulling fs layer 07:11:09 8ed8ca486205: Pulling fs layer 07:11:09 4fe6c5a15a65: Pulling fs layer 07:11:09 22a0e8bec74d: Pulling fs layer 07:11:09 ca2b28591e48: Pulling fs layer 07:11:09 a51346096db8: Pulling fs layer 07:11:09 daebc70d1ce1: Pulling fs layer 07:11:09 0e18a0eac166: Pulling fs layer 07:11:09 22a0e8bec74d: Waiting 07:11:09 ca2b28591e48: Waiting 07:11:09 a51346096db8: Waiting 07:11:09 daebc70d1ce1: Waiting 07:11:09 0e18a0eac166: Waiting 07:11:09 4fe6c5a15a65: Waiting 07:11:09 8ed8ca486205: Verifying Checksum 07:11:09 8ed8ca486205: Download complete 07:11:09 666ba61612fd: Verifying Checksum 07:11:09 666ba61612fd: Download complete 07:11:09 22a0e8bec74d: Download complete 07:11:09 ca2b28591e48: Verifying Checksum 07:11:09 ca2b28591e48: Download complete 07:11:09 59bf1c3509f3: Verifying Checksum 07:11:09 59bf1c3509f3: Download complete 07:11:09 a51346096db8: Verifying Checksum 07:11:09 a51346096db8: Download complete 07:11:09 daebc70d1ce1: Verifying Checksum 07:11:09 daebc70d1ce1: Download complete 07:11:09 59bf1c3509f3: Pull complete 07:11:09 666ba61612fd: Pull complete 07:11:09 8ed8ca486205: Pull complete 07:11:10 0e18a0eac166: Verifying Checksum 07:11:10 0e18a0eac166: Download complete 07:11:10 4fe6c5a15a65: Verifying Checksum 07:11:10 4fe6c5a15a65: Download complete 07:11:14 4fe6c5a15a65: Pull complete 07:11:14 22a0e8bec74d: Pull complete 07:11:14 ca2b28591e48: Pull complete 07:11:14 a51346096db8: Pull complete 07:11:14 daebc70d1ce1: Pull complete 07:11:16 0e18a0eac166: Pull complete 07:11:16 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 07:11:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:11:16 ---> f018257e8ee9 07:11:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:11:18 ---> Running in 33827db3bb66 07:11:18 Removing intermediate container 33827db3bb66 07:11:18 ---> 1d2c6ab5c5ba 07:11:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:11:18 ---> Running in c1169d4ddcb7 07:11:18 Removing intermediate container c1169d4ddcb7 07:11:18 ---> fa7fb78b34e7 07:11:18 Step 5/12 : WORKDIR /device-virtual-go 07:11:18 ---> Running in 5b709ac5b528 07:11:18 Removing intermediate container 5b709ac5b528 07:11:18 ---> c642a0bc5364 07:11:18 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:11:18 ---> Running in 837842cc4832 07:11:19 Removing intermediate container 837842cc4832 07:11:19 ---> e47a7972ba87 07:11:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:11:19 ---> Running in af291d259120 07:11:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:11:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:11:20 (1/4) Installing openssh-keygen (8.8_p1-r1) 07:11:21 (2/4) Installing libedit (20210910.3.1-r0) 07:11:21 (3/4) Installing openssh-client-common (8.8_p1-r1) 07:11:21 (4/4) Installing openssh-client-default (8.8_p1-r1) 07:11:21 Executing busybox-1.34.1-r3.trigger 07:11:21 OK: 224 MiB in 56 packages 07:11:22 Removing intermediate container af291d259120 07:11:22 ---> 270ef2757276 07:11:22 Step 8/12 : COPY go.mod vendor* ./ 07:11:22 ---> f692e58bbc91 07:11:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:11:22 ---> Running in 93db285352bd 07:11:22 Still waiting to schedule task 07:11:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:11:40 Removing intermediate container 93db285352bd 07:11:40 ---> f628b53392b9 07:11:40 Step 10/12 : COPY . . 07:11:40 ---> 080240073e1b 07:11:40 Step 11/12 : ARG MAKE='make build' 07:11:40 ---> Running in 305dc5b6c771 07:11:40 Removing intermediate container 305dc5b6c771 07:11:40 ---> a0968611188c 07:11:40 Step 12/12 : RUN $MAKE 07:11:40 ---> Running in e8af85112649 07:11:40 noop 07:11:40 Removing intermediate container e8af85112649 07:11:40 ---> da912db33e9a 07:11:40 Successfully built da912db33e9a 07:11:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:40 + docker inspect -f . ci-base-image-x86_64 07:11:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:11:40 prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container 07:11:40 $ 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 07:11:41 $ docker top dc0412cd408e95be39d90e71fa57982fb8eb9c632f70c9d762316c1431184b0b -eo pid,comm [Pipeline] { [Pipeline] sh 07:11:41 + go version 07:11:41 go version go1.17.6 linux/amd64 [Pipeline] } 07:11:41 $ docker stop --time=1 dc0412cd408e95be39d90e71fa57982fb8eb9c632f70c9d762316c1431184b0b 07:11:43 $ docker rm -f dc0412cd408e95be39d90e71fa57982fb8eb9c632f70c9d762316c1431184b0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:43 + docker inspect -f . ci-base-image-x86_64 07:11:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:11:43 prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container 07:11:43 $ 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 07:11:44 $ docker top 5df781ae98d4cfa7f9e0252eb0614e857c6a954ec29f1d77ca68ce56a71bfac2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:11:44 + make test 07:11:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:11:44 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:11:54 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:11:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements 07:12:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:12:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:12:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:12:07 ./bin/test-attribution-txt.sh [Pipeline] echo 07:12:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:12:07 $ docker stop --time=1 5df781ae98d4cfa7f9e0252eb0614e857c6a954ec29f1d77ca68ce56a71bfac2 07:12:09 $ docker rm -f 5df781ae98d4cfa7f9e0252eb0614e857c6a954ec29f1d77ca68ce56a71bfac2 [Pipeline] // withDockerContainer [Pipeline] sh 07:12:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:12:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:12:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:12:10 + ls -al . 07:12:10 total 192 07:12:10 drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 07:12 . 07:12:10 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 07:10 .. 07:12:10 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 07:11 .git 07:12:10 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:10 .github 07:12:10 -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 07:10 .gitignore 07:12:10 -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 07:10 .golangci.yml 07:12:10 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 07:11 .semver 07:12:10 -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 07:10 Attribution.txt 07:12:10 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 07:10 CHANGELOG.md 07:12:10 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 07:10 Dockerfile 07:12:10 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 07:10 GOVERNANCE.md 07:12:10 -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 07:10 Jenkinsfile 07:12:10 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 07:10 LICENSE 07:12:10 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 07:10 Makefile 07:12:10 -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 07:10 OWNERS.md 07:12:10 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 07:10 README.md 07:12:10 -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 07:11 VERSION 07:12:10 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 07:10 bin 07:12:10 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:10 cmd 07:12:10 -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 07:11 coverage.out 07:12:10 -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 07:10 go.mod 07:12:10 -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 07:10 go.sum 07:12:10 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:10 internal 07:12:10 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:10 snap 07:12:10 -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 07:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:10 + 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=8760134d8f81b98d9e42670833e31fee59ce4831 --label arch=amd64 --label version=0.0.0 . 07:12:10 Sending build context to Docker daemon 23.15MB 07:12:10 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 07:12:10 Step 2/26 : FROM ${BASE} AS builder 07:12:10 ---> da912db33e9a 07:12:10 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:12:11 ---> Running in d569e0f01066 07:12:11 Removing intermediate container d569e0f01066 07:12:11 ---> 4c7b88affacb 07:12:11 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 07:12:11 ---> Running in 57173f1308cc 07:12:11 Removing intermediate container 57173f1308cc 07:12:11 ---> 5421690bd48a 07:12:11 Step 5/26 : WORKDIR /device-virtual-go 07:12:11 ---> Running in e4e7f35756fb 07:12:11 Removing intermediate container e4e7f35756fb 07:12:11 ---> 0dbbe4533108 07:12:11 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:12:11 ---> Running in 269969c7d402 07:12:12 Removing intermediate container 269969c7d402 07:12:12 ---> 281661efab0a 07:12:12 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:12:12 ---> Running in 50612ea5f54c 07:12:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:12:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:12:13 OK: 224 MiB in 56 packages 07:12:13 Removing intermediate container 50612ea5f54c 07:12:13 ---> de461b779569 07:12:13 Step 8/26 : COPY go.mod vendor* ./ 07:12:14 ---> 92e5b5e20abe 07:12:14 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:12:14 ---> Running in 7e9a4c52948a 07:12:15 Removing intermediate container 7e9a4c52948a 07:12:15 ---> f2d28a3e5939 07:12:15 Step 10/26 : COPY . . 07:12:15 ---> 4b59da54d85e 07:12:15 Step 11/26 : ARG MAKE='make build' 07:12:15 ---> Running in c55e7fb238d1 07:12:15 Removing intermediate container c55e7fb238d1 07:12:15 ---> c985c1599331 07:12:15 Step 12/26 : RUN $MAKE 07:12:15 ---> Running in 60152ab765c5 07:12:15 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 07:12:37 Removing intermediate container 60152ab765c5 07:12:37 ---> 207840beb71c 07:12:37 Step 13/26 : FROM alpine:3.14 07:12:37 3.14: Pulling from library/alpine 07:12:37 8663204ce13b: Pulling fs layer 07:12:37 8663204ce13b: Verifying Checksum 07:12:37 8663204ce13b: Download complete 07:12:37 8663204ce13b: Pull complete 07:12:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 07:12:37 Status: Downloaded newer image for alpine:3.14 07:12:37 ---> e04c818066af 07:12:37 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:12:37 ---> Running in f3737707958e 07:12:37 Removing intermediate container f3737707958e 07:12:37 ---> 5350c48eff21 07:12:37 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:12:37 ---> Running in 7d1a937dd855 07:12:38 Removing intermediate container 7d1a937dd855 07:12:38 ---> 5c75918d8de9 07:12:38 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 07:12:38 ---> Running in 768dc96585e3 07:12:38 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:12:39 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:12:39 (1/6) Installing dumb-init (1.2.5-r1) 07:12:39 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:12:39 (3/6) Installing libsodium (1.0.18-r0) 07:12:39 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:12:39 (5/6) Installing libzmq (4.3.4-r0) 07:12:40 (6/6) Installing zeromq (4.3.4-r0) 07:12:40 Executing busybox-1.33.1-r7.trigger 07:12:40 OK: 8 MiB in 20 packages 07:12:40 Removing intermediate container 768dc96585e3 07:12:40 ---> 7c074540bf4e 07:12:40 Step 17/26 : WORKDIR / 07:12:40 ---> Running in 8b9e0f8a4423 07:12:40 Removing intermediate container 8b9e0f8a4423 07:12:40 ---> 6a19e7cffef0 07:12:40 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:12:40 ---> 61c746f3f11c 07:12:40 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 07:12:40 ---> 2d7fc444137d 07:12:40 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 07:12:41 ---> a832ce642469 07:12:41 Step 21/26 : EXPOSE 59900 07:12:41 ---> Running in 9bff60e4f4a9 07:12:41 Removing intermediate container 9bff60e4f4a9 07:12:41 ---> 3517005a9afb 07:12:41 Step 22/26 : ENTRYPOINT ["/device-virtual"] 07:12:41 ---> Running in bf818014b69a 07:12:41 Removing intermediate container bf818014b69a 07:12:41 ---> 9dbd00617a5d 07:12:41 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:12:42 ---> Running in 59fa5ed7180b 07:12:42 Removing intermediate container 59fa5ed7180b 07:12:42 ---> aff59412322e 07:12:42 Step 24/26 : LABEL arch=amd64 07:12:42 ---> Running in 24b8ba3d9d90 07:12:42 Removing intermediate container 24b8ba3d9d90 07:12:42 ---> 9dbd8bf3460c 07:12:42 Step 25/26 : LABEL git_sha=8760134d8f81b98d9e42670833e31fee59ce4831 07:12:42 ---> Running in b298e037406b 07:12:42 Removing intermediate container b298e037406b 07:12:42 ---> e369032d8419 07:12:42 Step 26/26 : LABEL version=0.0.0 07:12:42 ---> Running in a3f70b54d6c0 07:12:42 Removing intermediate container a3f70b54d6c0 07:12:42 ---> fe8624780eeb 07:12:42 [Warning] One or more build-args [ARCH] were not consumed 07:12:42 Successfully built fe8624780eeb 07:12:42 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 07:12:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:12:42 07:12:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:12:43 latest: Pulling from edgex-lftools-log-publisher 07:12:43 5eb5b503b376: Pulling fs layer 07:12:43 5c69ac0246d0: Pulling fs layer 07:12:43 ec43610c2a17: Pulling fs layer 07:12:43 3a2ae6a8a46f: Pulling fs layer 07:12:43 33b1e0a273af: Pulling fs layer 07:12:43 5d3b04190fa2: Pulling fs layer 07:12:43 3a2ae6a8a46f: Waiting 07:12:43 33b1e0a273af: Waiting 07:12:43 2f39f015ded8: Pulling fs layer 07:12:43 5d3b04190fa2: Waiting 07:12:43 2f39f015ded8: Waiting 07:12:43 5c69ac0246d0: Verifying Checksum 07:12:43 5c69ac0246d0: Download complete 07:12:43 3a2ae6a8a46f: Verifying Checksum 07:12:43 3a2ae6a8a46f: Download complete 07:12:43 33b1e0a273af: Verifying Checksum 07:12:43 33b1e0a273af: Download complete 07:12:43 ec43610c2a17: Verifying Checksum 07:12:43 ec43610c2a17: Download complete 07:12:43 5d3b04190fa2: Verifying Checksum 07:12:43 5d3b04190fa2: Download complete 07:12:43 5eb5b503b376: Download complete 07:12:44 2f39f015ded8: Download complete 07:12:45 5eb5b503b376: Pull complete 07:12:45 5c69ac0246d0: Pull complete 07:12:45 ec43610c2a17: Pull complete 07:12:45 3a2ae6a8a46f: Pull complete 07:12:45 33b1e0a273af: Pull complete 07:12:45 5d3b04190fa2: Pull complete 07:12:51 2f39f015ded8: Pull complete 07:12:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:12:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:12:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:51 prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container 07:12:51 $ 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 07:12:53 $ docker top 143791b20e0f00dd40135473deee8d1d03d6ed9af4e51bd4572ca38334388c2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:12:53 ---> job-cost.sh 07:12:53 lf-activate-venv: SKIPPING 07:12:53 INFO: No Stack... 07:12:54 INFO: Retrieving Pricing Info for: v3-standard-8 07:12:54 INFO: Archiving Costs [Pipeline] sh 07:12:54 + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv 07:12:54 + cut -d, -f6 [Pipeline] lock 07:12:54 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] 07:12:54 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] did not exist. Created. 07:12:54 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:12:55 + echo total: 0.2199999988079071 [Pipeline] stash 07:12:55 Stashed 1 file(s) [Pipeline] } 07:12:55 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] [Pipeline] // lock [Pipeline] } 07:12:55 $ docker stop --time=1 143791b20e0f00dd40135473deee8d1d03d6ed9af4e51bd4572ca38334388c2a 07:12:56 $ docker rm -f 143791b20e0f00dd40135473deee8d1d03d6ed9af4e51bd4572ca38334388c2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:12:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-906 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws 07:12:56 Running in /w/workspace/device-virtual-go/6 [Pipeline] { [Pipeline] checkout 07:12:57 The recommended git tool is: git 07:13:03 using credential edgex-jenkins-ssh 07:13:03 Cloning the remote Git repository 07:13:03 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:13:03 > git init /w/workspace/device-virtual-go/6 # timeout=10 07:13:03 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:13:03 > git --version # timeout=10 07:13:03 > git --version # 'git version 2.25.1' 07:13:03 using GIT_SSH to set credentials SSH Credentials for GitHub 07:13:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:13:05 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:13:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:13:05 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:13:05 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:13:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:13:05 > 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 07:13:06 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit 8760134d8f81b98d9e42670833e31fee59ce4831 07:13:06 Merge succeeded, producing 8760134d8f81b98d9e42670833e31fee59ce4831 07:13:06 Checking out Revision 8760134d8f81b98d9e42670833e31fee59ce4831 (PR-287) 07:13:06 > git config core.sparsecheckout # timeout=10 07:13:06 > git checkout -f 8760134d8f81b98d9e42670833e31fee59ce4831 # timeout=10 07:13:06 > git remote # timeout=10 07:13:06 > git config --get remote.origin.url # timeout=10 07:13:06 using GIT_SSH to set credentials SSH Credentials for GitHub 07:13:06 > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 07:13:06 > git rev-parse HEAD^{commit} # timeout=10 07:13:06 > git config core.sparsecheckout # timeout=10 07:13:06 > git checkout -f 8760134d8f81b98d9e42670833e31fee59ce4831 # timeout=10 07:13:10 Commit message: "feat(snap): Enable config options by default" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:13:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:13:11 % Total % Received % Xferd Average Speed Time Time Time Current 07:13:11 Dload Upload Total Spent Left Speed 07:13:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 97246 0 --:--:-- --:--:-- --:--:-- 97246 [Pipeline] sh 07:13:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:13:12 + sudo tee /etc/docker/daemon.new 07:13:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:13:12 { 07:13:12 "registry-mirrors": [ 07:13:12 "https://nexus3.edgexfoundry.org:10001" 07:13:12 ], 07:13:12 "bip": "10.250.0.254/24", 07:13:12 "hosts": [ 07:13:12 "tcp://0.0.0.0:5555", 07:13:12 "unix:///var/run/docker.sock" 07:13:12 ], 07:13:12 "mtu": 1458, 07:13:12 "selinux-enabled": true, 07:13:12 "seccomp-profile": "/etc/docker/seccomp.json" 07:13:12 } [Pipeline] sh 07:13:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:13:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:13:31 provisioning config files... 07:13:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/6@tmp/config7157165852694082914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:13:32 ---> docker-login.sh 07:13:32 nexus3.edgexfoundry.org:10001 07:13:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:32 Configure a credential helper to remove this warning. See 07:13:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:32 07:13:32 Login Succeeded 07:13:32 nexus3.edgexfoundry.org:10002 07:13:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:33 Configure a credential helper to remove this warning. See 07:13:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:33 07:13:33 Login Succeeded 07:13:33 nexus3.edgexfoundry.org:10003 07:13:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:33 Configure a credential helper to remove this warning. See 07:13:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:33 07:13:33 Login Succeeded 07:13:33 nexus3.edgexfoundry.org:10004 07:13:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:34 Configure a credential helper to remove this warning. See 07:13:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:34 07:13:34 Login Succeeded 07:13:34 docker.io 07:13:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:35 Configure a credential helper to remove this warning. See 07:13:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:35 07:13:35 Login Succeeded 07:13:35 ---> docker-login.sh ends [Pipeline] } 07:13:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:13:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:13:35 ========================================================= 07:13:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 07:13:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:36 + 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 . 07:13:36 Sending build context to Docker daemon 11.72MB 07:13:36 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 07:13:36 Step 2/12 : FROM ${BASE} AS builder 07:13:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:13:36 9b3977197b4f: Pulling fs layer 07:13:36 1a89e8eeedd5: Pulling fs layer 07:13:36 94645a83ff95: Pulling fs layer 07:13:36 3f3a8bcf1eab: Pulling fs layer 07:13:36 0c92f367c5e7: Pulling fs layer 07:13:36 3096ccb668a1: Pulling fs layer 07:13:36 e8cf19c19ddd: Pulling fs layer 07:13:36 a4caa8a26152: Pulling fs layer 07:13:36 3f3a8bcf1eab: Waiting 07:13:36 0c92f367c5e7: Waiting 07:13:36 3096ccb668a1: Waiting 07:13:36 a4caa8a26152: Waiting 07:13:36 e8cf19c19ddd: Waiting 07:13:36 94645a83ff95: Verifying Checksum 07:13:36 94645a83ff95: Download complete 07:13:37 1a89e8eeedd5: Verifying Checksum 07:13:37 1a89e8eeedd5: Download complete 07:13:37 0c92f367c5e7: Verifying Checksum 07:13:37 0c92f367c5e7: Download complete 07:13:37 9b3977197b4f: Download complete 07:13:37 3096ccb668a1: Verifying Checksum 07:13:37 3096ccb668a1: Download complete 07:13:37 e8cf19c19ddd: Verifying Checksum 07:13:37 e8cf19c19ddd: Download complete 07:13:37 9b3977197b4f: Pull complete 07:13:38 1a89e8eeedd5: Pull complete 07:13:38 94645a83ff95: Pull complete 07:13:38 a4caa8a26152: Verifying Checksum 07:13:38 a4caa8a26152: Download complete 07:13:39 3f3a8bcf1eab: Verifying Checksum 07:13:39 3f3a8bcf1eab: Download complete 07:13:51 3f3a8bcf1eab: Pull complete 07:13:51 0c92f367c5e7: Pull complete 07:13:51 3096ccb668a1: Pull complete 07:13:52 e8cf19c19ddd: Pull complete 07:13:58 a4caa8a26152: Pull complete 07:13:58 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 07:13:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:13:58 ---> 725f1c02e7f9 07:13:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:13:59 ---> Running in b36b936c8064 07:13:59 Removing intermediate container b36b936c8064 07:13:59 ---> 923a6bd2ad35 07:13:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:14:00 ---> Running in 4b1f71475089 07:14:00 Removing intermediate container 4b1f71475089 07:14:00 ---> e5da3aca9745 07:14:00 Step 5/12 : WORKDIR /device-virtual-go 07:14:00 ---> Running in c10acc4fe781 07:14:00 Removing intermediate container c10acc4fe781 07:14:00 ---> d5375ba48267 07:14:00 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:14:00 ---> Running in 46cb886fd244 07:14:04 Removing intermediate container 46cb886fd244 07:14:04 ---> 169776eafbee 07:14:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:14:04 ---> Running in 8308b2dd0517 07:14:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:14:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:14:06 (1/4) Installing openssh-keygen (8.8_p1-r1) 07:14:06 (2/4) Installing libedit (20210910.3.1-r0) 07:14:06 (3/4) Installing openssh-client-common (8.8_p1-r1) 07:14:06 (4/4) Installing openssh-client-default (8.8_p1-r1) 07:14:06 Executing busybox-1.34.1-r3.trigger 07:14:06 OK: 224 MiB in 56 packages 07:14:07 Removing intermediate container 8308b2dd0517 07:14:07 ---> d956b60155a6 07:14:07 Step 8/12 : COPY go.mod vendor* ./ 07:14:08 ---> f5be56957767 07:14:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:14:08 ---> Running in 16c3930d0175 07:14:55 Removing intermediate container 16c3930d0175 07:14:55 ---> a036efe5ec28 07:14:55 Step 10/12 : COPY . . 07:14:55 ---> 47d6d4060d86 07:14:55 Step 11/12 : ARG MAKE='make build' 07:14:55 ---> Running in 36022e50c160 07:14:55 Removing intermediate container 36022e50c160 07:14:55 ---> 0ecd52815e5e 07:14:55 Step 12/12 : RUN $MAKE 07:14:55 ---> Running in 2fa64a2af442 07:14:55 noop 07:14:55 Removing intermediate container 2fa64a2af442 07:14:55 ---> 3cecc63a9772 07:14:55 Successfully built 3cecc63a9772 07:14:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:55 + docker inspect -f . ci-base-image-arm64 07:14:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:55 prd-ubuntu20.04-docker-arm64-4c-16g-906 does not seem to be running inside a container 07:14:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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 07:14:57 $ docker top d7e5feb583fb57875147ded9bdbbe3ad276576d462645bc5763a8e5cffa0b131 -eo pid,comm [Pipeline] { [Pipeline] sh 07:14:58 + go version 07:14:58 go version go1.17.6 linux/arm64 [Pipeline] } 07:14:58 $ docker stop --time=1 d7e5feb583fb57875147ded9bdbbe3ad276576d462645bc5763a8e5cffa0b131 07:14:59 $ docker rm -f d7e5feb583fb57875147ded9bdbbe3ad276576d462645bc5763a8e5cffa0b131 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:00 + docker inspect -f . ci-base-image-arm64 07:15:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:00 prd-ubuntu20.04-docker-arm64-4c-16g-906 does not seem to be running inside a container 07:15:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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 07:15:02 $ docker top 86a6eaf2785b9d52b8795f52b671fb8d96bdb0c644c07f478848592aa2e1fd22 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:15:02 + make test 07:15:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:15:04 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:16:26 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:16:26 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements 07:16:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:16:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:16:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:16:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:16:45 ./bin/test-attribution-txt.sh [Pipeline] echo 07:16:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:16:48 $ docker stop --time=1 86a6eaf2785b9d52b8795f52b671fb8d96bdb0c644c07f478848592aa2e1fd22 07:16:50 $ docker rm -f 86a6eaf2785b9d52b8795f52b671fb8d96bdb0c644c07f478848592aa2e1fd22 [Pipeline] // withDockerContainer [Pipeline] sh 07:16:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:16:51 Warning: overwriting stash ‘coverage-report’ 07:16:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:16:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:16:52 + ls -al . 07:16:52 total 188 07:16:52 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 07:16 . 07:16:52 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 07:13 .. 07:16:52 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 07:13 .git 07:16:52 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:13 .github 07:16:52 -rw-rw-r-- 1 jenkins jenkins 337 Jun 3 07:13 .gitignore 07:16:52 -rw-rw-r-- 1 jenkins jenkins 41 Jun 3 07:13 .golangci.yml 07:16:52 -rw-rw-r-- 1 jenkins jenkins 8026 Jun 3 07:13 Attribution.txt 07:16:52 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 3 07:13 CHANGELOG.md 07:16:52 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 3 07:13 Dockerfile 07:16:52 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 07:13 GOVERNANCE.md 07:16:52 -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 07:13 Jenkinsfile 07:16:52 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 07:13 LICENSE 07:16:52 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 3 07:13 Makefile 07:16:52 -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 07:13 OWNERS.md 07:16:52 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 07:13 README.md 07:16:52 -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 07:11 VERSION 07:16:52 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 07:13 bin 07:16:52 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:13 cmd 07:16:52 -rw-r--r-- 1 jenkins jenkins 44128 Jun 3 07:16 coverage.out 07:16:52 -rw-rw-r-- 1 jenkins jenkins 3139 Jun 3 07:13 go.mod 07:16:52 -rw-rw-r-- 1 jenkins jenkins 35006 Jun 3 07:13 go.sum 07:16:52 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:13 internal 07:16:52 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:13 snap 07:16:52 -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 07:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:52 + 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=8760134d8f81b98d9e42670833e31fee59ce4831 --label arch=arm64 --label version=0.0.0 . 07:16:53 Sending build context to Docker daemon 11.77MB 07:16:53 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 07:16:53 Step 2/26 : FROM ${BASE} AS builder 07:16:53 ---> 3cecc63a9772 07:16:53 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:16:53 ---> Running in 2b9616f609b8 07:16:53 Removing intermediate container 2b9616f609b8 07:16:53 ---> 68f2ce770244 07:16:53 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 07:16:54 ---> Running in cd0f8d3bdba9 07:16:54 Removing intermediate container cd0f8d3bdba9 07:16:54 ---> 5e469514b8d0 07:16:54 Step 5/26 : WORKDIR /device-virtual-go 07:16:54 ---> Running in d568d75fb84c 07:16:54 Removing intermediate container d568d75fb84c 07:16:54 ---> 87c0fa437d1c 07:16:54 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:16:54 ---> Running in d88b751c57d0 07:16:56 Removing intermediate container d88b751c57d0 07:16:56 ---> 8a319a02dd1c 07:16:56 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:16:56 ---> Running in 6de41eb63e80 07:16:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:16:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:16:59 OK: 224 MiB in 56 packages 07:17:00 Removing intermediate container 6de41eb63e80 07:17:00 ---> 6a49cbe5dae3 07:17:00 Step 8/26 : COPY go.mod vendor* ./ 07:17:00 ---> 84d490271f85 07:17:00 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:17:00 ---> Running in 46f16d7afc9c 07:17:02 Removing intermediate container 46f16d7afc9c 07:17:02 ---> 4ee25ab53554 07:17:02 Step 10/26 : COPY . . 07:17:04 ---> 580360d60633 07:17:04 Step 11/26 : ARG MAKE='make build' 07:17:04 ---> Running in af8d94912fba 07:17:04 Removing intermediate container af8d94912fba 07:17:04 ---> 337f73c56a80 07:17:04 Step 12/26 : RUN $MAKE 07:17:04 ---> Running in e3a5bf9dc9f3 07:17:05 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 07:19:12 Removing intermediate container e3a5bf9dc9f3 07:19:12 ---> 4a3dd4c0aec7 07:19:12 Step 13/26 : FROM alpine:3.14 07:19:12 3.14: Pulling from library/alpine 07:19:12 455c02918c45: Pulling fs layer 07:19:12 455c02918c45: Download complete 07:19:12 455c02918c45: Pull complete 07:19:12 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 07:19:12 Status: Downloaded newer image for alpine:3.14 07:19:12 ---> ac73e934f311 07:19:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:19:12 ---> Running in b84dc8556384 07:19:12 Removing intermediate container b84dc8556384 07:19:12 ---> 32966583124a 07:19:12 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:19:12 ---> Running in 912029d3f162 07:19:12 Removing intermediate container 912029d3f162 07:19:12 ---> 22e731e9d50d 07:19:12 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 07:19:12 ---> Running in 8e48ea38c096 07:19:12 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:19:12 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:19:12 (1/6) Installing dumb-init (1.2.5-r1) 07:19:12 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:19:12 (3/6) Installing libsodium (1.0.18-r0) 07:19:12 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:19:12 (5/6) Installing libzmq (4.3.4-r0) 07:19:12 (6/6) Installing zeromq (4.3.4-r0) 07:19:12 Executing busybox-1.33.1-r7.trigger 07:19:12 OK: 8 MiB in 20 packages 07:19:12 Removing intermediate container 8e48ea38c096 07:19:12 ---> b08c2c3c6eb4 07:19:12 Step 17/26 : WORKDIR / 07:19:12 ---> Running in 44790b164389 07:19:12 Removing intermediate container 44790b164389 07:19:12 ---> 64fc31e2656c 07:19:12 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:19:12 ---> 6381781a75aa 07:19:12 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 07:19:12 ---> c5944e61e18d 07:19:12 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 07:19:12 ---> 1806cef0527a 07:19:12 Step 21/26 : EXPOSE 59900 07:19:12 ---> Running in 9222776ad837 07:19:12 Removing intermediate container 9222776ad837 07:19:12 ---> 037f318442fb 07:19:12 Step 22/26 : ENTRYPOINT ["/device-virtual"] 07:19:12 ---> Running in e18bdc6fa8f2 07:19:12 Removing intermediate container e18bdc6fa8f2 07:19:12 ---> cb394b96b93c 07:19:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:19:12 ---> Running in c0db9ad02958 07:19:12 Removing intermediate container c0db9ad02958 07:19:12 ---> 4cbb7d44ec65 07:19:12 Step 24/26 : LABEL arch=arm64 07:19:12 ---> Running in cd4fceaa3f86 07:19:12 Removing intermediate container cd4fceaa3f86 07:19:12 ---> 1722c49429f1 07:19:12 Step 25/26 : LABEL git_sha=8760134d8f81b98d9e42670833e31fee59ce4831 07:19:12 ---> Running in 1747ff4ed839 07:19:12 Removing intermediate container 1747ff4ed839 07:19:12 ---> 94d59729eeeb 07:19:12 Step 26/26 : LABEL version=0.0.0 07:19:12 ---> Running in e56d357b0edc 07:19:12 Removing intermediate container e56d357b0edc 07:19:12 ---> 129b28689721 07:19:12 [Warning] One or more build-args [ARCH] were not consumed 07:19:12 Successfully built 129b28689721 07:19:12 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 07:19:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:19:12 07:19:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:19:13 arm64: Pulling from edgex-lftools-log-publisher 07:19:13 8998bd30e6a1: Pulling fs layer 07:19:13 04944245beec: Pulling fs layer 07:19:13 699f458cf7ca: Pulling fs layer 07:19:13 765212b225bb: Pulling fs layer 07:19:13 f23df028b6ca: Pulling fs layer 07:19:13 d65c8cfc05b1: Pulling fs layer 07:19:13 2437ff75d9bd: Pulling fs layer 07:19:13 f23df028b6ca: Waiting 07:19:13 d65c8cfc05b1: Waiting 07:19:13 2437ff75d9bd: Waiting 07:19:13 765212b225bb: Waiting 07:19:13 04944245beec: Verifying Checksum 07:19:13 04944245beec: Download complete 07:19:13 765212b225bb: Verifying Checksum 07:19:13 765212b225bb: Download complete 07:19:13 f23df028b6ca: Download complete 07:19:13 d65c8cfc05b1: Verifying Checksum 07:19:13 d65c8cfc05b1: Download complete 07:19:13 699f458cf7ca: Verifying Checksum 07:19:13 699f458cf7ca: Download complete 07:19:14 8998bd30e6a1: Verifying Checksum 07:19:14 8998bd30e6a1: Download complete 07:19:16 2437ff75d9bd: Verifying Checksum 07:19:16 2437ff75d9bd: Download complete 07:19:18 8998bd30e6a1: Pull complete 07:19:18 04944245beec: Pull complete 07:19:20 699f458cf7ca: Pull complete 07:19:20 765212b225bb: Pull complete 07:19:21 f23df028b6ca: Pull complete 07:19:21 d65c8cfc05b1: Pull complete 07:19:36 2437ff75d9bd: Pull complete 07:19:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:19:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:19:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:36 prd-ubuntu20.04-docker-arm64-4c-16g-906 does not seem to be running inside a container 07:19:36 $ 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/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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 07:19:39 $ docker top cbbe0bd933db1f2dd2feca21ccacacb1662f2fdce38b4b074249c3285e525005 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:40 ---> job-cost.sh 07:19:40 lf-activate-venv: SKIPPING 07:19:40 INFO: No Stack... 07:19:40 INFO: Retrieving Pricing Info for: v3-standard-4 07:19:41 INFO: Archiving Costs [Pipeline] sh 07:19:42 + cut -d, -f6 07:19:42 + cat /w/workspace/device-virtual-go/6/archives/cost.csv [Pipeline] lock 07:19:42 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] 07:19:42 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] did not exist. Created. 07:19:42 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:19:43 /w/workspace/device-virtual-go/6@tmp/durable-28810bf6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:19:43 + echo total: 0.10999999940395355 [Pipeline] stash 07:19:43 Warning: overwriting stash ‘stack-cost’ 07:19:43 Stashed 1 file(s) [Pipeline] } 07:19:43 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-6-stack-cost] [Pipeline] // lock [Pipeline] } 07:19:43 $ docker stop --time=1 cbbe0bd933db1f2dd2feca21ccacacb1662f2fdce38b4b074249c3285e525005 07:19:45 $ docker rm -f cbbe0bd933db1f2dd2feca21ccacacb1662f2fdce38b4b074249c3285e525005 [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 07:19:45 provisioning config files... 07:19:45 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config9062608830424237452tmp [Pipeline] { [Pipeline] sh 07:19:46 + set +x 07:19:46 + curl -s https://codecov.io/bash 07:19:46 + bash -s -- 07:19:46 07:19:46 _____ _ 07:19:46 / ____| | | 07:19:46 | | ___ __| | ___ ___ _____ __ 07:19:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:19:46 | |___| (_) | (_| | __/ (_| (_) \ V / 07:19:46 \_____\___/ \__,_|\___|\___\___/ \_/ 07:19:46 Bash-1.0.6 07:19:46 07:19:46 07:19:46 ==> git version 2.25.1 found 07:19:46 ==> 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 07:19:46 Release-Date: 2020-01-08 07:19:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:19:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:19:46 ==> Jenkins CI detected. 07:19:46 current dir:  /w/workspace/foundry_device-virtual-go_PR-287 07:19:46 project root: . 07:19:46 --> token set from env 07:19:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:19:46 ==> Running gcov in . (disable via -X gcov) 07:19:46 ==> Python coveragepy not found 07:19:46 ==> Searching for coverage reports in: 07:19:46 + . 07:19:46 -> Found 1 reports 07:19:46 ==> Detecting git/mercurial file structure 07:19:46 ==> Reading reports 07:19:46 + ./coverage.out bytes=44128 07:19:46 ==> Appending adjustments 07:19:46 https://docs.codecov.io/docs/fixing-reports 07:19:46 + Found adjustments 07:19:46 ==> Gzipping contents 07:19:46 8.0K /tmp/codecov.M0w3vg.gz 07:19:46 ==> Uploading reports 07:19:46 url: https://codecov.io 07:19:46 query: branch=PR-287&commit=8760134d8f81b98d9e42670833e31fee59ce4831&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= 07:19:46 -> Pinging Codecov 07:19:46 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=8760134d8f81b98d9e42670833e31fee59ce4831&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= 07:19:46 -> Uploading to 07:19:46 https://storage.googleapis.com/codecov/v4/raw/2022-06-03/5E52B4B073DB2E39498172D8E973AA87/8760134d8f81b98d9e42670833e31fee59ce4831/1a1851f0-5af5-40e9-99c3-bc8136c78cc6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220603T071946Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=722751164a2f17bf12bc4c3872bf4f22593017e85a7881d08f378d5dea53e1f0 07:19:46 % Total % Received % Xferd Average Speed Time Time Time Current 07:19:46 Dload Upload Total Spent Left Speed 07:19:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5499 0 0 100 5499 0 26185 --:--:-- --:--:-- --:--:-- 26185 07:19:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8760134d8f81b98d9e42670833e31fee59ce4831 [Pipeline] } 07:19:46 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 07:19:47 + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] 07:19:47 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 07:19:47 total 16 07:19:47 drwxr-xr-x 3 root root 4096 Jun 3 07:12 . 07:19:47 drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 07:12 .. 07:19:47 drwxr-xr-x 2 root root 4096 Jun 3 07:12 cost 07:19:47 -rw-r--r-- 1 root root 88 Jun 3 07:12 cost.csv 07:19:47 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives 07:19:47 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 07:19:47 total 16 07:19:47 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 07:12 . 07:19:47 drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 07:12 .. 07:19:47 drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 07:12 cost 07:19:47 -rw-r--r-- 1 jenkins jenkins 88 Jun 3 07:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:19:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:19:48 ---> package-listing.sh 07:19:48 ++ facter osfamily 07:19:48 ++ tr '[:upper:]' '[:lower:]' 07:19:48 + OS_FAMILY=debian 07:19:48 + workspace=/w/workspace/foundry_device-virtual-go_PR-287 07:19:48 + START_PACKAGES=/tmp/packages_start.txt 07:19:48 + END_PACKAGES=/tmp/packages_end.txt 07:19:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:19:48 + PACKAGES=/tmp/packages_start.txt 07:19:48 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 07:19:48 + PACKAGES=/tmp/packages_end.txt 07:19:48 + case "${OS_FAMILY}" in 07:19:48 + dpkg -l 07:19:48 + grep '^ii' 07:19:48 + '[' -f /tmp/packages_start.txt ']' 07:19:48 + '[' -f /tmp/packages_end.txt ']' 07:19:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:19:48 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 07:19:48 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ 07:19:48 + 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 07:19:48 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 07:19:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:19:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:49 prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container 07:19:49 $ 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 07:19:50 $ docker top ecc43656605194d6f53ec17168ec497540d2d029a71fa7541eed3b0b935f892b -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:50 + touch /tmp/pre-build-complete [Pipeline] sh 07:19:50 + mkdir -p /var/log/sysstat [Pipeline] sh 07:19:51 + ls /var/log/sa-host 07:19:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:51 provisioning config files... 07:19:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config1901580849964352651tmp [Pipeline] { [Pipeline] echo 07:19:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:19:51 ---> create-netrc.sh [Pipeline] } 07:19:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:19:51 ---> python-tools-install.sh [Pipeline] echo 07:19:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:19:52 ---> sudo-logs.sh 07:19:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:19:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:19:52 ---> job-cost.sh 07:19:52 lf-activate-venv: SKIPPING 07:19:52 DEBUG: total: 0.2199999988079071 07:19:52 INFO: Retrieving Stack Cost... 07:19:52 INFO: Retrieving Pricing Info for: v3-standard-8 07:19:53 INFO: Archiving Costs [Pipeline] echo 07:19:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:19:53 ---> logs-deploy.sh 07:19:53 lf-activate-venv: SKIPPING 07:19:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/6 07:19:53 INFO: archiving workspace using pattern(s): 07:19:54 Archives upload complete. 07:19:54 INFO: archiving logs to Nexus