Pull request #360 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 638768ea70981673b12c8b69a4bafc6105a0d46e+5a04d26f76890061c899b2731a9aad77e3e4418b (086e7e1c0f9819022db7a980da7628d495f9933d) 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-ssh6653535893314122322.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh5262174971864103222.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1672800465180931960.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7906620139120369716.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1684709983275376036.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-360/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-360/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17562256068303958390.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Executor slot already in use ‘prd-centos7-builder-2c-1g-842’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-629’ is offline ‘prd-ubuntu20.04-docker-8c-8g-630’ is offline ‘prd-ubuntu20.04-docker-8c-8g-852’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-754’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-756’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-854 in /w/workspace/foundry_device-virtual-go_PR-360 [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-360 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/360/head:refs/remotes/origin/PR-360 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5a04d26f76890061c899b2731a9aad77e3e4418b into PR head commit 638768ea70981673b12c8b69a4bafc6105a0d46e Merge succeeded, producing 638768ea70981673b12c8b69a4bafc6105a0d46e Checking out Revision 638768ea70981673b12c8b69a4bafc6105a0d46e (PR-360) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 638768ea70981673b12c8b69a4bafc6105a0d46e # 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 5a04d26f76890061c899b2731a9aad77e3e4418b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 638768ea70981673b12c8b69a4bafc6105a0d46e # timeout=10 [Pipeline] timeout 16:10:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:10:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:10:59 ========================================================= 16:10:59 EdgeX Global Pipelines Version Info 16:10:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:11:00 ------------------- 16:11:00 stable info: 16:11:00 ------------------- 16:11:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:11:00 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:11:00 Message: update stable to v1.0.245 16:11:01 ------------------- 16:11:01 experimental info: 16:11:01 ------------------- 16:11:01 Commited By: **** collab-it+edgex@linuxfoundation.org 16:11:01 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:11:01 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:11:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 16:11:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 16:11:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:11:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:11:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:11:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:11:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 16:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-360 [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-360 [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-360 [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 638768ea70981673b12c8b69a4bafc6105a0d46e [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 638768e [Pipeline] echo 16:11:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:11:02 provisioning config files... 16:11:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-360@tmp/config1570230284728745273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:03 ---> docker-login.sh 16:11:03 nexus3.edgexfoundry.org:10001 16:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:03 Configure a credential helper to remove this warning. See 16:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:03 16:11:03 Login Succeeded 16:11:03 nexus3.edgexfoundry.org:10002 16:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:03 Configure a credential helper to remove this warning. See 16:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:03 16:11:03 Login Succeeded 16:11:03 nexus3.edgexfoundry.org:10003 16:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:03 Configure a credential helper to remove this warning. See 16:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:03 16:11:03 Login Succeeded 16:11:03 nexus3.edgexfoundry.org:10004 16:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:03 Configure a credential helper to remove this warning. See 16:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:03 16:11:03 Login Succeeded 16:11:03 docker.io 16:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:04 Configure a credential helper to remove this warning. See 16:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:04 16:11:04 Login Succeeded 16:11:04 ---> docker-login.sh ends [Pipeline] } 16:11:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:11:04 + git rev-list -1 --merges 638768ea70981673b12c8b69a4bafc6105a0d46e~1..638768ea70981673b12c8b69a4bafc6105a0d46e [Pipeline] echo 16:11:04 -----------> git rev-list -1 --merges 638768ea70981673b12c8b69a4bafc6105a0d46e~1..638768ea70981673b12c8b69a4bafc6105a0d46e 638768ea70981673b12c8b69a4bafc6105a0d46e [false] [Pipeline] sh 16:11:05 + git log --format=format:%s -1 638768ea70981673b12c8b69a4bafc6105a0d46e [Pipeline] echo 16:11:05 ========================================================= 16:11:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:11:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:11:05 + git log --format=format:%s -1 638768ea70981673b12c8b69a4bafc6105a0d46e [Pipeline] echo 16:11:05 [semverPrep] GIT_COMMIT: 638768ea70981673b12c8b69a4bafc6105a0d46e, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 16:11:05 [semverPrep] This is not a build commit. [Pipeline] sh 16:11:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:11:06 + grep -v github /etc/ssh/ssh_known_hosts 16:11:06 + [ -e /tmp/ssh_known_hosts ] 16:11:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:11:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:11:06 + sudo tee -a /etc/ssh/ssh_known_hosts 16:11:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:11:06 16:11:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:11:06 0.1.4: Pulling from edgex-devops/py-git-semver 16:11:06 b85a868b505f: Pulling fs layer 16:11:06 e2be974225ed: Pulling fs layer 16:11:06 339a4e72a1f5: Pulling fs layer 16:11:06 988bab9f4d93: Pulling fs layer 16:11:06 1469e6f7b9e6: Pulling fs layer 16:11:06 eaf3925da568: Pulling fs layer 16:11:06 bab4dde63d76: Pulling fs layer 16:11:06 bde34c3a00c8: Pulling fs layer 16:11:06 b352a97aabf1: Pulling fs layer 16:11:06 4872d77fe225: Pulling fs layer 16:11:06 5851b861e8e6: Pulling fs layer 16:11:06 bde34c3a00c8: Waiting 16:11:06 988bab9f4d93: Waiting 16:11:06 b352a97aabf1: Waiting 16:11:06 1469e6f7b9e6: Waiting 16:11:06 5851b861e8e6: Waiting 16:11:06 4872d77fe225: Waiting 16:11:06 eaf3925da568: Waiting 16:11:06 e2be974225ed: Verifying Checksum 16:11:06 e2be974225ed: Download complete 16:11:06 988bab9f4d93: Verifying Checksum 16:11:06 988bab9f4d93: Download complete 16:11:07 1469e6f7b9e6: Verifying Checksum 16:11:07 1469e6f7b9e6: Download complete 16:11:07 eaf3925da568: Download complete 16:11:07 339a4e72a1f5: Verifying Checksum 16:11:07 339a4e72a1f5: Download complete 16:11:07 bde34c3a00c8: Verifying Checksum 16:11:07 bde34c3a00c8: Download complete 16:11:07 b352a97aabf1: Download complete 16:11:07 4872d77fe225: Verifying Checksum 16:11:07 4872d77fe225: Download complete 16:11:07 5851b861e8e6: Verifying Checksum 16:11:07 5851b861e8e6: Download complete 16:11:07 b85a868b505f: Verifying Checksum 16:11:07 b85a868b505f: Download complete 16:11:07 bab4dde63d76: Verifying Checksum 16:11:07 bab4dde63d76: Download complete 16:11:08 b85a868b505f: Pull complete 16:11:08 e2be974225ed: Pull complete 16:11:09 339a4e72a1f5: Pull complete 16:11:09 988bab9f4d93: Pull complete 16:11:09 1469e6f7b9e6: Pull complete 16:11:09 eaf3925da568: Pull complete 16:11:11 bab4dde63d76: Pull complete 16:11:11 bde34c3a00c8: Pull complete 16:11:11 b352a97aabf1: Pull complete 16:11:11 4872d77fe225: Pull complete 16:11:11 5851b861e8e6: Pull complete 16:11:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:11:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:11:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:11 prd-ubuntu20.04-docker-8c-8g-854 does not seem to be running inside a container 16:11:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-360 -v /w/workspace/foundry_device-virtual-go_PR-360:/w/workspace/foundry_device-virtual-go_PR-360:rw,z -v /w/workspace/foundry_device-virtual-go_PR-360@tmp:/w/workspace/foundry_device-virtual-go_PR-360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:11:12 $ docker top e775a959395e0cf79811edd75d755240283f414660a9cc7bee36f666717debac -eo pid,comm 16:11:12 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). 16:11:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:11:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:12 [ssh-agent] Looking for ssh-agent implementation... 16:11:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:13 $ docker exec e775a959395e0cf79811edd75d755240283f414660a9cc7bee36f666717debac ssh-agent 16:11:13 SSH_AUTH_SOCK=/tmp/ssh-SBA3YPdNqd60/agent.33 16:11:13 SSH_AGENT_PID=39 16:11:13 Running ssh-add (command line suppressed) 16:11:13 Identity added: /w/workspace/foundry_device-virtual-go_PR-360@tmp/private_key_8991394641610111626.key (/w/workspace/foundry_device-virtual-go_PR-360@tmp/private_key_8991394641610111626.key) 16:11:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:13 + git tag --points-at HEAD [Pipeline] } 16:11:13 $ docker exec --env ******** --env ******** e775a959395e0cf79811edd75d755240283f414660a9cc7bee36f666717debac ssh-agent -k 16:11:13 unset SSH_AUTH_SOCK; 16:11:13 unset SSH_AGENT_PID; 16:11:13 echo Agent pid 39 killed; 16:11:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:11:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:13 [ssh-agent] Looking for ssh-agent implementation... 16:11:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:13 $ docker exec e775a959395e0cf79811edd75d755240283f414660a9cc7bee36f666717debac ssh-agent 16:11:14 SSH_AUTH_SOCK=/tmp/ssh-fvofwSy480vW/agent.71 16:11:14 SSH_AGENT_PID=77 16:11:14 Running ssh-add (command line suppressed) 16:11:14 Identity added: /w/workspace/foundry_device-virtual-go_PR-360@tmp/private_key_17531035751912938917.key (/w/workspace/foundry_device-virtual-go_PR-360@tmp/private_key_17531035751912938917.key) 16:11:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:14 + git semver init 16:11:14 2023-03-15 16:11:14,740 [run_init] DEBUG init version:0.0.0 force:False 16:11:14 2023-03-15 16:11:14,741 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-360/.semver 16:11:14 2023-03-15 16:11:14,742 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-360/.semver 16:11:14 2023-03-15 16:11:14,742 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-360/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-360, universal_newlines=False, shell=None, istream=None) 16:11:15 2023-03-15 16:11:15,723 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-360/.git/info/exclude 16:11:15 2023-03-15 16:11:15,724 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-360/.semver/PR-360 with force:False 16:11:15 2023-03-15 16:11:15,724 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-360/.semver/PR-360 16:11:15 2023-03-15 16:11:15,727 [execute] INFO git cat-file --batch-check 16:11:15 2023-03-15 16:11:15,727 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-360/.semver, universal_newlines=False, shell=None, istream=) 16:11:15 2023-03-15 16:11:15,732 [execute] INFO git cat-file --batch 16:11:15 2023-03-15 16:11:15,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-360/.semver, universal_newlines=False, shell=None, istream=) 16:11:15 2023-03-15 16:11:15,737 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-360/.semver/PR-360 16:11:15 0.0.0 [Pipeline] } 16:11:15 $ docker exec --env ******** --env ******** e775a959395e0cf79811edd75d755240283f414660a9cc7bee36f666717debac ssh-agent -k 16:11:15 unset SSH_AUTH_SOCK; 16:11:15 unset SSH_AGENT_PID; 16:11:15 echo Agent pid 77 killed; 16:11:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:11:16 + git semver [Pipeline] } 16:11:16 $ docker stop --time=1 e775a959395e0cf79811edd75d755240283f414660a9cc7bee36f666717debac 16:11:17 $ docker rm -f --volumes e775a959395e0cf79811edd75d755240283f414660a9cc7bee36f666717debac [Pipeline] // withDockerContainer [Pipeline] sh 16:11:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:11:18 Stashed 1 file(s) [Pipeline] echo 16:11:18 [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 16:11:19 provisioning config files... 16:11:19 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-360@tmp/config18283771564307817980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:19 ---> docker-login.sh 16:11:19 nexus3.edgexfoundry.org:10001 16:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:19 Configure a credential helper to remove this warning. See 16:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:19 16:11:19 Login Succeeded 16:11:19 nexus3.edgexfoundry.org:10002 16:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:19 Configure a credential helper to remove this warning. See 16:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:19 16:11:19 Login Succeeded 16:11:19 nexus3.edgexfoundry.org:10003 16:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:19 Configure a credential helper to remove this warning. See 16:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:19 16:11:19 Login Succeeded 16:11:19 nexus3.edgexfoundry.org:10004 16:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:19 Configure a credential helper to remove this warning. See 16:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:19 16:11:19 Login Succeeded 16:11:19 docker.io 16:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:20 Configure a credential helper to remove this warning. See 16:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:20 16:11:20 Login Succeeded 16:11:20 ---> docker-login.sh ends [Pipeline] } 16:11:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:11:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:11:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:11:20 ========================================================= 16:11:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:11:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:21 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:11:21 Sending build context to Docker daemon 23.5MB 16:11:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:11:21 Step 2/12 : FROM ${BASE} AS builder 16:11:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:11:21 63b65145d645: Pulling fs layer 16:11:21 a2d21d5440eb: Pulling fs layer 16:11:21 935e6c44a52c: Pulling fs layer 16:11:21 94cc34f8dd06: Pulling fs layer 16:11:21 30dea6a524f1: Pulling fs layer 16:11:21 a2aff8979fd8: Pulling fs layer 16:11:21 6808be2612f2: Pulling fs layer 16:11:21 f25807f1079a: Pulling fs layer 16:11:21 a2aff8979fd8: Waiting 16:11:21 6808be2612f2: Waiting 16:11:21 f25807f1079a: Waiting 16:11:21 94cc34f8dd06: Waiting 16:11:21 30dea6a524f1: Waiting 16:11:21 a2d21d5440eb: Download complete 16:11:21 94cc34f8dd06: Download complete 16:11:21 30dea6a524f1: Download complete 16:11:21 63b65145d645: Verifying Checksum 16:11:21 63b65145d645: Download complete 16:11:21 a2aff8979fd8: Verifying Checksum 16:11:21 a2aff8979fd8: Download complete 16:11:21 63b65145d645: Pull complete 16:11:21 a2d21d5440eb: Pull complete 16:11:21 f25807f1079a: Verifying Checksum 16:11:21 f25807f1079a: Download complete 16:11:22 935e6c44a52c: Download complete 16:11:22 6808be2612f2: Verifying Checksum 16:11:22 6808be2612f2: Download complete 16:11:25 935e6c44a52c: Pull complete 16:11:25 94cc34f8dd06: Pull complete 16:11:25 30dea6a524f1: Pull complete 16:11:25 a2aff8979fd8: Pull complete 16:11:27 6808be2612f2: Pull complete 16:11:28 f25807f1079a: Pull complete 16:11:28 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:11:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:11:28 ---> 3b553350e43f 16:11:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:11:29 ---> Running in dada321b6550 16:11:29 Removing intermediate container dada321b6550 16:11:29 ---> ae4885180db6 16:11:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:11:29 ---> Running in 55c6809ae62f 16:11:29 Removing intermediate container 55c6809ae62f 16:11:29 ---> dadd754478ce 16:11:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:11:29 ---> Running in 4df8600732c6 16:11:29 Removing intermediate container 4df8600732c6 16:11:29 ---> 1b2b6325f203 16:11:29 Step 6/12 : WORKDIR /device-virtual-go 16:11:29 ---> Running in 115d0728e6be 16:11:29 Removing intermediate container 115d0728e6be 16:11:29 ---> 7605c857eb6e 16:11:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:11:29 ---> Running in edac317e0afd 16:11:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:11:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:11:30 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:11:30 (2/4) Installing libedit (20221030.3.1-r0) 16:11:30 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:11:30 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:11:30 Executing busybox-1.35.0-r29.trigger 16:11:30 OK: 269 MiB in 57 packages 16:11:30 Removing intermediate container edac317e0afd 16:11:30 ---> ab73824abbf9 16:11:30 Step 8/12 : COPY go.mod vendor* ./ 16:11:30 ---> 7d8cd4abbcab 16:11:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:11:30 ---> Running in dd45d2ff622a 16:11:34 Still waiting to schedule task 16:11:34 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:11:49 Removing intermediate container dd45d2ff622a 16:11:49 ---> c296af0ca820 16:11:49 Step 10/12 : COPY . . 16:11:49 ---> 06eaa0cb113b 16:11:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:11:49 ---> Running in 2408c9de936a 16:11:49 Removing intermediate container 2408c9de936a 16:11:49 ---> a53b6b255588 16:11:49 Step 12/12 : RUN $MAKE 16:11:49 ---> Running in fa1590599d11 16:11:49 noop 16:11:49 Removing intermediate container fa1590599d11 16:11:49 ---> 318290a4ee4d 16:11:49 Successfully built 318290a4ee4d 16:11:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:49 + docker inspect -f . ci-base-image-x86_64 16:11:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:50 prd-ubuntu20.04-docker-8c-8g-854 does not seem to be running inside a container 16:11:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-360 -v /w/workspace/foundry_device-virtual-go_PR-360:/w/workspace/foundry_device-virtual-go_PR-360:rw,z -v /w/workspace/foundry_device-virtual-go_PR-360@tmp:/w/workspace/foundry_device-virtual-go_PR-360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:11:50 $ docker top d08f86ab713873812e751c9c93b5d2ad1baea44a95f793d8d29ad20ecfca302e -eo pid,comm [Pipeline] { [Pipeline] sh 16:11:50 + go version 16:11:50 go version go1.20.2 linux/amd64 [Pipeline] } 16:11:50 $ docker stop --time=1 d08f86ab713873812e751c9c93b5d2ad1baea44a95f793d8d29ad20ecfca302e 16:11:52 $ docker rm -f --volumes d08f86ab713873812e751c9c93b5d2ad1baea44a95f793d8d29ad20ecfca302e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:52 + docker inspect -f . ci-base-image-x86_64 16:11:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:53 prd-ubuntu20.04-docker-8c-8g-854 does not seem to be running inside a container 16:11:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-360 -v /w/workspace/foundry_device-virtual-go_PR-360:/w/workspace/foundry_device-virtual-go_PR-360:rw,z -v /w/workspace/foundry_device-virtual-go_PR-360@tmp:/w/workspace/foundry_device-virtual-go_PR-360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:11:53 $ docker top a6ef14f35b4ee89adfcd1e0140fbcf582c4b271e02aea7c0e9a32ae98dd32283 -eo pid,comm [Pipeline] { [Pipeline] sh 16:11:53 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-360 [Pipeline] fileExists [Pipeline] sh 16:11:54 + make test 16:11:54 go test ./... -coverprofile=coverage.out 16:11:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:12:08 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:12:08 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.033s coverage: 65.7% of statements 16:12:13 go vet ./... 16:12:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:12:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:12:16 ./bin/test-attribution-txt.sh [Pipeline] echo 16:12:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:12:16 $ docker stop --time=1 a6ef14f35b4ee89adfcd1e0140fbcf582c4b271e02aea7c0e9a32ae98dd32283 16:12:18 $ docker rm -f --volumes a6ef14f35b4ee89adfcd1e0140fbcf582c4b271e02aea7c0e9a32ae98dd32283 [Pipeline] // withDockerContainer [Pipeline] sh 16:12:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:12:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:12:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:12:19 + ls -al . 16:12:19 total 192 16:12:19 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 16:11 . 16:12:19 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:10 .. 16:12:19 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:11 .git 16:12:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:10 .github 16:12:19 -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 16:10 .gitignore 16:12:19 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:10 .golangci.yml 16:12:19 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:11 .semver 16:12:19 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 16:10 Attribution.txt 16:12:19 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 16:10 CHANGELOG.md 16:12:19 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 16:10 Dockerfile 16:12:19 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:10 GOVERNANCE.md 16:12:19 -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 16:10 Jenkinsfile 16:12:19 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:10 LICENSE 16:12:19 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 16:10 Makefile 16:12:19 -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 16:10 OWNERS.md 16:12:19 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 16:10 README.md 16:12:19 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:11 VERSION 16:12:19 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:10 bin 16:12:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:10 cmd 16:12:19 -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 16:12 coverage.out 16:12:19 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 16:10 go.mod 16:12:19 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 16:10 go.sum 16:12:19 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:10 internal 16:12:19 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:10 snap 16:12:19 -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 16:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:20 + 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=638768ea70981673b12c8b69a4bafc6105a0d46e --label arch=amd64 --label version=0.0.0 . 16:12:20 Sending build context to Docker daemon 23.55MB 16:12:20 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:12:20 Step 2/25 : FROM ${BASE} AS builder 16:12:20 ---> 318290a4ee4d 16:12:20 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:12:20 ---> Running in c75eeee70cf3 16:12:20 Removing intermediate container c75eeee70cf3 16:12:20 ---> 8f5b31be4cd2 16:12:20 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:12:20 ---> Running in 71ef2655bce8 16:12:20 Removing intermediate container 71ef2655bce8 16:12:20 ---> d4e0f344d0b9 16:12:20 Step 5/25 : ARG ADD_BUILD_TAGS="" 16:12:20 ---> Running in 3afe7dbf884d 16:12:20 Removing intermediate container 3afe7dbf884d 16:12:20 ---> 80110b736f1f 16:12:20 Step 6/25 : WORKDIR /device-virtual-go 16:12:20 ---> Running in 4d5e3b8a4bcc 16:12:20 Removing intermediate container 4d5e3b8a4bcc 16:12:20 ---> f40d5e4e73cc 16:12:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:12:20 ---> Running in 9fd6ee92f381 16:12:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:12:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:12:21 OK: 269 MiB in 57 packages 16:12:21 Removing intermediate container 9fd6ee92f381 16:12:21 ---> e0e09b5eb1b2 16:12:21 Step 8/25 : COPY go.mod vendor* ./ 16:12:21 ---> 3a0647406347 16:12:21 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:12:21 ---> Running in 2ff97f6a143a 16:12:22 Removing intermediate container 2ff97f6a143a 16:12:22 ---> 2a7308fd00cd 16:12:22 Step 10/25 : COPY . . 16:12:23 ---> 5bece4fdc671 16:12:23 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:12:23 ---> Running in 356ce11c2370 16:12:23 Removing intermediate container 356ce11c2370 16:12:23 ---> 70f3aed13552 16:12:23 Step 12/25 : RUN $MAKE 16:12:23 ---> Running in bfedcfa29fd6 16:12:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 16:12:42 Removing intermediate container bfedcfa29fd6 16:12:42 ---> 346d1501c623 16:12:42 Step 13/25 : FROM alpine:3.17 16:12:42 3.17: Pulling from library/alpine 16:12:42 63b65145d645: Already exists 16:12:42 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:12:42 Status: Downloaded newer image for alpine:3.17 16:12:42 ---> b2aa39c304c2 16:12:42 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:12:42 ---> Running in 79ee4cd7be92 16:12:42 Removing intermediate container 79ee4cd7be92 16:12:42 ---> 5eea2b7ad33f 16:12:42 Step 15/25 : RUN apk add --update --no-cache dumb-init 16:12:42 ---> Running in ccfdab2e6a50 16:12:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:12:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:12:42 (1/1) Installing dumb-init (1.2.5-r2) 16:12:42 Executing busybox-1.35.0-r29.trigger 16:12:42 OK: 7 MiB in 16 packages 16:12:42 Removing intermediate container ccfdab2e6a50 16:12:42 ---> a0b3d201c457 16:12:42 Step 16/25 : WORKDIR / 16:12:42 ---> Running in 7f5ca41a7dc2 16:12:42 Removing intermediate container 7f5ca41a7dc2 16:12:42 ---> 4a14be2724d1 16:12:42 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:12:42 ---> bd5c8d7964d8 16:12:42 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 16:12:42 ---> 9dd729e15c06 16:12:42 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 16:12:42 ---> 6687611b9429 16:12:42 Step 20/25 : EXPOSE 59900 16:12:42 ---> Running in 3851a0d4c548 16:12:42 Removing intermediate container 3851a0d4c548 16:12:42 ---> 548e2801487b 16:12:42 Step 21/25 : ENTRYPOINT ["/device-virtual"] 16:12:42 ---> Running in 00064452a2bb 16:12:42 Removing intermediate container 00064452a2bb 16:12:42 ---> 7b3ab1cb4391 16:12:42 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:12:42 ---> Running in 87387a1a0e0d 16:12:42 Removing intermediate container 87387a1a0e0d 16:12:42 ---> 0c9b8af3ad47 16:12:42 Step 23/25 : LABEL arch=amd64 16:12:42 ---> Running in 77a4b954b735 16:12:43 Removing intermediate container 77a4b954b735 16:12:43 ---> 50410dfbdeed 16:12:43 Step 24/25 : LABEL git_sha=638768ea70981673b12c8b69a4bafc6105a0d46e 16:12:43 ---> Running in 615cb1fde504 16:12:43 Removing intermediate container 615cb1fde504 16:12:43 ---> f09520535b30 16:12:43 Step 25/25 : LABEL version=0.0.0 16:12:43 ---> Running in 2b1ae233067e 16:12:43 Removing intermediate container 2b1ae233067e 16:12:43 ---> 9208e7c90ccb 16:12:43 [Warning] One or more build-args [ARCH] were not consumed 16:12:43 Successfully built 9208e7c90ccb 16:12:43 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 16:12:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:44 16:12:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:44 latest: Pulling from edgex-lftools-log-publisher 16:12:44 5eb5b503b376: Pulling fs layer 16:12:44 5c69ac0246d0: Pulling fs layer 16:12:44 ec43610c2a17: Pulling fs layer 16:12:44 3a2ae6a8a46f: Pulling fs layer 16:12:44 33b1e0a273af: Pulling fs layer 16:12:44 5d3b04190fa2: Pulling fs layer 16:12:44 2f39f015ded8: Pulling fs layer 16:12:44 5d3b04190fa2: Waiting 16:12:44 3a2ae6a8a46f: Waiting 16:12:44 33b1e0a273af: Waiting 16:12:44 2f39f015ded8: Waiting 16:12:44 5c69ac0246d0: Verifying Checksum 16:12:44 5c69ac0246d0: Download complete 16:12:44 3a2ae6a8a46f: Verifying Checksum 16:12:44 3a2ae6a8a46f: Download complete 16:12:44 33b1e0a273af: Verifying Checksum 16:12:44 33b1e0a273af: Download complete 16:12:44 5d3b04190fa2: Verifying Checksum 16:12:44 5d3b04190fa2: Download complete 16:12:44 ec43610c2a17: Verifying Checksum 16:12:44 ec43610c2a17: Download complete 16:12:44 5eb5b503b376: Verifying Checksum 16:12:44 5eb5b503b376: Download complete 16:12:45 2f39f015ded8: Download complete 16:12:45 5eb5b503b376: Pull complete 16:12:45 5c69ac0246d0: Pull complete 16:12:46 ec43610c2a17: Pull complete 16:12:46 3a2ae6a8a46f: Pull complete 16:12:46 33b1e0a273af: Pull complete 16:12:46 5d3b04190fa2: Pull complete 16:12:50 2f39f015ded8: Pull complete 16:12:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:12:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:51 prd-ubuntu20.04-docker-8c-8g-854 does not seem to be running inside a container 16: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-360 -v /w/workspace/foundry_device-virtual-go_PR-360:/w/workspace/foundry_device-virtual-go_PR-360:rw,z -v /w/workspace/foundry_device-virtual-go_PR-360@tmp:/w/workspace/foundry_device-virtual-go_PR-360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:12:52 $ docker top 250597bcfb0c94fca01f5eb48c31ff3d5c6747ee7d1394b6a7eb1fcc94f17023 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:12:53 ---> job-cost.sh 16:12:53 lf-activate-venv: SKIPPING 16:12:53 INFO: No Stack... 16:12:53 INFO: Retrieving Pricing Info for: v3-standard-8 16:12:53 INFO: Archiving Costs [Pipeline] sh 16:12:54 + cat /w/workspace/foundry_device-virtual-go_PR-360/archives/cost.csv 16:12:54 + cut -d, -f6 [Pipeline] lock 16:12:54 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-360-1-stack-cost] 16:12:54 Resource [jenkins-edgexfoundry-device-virtual-go-PR-360-1-stack-cost] did not exist. Created. 16:12:54 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-360-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:12:54 + echo total: 0.2199999988079071 [Pipeline] stash 16:12:54 Stashed 1 file(s) [Pipeline] } 16:12:54 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-360-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:12:54 $ docker stop --time=1 250597bcfb0c94fca01f5eb48c31ff3d5c6747ee7d1394b6a7eb1fcc94f17023 16:12:55 $ docker rm -f --volumes 250597bcfb0c94fca01f5eb48c31ff3d5c6747ee7d1394b6a7eb1fcc94f17023 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:17:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-937 in /w/workspace/foundry_device-virtual-go_PR-360 [Pipeline] { [Pipeline] ws 16:17:54 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 16:17:54 The recommended git tool is: git 16:18:02 using credential edgex-jenkins-ssh 16:18:02 Cloning the remote Git repository 16:18:02 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 16:18:02 > git init /w/workspace/device-virtual-go/1 # timeout=10 16:18:03 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:18:03 > git --version # timeout=10 16:18:03 > git --version # 'git version 2.25.1' 16:18:03 using GIT_SSH to set credentials SSH Credentials for GitHub 16:18:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:18:05 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:18:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:18:08 Merging remotes/origin/main commit 5a04d26f76890061c899b2731a9aad77e3e4418b into PR head commit 638768ea70981673b12c8b69a4bafc6105a0d46e 16:18:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:18:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:18:07 using GIT_SSH to set credentials SSH Credentials for GitHub 16:18:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/360/head:refs/remotes/origin/PR-360 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:18:08 > git config core.sparsecheckout # timeout=10 16:18:08 Merge succeeded, producing 638768ea70981673b12c8b69a4bafc6105a0d46e 16:18:08 Checking out Revision 638768ea70981673b12c8b69a4bafc6105a0d46e (PR-360) 16:18:09 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 16:18:09 > git --version # timeout=10 16:18:09 > git --version # 'git version 2.25.1' 16:18:09 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 16:18:08 > git checkout -f 638768ea70981673b12c8b69a4bafc6105a0d46e # timeout=10 16:18:08 > git remote # timeout=10 16:18:08 > git config --get remote.origin.url # timeout=10 16:18:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:18:08 > git merge 5a04d26f76890061c899b2731a9aad77e3e4418b # timeout=10 16:18:08 > git rev-parse HEAD^{commit} # timeout=10 16:18:08 > git config core.sparsecheckout # timeout=10 16:18:08 > git checkout -f 638768ea70981673b12c8b69a4bafc6105a0d46e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:18:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:18:10 % Total % Received % Xferd Average Speed Time Time Time Current 16:18:10 Dload Upload Total Spent Left Speed 16:18:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 16:18:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:18:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:18:11 + sudo tee /etc/docker/daemon.new 16:18:11 { 16:18:11 "registry-mirrors": [ 16:18:11 "https://nexus3.edgexfoundry.org:10001" 16:18:11 ], 16:18:11 "bip": "10.250.0.254/24", 16:18:11 "hosts": [ 16:18:11 "tcp://0.0.0.0:5555", 16:18:11 "unix:///var/run/docker.sock" 16:18:11 ], 16:18:11 "mtu": 1458, 16:18:11 "selinux-enabled": true, 16:18:11 "seccomp-profile": "/etc/docker/seccomp.json" 16:18:11 } [Pipeline] sh 16:18:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:18:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:18:31 provisioning config files... 16:18:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config4810957769015822896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:18:31 ---> docker-login.sh 16:18:31 nexus3.edgexfoundry.org:10001 16:18:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:32 Configure a credential helper to remove this warning. See 16:18:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:32 16:18:32 Login Succeeded 16:18:32 nexus3.edgexfoundry.org:10002 16:18:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:32 Configure a credential helper to remove this warning. See 16:18:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:32 16:18:32 Login Succeeded 16:18:32 nexus3.edgexfoundry.org:10003 16:18:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:33 Configure a credential helper to remove this warning. See 16:18:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:33 16:18:33 Login Succeeded 16:18:33 nexus3.edgexfoundry.org:10004 16:18:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:33 Configure a credential helper to remove this warning. See 16:18:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:33 16:18:33 Login Succeeded 16:18:33 docker.io 16:18:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:34 Configure a credential helper to remove this warning. See 16:18:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:34 16:18:34 Login Succeeded 16:18:34 ---> docker-login.sh ends [Pipeline] } 16:18:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:18:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:18:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:18:35 ========================================================= 16:18:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:18:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:18:36 Sending build context to Docker daemon 11.9MB 16:18:36 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:18:36 Step 2/12 : FROM ${BASE} AS builder 16:18:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:18:36 af6eaf76a39c: Pulling fs layer 16:18:36 55522c791124: Pulling fs layer 16:18:36 ce5c4a1c91eb: Pulling fs layer 16:18:36 169dfbe0d373: Pulling fs layer 16:18:36 e1ff8fa3b103: Pulling fs layer 16:18:36 52ebb69f0ebf: Pulling fs layer 16:18:36 5abe8eddf0d5: Pulling fs layer 16:18:36 169dfbe0d373: Waiting 16:18:36 e1ff8fa3b103: Waiting 16:18:36 52ebb69f0ebf: Waiting 16:18:36 5abe8eddf0d5: Waiting 16:18:36 55522c791124: Verifying Checksum 16:18:36 55522c791124: Download complete 16:18:36 169dfbe0d373: Verifying Checksum 16:18:36 169dfbe0d373: Download complete 16:18:36 e1ff8fa3b103: Verifying Checksum 16:18:36 e1ff8fa3b103: Download complete 16:18:36 af6eaf76a39c: Verifying Checksum 16:18:36 af6eaf76a39c: Download complete 16:18:37 af6eaf76a39c: Pull complete 16:18:38 55522c791124: Pull complete 16:18:39 5abe8eddf0d5: Verifying Checksum 16:18:39 5abe8eddf0d5: Download complete 16:18:40 ce5c4a1c91eb: Download complete 16:18:41 52ebb69f0ebf: Verifying Checksum 16:18:41 52ebb69f0ebf: Download complete 16:18:53 ce5c4a1c91eb: Pull complete 16:18:53 169dfbe0d373: Pull complete 16:18:53 e1ff8fa3b103: Pull complete 16:19:01 52ebb69f0ebf: Pull complete 16:19:02 5abe8eddf0d5: Pull complete 16:19:02 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 16:19:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:19:02 ---> 6cb57ee374ae 16:19:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:19:04 ---> Running in 103930ccce45 16:19:04 Removing intermediate container 103930ccce45 16:19:04 ---> 2df582fc52ee 16:19:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:19:04 ---> Running in 11abb07eef89 16:19:04 Removing intermediate container 11abb07eef89 16:19:04 ---> 95cd5ea6470d 16:19:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:19:05 ---> Running in c77e46931d39 16:19:05 Removing intermediate container c77e46931d39 16:19:05 ---> 0d2fc6086027 16:19:05 Step 6/12 : WORKDIR /device-virtual-go 16:19:05 ---> Running in f2c3ddba9853 16:19:05 Removing intermediate container f2c3ddba9853 16:19:05 ---> ca560b8481b1 16:19:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:19:05 ---> Running in a270a8c6f922 16:19:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:19:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:19:09 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:19:09 (2/4) Installing libedit (20221030.3.1-r0) 16:19:09 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:19:09 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:19:09 Executing busybox-1.35.0-r29.trigger 16:19:09 OK: 268 MiB in 57 packages 16:19:11 Removing intermediate container a270a8c6f922 16:19:11 ---> c1210f6f5ebc 16:19:11 Step 8/12 : COPY go.mod vendor* ./ 16:19:11 ---> 90165a5b8825 16:19:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:19:12 ---> Running in f64abb8c55aa 16:20:34 Removing intermediate container f64abb8c55aa 16:20:34 ---> 300c63c5bfda 16:20:34 Step 10/12 : COPY . . 16:20:34 ---> c8285d02d906 16:20:34 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:20:34 ---> Running in 7292a8a3d57f 16:20:34 Removing intermediate container 7292a8a3d57f 16:20:34 ---> 18f89097d3d0 16:20:34 Step 12/12 : RUN $MAKE 16:20:34 ---> Running in a7e15d3bec67 16:20:34 noop 16:20:34 Removing intermediate container a7e15d3bec67 16:20:34 ---> a5076917dcbc 16:20:34 Successfully built a5076917dcbc 16:20:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:34 + docker inspect -f . ci-base-image-arm64 16:20:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:20:35 prd-ubuntu20.04-docker-arm64-4c-16g-937 does not seem to be running inside a container 16:20:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:20:36 $ docker top ffd6707267cbe23b4c5e8784d20aae52ee5df3c5112804dcfc45b27758e01443 -eo pid,comm [Pipeline] { [Pipeline] sh 16:20:37 + go version 16:20:37 go version go1.20.2 linux/arm64 [Pipeline] } 16:20:37 $ docker stop --time=1 ffd6707267cbe23b4c5e8784d20aae52ee5df3c5112804dcfc45b27758e01443 16:20:39 $ docker rm -f --volumes ffd6707267cbe23b4c5e8784d20aae52ee5df3c5112804dcfc45b27758e01443 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:40 + docker inspect -f . ci-base-image-arm64 16:20:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:20:40 prd-ubuntu20.04-docker-arm64-4c-16g-937 does not seem to be running inside a container 16:20:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:20:42 $ docker top 125c2804444c1c2478b697cea18a17e2fe867143de5ed41eda8605491a0f6c4d -eo pid,comm [Pipeline] { [Pipeline] sh 16:20:43 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 16:20:43 + make test 16:20:43 go test ./... -coverprofile=coverage.out 16:21:22 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:24:14 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:24:14 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.146s coverage: 65.7% of statements 16:24:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:24:14 go vet ./... 16:24:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:24:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:24:36 ./bin/test-attribution-txt.sh [Pipeline] echo 16:24:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:24:36 $ docker stop --time=1 125c2804444c1c2478b697cea18a17e2fe867143de5ed41eda8605491a0f6c4d 16:24:38 $ docker rm -f --volumes 125c2804444c1c2478b697cea18a17e2fe867143de5ed41eda8605491a0f6c4d [Pipeline] // withDockerContainer [Pipeline] sh 16:24:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:24:40 Warning: overwriting stash ‘coverage-report’ 16:24:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:24:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:24:41 + ls -al . 16:24:41 total 188 16:24:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:20 . 16:24:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:18 .. 16:24:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:18 .git 16:24:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:18 .github 16:24:41 -rw-rw-r-- 1 jenkins jenkins 337 Mar 15 16:18 .gitignore 16:24:41 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:18 .golangci.yml 16:24:41 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 15 16:18 Attribution.txt 16:24:41 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 15 16:18 CHANGELOG.md 16:24:41 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 15 16:18 Dockerfile 16:24:41 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:18 GOVERNANCE.md 16:24:41 -rw-rw-r-- 1 jenkins jenkins 660 Mar 15 16:18 Jenkinsfile 16:24:41 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:18 LICENSE 16:24:41 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 15 16:18 Makefile 16:24:41 -rw-rw-r-- 1 jenkins jenkins 623 Mar 15 16:18 OWNERS.md 16:24:41 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 15 16:18 README.md 16:24:41 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:11 VERSION 16:24:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:18 bin 16:24:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:18 cmd 16:24:41 -rw-r--r-- 1 jenkins jenkins 44311 Mar 15 16:24 coverage.out 16:24:41 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 15 16:18 go.mod 16:24:41 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 15 16:18 go.sum 16:24:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:18 internal 16:24:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:18 snap 16:24:41 -rw-rw-r-- 1 jenkins jenkins 235 Mar 15 16:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:41 + 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=638768ea70981673b12c8b69a4bafc6105a0d46e --label arch=arm64 --label version=0.0.0 . 16:24:42 Sending build context to Docker daemon 11.95MB 16:24:42 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:24:42 Step 2/25 : FROM ${BASE} AS builder 16:24:42 ---> a5076917dcbc 16:24:42 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:24:42 ---> Running in 823e1a563fee 16:24:42 Removing intermediate container 823e1a563fee 16:24:42 ---> 7eba70ab3cc7 16:24:42 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:24:43 ---> Running in 9ba141d15512 16:24:43 Removing intermediate container 9ba141d15512 16:24:43 ---> e41a72a2302c 16:24:43 Step 5/25 : ARG ADD_BUILD_TAGS="" 16:24:43 ---> Running in 5bce5a48981f 16:24:43 Removing intermediate container 5bce5a48981f 16:24:43 ---> 9f3a6da35d68 16:24:43 Step 6/25 : WORKDIR /device-virtual-go 16:24:43 ---> Running in 7a0def6fd19e 16:24:44 Removing intermediate container 7a0def6fd19e 16:24:44 ---> 050a8d39f835 16:24:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:24:44 ---> Running in 59fcb505713c 16:24:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:24:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:24:46 OK: 268 MiB in 57 packages 16:24:47 Removing intermediate container 59fcb505713c 16:24:47 ---> 2f396ab337f1 16:24:47 Step 8/25 : COPY go.mod vendor* ./ 16:24:48 ---> c2b1ab23eaaf 16:24:48 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:24:48 ---> Running in 5e4248a96c92 16:24:51 Removing intermediate container 5e4248a96c92 16:24:51 ---> 0edf0bdefe67 16:24:51 Step 10/25 : COPY . . 16:24:52 ---> a0afb573bde9 16:24:52 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:24:52 ---> Running in 7907d7703647 16:24:52 Removing intermediate container 7907d7703647 16:24:52 ---> fddb757fe859 16:24:52 Step 12/25 : RUN $MAKE 16:24:53 ---> Running in 7ff9bedf8913 16:24:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 16:27:31 Removing intermediate container 7ff9bedf8913 16:27:31 ---> 8749df4198ed 16:27:31 Step 13/25 : FROM alpine:3.17 16:27:31 3.17: Pulling from library/alpine 16:27:31 af6eaf76a39c: Already exists 16:27:31 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:27:31 Status: Downloaded newer image for alpine:3.17 16:27:31 ---> d74e625d9115 16:27:31 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:27:31 ---> Running in e79f17875347 16:27:32 Removing intermediate container e79f17875347 16:27:32 ---> a4e823cf4b76 16:27:32 Step 15/25 : RUN apk add --update --no-cache dumb-init 16:27:32 ---> Running in 448b50eb60dc 16:27:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:27:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:27:35 (1/1) Installing dumb-init (1.2.5-r2) 16:27:35 Executing busybox-1.35.0-r29.trigger 16:27:35 OK: 8 MiB in 16 packages 16:27:37 Removing intermediate container 448b50eb60dc 16:27:37 ---> 2f7558ebb892 16:27:37 Step 16/25 : WORKDIR / 16:27:38 ---> Running in b8c521570322 16:27:39 Removing intermediate container b8c521570322 16:27:39 ---> 8f5291bce50e 16:27:39 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:27:40 ---> 33ed9c8315ac 16:27:40 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 16:27:41 ---> d93a1a4ff66c 16:27:41 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 16:27:42 ---> a7582d03708f 16:27:42 Step 20/25 : EXPOSE 59900 16:27:42 ---> Running in b561b1c9b1fd 16:27:43 Removing intermediate container b561b1c9b1fd 16:27:43 ---> fa05cc589707 16:27:43 Step 21/25 : ENTRYPOINT ["/device-virtual"] 16:27:43 ---> Running in 006e708b282e 16:27:43 Removing intermediate container 006e708b282e 16:27:43 ---> 880950b7e846 16:27:43 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:27:43 ---> Running in bc50479ee287 16:27:44 Removing intermediate container bc50479ee287 16:27:44 ---> aca44d396614 16:27:44 Step 23/25 : LABEL arch=arm64 16:27:44 ---> Running in c702423c72f9 16:27:44 Removing intermediate container c702423c72f9 16:27:44 ---> 1b5b9fdad647 16:27:44 Step 24/25 : LABEL git_sha=638768ea70981673b12c8b69a4bafc6105a0d46e 16:27:44 ---> Running in 227b32722b48 16:27:45 Removing intermediate container 227b32722b48 16:27:45 ---> a2baeeba3889 16:27:45 Step 25/25 : LABEL version=0.0.0 16:27:45 ---> Running in a43a26fca297 16:27:45 Removing intermediate container a43a26fca297 16:27:45 ---> b104ca9ea514 16:27:45 [Warning] One or more build-args [ARCH] were not consumed 16:27:45 Successfully built b104ca9ea514 16:27:45 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:27:46 16:27:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:27:47 arm64: Pulling from edgex-lftools-log-publisher 16:27:47 8998bd30e6a1: Pulling fs layer 16:27:47 04944245beec: Pulling fs layer 16:27:47 699f458cf7ca: Pulling fs layer 16:27:47 765212b225bb: Pulling fs layer 16:27:47 f23df028b6ca: Pulling fs layer 16:27:47 d65c8cfc05b1: Pulling fs layer 16:27:47 2437ff75d9bd: Pulling fs layer 16:27:47 765212b225bb: Waiting 16:27:47 f23df028b6ca: Waiting 16:27:47 d65c8cfc05b1: Waiting 16:27:47 2437ff75d9bd: Waiting 16:27:47 04944245beec: Verifying Checksum 16:27:47 04944245beec: Download complete 16:27:47 765212b225bb: Verifying Checksum 16:27:47 765212b225bb: Download complete 16:27:47 f23df028b6ca: Verifying Checksum 16:27:47 f23df028b6ca: Download complete 16:27:47 d65c8cfc05b1: Verifying Checksum 16:27:47 d65c8cfc05b1: Download complete 16:27:47 699f458cf7ca: Verifying Checksum 16:27:47 699f458cf7ca: Download complete 16:27:48 8998bd30e6a1: Verifying Checksum 16:27:48 8998bd30e6a1: Download complete 16:27:50 2437ff75d9bd: Verifying Checksum 16:27:50 2437ff75d9bd: Download complete 16:27:52 8998bd30e6a1: Pull complete 16:27:53 04944245beec: Pull complete 16:27:54 699f458cf7ca: Pull complete 16:27:54 765212b225bb: Pull complete 16:27:55 f23df028b6ca: Pull complete 16:27:55 d65c8cfc05b1: Pull complete 16:28:14 2437ff75d9bd: Pull complete 16:28:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:28:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:28:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:14 prd-ubuntu20.04-docker-arm64-4c-16g-937 does not seem to be running inside a container 16:28:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:28:17 $ docker top ac9f408f231889af684d2c61433de2cce5927cda58aff758fb3bf709d1089b82 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:28:18 ---> job-cost.sh 16:28:18 lf-activate-venv: SKIPPING 16:28:18 INFO: No Stack... 16:28:19 INFO: Retrieving Pricing Info for: v3-standard-4 16:28:19 INFO: Archiving Costs [Pipeline] sh 16:28:20 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 16:28:20 + cut -d, -f6 [Pipeline] lock 16:28:20 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-360-1-stack-cost] 16:28:20 Resource [jenkins-edgexfoundry-device-virtual-go-PR-360-1-stack-cost] did not exist. Created. 16:28:20 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-360-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:28:21 /w/workspace/device-virtual-go/1@tmp/durable-1f4f8ad4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:28:22 + echo total: 0.10999999940395355 [Pipeline] stash 16:28:22 Warning: overwriting stash ‘stack-cost’ 16:28:22 Stashed 1 file(s) [Pipeline] } 16:28:22 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-360-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:28:22 $ docker stop --time=1 ac9f408f231889af684d2c61433de2cce5927cda58aff758fb3bf709d1089b82 16:28:23 $ docker rm -f --volumes ac9f408f231889af684d2c61433de2cce5927cda58aff758fb3bf709d1089b82 [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 16:28:24 provisioning config files... 16:28:24 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-360@tmp/config2895890664189591357tmp [Pipeline] { [Pipeline] sh 16:28:25 + set +x 16:28:25 + bash -s -- 16:28:25 + curl -s https://codecov.io/bash 16:28:25 16:28:25 _____ _ 16:28:25 / ____| | | 16:28:25 | | ___ __| | ___ ___ _____ __ 16:28:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:28:25 | |___| (_) | (_| | __/ (_| (_) \ V / 16:28:25 \_____\___/ \__,_|\___|\___\___/ \_/ 16:28:25 Bash-1.0.6 16:28:25 16:28:25 16:28:25 ==> git version 2.25.1 found 16:28:25 ==> 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 16:28:25 Release-Date: 2020-01-08 16:28:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:28:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:28:25 ==> Jenkins CI detected. 16:28:25 current dir:  /w/workspace/foundry_device-virtual-go_PR-360 16:28:25 project root: . 16:28:25 --> token set from env 16:28:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:28:25 ==> Running gcov in . (disable via -X gcov) 16:28:25 ==> Python coveragepy not found 16:28:25 ==> Searching for coverage reports in: 16:28:25 + . 16:28:25 -> Found 1 reports 16:28:25 ==> Detecting git/mercurial file structure 16:28:25 ==> Reading reports 16:28:25 + ./coverage.out bytes=44311 16:28:25 ==> Appending adjustments 16:28:25 https://docs.codecov.io/docs/fixing-reports 16:28:25 + Found adjustments 16:28:25 ==> Gzipping contents 16:28:25 8.0K /tmp/codecov.xYQStM.gz 16:28:25 ==> Uploading reports 16:28:25 url: https://codecov.io 16:28:25 query: branch=PR-360&commit=638768ea70981673b12c8b69a4bafc6105a0d46e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-360%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=360&job=&cmd_args= 16:28:25 -> Pinging Codecov 16:28:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-360&commit=638768ea70981673b12c8b69a4bafc6105a0d46e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-360%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=360&job=&cmd_args= 16:28:25 -> Uploading to 16:28:25 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/5E52B4B073DB2E39498172D8E973AA87/638768ea70981673b12c8b69a4bafc6105a0d46e/eb95266a-6ac5-4325-b70c-ae200b9eccfe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T162825Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a41310d54b764584f480f9bcb81f239e6f5fbc26db0c224826944f210d8128cc 16:28:25 % Total % Received % Xferd Average Speed Time Time Time Current 16:28:25 Dload Upload Total Spent Left Speed 16:28:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5430 0 0 100 5430 0 23205 --:--:-- --:--:-- --:--:-- 23205 16:28:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/638768ea70981673b12c8b69a4bafc6105a0d46e [Pipeline] } 16:28:25 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 16:28:27 + [ -d /w/workspace/foundry_device-virtual-go_PR-360/archives ] 16:28:27 + ls -al /w/workspace/foundry_device-virtual-go_PR-360/archives 16:28:27 total 16 16:28:27 drwxr-xr-x 3 root root 4096 Mar 15 16:12 . 16:28:27 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:12 .. 16:28:27 drwxr-xr-x 2 root root 4096 Mar 15 16:12 cost 16:28:27 -rw-r--r-- 1 root root 89 Mar 15 16:12 cost.csv 16:28:27 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-360/archives 16:28:27 + ls -al /w/workspace/foundry_device-virtual-go_PR-360/archives 16:28:27 total 16 16:28:27 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:12 . 16:28:27 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:12 .. 16:28:27 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:12 cost 16:28:27 -rw-r--r-- 1 jenkins jenkins 89 Mar 15 16:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:28:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:28:28 ---> package-listing.sh 16:28:28 ++ facter osfamily 16:28:28 ++ tr '[:upper:]' '[:lower:]' 16:28:29 + OS_FAMILY=debian 16:28:29 + workspace=/w/workspace/foundry_device-virtual-go_PR-360 16:28:29 + START_PACKAGES=/tmp/packages_start.txt 16:28:29 + END_PACKAGES=/tmp/packages_end.txt 16:28:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:28:29 + PACKAGES=/tmp/packages_start.txt 16:28:29 + '[' /w/workspace/foundry_device-virtual-go_PR-360 ']' 16:28:29 + PACKAGES=/tmp/packages_end.txt 16:28:29 + case "${OS_FAMILY}" in 16:28:29 + dpkg -l 16:28:29 + grep '^ii' 16:28:29 + '[' -f /tmp/packages_start.txt ']' 16:28:29 + '[' -f /tmp/packages_end.txt ']' 16:28:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:28:29 + '[' /w/workspace/foundry_device-virtual-go_PR-360 ']' 16:28:29 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-360/archives/ 16:28:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-360/archives/ [Pipeline] echo 16:28:29 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-360/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:28:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:28:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:30 prd-ubuntu20.04-docker-8c-8g-854 does not seem to be running inside a container 16:28:30 $ 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-360/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-360 -v /w/workspace/foundry_device-virtual-go_PR-360:/w/workspace/foundry_device-virtual-go_PR-360:rw,z -v /w/workspace/foundry_device-virtual-go_PR-360@tmp:/w/workspace/foundry_device-virtual-go_PR-360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:28:30 $ docker top 2d0809b2b2252d20aaf1dfec81182fbb2a3bb263729a26a43a01e6881501d0c2 -eo pid,comm [Pipeline] { [Pipeline] sh 16:28:30 + touch /tmp/pre-build-complete [Pipeline] sh 16:28:31 + mkdir -p /var/log/sysstat [Pipeline] sh 16:28:31 + ls /var/log/sa-host 16:28:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:28:31 provisioning config files... 16:28:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-360@tmp/config3256045466741031202tmp [Pipeline] { [Pipeline] echo 16:28:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:28:32 ---> create-netrc.sh [Pipeline] } 16:28:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:28:32 ---> python-tools-install.sh [Pipeline] echo 16:28:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:28:32 ---> sudo-logs.sh 16:28:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:28:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:28:33 ---> job-cost.sh 16:28:33 lf-activate-venv: SKIPPING 16:28:33 DEBUG: total: 0.2199999988079071 16:28:33 INFO: Retrieving Stack Cost... 16:28:33 INFO: Retrieving Pricing Info for: v3-standard-8 16:28:34 INFO: Archiving Costs [Pipeline] echo 16:28:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:28:34 ---> logs-deploy.sh 16:28:34 lf-activate-venv: SKIPPING 16:28:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-360/1 16:28:34 INFO: archiving workspace using pattern(s): 16:28:35 Archives upload complete. 16:28:35 INFO: archiving logs to Nexus