Pull request #316 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d+9a1b535985cde1136af0b2835ff927b495d73fc1 (030b7e171206bb76102a0891385c4b7bb1630a78) 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-ssh5786904001759771320.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh12473170996800207988.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-316/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-316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4678420408348211796.key Verifying host key using known hosts file > 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-316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3877942648298047469.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh2064521560904272632.key Verifying host key using known hosts file > 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-316/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-316/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14193661056431434309.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9284 in /w/workspace/foundry_device-virtual-go_PR-316 [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-316 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/316/head:refs/remotes/origin/PR-316 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9a1b535985cde1136af0b2835ff927b495d73fc1 into PR head commit 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d Merge succeeded, producing 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d Checking out Revision 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d (PR-316) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:04:05 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 9a1b535985cde1136af0b2835ff927b495d73fc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:04:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:04:05 ========================================================= 11:04:05 EdgeX Global Pipelines Version Info 11:04:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:04:06 ------------------- 11:04:06 stable info: 11:04:06 ------------------- 11:04:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:04:06 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 11:04:06 Message: update stable to v1.0.243 11:04:07 ------------------- 11:04:07 experimental info: 11:04:07 ------------------- 11:04:07 Commited By: **** collab-it+edgex@linuxfoundation.org 11:04:07 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 11:04:07 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:04:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:04:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:04:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:04:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:04:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:04:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 11:04:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:04:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:04:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:04:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:04:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:04:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-316 [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-316 [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-316 [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 032d273 [Pipeline] echo 11:04:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:04:08 provisioning config files... 11:04:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-316@tmp/config7800681506963708742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:09 ---> docker-login.sh 11:04:09 nexus3.edgexfoundry.org:10001 11:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:09 Configure a credential helper to remove this warning. See 11:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:09 11:04:09 Login Succeeded 11:04:09 nexus3.edgexfoundry.org:10002 11:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:09 Configure a credential helper to remove this warning. See 11:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:09 11:04:09 Login Succeeded 11:04:09 nexus3.edgexfoundry.org:10003 11:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:10 Configure a credential helper to remove this warning. See 11:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:10 11:04:10 Login Succeeded 11:04:10 nexus3.edgexfoundry.org:10004 11:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:10 Configure a credential helper to remove this warning. See 11:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:10 11:04:10 Login Succeeded 11:04:10 docker.io 11:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:10 Configure a credential helper to remove this warning. See 11:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:10 11:04:10 Login Succeeded 11:04:10 ---> docker-login.sh ends [Pipeline] } 11:04:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:04:11 + git rev-list -1 --merges 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d~1..032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [Pipeline] echo 11:04:11 -----------> git rev-list -1 --merges 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d~1..032d273fa8e4039d8a1ad9084ba8abb70caa6d8d 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [false] [Pipeline] sh 11:04:11 + git log --format=format:%s -1 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [Pipeline] echo 11:04:11 ========================================================= 11:04:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:04:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:04:12 + git log --format=format:%s -1 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [Pipeline] echo 11:04:12 [semverPrep] GIT_COMMIT: 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 11:04:12 [semverPrep] This is not a build commit. [Pipeline] sh 11:04:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:04:12 + grep -v github /etc/ssh/ssh_known_hosts 11:04:12 + [ -e /tmp/ssh_known_hosts ] 11:04:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:04:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:04:12 + sudo tee -a /etc/ssh/ssh_known_hosts 11:04:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:04:12 11:04:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:04:13 0.1.4: Pulling from edgex-devops/py-git-semver 11:04:13 b85a868b505f: Pulling fs layer 11:04:13 e2be974225ed: Pulling fs layer 11:04:13 339a4e72a1f5: Pulling fs layer 11:04:13 988bab9f4d93: Pulling fs layer 11:04:13 1469e6f7b9e6: Pulling fs layer 11:04:13 988bab9f4d93: Waiting 11:04:13 eaf3925da568: Pulling fs layer 11:04:13 bab4dde63d76: Pulling fs layer 11:04:13 1469e6f7b9e6: Waiting 11:04:13 eaf3925da568: Waiting 11:04:13 bde34c3a00c8: Pulling fs layer 11:04:13 b352a97aabf1: Pulling fs layer 11:04:13 bab4dde63d76: Waiting 11:04:13 bde34c3a00c8: Waiting 11:04:13 b352a97aabf1: Waiting 11:04:13 4872d77fe225: Pulling fs layer 11:04:13 5851b861e8e6: Pulling fs layer 11:04:13 4872d77fe225: Waiting 11:04:13 e2be974225ed: Download complete 11:04:13 988bab9f4d93: Verifying Checksum 11:04:13 339a4e72a1f5: Verifying Checksum 11:04:13 339a4e72a1f5: Download complete 11:04:13 eaf3925da568: Download complete 11:04:13 1469e6f7b9e6: Verifying Checksum 11:04:13 1469e6f7b9e6: Download complete 11:04:13 bde34c3a00c8: Download complete 11:04:13 b352a97aabf1: Verifying Checksum 11:04:13 b352a97aabf1: Download complete 11:04:13 4872d77fe225: Verifying Checksum 11:04:13 4872d77fe225: Download complete 11:04:13 b85a868b505f: Download complete 11:04:13 5851b861e8e6: Verifying Checksum 11:04:13 5851b861e8e6: Download complete 11:04:13 bab4dde63d76: Verifying Checksum 11:04:13 bab4dde63d76: Download complete 11:04:15 b85a868b505f: Pull complete 11:04:15 e2be974225ed: Pull complete 11:04:15 339a4e72a1f5: Pull complete 11:04:15 988bab9f4d93: Pull complete 11:04:16 1469e6f7b9e6: Pull complete 11:04:16 eaf3925da568: Pull complete 11:04:17 bab4dde63d76: Pull complete 11:04:18 bde34c3a00c8: Pull complete 11:04:18 b352a97aabf1: Pull complete 11:04:18 4872d77fe225: Pull complete 11:04:18 5851b861e8e6: Pull complete 11:04:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:04:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:04:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:04:18 prd-ubuntu20.04-docker-8c-8g-9284 does not seem to be running inside a container 11:04:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-316 -v /w/workspace/foundry_device-virtual-go_PR-316:/w/workspace/foundry_device-virtual-go_PR-316:rw,z -v /w/workspace/foundry_device-virtual-go_PR-316@tmp:/w/workspace/foundry_device-virtual-go_PR-316@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 11:04:21 $ docker top e7a8bc2ecc649664602769a4ee2584d18bb367931ac13abaa770e1d3c3f7bab7 -eo pid,comm 11:04:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:04:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:04:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:21 [ssh-agent] Looking for ssh-agent implementation... 11:04:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:21 $ docker exec e7a8bc2ecc649664602769a4ee2584d18bb367931ac13abaa770e1d3c3f7bab7 ssh-agent 11:04:21 SSH_AUTH_SOCK=/tmp/ssh-Wmju4brCeZc3/agent.32 11:04:21 SSH_AGENT_PID=38 11:04:21 Running ssh-add (command line suppressed) 11:04:21 Identity added: /w/workspace/foundry_device-virtual-go_PR-316@tmp/private_key_12348795477282812934.key (/w/workspace/foundry_device-virtual-go_PR-316@tmp/private_key_12348795477282812934.key) 11:04:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:22 + git tag --points-at HEAD [Pipeline] } 11:04:22 $ docker exec --env ******** --env ******** e7a8bc2ecc649664602769a4ee2584d18bb367931ac13abaa770e1d3c3f7bab7 ssh-agent -k 11:04:22 unset SSH_AUTH_SOCK; 11:04:22 unset SSH_AGENT_PID; 11:04:22 echo Agent pid 38 killed; 11:04:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:04:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:22 [ssh-agent] Looking for ssh-agent implementation... 11:04:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:22 $ docker exec e7a8bc2ecc649664602769a4ee2584d18bb367931ac13abaa770e1d3c3f7bab7 ssh-agent 11:04:22 SSH_AUTH_SOCK=/tmp/ssh-AfI9JNm86awb/agent.70 11:04:22 SSH_AGENT_PID=76 11:04:22 Running ssh-add (command line suppressed) 11:04:22 Identity added: /w/workspace/foundry_device-virtual-go_PR-316@tmp/private_key_14864661707625268699.key (/w/workspace/foundry_device-virtual-go_PR-316@tmp/private_key_14864661707625268699.key) 11:04:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:23 + git semver init 11:04:23 2022-10-24 11:04:23,273 [run_init] DEBUG init version:0.0.0 force:False 11:04:23 2022-10-24 11:04:23,273 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-316/.semver 11:04:23 2022-10-24 11:04:23,274 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-316/.semver 11:04:23 2022-10-24 11:04:23,274 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-316/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-316, universal_newlines=False, shell=None, istream=None) 11:04:24 2022-10-24 11:04:24,531 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-316/.git/info/exclude 11:04:24 2022-10-24 11:04:24,532 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-316/.semver/PR-316 with force:False 11:04:24 2022-10-24 11:04:24,533 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-316/.semver/PR-316 11:04:24 2022-10-24 11:04:24,537 [execute] INFO git cat-file --batch-check 11:04:24 2022-10-24 11:04:24,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-316/.semver, universal_newlines=False, shell=None, istream=) 11:04:24 2022-10-24 11:04:24,545 [execute] INFO git cat-file --batch 11:04:24 2022-10-24 11:04:24,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-316/.semver, universal_newlines=False, shell=None, istream=) 11:04:24 2022-10-24 11:04:24,553 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-316/.semver/PR-316 11:04:24 0.0.0 [Pipeline] } 11:04:24 $ docker exec --env ******** --env ******** e7a8bc2ecc649664602769a4ee2584d18bb367931ac13abaa770e1d3c3f7bab7 ssh-agent -k 11:04:24 unset SSH_AUTH_SOCK; 11:04:24 unset SSH_AGENT_PID; 11:04:24 echo Agent pid 76 killed; 11:04:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:04:25 + git semver [Pipeline] } 11:04:25 $ docker stop --time=1 e7a8bc2ecc649664602769a4ee2584d18bb367931ac13abaa770e1d3c3f7bab7 11:04:26 $ docker rm -f e7a8bc2ecc649664602769a4ee2584d18bb367931ac13abaa770e1d3c3f7bab7 [Pipeline] // withDockerContainer [Pipeline] sh 11:04:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:04:27 Stashed 1 file(s) [Pipeline] echo 11:04:27 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:04:28 provisioning config files... 11:04:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-316@tmp/config15163741777028497777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:28 ---> docker-login.sh 11:04:28 nexus3.edgexfoundry.org:10001 11:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:28 Configure a credential helper to remove this warning. See 11:04:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:28 11:04:28 Login Succeeded 11:04:28 nexus3.edgexfoundry.org:10002 11:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:28 Configure a credential helper to remove this warning. See 11:04:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:28 11:04:28 Login Succeeded 11:04:28 nexus3.edgexfoundry.org:10003 11:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:28 Configure a credential helper to remove this warning. See 11:04:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:28 11:04:28 Login Succeeded 11:04:28 nexus3.edgexfoundry.org:10004 11:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:28 Configure a credential helper to remove this warning. See 11:04:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:28 11:04:28 Login Succeeded 11:04:28 docker.io 11:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:29 Configure a credential helper to remove this warning. See 11:04:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:29 11:04:29 Login Succeeded 11:04:29 ---> docker-login.sh ends [Pipeline] } 11:04:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:04:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:04:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:04:29 ========================================================= 11:04:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 11:04:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 11:04:29 Sending build context to Docker daemon 23.23MB 11:04:29 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 11:04:29 Step 2/13 : FROM ${BASE} AS builder 11:04:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 11:04:29 213ec9aee27d: Pulling fs layer 11:04:29 4583459ba037: Pulling fs layer 11:04:29 93c1e223e6f2: Pulling fs layer 11:04:29 53926ce57604: Pulling fs layer 11:04:29 21b2b0c7a3f4: Pulling fs layer 11:04:29 30f14e443154: Pulling fs layer 11:04:29 801331c1e519: Pulling fs layer 11:04:29 99cc6dd402b0: Pulling fs layer 11:04:30 7d9ed39f4882: Pulling fs layer 11:04:30 21b2b0c7a3f4: Waiting 11:04:30 801331c1e519: Waiting 11:04:30 99cc6dd402b0: Waiting 11:04:30 30f14e443154: Waiting 11:04:30 93c1e223e6f2: Verifying Checksum 11:04:30 93c1e223e6f2: Download complete 11:04:30 4583459ba037: Download complete 11:04:30 21b2b0c7a3f4: Download complete 11:04:30 30f14e443154: Download complete 11:04:30 213ec9aee27d: Verifying Checksum 11:04:30 213ec9aee27d: Download complete 11:04:30 801331c1e519: Verifying Checksum 11:04:30 801331c1e519: Download complete 11:04:30 213ec9aee27d: Pull complete 11:04:30 4583459ba037: Pull complete 11:04:30 7d9ed39f4882: Verifying Checksum 11:04:30 7d9ed39f4882: Download complete 11:04:30 93c1e223e6f2: Pull complete 11:04:31 53926ce57604: Verifying Checksum 11:04:31 53926ce57604: Download complete 11:04:31 99cc6dd402b0: Verifying Checksum 11:04:31 99cc6dd402b0: Download complete 11:04:35 53926ce57604: Pull complete 11:04:35 21b2b0c7a3f4: Pull complete 11:04:35 30f14e443154: Pull complete 11:04:35 801331c1e519: Pull complete 11:04:37 99cc6dd402b0: Pull complete 11:04:37 7d9ed39f4882: Pull complete 11:04:37 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 11:04:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 11:04:37 ---> 1dedd983c030 11:04:37 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:04:40 ---> Running in 07bb09051800 11:04:40 Removing intermediate container 07bb09051800 11:04:40 ---> 9b66e17564c7 11:04:40 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 11:04:40 ---> Running in 86c38828db72 11:04:40 Removing intermediate container 86c38828db72 11:04:40 ---> 9058b1b8df89 11:04:40 Step 5/13 : ARG ADD_BUILD_TAGS="" 11:04:40 ---> Running in 5f1bc725b596 11:04:40 Removing intermediate container 5f1bc725b596 11:04:40 ---> 347bf2214af4 11:04:40 Step 6/13 : WORKDIR /device-virtual-go 11:04:40 ---> Running in 34741b2c00bb 11:04:41 Removing intermediate container 34741b2c00bb 11:04:41 ---> ea1b62c1d6ac 11:04:41 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:04:41 ---> Running in 9a4d37e4e963 11:04:41 Removing intermediate container 9a4d37e4e963 11:04:41 ---> ae60bd6ff1ea 11:04:41 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:04:41 ---> Running in 0c01ab7027b2 11:04:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:04:42 Still waiting to schedule task 11:04:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:04:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:04:43 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:04:43 (2/4) Installing libedit (20210910.3.1-r0) 11:04:43 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:04:43 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:04:43 Executing busybox-1.35.0-r17.trigger 11:04:43 OK: 216 MiB in 55 packages 11:04:44 Removing intermediate container 0c01ab7027b2 11:04:44 ---> d6c0d476d887 11:04:44 Step 9/13 : COPY go.mod vendor* ./ 11:04:44 ---> d5d71d5a46a8 11:04:44 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:04:44 ---> Running in 40bf8b003579 11:05:10 Removing intermediate container 40bf8b003579 11:05:10 ---> 39f76e968413 11:05:10 Step 11/13 : COPY . . 11:05:10 ---> abed96f5c65b 11:05:10 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:05:10 ---> Running in c13d77eeea6c 11:05:10 Removing intermediate container c13d77eeea6c 11:05:10 ---> 078d47cad1a6 11:05:10 Step 13/13 : RUN $MAKE 11:05:10 ---> Running in ba044e07dd30 11:05:10 noop 11:05:10 Removing intermediate container ba044e07dd30 11:05:10 ---> a8aea3326043 11:05:10 Successfully built a8aea3326043 11:05:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:11 + docker inspect -f . ci-base-image-x86_64 11:05:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:11 prd-ubuntu20.04-docker-8c-8g-9284 does not seem to be running inside a container 11:05:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-316 -v /w/workspace/foundry_device-virtual-go_PR-316:/w/workspace/foundry_device-virtual-go_PR-316:rw,z -v /w/workspace/foundry_device-virtual-go_PR-316@tmp:/w/workspace/foundry_device-virtual-go_PR-316@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 11:05:11 $ docker top d6a1604608c41cfe8975c5ae8a8eaaf605a85e3f90df943e79da0cb8ff22ff91 -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:12 + go version 11:05:12 go version go1.18.7 linux/amd64 [Pipeline] } 11:05:12 $ docker stop --time=1 d6a1604608c41cfe8975c5ae8a8eaaf605a85e3f90df943e79da0cb8ff22ff91 11:05:13 $ docker rm -f d6a1604608c41cfe8975c5ae8a8eaaf605a85e3f90df943e79da0cb8ff22ff91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:14 + docker inspect -f . ci-base-image-x86_64 11:05:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:14 prd-ubuntu20.04-docker-8c-8g-9284 does not seem to be running inside a container 11:05:14 $ 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-316 -v /w/workspace/foundry_device-virtual-go_PR-316:/w/workspace/foundry_device-virtual-go_PR-316:rw,z -v /w/workspace/foundry_device-virtual-go_PR-316@tmp:/w/workspace/foundry_device-virtual-go_PR-316@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 11:05:14 $ docker top 9a79320ab23a838e2cd8fb5fbecb8560d7e9e666a31380cf6f4e5404955657d6 -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:14 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-316 [Pipeline] fileExists [Pipeline] sh 11:05:16 + make test 11:05:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:05:16 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:05:24 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:05:24 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements 11:05:31 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 11:05:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:05:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:05:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:05:34 ./bin/test-attribution-txt.sh [Pipeline] echo 11:05:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:05:34 $ docker stop --time=1 9a79320ab23a838e2cd8fb5fbecb8560d7e9e666a31380cf6f4e5404955657d6 11:05:36 $ docker rm -f 9a79320ab23a838e2cd8fb5fbecb8560d7e9e666a31380cf6f4e5404955657d6 [Pipeline] // withDockerContainer [Pipeline] sh 11:05:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:05:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:05:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:05:37 + ls -al . 11:05:37 total 204 11:05:37 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 11:05 . 11:05:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 11:04 .. 11:05:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 11:05 .git 11:05:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 11:04 .github 11:05:37 -rw-rw-r-- 1 jenkins jenkins 337 Oct 24 11:04 .gitignore 11:05:37 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 11:04 .golangci.yml 11:05:37 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 11:04 .semver 11:05:37 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 24 11:04 Attribution.txt 11:05:37 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 24 11:04 CHANGELOG.md 11:05:37 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 24 11:04 Dockerfile 11:05:37 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 11:04 GOVERNANCE.md 11:05:37 -rw-rw-r-- 1 jenkins jenkins 660 Oct 24 11:04 Jenkinsfile 11:05:37 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 11:04 LICENSE 11:05:37 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 24 11:04 Makefile 11:05:37 -rw-rw-r-- 1 jenkins jenkins 623 Oct 24 11:04 OWNERS.md 11:05:37 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 24 11:04 README.md 11:05:37 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 11:04 VERSION 11:05:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 11:04 bin 11:05:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 11:04 cmd 11:05:37 -rw-r--r-- 1 jenkins jenkins 44128 Oct 24 11:05 coverage.out 11:05:37 -rw-rw-r-- 1 jenkins jenkins 3387 Oct 24 11:04 go.mod 11:05:37 -rw-rw-r-- 1 jenkins jenkins 44541 Oct 24 11:04 go.sum 11:05:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 11:04 internal 11:05:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 11:04 snap 11:05:37 -rw-rw-r-- 1 jenkins jenkins 235 Oct 24 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:38 + 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=032d273fa8e4039d8a1ad9084ba8abb70caa6d8d --label arch=amd64 --label version=0.0.0 . 11:05:38 Sending build context to Docker daemon 23.28MB 11:05:38 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 11:05:38 Step 2/27 : FROM ${BASE} AS builder 11:05:38 ---> a8aea3326043 11:05:38 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:05:38 ---> Running in c06d2f877804 11:05:38 Removing intermediate container c06d2f877804 11:05:38 ---> 9258c6ecfd88 11:05:38 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 11:05:38 ---> Running in 039e6a57e9bc 11:05:38 Removing intermediate container 039e6a57e9bc 11:05:38 ---> fedee14089ec 11:05:38 Step 5/27 : ARG ADD_BUILD_TAGS="" 11:05:38 ---> Running in f894d39e397d 11:05:38 Removing intermediate container f894d39e397d 11:05:38 ---> 078768a16da8 11:05:38 Step 6/27 : WORKDIR /device-virtual-go 11:05:38 ---> Running in bf5a705a9a6f 11:05:38 Removing intermediate container bf5a705a9a6f 11:05:38 ---> d2a1346c30a3 11:05:38 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:05:38 ---> Running in fb49c17179bb 11:05:39 Removing intermediate container fb49c17179bb 11:05:39 ---> 8eb3cea021db 11:05:39 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:05:39 ---> Running in bd7ef95b71b7 11:05:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:05:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:05:41 OK: 216 MiB in 55 packages 11:05:41 Removing intermediate container bd7ef95b71b7 11:05:41 ---> d7dc892d4018 11:05:41 Step 9/27 : COPY go.mod vendor* ./ 11:05:41 ---> 2472d8a146e6 11:05:41 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:05:41 ---> Running in f72c8a8a97b1 11:05:42 Removing intermediate container f72c8a8a97b1 11:05:42 ---> 02cabad46420 11:05:42 Step 11/27 : COPY . . 11:05:42 ---> f6733f6f515e 11:05:42 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:05:42 ---> Running in dc505bc29065 11:05:42 Removing intermediate container dc505bc29065 11:05:42 ---> c19e522a7da2 11:05:42 Step 13/27 : RUN $MAKE 11:05:42 ---> Running in a3be380bd76e 11:05:43 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:06:04 Removing intermediate container a3be380bd76e 11:06:04 ---> 4abf6548cf25 11:06:04 Step 14/27 : FROM alpine:3.16 11:06:04 3.16: Pulling from library/alpine 11:06:04 213ec9aee27d: Already exists 11:06:04 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:06:04 Status: Downloaded newer image for alpine:3.16 11:06:04 ---> 9c6f07244728 11:06:04 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:06:04 ---> Running in bf5853286531 11:06:04 Removing intermediate container bf5853286531 11:06:04 ---> bfdbeb8f159e 11:06:04 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:04 ---> Running in 931ae45adc22 11:06:05 Removing intermediate container 931ae45adc22 11:06:05 ---> ecd79d357e06 11:06:05 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 11:06:05 ---> Running in 473052f956b9 11:06:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:06:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:06:06 (1/6) Installing dumb-init (1.2.5-r1) 11:06:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:06:07 (3/6) Installing libsodium (1.0.18-r0) 11:06:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:06:07 (5/6) Installing libzmq (4.3.4-r0) 11:06:07 (6/6) Installing zeromq (4.3.4-r0) 11:06:07 Executing busybox-1.35.0-r17.trigger 11:06:07 OK: 8 MiB in 20 packages 11:06:08 Removing intermediate container 473052f956b9 11:06:08 ---> 6ebb76df2146 11:06:08 Step 18/27 : WORKDIR / 11:06:08 ---> Running in e6f8ff63d1a3 11:06:08 Removing intermediate container e6f8ff63d1a3 11:06:08 ---> b5ed52110ab0 11:06:08 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:06:08 ---> 79a2ddac2928 11:06:08 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 11:06:08 ---> 43d494388707 11:06:08 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 11:06:09 ---> 0aa28a0dc202 11:06:09 Step 22/27 : EXPOSE 59900 11:06:09 ---> Running in d72af06f994d 11:06:09 Removing intermediate container d72af06f994d 11:06:09 ---> c75d5d0eadba 11:06:09 Step 23/27 : ENTRYPOINT ["/device-virtual"] 11:06:09 ---> Running in 0cd8d68e7797 11:06:09 Removing intermediate container 0cd8d68e7797 11:06:09 ---> 6dbd23ff9f3a 11:06:09 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:06:09 ---> Running in ba5878058863 11:06:09 Removing intermediate container ba5878058863 11:06:09 ---> 1738a1977151 11:06:09 Step 25/27 : LABEL arch=amd64 11:06:09 ---> Running in 8b4b7d8c1313 11:06:09 Removing intermediate container 8b4b7d8c1313 11:06:09 ---> 28f72ca19f31 11:06:09 Step 26/27 : LABEL git_sha=032d273fa8e4039d8a1ad9084ba8abb70caa6d8d 11:06:09 ---> Running in 35cef022ee39 11:06:09 Removing intermediate container 35cef022ee39 11:06:09 ---> 4d9d850a62c2 11:06:09 Step 27/27 : LABEL version=0.0.0 11:06:09 ---> Running in 2f6af7f081af 11:06:09 Removing intermediate container 2f6af7f081af 11:06:09 ---> 37a99fda2f3f 11:06:09 [Warning] One or more build-args [ARCH] were not consumed 11:06:09 Successfully built 37a99fda2f3f 11:06:09 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:10 11:06:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:10 latest: Pulling from edgex-lftools-log-publisher 11:06:10 5eb5b503b376: Pulling fs layer 11:06:10 5c69ac0246d0: Pulling fs layer 11:06:10 ec43610c2a17: Pulling fs layer 11:06:10 3a2ae6a8a46f: Pulling fs layer 11:06:10 33b1e0a273af: Pulling fs layer 11:06:10 5d3b04190fa2: Pulling fs layer 11:06:10 2f39f015ded8: Pulling fs layer 11:06:10 33b1e0a273af: Waiting 11:06:10 3a2ae6a8a46f: Waiting 11:06:10 5d3b04190fa2: Waiting 11:06:10 2f39f015ded8: Waiting 11:06:10 5c69ac0246d0: Verifying Checksum 11:06:10 5c69ac0246d0: Download complete 11:06:10 3a2ae6a8a46f: Verifying Checksum 11:06:10 3a2ae6a8a46f: Download complete 11:06:10 33b1e0a273af: Verifying Checksum 11:06:10 33b1e0a273af: Download complete 11:06:10 5d3b04190fa2: Verifying Checksum 11:06:10 5d3b04190fa2: Download complete 11:06:11 ec43610c2a17: Verifying Checksum 11:06:11 ec43610c2a17: Download complete 11:06:11 5eb5b503b376: Verifying Checksum 11:06:11 5eb5b503b376: Download complete 11:06:11 2f39f015ded8: Download complete 11:06:12 5eb5b503b376: Pull complete 11:06:12 5c69ac0246d0: Pull complete 11:06:12 ec43610c2a17: Pull complete 11:06:12 3a2ae6a8a46f: Pull complete 11:06:13 33b1e0a273af: Pull complete 11:06:13 5d3b04190fa2: Pull complete 11:06:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9285 in /w/workspace/foundry_device-virtual-go_PR-316 [Pipeline] { [Pipeline] ws 11:06:17 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:06:17 The recommended git tool is: git 11:06:18 2f39f015ded8: Pull complete 11:06:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:06:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:06:18 prd-ubuntu20.04-docker-8c-8g-9284 does not seem to be running inside a container 11:06:18 $ 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-316 -v /w/workspace/foundry_device-virtual-go_PR-316:/w/workspace/foundry_device-virtual-go_PR-316:rw,z -v /w/workspace/foundry_device-virtual-go_PR-316@tmp:/w/workspace/foundry_device-virtual-go_PR-316@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 11:06:21 $ docker top 5c658767a3159c485446cd8eeeecc7e47ffce55c92515a73a3a0870250913e14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:22 ---> job-cost.sh 11:06:22 lf-activate-venv: SKIPPING 11:06:22 INFO: No Stack... 11:06:22 using credential edgex-jenkins-ssh 11:06:22 Cloning the remote Git repository 11:06:22 INFO: Retrieving Pricing Info for: v3-standard-8 11:06:22 INFO: Archiving Costs [Pipeline] sh 11:06:22 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:06:22 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:06:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:06:22 > git --version # timeout=10 11:06:22 > git --version # 'git version 2.25.1' 11:06:22 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:22 Verifying host key using known hosts file 11:06:22 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:06:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:06:23 + cat /w/workspace/foundry_device-virtual-go_PR-316/archives/cost.csv 11:06:23 + cut -d, -f6 [Pipeline] lock 11:06:23 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] 11:06:23 Resource [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] did not exist. Created. 11:06:23 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:06:23 + echo total: 0.2199999988079071 [Pipeline] stash 11:06:23 Stashed 1 file(s) [Pipeline] } 11:06:23 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:06:23 $ docker stop --time=1 5c658767a3159c485446cd8eeeecc7e47ffce55c92515a73a3a0870250913e14 11:06:24 $ docker rm -f 5c658767a3159c485446cd8eeeecc7e47ffce55c92515a73a3a0870250913e14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:06:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:06:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:06:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:06:25 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:06:25 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:25 Verifying host key using known hosts file 11:06:25 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:06:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/316/head:refs/remotes/origin/PR-316 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:06:26 Merging remotes/origin/main commit 9a1b535985cde1136af0b2835ff927b495d73fc1 into PR head commit 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d 11:06:26 Merge succeeded, producing 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d 11:06:26 Checking out Revision 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d (PR-316) 11:06:26 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 11:06:26 > git --version # timeout=10 11:06:26 > git --version # 'git version 2.25.1' 11:06:26 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 11:06:26 > git config core.sparsecheckout # timeout=10 11:06:26 > git checkout -f 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d # timeout=10 11:06:26 > git remote # timeout=10 11:06:26 > git config --get remote.origin.url # timeout=10 11:06:26 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:26 Verifying host key using known hosts file 11:06:26 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:06:26 > git merge 9a1b535985cde1136af0b2835ff927b495d73fc1 # timeout=10 11:06:26 > git rev-parse HEAD^{commit} # timeout=10 11:06:26 > git config core.sparsecheckout # timeout=10 11:06:26 > git checkout -f 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:06:28 % Total % Received % Xferd Average Speed Time Time Time Current 11:06:28 Dload Upload Total Spent Left Speed 11:06:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 94 12602 94 11882 0 0 99016 0 --:--:-- --:--:-- --:--:-- 98198 100 12602 100 12602 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 11:06:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:06:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:06:29 + sudo tee /etc/docker/daemon.new 11:06:29 { 11:06:29 "registry-mirrors": [ 11:06:29 "https://nexus3.edgexfoundry.org:10001" 11:06:29 ], 11:06:29 "bip": "10.250.0.254/24", 11:06:29 "hosts": [ 11:06:29 "tcp://0.0.0.0:5555", 11:06:29 "unix:///var/run/docker.sock" 11:06:29 ], 11:06:29 "mtu": 1458, 11:06:29 "selinux-enabled": true, 11:06:29 "seccomp-profile": "/etc/docker/seccomp.json" 11:06:29 } [Pipeline] sh 11:06:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:06:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:06:48 provisioning config files... 11:06:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1976534523836240907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:48 ---> docker-login.sh 11:06:48 nexus3.edgexfoundry.org:10001 11:06:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:49 Configure a credential helper to remove this warning. See 11:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:49 11:06:49 Login Succeeded 11:06:49 nexus3.edgexfoundry.org:10002 11:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:49 Configure a credential helper to remove this warning. See 11:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:49 11:06:49 Login Succeeded 11:06:49 nexus3.edgexfoundry.org:10003 11:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:49 Configure a credential helper to remove this warning. See 11:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:49 11:06:49 Login Succeeded 11:06:49 nexus3.edgexfoundry.org:10004 11:06:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:50 Configure a credential helper to remove this warning. See 11:06:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:50 11:06:50 Login Succeeded 11:06:50 docker.io 11:06:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:50 Configure a credential helper to remove this warning. See 11:06:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:50 11:06:50 Login Succeeded 11:06:50 ---> docker-login.sh ends [Pipeline] } 11:06:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:06:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:06:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:06:51 ========================================================= 11:06:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 11:06:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 11:06:52 Sending build context to Docker daemon 11.76MB 11:06:52 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 11:06:52 Step 2/13 : FROM ${BASE} AS builder 11:06:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:06:52 9b18e9b68314: Pulling fs layer 11:06:52 d32db5db7311: Pulling fs layer 11:06:52 d0c4b47475fc: Pulling fs layer 11:06:52 5831b945b038: Pulling fs layer 11:06:52 86bbec2aaacd: Pulling fs layer 11:06:52 e10730c5d714: Pulling fs layer 11:06:52 5dd5c2283517: Pulling fs layer 11:06:52 d5ac0230b979: Pulling fs layer 11:06:52 5831b945b038: Waiting 11:06:52 86bbec2aaacd: Waiting 11:06:52 e10730c5d714: Waiting 11:06:52 5dd5c2283517: Waiting 11:06:52 d5ac0230b979: Waiting 11:06:52 d0c4b47475fc: Download complete 11:06:52 d32db5db7311: Verifying Checksum 11:06:52 d32db5db7311: Download complete 11:06:52 86bbec2aaacd: Verifying Checksum 11:06:52 86bbec2aaacd: Download complete 11:06:52 e10730c5d714: Verifying Checksum 11:06:52 e10730c5d714: Download complete 11:06:52 9b18e9b68314: Verifying Checksum 11:06:52 9b18e9b68314: Download complete 11:06:53 9b18e9b68314: Pull complete 11:06:53 d5ac0230b979: Verifying Checksum 11:06:53 d5ac0230b979: Download complete 11:06:53 d32db5db7311: Pull complete 11:06:54 d0c4b47475fc: Pull complete 11:06:54 5dd5c2283517: Verifying Checksum 11:06:54 5dd5c2283517: Download complete 11:06:55 5831b945b038: Verifying Checksum 11:06:55 5831b945b038: Download complete 11:07:07 5831b945b038: Pull complete 11:07:07 86bbec2aaacd: Pull complete 11:07:07 e10730c5d714: Pull complete 11:07:14 5dd5c2283517: Pull complete 11:07:15 d5ac0230b979: Pull complete 11:07:15 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 11:07:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 11:07:15 ---> 59b3b1a385d4 11:07:15 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:07:17 ---> Running in fe8111414efa 11:07:17 Removing intermediate container fe8111414efa 11:07:17 ---> ecc2ea4a8309 11:07:17 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 11:07:17 ---> Running in 32af528971b9 11:07:18 Removing intermediate container 32af528971b9 11:07:18 ---> ed34bf02d238 11:07:18 Step 5/13 : ARG ADD_BUILD_TAGS="" 11:07:18 ---> Running in 2240ccbcc17c 11:07:18 Removing intermediate container 2240ccbcc17c 11:07:18 ---> 3e157d3994b6 11:07:18 Step 6/13 : WORKDIR /device-virtual-go 11:07:18 ---> Running in c6cd18b04b8f 11:07:18 Removing intermediate container c6cd18b04b8f 11:07:18 ---> 4b96354ba29c 11:07:18 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:18 ---> Running in f79f326a895e 11:07:20 Removing intermediate container f79f326a895e 11:07:20 ---> 11fa39295bc4 11:07:20 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:20 ---> Running in b0443272a198 11:07:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:07:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:07:23 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:07:23 (2/4) Installing libedit (20210910.3.1-r0) 11:07:23 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:07:23 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:07:23 Executing busybox-1.35.0-r17.trigger 11:07:23 OK: 226 MiB in 55 packages 11:07:24 Removing intermediate container b0443272a198 11:07:24 ---> 93e75ddb9597 11:07:24 Step 9/13 : COPY go.mod vendor* ./ 11:07:25 ---> f9bc3c00a339 11:07:25 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:25 ---> Running in f999d163e1fa 11:08:21 Removing intermediate container f999d163e1fa 11:08:21 ---> daae398828e4 11:08:21 Step 11/13 : COPY . . 11:08:21 ---> eec5e0b6312f 11:08:21 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:08:21 ---> Running in 4874ddf15fc9 11:08:21 Removing intermediate container 4874ddf15fc9 11:08:21 ---> 830889e8f696 11:08:21 Step 13/13 : RUN $MAKE 11:08:21 ---> Running in c961c560b367 11:08:21 noop 11:08:21 Removing intermediate container c961c560b367 11:08:21 ---> 133e12d6b4c1 11:08:21 Successfully built 133e12d6b4c1 11:08:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:22 + docker inspect -f . ci-base-image-arm64 11:08:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:08:22 prd-ubuntu20.04-docker-arm64-4c-16g-9285 does not seem to be running inside a container 11:08:22 $ 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 11:08:23 $ docker top 200092fd5dc2f6088047117b729005daf20127d9e78bdfe947509d7c8ef28810 -eo pid,comm [Pipeline] { [Pipeline] sh 11:08:24 + go version 11:08:24 go version go1.18.7 linux/arm64 [Pipeline] } 11:08:24 $ docker stop --time=1 200092fd5dc2f6088047117b729005daf20127d9e78bdfe947509d7c8ef28810 11:08:26 $ docker rm -f 200092fd5dc2f6088047117b729005daf20127d9e78bdfe947509d7c8ef28810 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:27 + docker inspect -f . ci-base-image-arm64 11:08:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:08:27 prd-ubuntu20.04-docker-arm64-4c-16g-9285 does not seem to be running inside a container 11:08:27 $ 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 11:08:28 $ docker top a1bde85ec6c7ea2de9bddb7335ab41773e0992997627d25d1ef592cad4763d17 -eo pid,comm [Pipeline] { [Pipeline] sh 11:08:29 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:08:29 + make test 11:08:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:08:31 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:09:53 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:09:53 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.128s coverage: 65.7% of statements 11:09:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:09:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:10:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:10:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:10:11 ./bin/test-attribution-txt.sh [Pipeline] echo 11:10:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:10:11 $ docker stop --time=1 a1bde85ec6c7ea2de9bddb7335ab41773e0992997627d25d1ef592cad4763d17 11:10:13 $ docker rm -f a1bde85ec6c7ea2de9bddb7335ab41773e0992997627d25d1ef592cad4763d17 [Pipeline] // withDockerContainer [Pipeline] sh 11:10:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:10:14 Warning: overwriting stash ‘coverage-report’ 11:10:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:10:15 + ls -al . 11:10:15 total 200 11:10:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 11:08 . 11:10:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 11:06 .. 11:10:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 11:06 .git 11:10:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 11:06 .github 11:10:15 -rw-rw-r-- 1 jenkins jenkins 337 Oct 24 11:06 .gitignore 11:10:15 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 11:06 .golangci.yml 11:10:15 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 24 11:06 Attribution.txt 11:10:15 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 24 11:06 CHANGELOG.md 11:10:15 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 24 11:06 Dockerfile 11:10:15 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 11:06 GOVERNANCE.md 11:10:15 -rw-rw-r-- 1 jenkins jenkins 660 Oct 24 11:06 Jenkinsfile 11:10:15 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 11:06 LICENSE 11:10:15 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 24 11:06 Makefile 11:10:15 -rw-rw-r-- 1 jenkins jenkins 623 Oct 24 11:06 OWNERS.md 11:10:15 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 24 11:06 README.md 11:10:15 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 11:04 VERSION 11:10:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 11:06 bin 11:10:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 11:06 cmd 11:10:15 -rw-r--r-- 1 jenkins jenkins 44128 Oct 24 11:09 coverage.out 11:10:15 -rw-rw-r-- 1 jenkins jenkins 3387 Oct 24 11:06 go.mod 11:10:15 -rw-rw-r-- 1 jenkins jenkins 44541 Oct 24 11:06 go.sum 11:10:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 11:06 internal 11:10:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 11:06 snap 11:10:15 -rw-rw-r-- 1 jenkins jenkins 235 Oct 24 11:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:15 + 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=032d273fa8e4039d8a1ad9084ba8abb70caa6d8d --label arch=arm64 --label version=0.0.0 . 11:10:16 Sending build context to Docker daemon 11.81MB 11:10:16 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 11:10:16 Step 2/27 : FROM ${BASE} AS builder 11:10:16 ---> 133e12d6b4c1 11:10:16 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:10:16 ---> Running in 874603c7e962 11:10:16 Removing intermediate container 874603c7e962 11:10:16 ---> 2addc5aa6371 11:10:16 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 11:10:16 ---> Running in 011cdc2614cb 11:10:17 Removing intermediate container 011cdc2614cb 11:10:17 ---> d3975909b734 11:10:17 Step 5/27 : ARG ADD_BUILD_TAGS="" 11:10:17 ---> Running in 15e80bab82d6 11:10:17 Removing intermediate container 15e80bab82d6 11:10:17 ---> f5781601a58c 11:10:17 Step 6/27 : WORKDIR /device-virtual-go 11:10:17 ---> Running in b68a8811618e 11:10:17 Removing intermediate container b68a8811618e 11:10:17 ---> d976b65d6148 11:10:17 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:10:18 ---> Running in 5b2ac5818a8e 11:10:19 Removing intermediate container 5b2ac5818a8e 11:10:19 ---> de9eb4984d92 11:10:19 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:10:19 ---> Running in 13643c6ab18d 11:10:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:10:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:10:22 OK: 226 MiB in 55 packages 11:10:23 Removing intermediate container 13643c6ab18d 11:10:23 ---> dca05d31142e 11:10:23 Step 9/27 : COPY go.mod vendor* ./ 11:10:23 ---> ac1e33c2876a 11:10:23 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:10:23 ---> Running in 6b3e7c5657e2 11:10:25 Removing intermediate container 6b3e7c5657e2 11:10:25 ---> 3dbe0ec5e058 11:10:25 Step 11/27 : COPY . . 11:10:27 ---> 13a37c48ce2b 11:10:27 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:10:27 ---> Running in 789570db2350 11:10:27 Removing intermediate container 789570db2350 11:10:27 ---> d2a55bf7b549 11:10:27 Step 13/27 : RUN $MAKE 11:10:27 ---> Running in 9667fd5fc2a1 11:10:28 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:13:05 Removing intermediate container 9667fd5fc2a1 11:13:05 ---> 59a71f29a706 11:13:05 Step 14/27 : FROM alpine:3.16 11:13:05 3.16: Pulling from library/alpine 11:13:05 9b18e9b68314: Already exists 11:13:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:13:05 Status: Downloaded newer image for alpine:3.16 11:13:05 ---> a6215f271958 11:13:05 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:13:05 ---> Running in d8980a9c894e 11:13:05 Removing intermediate container d8980a9c894e 11:13:05 ---> 40577fcf2cf9 11:13:05 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:13:05 ---> Running in 4ad44e6cccb7 11:13:05 Removing intermediate container 4ad44e6cccb7 11:13:05 ---> f840f63cd816 11:13:05 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 11:13:05 ---> Running in d63214a2f3c7 11:13:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:13:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:13:05 (1/6) Installing dumb-init (1.2.5-r1) 11:13:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:13:05 (3/6) Installing libsodium (1.0.18-r0) 11:13:05 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:13:05 (5/6) Installing libzmq (4.3.4-r0) 11:13:05 (6/6) Installing zeromq (4.3.4-r0) 11:13:05 Executing busybox-1.35.0-r17.trigger 11:13:05 OK: 8 MiB in 20 packages 11:13:05 Removing intermediate container d63214a2f3c7 11:13:05 ---> bf8b9064ee3d 11:13:05 Step 18/27 : WORKDIR / 11:13:05 ---> Running in 16d6304ea806 11:13:05 Removing intermediate container 16d6304ea806 11:13:05 ---> 1992fad07d80 11:13:05 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:13:05 ---> f37503570854 11:13:05 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 11:13:05 ---> 74cde135885d 11:13:05 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 11:13:05 ---> 0be351b2a017 11:13:05 Step 22/27 : EXPOSE 59900 11:13:05 ---> Running in 566e80fd7382 11:13:05 Removing intermediate container 566e80fd7382 11:13:05 ---> 3750618e3432 11:13:05 Step 23/27 : ENTRYPOINT ["/device-virtual"] 11:13:05 ---> Running in 128beb2e07a8 11:13:05 Removing intermediate container 128beb2e07a8 11:13:05 ---> ed0de28cada9 11:13:05 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:13:05 ---> Running in 747d5cc4ca12 11:13:05 Removing intermediate container 747d5cc4ca12 11:13:05 ---> ccb4154a8052 11:13:05 Step 25/27 : LABEL arch=arm64 11:13:05 ---> Running in 08911946b075 11:13:06 Removing intermediate container 08911946b075 11:13:06 ---> 204192844f4f 11:13:06 Step 26/27 : LABEL git_sha=032d273fa8e4039d8a1ad9084ba8abb70caa6d8d 11:13:06 ---> Running in fc1bc5007159 11:13:06 Removing intermediate container fc1bc5007159 11:13:06 ---> 80ab04cc2839 11:13:06 Step 27/27 : LABEL version=0.0.0 11:13:06 ---> Running in 4cb835e2efae 11:13:06 Removing intermediate container 4cb835e2efae 11:13:06 ---> 643b9ac97e8d 11:13:06 [Warning] One or more build-args [ARCH] were not consumed 11:13:06 Successfully built 643b9ac97e8d 11:13:06 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:07 11:13:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:08 arm64: Pulling from edgex-lftools-log-publisher 11:13:08 8998bd30e6a1: Pulling fs layer 11:13:08 04944245beec: Pulling fs layer 11:13:08 699f458cf7ca: Pulling fs layer 11:13:08 765212b225bb: Pulling fs layer 11:13:08 f23df028b6ca: Pulling fs layer 11:13:08 d65c8cfc05b1: Pulling fs layer 11:13:08 2437ff75d9bd: Pulling fs layer 11:13:08 765212b225bb: Waiting 11:13:08 f23df028b6ca: Waiting 11:13:08 2437ff75d9bd: Waiting 11:13:08 d65c8cfc05b1: Waiting 11:13:08 04944245beec: Verifying Checksum 11:13:08 04944245beec: Download complete 11:13:08 765212b225bb: Download complete 11:13:08 f23df028b6ca: Verifying Checksum 11:13:08 f23df028b6ca: Download complete 11:13:08 d65c8cfc05b1: Verifying Checksum 11:13:08 d65c8cfc05b1: Download complete 11:13:08 699f458cf7ca: Verifying Checksum 11:13:08 699f458cf7ca: Download complete 11:13:08 8998bd30e6a1: Verifying Checksum 11:13:08 8998bd30e6a1: Download complete 11:13:11 2437ff75d9bd: Verifying Checksum 11:13:11 2437ff75d9bd: Download complete 11:13:12 8998bd30e6a1: Pull complete 11:13:13 04944245beec: Pull complete 11:13:14 699f458cf7ca: Pull complete 11:13:14 765212b225bb: Pull complete 11:13:15 f23df028b6ca: Pull complete 11:13:15 d65c8cfc05b1: Pull complete 11:13:30 2437ff75d9bd: Pull complete 11:13:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:13:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:31 prd-ubuntu20.04-docker-arm64-4c-16g-9285 does not seem to be running inside a container 11:13:31 $ 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 11:13:33 $ docker top 56df0e1b0d9e442212b315978c0abef508015446464a31bb6a03b040e9266f67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:34 ---> job-cost.sh 11:13:34 lf-activate-venv: SKIPPING 11:13:34 INFO: No Stack... 11:13:35 INFO: Retrieving Pricing Info for: v3-standard-4 11:13:36 INFO: Archiving Costs [Pipeline] sh 11:13:36 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:13:36 + cut -d, -f6 [Pipeline] lock 11:13:36 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] 11:13:36 Resource [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] did not exist. Created. 11:13:36 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:13:37 /w/workspace/device-virtual-go/1@tmp/durable-ee9854c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:13:37 + echo total: 0.10999999940395355 [Pipeline] stash 11:13:37 Warning: overwriting stash ‘stack-cost’ 11:13:37 Stashed 1 file(s) [Pipeline] } 11:13:37 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:13:37 $ docker stop --time=1 56df0e1b0d9e442212b315978c0abef508015446464a31bb6a03b040e9266f67 11:13:39 $ docker rm -f 56df0e1b0d9e442212b315978c0abef508015446464a31bb6a03b040e9266f67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:13:40 provisioning config files... 11:13:40 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-316@tmp/config11744780932592215663tmp [Pipeline] { [Pipeline] sh 11:13:40 + set +x 11:13:40 + bash -s -- 11:13:40 + curl -s https://codecov.io/bash 11:13:40 11:13:40 _____ _ 11:13:40 / ____| | | 11:13:40 | | ___ __| | ___ ___ _____ __ 11:13:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:13:40 | |___| (_) | (_| | __/ (_| (_) \ V / 11:13:40 \_____\___/ \__,_|\___|\___\___/ \_/ 11:13:40 Bash-1.0.6 11:13:40 11:13:40 11:13:40 ==> git version 2.25.1 found 11:13:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:13:40 Release-Date: 2020-01-08 11:13:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:13:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:13:40 ==> Jenkins CI detected. 11:13:40 current dir:  /w/workspace/foundry_device-virtual-go_PR-316 11:13:40 project root: . 11:13:40 --> token set from env 11:13:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:13:40 ==> Running gcov in . (disable via -X gcov) 11:13:40 ==> Python coveragepy not found 11:13:40 ==> Searching for coverage reports in: 11:13:40 + . 11:13:40 -> Found 1 reports 11:13:40 ==> Detecting git/mercurial file structure 11:13:40 ==> Reading reports 11:13:40 + ./coverage.out bytes=44128 11:13:40 ==> Appending adjustments 11:13:40 https://docs.codecov.io/docs/fixing-reports 11:13:40 + Found adjustments 11:13:40 ==> Gzipping contents 11:13:40 8.0K /tmp/codecov.ouiIBy.gz 11:13:40 ==> Uploading reports 11:13:40 url: https://codecov.io 11:13:40 query: branch=PR-316&commit=032d273fa8e4039d8a1ad9084ba8abb70caa6d8d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-316%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=316&job=&cmd_args= 11:13:40 -> Pinging Codecov 11:13:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-316&commit=032d273fa8e4039d8a1ad9084ba8abb70caa6d8d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-316%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=316&job=&cmd_args= 11:13:41 -> Uploading to 11:13:41 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/5E52B4B073DB2E39498172D8E973AA87/032d273fa8e4039d8a1ad9084ba8abb70caa6d8d/4a5d76e9-0047-4659-a321-92ecffa231fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T111341Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f122ef2e24afb41762e797738733d294c292c33112a8fa16b39a5e9972f4ce6e 11:13:41 % Total % Received % Xferd Average Speed Time Time Time Current 11:13:41 Dload Upload Total Spent Left Speed 11:13:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5480 0 0 100 5480 0 22644 --:--:-- --:--:-- --:--:-- 22738 11:13:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [Pipeline] } 11:13:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:13:43 + [ -d /w/workspace/foundry_device-virtual-go_PR-316/archives ] 11:13:43 + ls -al /w/workspace/foundry_device-virtual-go_PR-316/archives 11:13:43 total 16 11:13:43 drwxr-xr-x 3 root root 4096 Oct 24 11:06 . 11:13:43 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 11:06 .. 11:13:43 drwxr-xr-x 2 root root 4096 Oct 24 11:06 cost 11:13:43 -rw-r--r-- 1 root root 89 Oct 24 11:06 cost.csv 11:13:43 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-316/archives 11:13:43 + ls -al /w/workspace/foundry_device-virtual-go_PR-316/archives 11:13:43 total 16 11:13:43 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 11:06 . 11:13:43 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 11:06 .. 11:13:43 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 11:06 cost 11:13:43 -rw-r--r-- 1 jenkins jenkins 89 Oct 24 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:13:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:13:44 ---> package-listing.sh 11:13:44 ++ facter osfamily 11:13:44 ++ tr '[:upper:]' '[:lower:]' 11:13:44 + OS_FAMILY=debian 11:13:44 + workspace=/w/workspace/foundry_device-virtual-go_PR-316 11:13:44 + START_PACKAGES=/tmp/packages_start.txt 11:13:44 + END_PACKAGES=/tmp/packages_end.txt 11:13:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:13:44 + PACKAGES=/tmp/packages_start.txt 11:13:44 + '[' /w/workspace/foundry_device-virtual-go_PR-316 ']' 11:13:44 + PACKAGES=/tmp/packages_end.txt 11:13:44 + case "${OS_FAMILY}" in 11:13:44 + dpkg -l 11:13:44 + grep '^ii' 11:13:44 + '[' -f /tmp/packages_start.txt ']' 11:13:44 + '[' -f /tmp/packages_end.txt ']' 11:13:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:13:44 + '[' /w/workspace/foundry_device-virtual-go_PR-316 ']' 11:13:44 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-316/archives/ 11:13:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-316/archives/ [Pipeline] echo 11:13:44 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-316/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:13:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:45 prd-ubuntu20.04-docker-8c-8g-9284 does not seem to be running inside a container 11:13:45 $ 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-316/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-316 -v /w/workspace/foundry_device-virtual-go_PR-316:/w/workspace/foundry_device-virtual-go_PR-316:rw,z -v /w/workspace/foundry_device-virtual-go_PR-316@tmp:/w/workspace/foundry_device-virtual-go_PR-316@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 11:13:46 $ docker top edfee6ea0f43f435795960f9721fb09d614afc43b2c82954372155b4659dbdfc -eo pid,comm [Pipeline] { [Pipeline] sh 11:13:46 + touch /tmp/pre-build-complete [Pipeline] sh 11:13:46 + mkdir -p /var/log/sysstat [Pipeline] sh 11:13:47 + ls /var/log/sa-host 11:13:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:13:47 provisioning config files... 11:13:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-316@tmp/config1550403459824762992tmp [Pipeline] { [Pipeline] echo 11:13:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:13:47 ---> create-netrc.sh [Pipeline] } 11:13:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:13:48 ---> python-tools-install.sh [Pipeline] echo 11:13:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:13:48 ---> sudo-logs.sh 11:13:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:13:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:13:48 ---> job-cost.sh 11:13:48 lf-activate-venv: SKIPPING 11:13:48 DEBUG: total: 0.2199999988079071 11:13:48 INFO: Retrieving Stack Cost... 11:13:49 INFO: Retrieving Pricing Info for: v3-standard-8 11:13:49 INFO: Archiving Costs [Pipeline] echo 11:13:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:13:50 ---> logs-deploy.sh 11:13:50 lf-activate-venv: SKIPPING 11:13:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-316/1 11:13:50 INFO: archiving workspace using pattern(s): 11:13:50 Archives upload complete. 11:13:50 INFO: archiving logs to Nexus