Pull request #308 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964+338b4a6717ad749e6fbb765a40a4439a1a99c0fd (7d7cd5e2d03ffd181c31012c1104f1e26eb62865) 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-ssh11090881480376238500.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh51905193198978760.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-308/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-308/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9772525427471508436.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-308/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17215637319827488635.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh16254159062586163162.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-308/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-308/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17701771454735468570.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-1330 in /w/workspace/foundry_device-virtual-go_PR-308 [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-308 # 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/308/head:refs/remotes/origin/PR-308 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 338b4a6717ad749e6fbb765a40a4439a1a99c0fd into PR head commit 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 Merge succeeded, producing 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 Checking out Revision 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 (PR-308) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 # 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 338b4a6717ad749e6fbb765a40a4439a1a99c0fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 # timeout=10 Commit message: "feat: add internal message request/response topics" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:07:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:07:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:07:24 ========================================================= 09:07:24 EdgeX Global Pipelines Version Info 09:07:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:07:25 ------------------- 09:07:25 stable info: 09:07:25 ------------------- 09:07:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:07:25 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:07:25 Message: update stable to v1.0.239 09:07:26 ------------------- 09:07:26 experimental info: 09:07:26 ------------------- 09:07:26 Commited By: **** collab-it+edgex@linuxfoundation.org 09:07:26 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:07:26 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:07:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:07:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:07:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-308 [Pipeline] echo 09:07:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-308 [Pipeline] echo 09:07:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-308 [Pipeline] echo 09:07:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [Pipeline] echo 09:07:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b45d56 [Pipeline] echo 09:07:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:07:28 provisioning config files... 09:07:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-308@tmp/config11259641857137278392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:07:28 ---> docker-login.sh 09:07:28 nexus3.edgexfoundry.org:10001 09:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:28 Configure a credential helper to remove this warning. See 09:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:28 09:07:28 Login Succeeded 09:07:28 nexus3.edgexfoundry.org:10002 09:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:29 Configure a credential helper to remove this warning. See 09:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:29 09:07:29 Login Succeeded 09:07:29 nexus3.edgexfoundry.org:10003 09:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:29 Configure a credential helper to remove this warning. See 09:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:29 09:07:29 Login Succeeded 09:07:29 nexus3.edgexfoundry.org:10004 09:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:29 Configure a credential helper to remove this warning. See 09:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:29 09:07:29 Login Succeeded 09:07:29 docker.io 09:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:29 Configure a credential helper to remove this warning. See 09:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:29 09:07:29 Login Succeeded 09:07:29 ---> docker-login.sh ends [Pipeline] } 09:07:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:07:30 + git rev-list -1 --merges 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964~1..0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [Pipeline] echo 09:07:30 -----------> git rev-list -1 --merges 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964~1..0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [false] [Pipeline] sh 09:07:30 + git log --format=format:%s -1 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [Pipeline] echo 09:07:30 ========================================================= 09:07:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:07:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:07:31 + git log --format=format:%s -1 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [Pipeline] echo 09:07:31 [semverPrep] GIT_COMMIT: 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964, Commit Message: feat: add internal message request/response topics [Pipeline] echo 09:07:31 [semverPrep] This is not a build commit. [Pipeline] sh 09:07:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:07:31 + grep -v github /etc/ssh/ssh_known_hosts 09:07:31 + [ -e /tmp/ssh_known_hosts ] 09:07:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:07:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:07:31 + sudo tee -a /etc/ssh/ssh_known_hosts 09:07:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:07:32 09:07:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:07:32 0.1.4: Pulling from edgex-devops/py-git-semver 09:07:32 b85a868b505f: Pulling fs layer 09:07:32 e2be974225ed: Pulling fs layer 09:07:32 339a4e72a1f5: Pulling fs layer 09:07:32 988bab9f4d93: Pulling fs layer 09:07:32 1469e6f7b9e6: Pulling fs layer 09:07:32 eaf3925da568: Pulling fs layer 09:07:32 bab4dde63d76: Pulling fs layer 09:07:32 bde34c3a00c8: Pulling fs layer 09:07:32 b352a97aabf1: Pulling fs layer 09:07:32 4872d77fe225: Pulling fs layer 09:07:32 5851b861e8e6: Pulling fs layer 09:07:32 bde34c3a00c8: Waiting 09:07:32 b352a97aabf1: Waiting 09:07:32 988bab9f4d93: Waiting 09:07:32 1469e6f7b9e6: Waiting 09:07:32 5851b861e8e6: Waiting 09:07:32 bab4dde63d76: Waiting 09:07:32 4872d77fe225: Waiting 09:07:32 e2be974225ed: Verifying Checksum 09:07:32 e2be974225ed: Download complete 09:07:32 988bab9f4d93: Verifying Checksum 09:07:32 988bab9f4d93: Download complete 09:07:32 1469e6f7b9e6: Verifying Checksum 09:07:32 1469e6f7b9e6: Download complete 09:07:32 eaf3925da568: Verifying Checksum 09:07:32 eaf3925da568: Download complete 09:07:32 339a4e72a1f5: Verifying Checksum 09:07:32 339a4e72a1f5: Download complete 09:07:32 bde34c3a00c8: Download complete 09:07:32 b352a97aabf1: Verifying Checksum 09:07:32 b352a97aabf1: Download complete 09:07:32 4872d77fe225: Download complete 09:07:32 5851b861e8e6: Verifying Checksum 09:07:32 5851b861e8e6: Download complete 09:07:32 b85a868b505f: Verifying Checksum 09:07:32 b85a868b505f: Download complete 09:07:32 bab4dde63d76: Verifying Checksum 09:07:32 bab4dde63d76: Download complete 09:07:33 b85a868b505f: Pull complete 09:07:33 e2be974225ed: Pull complete 09:07:34 339a4e72a1f5: Pull complete 09:07:34 988bab9f4d93: Pull complete 09:07:34 1469e6f7b9e6: Pull complete 09:07:34 eaf3925da568: Pull complete 09:07:36 bab4dde63d76: Pull complete 09:07:36 bde34c3a00c8: Pull complete 09:07:36 b352a97aabf1: Pull complete 09:07:36 4872d77fe225: Pull complete 09:07:36 5851b861e8e6: Pull complete 09:07:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:07:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:07:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:07:37 prd-ubuntu20.04-docker-8c-8g-1330 does not seem to be running inside a container 09:07:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-308 -v /w/workspace/foundry_device-virtual-go_PR-308:/w/workspace/foundry_device-virtual-go_PR-308:rw,z -v /w/workspace/foundry_device-virtual-go_PR-308@tmp:/w/workspace/foundry_device-virtual-go_PR-308@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-devops/py-git-semver:0.1.4 cat 09:07:39 $ docker top c78c914df40451f740fc256a41ac126c36c23f007c4fbdf07f9d5be36364739f -eo pid,comm 09:07:39 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:07:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:07:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:07:39 [ssh-agent] Looking for ssh-agent implementation... 09:07:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:07:39 $ docker exec c78c914df40451f740fc256a41ac126c36c23f007c4fbdf07f9d5be36364739f ssh-agent 09:07:39 SSH_AUTH_SOCK=/tmp/ssh-oR5LAOGpjNyX/agent.33 09:07:39 SSH_AGENT_PID=39 09:07:39 Running ssh-add (command line suppressed) 09:07:39 Identity added: /w/workspace/foundry_device-virtual-go_PR-308@tmp/private_key_13134676758850180287.key (/w/workspace/foundry_device-virtual-go_PR-308@tmp/private_key_13134676758850180287.key) 09:07:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:07:40 + git tag --points-at HEAD [Pipeline] } 09:07:40 $ docker exec --env ******** --env ******** c78c914df40451f740fc256a41ac126c36c23f007c4fbdf07f9d5be36364739f ssh-agent -k 09:07:40 unset SSH_AUTH_SOCK; 09:07:40 unset SSH_AGENT_PID; 09:07:40 echo Agent pid 39 killed; 09:07:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:07:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:07:40 [ssh-agent] Looking for ssh-agent implementation... 09:07:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:07:40 $ docker exec c78c914df40451f740fc256a41ac126c36c23f007c4fbdf07f9d5be36364739f ssh-agent 09:07:40 SSH_AUTH_SOCK=/tmp/ssh-xx3p7q87APpu/agent.71 09:07:40 SSH_AGENT_PID=77 09:07:40 Running ssh-add (command line suppressed) 09:07:40 Identity added: /w/workspace/foundry_device-virtual-go_PR-308@tmp/private_key_14621910997300893721.key (/w/workspace/foundry_device-virtual-go_PR-308@tmp/private_key_14621910997300893721.key) 09:07:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:07:41 + git semver init 09:07:41 2022-09-27 09:07:41,289 [run_init] DEBUG init version:0.0.0 force:False 09:07:41 2022-09-27 09:07:41,289 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-308/.semver 09:07:41 2022-09-27 09:07:41,290 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-308/.semver 09:07:41 2022-09-27 09:07:41,290 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-308/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-308, universal_newlines=False, shell=None, istream=None) 09:07:42 2022-09-27 09:07:42,488 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-308/.git/info/exclude 09:07:42 2022-09-27 09:07:42,489 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-308/.semver/PR-308 with force:False 09:07:42 2022-09-27 09:07:42,489 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-308/.semver/PR-308 09:07:42 2022-09-27 09:07:42,493 [execute] INFO git cat-file --batch-check 09:07:42 2022-09-27 09:07:42,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-308/.semver, universal_newlines=False, shell=None, istream=) 09:07:42 2022-09-27 09:07:42,499 [execute] INFO git cat-file --batch 09:07:42 2022-09-27 09:07:42,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-308/.semver, universal_newlines=False, shell=None, istream=) 09:07:42 2022-09-27 09:07:42,504 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-308/.semver/PR-308 09:07:42 0.0.0 [Pipeline] } 09:07:42 $ docker exec --env ******** --env ******** c78c914df40451f740fc256a41ac126c36c23f007c4fbdf07f9d5be36364739f ssh-agent -k 09:07:42 unset SSH_AUTH_SOCK; 09:07:42 unset SSH_AGENT_PID; 09:07:42 echo Agent pid 77 killed; 09:07:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:07:43 + git semver [Pipeline] } 09:07:43 $ docker stop --time=1 c78c914df40451f740fc256a41ac126c36c23f007c4fbdf07f9d5be36364739f 09:07:44 $ docker rm -f c78c914df40451f740fc256a41ac126c36c23f007c4fbdf07f9d5be36364739f [Pipeline] // withDockerContainer [Pipeline] sh 09:07:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:07:45 Stashed 1 file(s) [Pipeline] echo 09:07:45 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:07:46 provisioning config files... 09:07:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-308@tmp/config6692521069488862756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:07:46 ---> docker-login.sh 09:07:46 nexus3.edgexfoundry.org:10001 09:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:46 Configure a credential helper to remove this warning. See 09:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:46 09:07:46 Login Succeeded 09:07:46 nexus3.edgexfoundry.org:10002 09:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:46 Configure a credential helper to remove this warning. See 09:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:46 09:07:46 Login Succeeded 09:07:46 nexus3.edgexfoundry.org:10003 09:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:46 Configure a credential helper to remove this warning. See 09:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:46 09:07:46 Login Succeeded 09:07:46 nexus3.edgexfoundry.org:10004 09:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:46 Configure a credential helper to remove this warning. See 09:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:46 09:07:46 Login Succeeded 09:07:46 docker.io 09:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:47 Configure a credential helper to remove this warning. See 09:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:47 09:07:47 Login Succeeded 09:07:47 ---> docker-login.sh ends [Pipeline] } 09:07:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:07:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:07:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:07:47 ========================================================= 09:07:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:07:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:47 + 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 . 09:07:47 Sending build context to Docker daemon 23.18MB 09:07:47 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:07:47 Step 2/13 : FROM ${BASE} AS builder 09:07:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:07:48 2408cc74d12b: Pulling fs layer 09:07:48 ea60b727a1ce: Pulling fs layer 09:07:48 30c4a7721957: Pulling fs layer 09:07:48 370296b7ddb6: Pulling fs layer 09:07:48 7c6cee850709: Pulling fs layer 09:07:48 39a5fcdaea64: Pulling fs layer 09:07:48 d94ebbe4e438: Pulling fs layer 09:07:48 bcfd1f05c69d: Pulling fs layer 09:07:48 59ccb84bbe0f: Pulling fs layer 09:07:48 d94ebbe4e438: Waiting 09:07:48 7c6cee850709: Waiting 09:07:48 39a5fcdaea64: Waiting 09:07:48 59ccb84bbe0f: Waiting 09:07:48 370296b7ddb6: Waiting 09:07:48 30c4a7721957: Download complete 09:07:48 ea60b727a1ce: Download complete 09:07:48 7c6cee850709: Download complete 09:07:48 39a5fcdaea64: Verifying Checksum 09:07:48 39a5fcdaea64: Download complete 09:07:48 2408cc74d12b: Verifying Checksum 09:07:48 2408cc74d12b: Download complete 09:07:48 d94ebbe4e438: Download complete 09:07:48 2408cc74d12b: Pull complete 09:07:48 ea60b727a1ce: Pull complete 09:07:48 30c4a7721957: Pull complete 09:07:48 59ccb84bbe0f: Verifying Checksum 09:07:48 59ccb84bbe0f: Download complete 09:07:48 bcfd1f05c69d: Verifying Checksum 09:07:48 bcfd1f05c69d: Download complete 09:07:49 370296b7ddb6: Verifying Checksum 09:07:49 370296b7ddb6: Download complete 09:07:52 370296b7ddb6: Pull complete 09:07:52 7c6cee850709: Pull complete 09:07:52 39a5fcdaea64: Pull complete 09:07:52 d94ebbe4e438: Pull complete 09:07:54 bcfd1f05c69d: Pull complete 09:07:55 59ccb84bbe0f: Pull complete 09:07:55 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 09:07:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:07:55 ---> a4fb48ad2a94 09:07:55 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:07:58 ---> Running in 56525d7997ce 09:07:58 Removing intermediate container 56525d7997ce 09:07:58 ---> 58f723a3b62e 09:07:58 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 09:07:58 ---> Running in e96e5f787049 09:07:58 Removing intermediate container e96e5f787049 09:07:58 ---> 5d87dee92f5d 09:07:58 Step 5/13 : ARG ADD_BUILD_TAGS="" 09:07:58 ---> Running in d3335f4da550 09:07:58 Removing intermediate container d3335f4da550 09:07:58 ---> b0a7f7bcfb54 09:07:58 Step 6/13 : WORKDIR /device-virtual-go 09:07:58 ---> Running in fd0b2d0007a4 09:07:58 Removing intermediate container fd0b2d0007a4 09:07:58 ---> 4dd270dbecc5 09:07:58 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:07:58 ---> Running in 179a1d382451 09:07:58 Removing intermediate container 179a1d382451 09:07:58 ---> 0dd144dedb9d 09:07:58 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:07:58 ---> Running in 33e62ad0a99f 09:07:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:08:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:08:00 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:08:00 (2/4) Installing libedit (20210910.3.1-r0) 09:08:00 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:08:00 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:08:00 Executing busybox-1.35.0-r13.trigger 09:08:00 OK: 216 MiB in 55 packages 09:08:00 Still waiting to schedule task 09:08:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:08:01 Removing intermediate container 33e62ad0a99f 09:08:01 ---> dcce4d35277a 09:08:01 Step 9/13 : COPY go.mod vendor* ./ 09:08:01 ---> 159c1b180d2e 09:08:01 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:08:01 ---> Running in ccbd202761c2 09:08:23 Removing intermediate container ccbd202761c2 09:08:23 ---> 26629d500257 09:08:23 Step 11/13 : COPY . . 09:08:23 ---> c437573af91c 09:08:23 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:08:23 ---> Running in 4ee119e36d6d 09:08:23 Removing intermediate container 4ee119e36d6d 09:08:23 ---> 39664af3b90b 09:08:23 Step 13/13 : RUN $MAKE 09:08:23 ---> Running in eafac1c77709 09:08:23 noop 09:08:23 Removing intermediate container eafac1c77709 09:08:23 ---> be0ef0919f83 09:08:23 Successfully built be0ef0919f83 09:08:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:23 + docker inspect -f . ci-base-image-x86_64 09:08:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:23 prd-ubuntu20.04-docker-8c-8g-1330 does not seem to be running inside a container 09:08:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-308 -v /w/workspace/foundry_device-virtual-go_PR-308:/w/workspace/foundry_device-virtual-go_PR-308:rw,z -v /w/workspace/foundry_device-virtual-go_PR-308@tmp:/w/workspace/foundry_device-virtual-go_PR-308@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:08:24 $ docker top fe7b84c0a6d066cd380c090afdca3bef2ae5908eb7ea20168e85365bf72c7b16 -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:24 + go version 09:08:24 go version go1.18.3 linux/amd64 [Pipeline] } 09:08:24 $ docker stop --time=1 fe7b84c0a6d066cd380c090afdca3bef2ae5908eb7ea20168e85365bf72c7b16 09:08:26 $ docker rm -f fe7b84c0a6d066cd380c090afdca3bef2ae5908eb7ea20168e85365bf72c7b16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:26 + docker inspect -f . ci-base-image-x86_64 09:08:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:26 prd-ubuntu20.04-docker-8c-8g-1330 does not seem to be running inside a container 09:08:26 $ 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-308 -v /w/workspace/foundry_device-virtual-go_PR-308:/w/workspace/foundry_device-virtual-go_PR-308:rw,z -v /w/workspace/foundry_device-virtual-go_PR-308@tmp:/w/workspace/foundry_device-virtual-go_PR-308@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:08:27 $ docker top 257b0bd34407b028e4dbf834956369066a5349c528e65e73c14f3796fcd72e6c -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:27 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-308 [Pipeline] fileExists [Pipeline] sh 09:08:27 + make test 09:08:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:08:28 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:08:36 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:08:37 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements 09:08:43 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." 09:08:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:08:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:08:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:08:46 ./bin/test-attribution-txt.sh 09:08:46 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 09:08:46 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 09:08:46 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 09:08:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:08:46 $ docker stop --time=1 257b0bd34407b028e4dbf834956369066a5349c528e65e73c14f3796fcd72e6c 09:08:48 $ docker rm -f 257b0bd34407b028e4dbf834956369066a5349c528e65e73c14f3796fcd72e6c [Pipeline] // withDockerContainer [Pipeline] sh 09:08:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:08:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:08:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:08:50 + ls -al . 09:08:50 total 196 09:08:50 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 09:08 . 09:08:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 09:07 .. 09:08:50 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 09:08 .git 09:08:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:07 .github 09:08:50 -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 09:07 .gitignore 09:08:50 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 09:07 .golangci.yml 09:08:50 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 09:07 .semver 09:08:50 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 27 09:07 Attribution.txt 09:08:50 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 27 09:07 CHANGELOG.md 09:08:50 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 27 09:07 Dockerfile 09:08:50 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 09:07 GOVERNANCE.md 09:08:50 -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 09:07 Jenkinsfile 09:08:50 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 09:07 LICENSE 09:08:50 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 27 09:07 Makefile 09:08:50 -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 09:07 OWNERS.md 09:08:50 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 27 09:07 README.md 09:08:50 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 09:07 VERSION 09:08:50 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 09:07 bin 09:08:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:07 cmd 09:08:50 -rw-r--r-- 1 jenkins jenkins 44128 Sep 27 09:08 coverage.out 09:08:50 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 27 09:07 go.mod 09:08:50 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 27 09:07 go.sum 09:08:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:07 internal 09:08:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 09:07 snap 09:08:50 -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 09:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:50 + 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=0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 --label arch=amd64 --label version=0.0.0 . 09:08:50 Sending build context to Docker daemon 23.22MB 09:08:50 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 09:08:50 Step 2/27 : FROM ${BASE} AS builder 09:08:50 ---> be0ef0919f83 09:08:50 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:08:50 ---> Running in 0b45b9923ffa 09:08:50 Removing intermediate container 0b45b9923ffa 09:08:50 ---> 6d2807b08867 09:08:50 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:08:50 ---> Running in 806c80297a70 09:08:50 Removing intermediate container 806c80297a70 09:08:50 ---> 46888d458771 09:08:50 Step 5/27 : ARG ADD_BUILD_TAGS="" 09:08:50 ---> Running in 932ee032aafd 09:08:50 Removing intermediate container 932ee032aafd 09:08:50 ---> 4b10939ce835 09:08:50 Step 6/27 : WORKDIR /device-virtual-go 09:08:50 ---> Running in f63af220cee9 09:08:50 Removing intermediate container f63af220cee9 09:08:50 ---> a3ab036c6859 09:08:50 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:08:50 ---> Running in 1f9d013b2370 09:08:51 Removing intermediate container 1f9d013b2370 09:08:51 ---> 0a5eb6953a84 09:08:51 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:08:51 ---> Running in b54db5673198 09:08:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:08:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:08:52 OK: 216 MiB in 55 packages 09:08:53 Removing intermediate container b54db5673198 09:08:53 ---> e225efa081f6 09:08:53 Step 9/27 : COPY go.mod vendor* ./ 09:08:53 ---> 62980bc1ef25 09:08:53 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:08:53 ---> Running in 667cf42b3648 09:08:54 Removing intermediate container 667cf42b3648 09:08:54 ---> c2a6c3f6ad96 09:08:54 Step 11/27 : COPY . . 09:08:54 ---> a1240a68dbd6 09:08:54 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:08:54 ---> Running in 14e79bcac4fd 09:08:54 Removing intermediate container 14e79bcac4fd 09:08:54 ---> 1d5b0e7cedc0 09:08:54 Step 13/27 : RUN $MAKE 09:08:54 ---> Running in 010682c7aa41 09:08:54 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 09:09:16 Removing intermediate container 010682c7aa41 09:09:16 ---> 388edd1fc922 09:09:16 Step 14/27 : FROM alpine:3.16 09:09:16 3.16: Pulling from library/alpine 09:09:16 213ec9aee27d: Pulling fs layer 09:09:16 213ec9aee27d: Verifying Checksum 09:09:16 213ec9aee27d: Download complete 09:09:16 213ec9aee27d: Pull complete 09:09:16 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:09:16 Status: Downloaded newer image for alpine:3.16 09:09:16 ---> 9c6f07244728 09:09:16 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:09:16 ---> Running in f99467829862 09:09:16 Removing intermediate container f99467829862 09:09:16 ---> fa90d5c6d004 09:09:16 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:09:16 ---> Running in 941614669f71 09:09:16 Removing intermediate container 941614669f71 09:09:16 ---> 2de7200f81b0 09:09:16 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 09:09:16 ---> Running in b19123e2dab5 09:09:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:09:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:09:16 (1/6) Installing dumb-init (1.2.5-r1) 09:09:16 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:09:17 (3/6) Installing libsodium (1.0.18-r0) 09:09:17 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:09:17 (5/6) Installing libzmq (4.3.4-r0) 09:09:17 (6/6) Installing zeromq (4.3.4-r0) 09:09:17 Executing busybox-1.35.0-r17.trigger 09:09:17 OK: 8 MiB in 20 packages 09:09:17 Removing intermediate container b19123e2dab5 09:09:17 ---> 8d1dbad943f3 09:09:17 Step 18/27 : WORKDIR / 09:09:17 ---> Running in 8e39ff0b4231 09:09:17 Removing intermediate container 8e39ff0b4231 09:09:17 ---> ef5ea713a7a5 09:09:17 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:09:17 ---> ce08b65af3e3 09:09:17 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 09:09:18 ---> 7ce125a28660 09:09:18 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 09:09:18 ---> 86f4fd8e231b 09:09:18 Step 22/27 : EXPOSE 59900 09:09:18 ---> Running in b3a2382ad243 09:09:18 Removing intermediate container b3a2382ad243 09:09:18 ---> 80af3b22270e 09:09:18 Step 23/27 : ENTRYPOINT ["/device-virtual"] 09:09:18 ---> Running in 6747c25c8d4c 09:09:19 Removing intermediate container 6747c25c8d4c 09:09:19 ---> 1e2a2692f600 09:09:19 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:09:19 ---> Running in 0a80df5f987d 09:09:19 Removing intermediate container 0a80df5f987d 09:09:19 ---> eab815cacb98 09:09:19 Step 25/27 : LABEL arch=amd64 09:09:19 ---> Running in 2aa96786f50c 09:09:19 Removing intermediate container 2aa96786f50c 09:09:19 ---> 3ab997ed4074 09:09:19 Step 26/27 : LABEL git_sha=0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 09:09:19 ---> Running in c1c06b7b749e 09:09:19 Removing intermediate container c1c06b7b749e 09:09:19 ---> 550e96cedfa3 09:09:19 Step 27/27 : LABEL version=0.0.0 09:09:19 ---> Running in 14ce092a39b7 09:09:19 Removing intermediate container 14ce092a39b7 09:09:19 ---> d1c06835b418 09:09:19 [Warning] One or more build-args [ARCH] were not consumed 09:09:19 Successfully built d1c06835b418 09:09:19 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:20 09:09:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:20 latest: Pulling from edgex-lftools-log-publisher 09:09:20 5eb5b503b376: Pulling fs layer 09:09:20 5c69ac0246d0: Pulling fs layer 09:09:20 ec43610c2a17: Pulling fs layer 09:09:20 3a2ae6a8a46f: Pulling fs layer 09:09:20 33b1e0a273af: Pulling fs layer 09:09:20 5d3b04190fa2: Pulling fs layer 09:09:20 2f39f015ded8: Pulling fs layer 09:09:20 33b1e0a273af: Waiting 09:09:20 2f39f015ded8: Waiting 09:09:20 5d3b04190fa2: Waiting 09:09:20 5c69ac0246d0: Download complete 09:09:20 3a2ae6a8a46f: Verifying Checksum 09:09:20 3a2ae6a8a46f: Download complete 09:09:20 33b1e0a273af: Verifying Checksum 09:09:20 33b1e0a273af: Download complete 09:09:20 ec43610c2a17: Verifying Checksum 09:09:20 ec43610c2a17: Download complete 09:09:20 5d3b04190fa2: Download complete 09:09:20 5eb5b503b376: Verifying Checksum 09:09:20 5eb5b503b376: Download complete 09:09:21 2f39f015ded8: Download complete 09:09:21 5eb5b503b376: Pull complete 09:09:21 5c69ac0246d0: Pull complete 09:09:22 ec43610c2a17: Pull complete 09:09:22 3a2ae6a8a46f: Pull complete 09:09:22 33b1e0a273af: Pull complete 09:09:22 5d3b04190fa2: Pull complete 09:09:26 2f39f015ded8: Pull complete 09:09:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:09:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:09:27 prd-ubuntu20.04-docker-8c-8g-1330 does not seem to be running inside a container 09:09:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-308 -v /w/workspace/foundry_device-virtual-go_PR-308:/w/workspace/foundry_device-virtual-go_PR-308:rw,z -v /w/workspace/foundry_device-virtual-go_PR-308@tmp:/w/workspace/foundry_device-virtual-go_PR-308@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:09:29 $ docker top f8f74df279cbd7491716ff31069670b4af8eb66b92f48f11509b95abf26874e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:09:30 ---> job-cost.sh 09:09:30 lf-activate-venv: SKIPPING 09:09:30 INFO: No Stack... 09:09:30 INFO: Retrieving Pricing Info for: v3-standard-8 09:09:31 INFO: Archiving Costs [Pipeline] sh 09:09:31 + cat /w/workspace/foundry_device-virtual-go_PR-308/archives/cost.csv 09:09:31 + cut -d, -f6 [Pipeline] lock 09:09:31 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] 09:09:31 Resource [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] did not exist. Created. 09:09:31 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:09:31 + echo total: 0.2199999988079071 [Pipeline] stash 09:09:31 Stashed 1 file(s) [Pipeline] } 09:09:31 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:09:32 $ docker stop --time=1 f8f74df279cbd7491716ff31069670b4af8eb66b92f48f11509b95abf26874e5 09:09:33 $ docker rm -f f8f74df279cbd7491716ff31069670b4af8eb66b92f48f11509b95abf26874e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:09:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1331 in /w/workspace/foundry_device-virtual-go_PR-308 [Pipeline] { [Pipeline] ws 09:09:36 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 09:09:36 The recommended git tool is: git 09:09:41 using credential edgex-jenkins-ssh 09:09:41 Cloning the remote Git repository 09:09:41 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:09:41 > git init /w/workspace/device-virtual-go/1 # timeout=10 09:09:41 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:09:41 > git --version # timeout=10 09:09:41 > git --version # 'git version 2.25.1' 09:09:41 using GIT_SSH to set credentials SSH Credentials for GitHub 09:09:41 Verifying host key using known hosts file 09:09:42 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. 09:09:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:09:44 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:09:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:09:45 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:09:45 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:09:45 using GIT_SSH to set credentials SSH Credentials for GitHub 09:09:45 Verifying host key using known hosts file 09:09:45 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. 09:09:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/308/head:refs/remotes/origin/PR-308 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:09:45 Merging remotes/origin/main commit 338b4a6717ad749e6fbb765a40a4439a1a99c0fd into PR head commit 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 09:09:45 Merge succeeded, producing 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 09:09:45 Checking out Revision 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 (PR-308) 09:09:45 > git config core.sparsecheckout # timeout=10 09:09:45 > git checkout -f 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 # timeout=10 09:09:45 > git remote # timeout=10 09:09:45 > git config --get remote.origin.url # timeout=10 09:09:45 using GIT_SSH to set credentials SSH Credentials for GitHub 09:09:45 Verifying host key using known hosts file 09:09:45 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. 09:09:45 > git merge 338b4a6717ad749e6fbb765a40a4439a1a99c0fd # timeout=10 09:09:45 > git rev-parse HEAD^{commit} # timeout=10 09:09:45 > git config core.sparsecheckout # timeout=10 09:09:45 > git checkout -f 0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 # timeout=10 09:09:49 Commit message: "feat: add internal message request/response topics" 09:09:49 > git --version # timeout=10 09:09:49 > git --version # 'git version 2.25.1' 09:09:49 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:09:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:09:50 % Total % Received % Xferd Average Speed Time Time Time Current 09:09:50 Dload Upload Total Spent Left Speed 09:09:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 80267 0 --:--:-- --:--:-- --:--:-- 80267 [Pipeline] sh 09:09:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:09:51 + sudo tee /etc/docker/daemon.new 09:09:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:09:51 { 09:09:51 "registry-mirrors": [ 09:09:51 "https://nexus3.edgexfoundry.org:10001" 09:09:51 ], 09:09:51 "bip": "10.250.0.254/24", 09:09:51 "hosts": [ 09:09:51 "tcp://0.0.0.0:5555", 09:09:51 "unix:///var/run/docker.sock" 09:09:51 ], 09:09:51 "mtu": 1458, 09:09:51 "selinux-enabled": true, 09:09:51 "seccomp-profile": "/etc/docker/seccomp.json" 09:09:51 } [Pipeline] sh 09:09:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:09:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:10:10 provisioning config files... 09:10:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config18350518889018995409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:10:11 ---> docker-login.sh 09:10:11 nexus3.edgexfoundry.org:10001 09:10:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:11 Configure a credential helper to remove this warning. See 09:10:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:11 09:10:11 Login Succeeded 09:10:11 nexus3.edgexfoundry.org:10002 09:10:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:12 Configure a credential helper to remove this warning. See 09:10:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:12 09:10:12 Login Succeeded 09:10:12 nexus3.edgexfoundry.org:10003 09:10:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:12 Configure a credential helper to remove this warning. See 09:10:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:12 09:10:12 Login Succeeded 09:10:12 nexus3.edgexfoundry.org:10004 09:10:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:12 Configure a credential helper to remove this warning. See 09:10:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:12 09:10:12 Login Succeeded 09:10:12 docker.io 09:10:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:13 Configure a credential helper to remove this warning. See 09:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:13 09:10:13 Login Succeeded 09:10:13 ---> docker-login.sh ends [Pipeline] } 09:10:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:10:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:10:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:10:13 ========================================================= 09:10:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:10:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:14 + 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 . 09:10:14 Sending build context to Docker daemon 11.74MB 09:10:14 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:10:14 Step 2/13 : FROM ${BASE} AS builder 09:10:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:10:14 b3c136eddcbf: Pulling fs layer 09:10:14 c0a3192eca97: Pulling fs layer 09:10:14 a050256f5b6f: Pulling fs layer 09:10:14 656be50a0ddc: Pulling fs layer 09:10:14 2bbca73fdf42: Pulling fs layer 09:10:14 46d945488cbd: Pulling fs layer 09:10:14 8a5474983e97: Pulling fs layer 09:10:14 329c88fbcd65: Pulling fs layer 09:10:14 46d945488cbd: Waiting 09:10:14 656be50a0ddc: Waiting 09:10:14 2bbca73fdf42: Waiting 09:10:14 8a5474983e97: Waiting 09:10:14 329c88fbcd65: Waiting 09:10:14 a050256f5b6f: Verifying Checksum 09:10:14 a050256f5b6f: Download complete 09:10:14 c0a3192eca97: Verifying Checksum 09:10:14 c0a3192eca97: Download complete 09:10:14 2bbca73fdf42: Verifying Checksum 09:10:14 2bbca73fdf42: Download complete 09:10:14 46d945488cbd: Verifying Checksum 09:10:14 46d945488cbd: Download complete 09:10:14 b3c136eddcbf: Verifying Checksum 09:10:15 b3c136eddcbf: Pull complete 09:10:16 329c88fbcd65: Verifying Checksum 09:10:16 329c88fbcd65: Download complete 09:10:17 c0a3192eca97: Pull complete 09:10:17 8a5474983e97: Verifying Checksum 09:10:17 8a5474983e97: Download complete 09:10:17 a050256f5b6f: Pull complete 09:10:17 656be50a0ddc: Verifying Checksum 09:10:17 656be50a0ddc: Download complete 09:10:30 656be50a0ddc: Pull complete 09:10:30 2bbca73fdf42: Pull complete 09:10:30 46d945488cbd: Pull complete 09:10:35 8a5474983e97: Pull complete 09:10:37 329c88fbcd65: Pull complete 09:10:37 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 09:10:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:10:37 ---> ff4287adb874 09:10:37 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:10:39 ---> Running in dd96bd32cd8a 09:10:39 Removing intermediate container dd96bd32cd8a 09:10:39 ---> 04fc72a74932 09:10:39 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 09:10:39 ---> Running in 1255b13e0d58 09:10:39 Removing intermediate container 1255b13e0d58 09:10:39 ---> 81f1e9fc6245 09:10:39 Step 5/13 : ARG ADD_BUILD_TAGS="" 09:10:39 ---> Running in b4e7fafc1444 09:10:40 Removing intermediate container b4e7fafc1444 09:10:40 ---> c8ae49d32b71 09:10:40 Step 6/13 : WORKDIR /device-virtual-go 09:10:40 ---> Running in c32a7aaab551 09:10:40 Removing intermediate container c32a7aaab551 09:10:40 ---> 4a772eab8dab 09:10:40 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:10:40 ---> Running in 09802ee1dc06 09:10:42 Removing intermediate container 09802ee1dc06 09:10:42 ---> fd8b76131f15 09:10:42 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:10:42 ---> Running in c86919ef4a65 09:10:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:10:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:10:45 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:10:45 (2/4) Installing libedit (20210910.3.1-r0) 09:10:45 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:10:45 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:10:45 Executing busybox-1.35.0-r13.trigger 09:10:45 OK: 226 MiB in 55 packages 09:10:46 Removing intermediate container c86919ef4a65 09:10:46 ---> a3d55688c762 09:10:46 Step 9/13 : COPY go.mod vendor* ./ 09:10:46 ---> b6a2d1c9fa91 09:10:46 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:10:46 ---> Running in b0255bd8f883 09:11:33 Removing intermediate container b0255bd8f883 09:11:33 ---> 6e44446e87f8 09:11:33 Step 11/13 : COPY . . 09:11:33 ---> 0a6f476b9223 09:11:33 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:11:33 ---> Running in 2edb666e2021 09:11:33 Removing intermediate container 2edb666e2021 09:11:33 ---> 7f8b185d1781 09:11:33 Step 13/13 : RUN $MAKE 09:11:33 ---> Running in 0630c044bcd8 09:11:34 noop 09:11:34 Removing intermediate container 0630c044bcd8 09:11:34 ---> 06201060e8a4 09:11:34 Successfully built 06201060e8a4 09:11:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:35 + docker inspect -f . ci-base-image-arm64 09:11:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:35 prd-ubuntu20.04-docker-arm64-4c-16g-1331 does not seem to be running inside a container 09:11:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/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 ******** -e ******** -e ******** ci-base-image-arm64 cat 09:11:36 $ docker top 490b327f2b6f79c247ff7c99dd31a5e27bf0de22ca71d54152b562c9d97ee65b -eo pid,comm [Pipeline] { [Pipeline] sh 09:11:37 + go version 09:11:37 go version go1.18.3 linux/arm64 [Pipeline] } 09:11:37 $ docker stop --time=1 490b327f2b6f79c247ff7c99dd31a5e27bf0de22ca71d54152b562c9d97ee65b 09:11:40 $ docker rm -f 490b327f2b6f79c247ff7c99dd31a5e27bf0de22ca71d54152b562c9d97ee65b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:40 + docker inspect -f . ci-base-image-arm64 09:11:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:41 prd-ubuntu20.04-docker-arm64-4c-16g-1331 does not seem to be running inside a container 09:11:41 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 09:11:42 $ docker top 881f36e26e8a63326193ecfb9aeacef738d50502c7cd0cbdc5b884be3f1b6dc3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:11:42 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 09:11:43 + make test 09:11:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:11:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:13:06 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:13:06 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.129s coverage: 65.7% of statements 09:13:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:13:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:13:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:13:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:13:24 ./bin/test-attribution-txt.sh 09:13:24 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 09:13:24 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 09:13:24 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 09:13:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:13:24 $ docker stop --time=1 881f36e26e8a63326193ecfb9aeacef738d50502c7cd0cbdc5b884be3f1b6dc3 09:13:26 $ docker rm -f 881f36e26e8a63326193ecfb9aeacef738d50502c7cd0cbdc5b884be3f1b6dc3 [Pipeline] // withDockerContainer [Pipeline] sh 09:13:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:13:27 Warning: overwriting stash ‘coverage-report’ 09:13:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:13:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:13:28 + ls -al . 09:13:28 total 192 09:13:28 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 09:11 . 09:13:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 09:09 .. 09:13:28 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 09:09 .git 09:13:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:09 .github 09:13:28 -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 09:09 .gitignore 09:13:28 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 09:09 .golangci.yml 09:13:28 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 27 09:09 Attribution.txt 09:13:28 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 27 09:09 CHANGELOG.md 09:13:28 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 27 09:09 Dockerfile 09:13:28 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 09:09 GOVERNANCE.md 09:13:28 -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 09:09 Jenkinsfile 09:13:28 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 09:09 LICENSE 09:13:28 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 27 09:09 Makefile 09:13:28 -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 09:09 OWNERS.md 09:13:28 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 27 09:09 README.md 09:13:28 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 09:07 VERSION 09:13:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 09:09 bin 09:13:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:09 cmd 09:13:28 -rw-r--r-- 1 jenkins jenkins 44128 Sep 27 09:13 coverage.out 09:13:28 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 27 09:09 go.mod 09:13:28 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 27 09:09 go.sum 09:13:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 09:09 internal 09:13:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 09:09 snap 09:13:28 -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 09:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:29 + 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=0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 --label arch=arm64 --label version=0.0.0 . 09:13:29 Sending build context to Docker daemon 11.78MB 09:13:29 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 09:13:29 Step 2/27 : FROM ${BASE} AS builder 09:13:29 ---> 06201060e8a4 09:13:29 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:13:29 ---> Running in c5ac780f540b 09:13:30 Removing intermediate container c5ac780f540b 09:13:30 ---> d8dcedbdb786 09:13:30 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:13:30 ---> Running in 4103e61a793a 09:13:30 Removing intermediate container 4103e61a793a 09:13:30 ---> 5eca6d72591b 09:13:30 Step 5/27 : ARG ADD_BUILD_TAGS="" 09:13:30 ---> Running in d7d6ee7716b1 09:13:30 Removing intermediate container d7d6ee7716b1 09:13:30 ---> 8b9b77a614c6 09:13:30 Step 6/27 : WORKDIR /device-virtual-go 09:13:30 ---> Running in 1c0149cb1005 09:13:31 Removing intermediate container 1c0149cb1005 09:13:31 ---> 7b71aa5d412d 09:13:31 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:13:31 ---> Running in 539007f50867 09:13:32 Removing intermediate container 539007f50867 09:13:32 ---> 37e881ed5dc3 09:13:32 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:13:32 ---> Running in dd8b65a768ba 09:13:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:13:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:13:35 OK: 226 MiB in 55 packages 09:13:36 Removing intermediate container dd8b65a768ba 09:13:36 ---> 3ca134c84bf6 09:13:36 Step 9/27 : COPY go.mod vendor* ./ 09:13:36 ---> c0f8138501ca 09:13:36 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:13:36 ---> Running in b1f2b9766cbb 09:13:38 Removing intermediate container b1f2b9766cbb 09:13:38 ---> c0977ff41850 09:13:38 Step 11/27 : COPY . . 09:13:39 ---> 705a933f77de 09:13:39 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:13:39 ---> Running in 9fda39b061a3 09:13:40 Removing intermediate container 9fda39b061a3 09:13:40 ---> c3016a339414 09:13:40 Step 13/27 : RUN $MAKE 09:13:40 ---> Running in 6af0c4dc8ab0 09:13:41 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 09:16:18 Removing intermediate container 6af0c4dc8ab0 09:16:18 ---> 08b4faa54f30 09:16:18 Step 14/27 : FROM alpine:3.16 09:16:18 3.16: Pulling from library/alpine 09:16:18 9b18e9b68314: Pulling fs layer 09:16:18 9b18e9b68314: Download complete 09:16:18 9b18e9b68314: Pull complete 09:16:18 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:16:18 Status: Downloaded newer image for alpine:3.16 09:16:18 ---> a6215f271958 09:16:18 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:16:18 ---> Running in f57d8df9e2b6 09:16:18 Removing intermediate container f57d8df9e2b6 09:16:18 ---> f70329559f86 09:16:18 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:16:18 ---> Running in 5714baf2aa19 09:16:18 Removing intermediate container 5714baf2aa19 09:16:18 ---> 47ede7ed59e5 09:16:18 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 09:16:18 ---> Running in 794d657adc4d 09:16:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:16:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:16:18 (1/6) Installing dumb-init (1.2.5-r1) 09:16:18 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:16:18 (3/6) Installing libsodium (1.0.18-r0) 09:16:18 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:16:18 (5/6) Installing libzmq (4.3.4-r0) 09:16:18 (6/6) Installing zeromq (4.3.4-r0) 09:16:18 Executing busybox-1.35.0-r17.trigger 09:16:18 OK: 8 MiB in 20 packages 09:16:18 Removing intermediate container 794d657adc4d 09:16:18 ---> c898712f2d7a 09:16:18 Step 18/27 : WORKDIR / 09:16:18 ---> Running in 399cbbe2a6d0 09:16:18 Removing intermediate container 399cbbe2a6d0 09:16:18 ---> a19c3ccfae77 09:16:18 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:16:18 ---> 9b81c1c50d56 09:16:18 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 09:16:18 ---> 2ca577cb1425 09:16:18 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 09:16:18 ---> 1b7568e89eb1 09:16:18 Step 22/27 : EXPOSE 59900 09:16:18 ---> Running in 91ed79788ddc 09:16:18 Removing intermediate container 91ed79788ddc 09:16:18 ---> 1bc7193a7638 09:16:18 Step 23/27 : ENTRYPOINT ["/device-virtual"] 09:16:18 ---> Running in 3dbad921f8f0 09:16:18 Removing intermediate container 3dbad921f8f0 09:16:18 ---> 115597757dd4 09:16:18 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:16:18 ---> Running in f60cba328a4f 09:16:18 Removing intermediate container f60cba328a4f 09:16:18 ---> 1570e48b7634 09:16:18 Step 25/27 : LABEL arch=arm64 09:16:18 ---> Running in 65cf777cff69 09:16:18 Removing intermediate container 65cf777cff69 09:16:18 ---> c08be40b6e27 09:16:18 Step 26/27 : LABEL git_sha=0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 09:16:18 ---> Running in 2fd27474bdfc 09:16:18 Removing intermediate container 2fd27474bdfc 09:16:18 ---> 987f87268026 09:16:18 Step 27/27 : LABEL version=0.0.0 09:16:18 ---> Running in 1496396911d5 09:16:18 Removing intermediate container 1496396911d5 09:16:18 ---> 5eb6a3af1f62 09:16:18 [Warning] One or more build-args [ARCH] were not consumed 09:16:18 Successfully built 5eb6a3af1f62 09:16:18 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:16:19 09:16:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:16:19 arm64: Pulling from edgex-lftools-log-publisher 09:16:19 8998bd30e6a1: Pulling fs layer 09:16:19 04944245beec: Pulling fs layer 09:16:19 699f458cf7ca: Pulling fs layer 09:16:19 765212b225bb: Pulling fs layer 09:16:19 f23df028b6ca: Pulling fs layer 09:16:19 d65c8cfc05b1: Pulling fs layer 09:16:19 2437ff75d9bd: Pulling fs layer 09:16:19 765212b225bb: Waiting 09:16:19 f23df028b6ca: Waiting 09:16:19 d65c8cfc05b1: Waiting 09:16:19 2437ff75d9bd: Waiting 09:16:19 04944245beec: Verifying Checksum 09:16:19 04944245beec: Download complete 09:16:19 765212b225bb: Verifying Checksum 09:16:19 765212b225bb: Download complete 09:16:19 f23df028b6ca: Verifying Checksum 09:16:19 f23df028b6ca: Download complete 09:16:19 d65c8cfc05b1: Verifying Checksum 09:16:19 d65c8cfc05b1: Download complete 09:16:19 699f458cf7ca: Verifying Checksum 09:16:19 699f458cf7ca: Download complete 09:16:20 8998bd30e6a1: Verifying Checksum 09:16:20 8998bd30e6a1: Download complete 09:16:23 2437ff75d9bd: Verifying Checksum 09:16:23 2437ff75d9bd: Download complete 09:16:24 8998bd30e6a1: Pull complete 09:16:24 04944245beec: Pull complete 09:16:26 699f458cf7ca: Pull complete 09:16:26 765212b225bb: Pull complete 09:16:27 f23df028b6ca: Pull complete 09:16:27 d65c8cfc05b1: Pull complete 09:16:42 2437ff75d9bd: Pull complete 09:16:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:16:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:16:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:16:42 prd-ubuntu20.04-docker-arm64-4c-16g-1331 does not seem to be running inside a container 09:16:42 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:16:45 $ docker top a8d58b1d5f247e086a644b0a4956a911681ce44533f04371a23926dd61b61ad3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:16:45 ---> job-cost.sh 09:16:45 lf-activate-venv: SKIPPING 09:16:45 INFO: No Stack... 09:16:46 INFO: Retrieving Pricing Info for: v3-standard-4 09:16:47 INFO: Archiving Costs [Pipeline] sh 09:16:47 + + cat /w/workspace/device-virtual-go/1/archives/cost.csv 09:16:47 cut -d, -f6 [Pipeline] lock 09:16:47 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] 09:16:47 Resource [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] did not exist. Created. 09:16:47 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:16:48 /w/workspace/device-virtual-go/1@tmp/durable-8a16a40f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:16:48 + echo total: 0.10999999940395355 [Pipeline] stash 09:16:48 Warning: overwriting stash ‘stack-cost’ 09:16:48 Stashed 1 file(s) [Pipeline] } 09:16:48 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-308-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:16:49 $ docker stop --time=1 a8d58b1d5f247e086a644b0a4956a911681ce44533f04371a23926dd61b61ad3 09:16:50 $ docker rm -f a8d58b1d5f247e086a644b0a4956a911681ce44533f04371a23926dd61b61ad3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:16:51 provisioning config files... 09:16:51 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-308@tmp/config12610856939617417496tmp [Pipeline] { [Pipeline] sh 09:16:51 + set +x 09:16:51 + curl -s https://codecov.io/bash 09:16:51 + bash -s -- 09:16:51 09:16:51 _____ _ 09:16:51 / ____| | | 09:16:51 | | ___ __| | ___ ___ _____ __ 09:16:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:16:51 | |___| (_) | (_| | __/ (_| (_) \ V / 09:16:51 \_____\___/ \__,_|\___|\___\___/ \_/ 09:16:51 Bash-1.0.6 09:16:51 09:16:51 09:16:51 ==> git version 2.25.1 found 09:16:51 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 09:16:51 Release-Date: 2020-01-08 09:16:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:16:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:16:51 ==> Jenkins CI detected. 09:16:51 current dir:  /w/workspace/foundry_device-virtual-go_PR-308 09:16:51 project root: . 09:16:51 --> token set from env 09:16:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:16:51 ==> Running gcov in . (disable via -X gcov) 09:16:51 ==> Python coveragepy not found 09:16:51 ==> Searching for coverage reports in: 09:16:51 + . 09:16:51 -> Found 1 reports 09:16:51 ==> Detecting git/mercurial file structure 09:16:51 ==> Reading reports 09:16:51 + ./coverage.out bytes=44128 09:16:51 ==> Appending adjustments 09:16:51 https://docs.codecov.io/docs/fixing-reports 09:16:52 + Found adjustments 09:16:52 ==> Gzipping contents 09:16:52 8.0K /tmp/codecov.Y6VjeZ.gz 09:16:52 ==> Uploading reports 09:16:52 url: https://codecov.io 09:16:52 query: branch=PR-308&commit=0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-308%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=308&job=&cmd_args= 09:16:52 -> Pinging Codecov 09:16:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-308&commit=0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-308%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=308&job=&cmd_args= 09:16:52 -> Uploading to 09:16:52 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/5E52B4B073DB2E39498172D8E973AA87/0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964/ff1529bc-fad2-4dbf-be3a-496f3d2232f5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T091652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e33e36f012cf612b81d4ad1a6f20fdc13e6f85bd3ddecfe41fba70a51b22e17b 09:16:52 % Total % Received % Xferd Average Speed Time Time Time Current 09:16:52 Dload Upload Total Spent Left Speed 09:16:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5485 0 0 100 5485 0 20855 --:--:-- --:--:-- --:--:-- 20855 09:16:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/0b45d56e7b64418fa3ac13a0c8ad83cc9f4cc964 [Pipeline] } 09:16:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:16:54 + [ -d /w/workspace/foundry_device-virtual-go_PR-308/archives ] 09:16:54 + ls -al /w/workspace/foundry_device-virtual-go_PR-308/archives 09:16:54 total 16 09:16:54 drwxr-xr-x 3 root root 4096 Sep 27 09:09 . 09:16:54 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 09:09 .. 09:16:54 drwxr-xr-x 2 root root 4096 Sep 27 09:09 cost 09:16:54 -rw-r--r-- 1 root root 89 Sep 27 09:09 cost.csv 09:16:54 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-308/archives 09:16:54 + ls -al /w/workspace/foundry_device-virtual-go_PR-308/archives 09:16:54 total 16 09:16:54 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 09:09 . 09:16:54 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 09:09 .. 09:16:54 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 09:09 cost 09:16:54 -rw-r--r-- 1 jenkins jenkins 89 Sep 27 09:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:16:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:16:55 ---> package-listing.sh 09:16:55 ++ facter osfamily 09:16:55 ++ tr '[:upper:]' '[:lower:]' 09:16:55 + OS_FAMILY=debian 09:16:55 + workspace=/w/workspace/foundry_device-virtual-go_PR-308 09:16:55 + START_PACKAGES=/tmp/packages_start.txt 09:16:55 + END_PACKAGES=/tmp/packages_end.txt 09:16:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:16:55 + PACKAGES=/tmp/packages_start.txt 09:16:55 + '[' /w/workspace/foundry_device-virtual-go_PR-308 ']' 09:16:55 + PACKAGES=/tmp/packages_end.txt 09:16:55 + case "${OS_FAMILY}" in 09:16:55 + dpkg -l 09:16:55 + grep '^ii' 09:16:55 + '[' -f /tmp/packages_start.txt ']' 09:16:55 + '[' -f /tmp/packages_end.txt ']' 09:16:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:16:55 + '[' /w/workspace/foundry_device-virtual-go_PR-308 ']' 09:16:55 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-308/archives/ 09:16:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-308/archives/ [Pipeline] echo 09:16:55 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-308/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:16:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:16:56 prd-ubuntu20.04-docker-8c-8g-1330 does not seem to be running inside a container 09:16:56 $ 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-308/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-308 -v /w/workspace/foundry_device-virtual-go_PR-308:/w/workspace/foundry_device-virtual-go_PR-308:rw,z -v /w/workspace/foundry_device-virtual-go_PR-308@tmp:/w/workspace/foundry_device-virtual-go_PR-308@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:16:57 $ docker top 40729df56b3263d2636c6c8dcb07078973f4f771a30ea65be706ee5244532cc5 -eo pid,comm [Pipeline] { [Pipeline] sh 09:16:57 + touch /tmp/pre-build-complete [Pipeline] sh 09:16:57 + mkdir -p /var/log/sysstat [Pipeline] sh 09:16:58 + ls /var/log/sa-host 09:16:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:16:58 provisioning config files... 09:16:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-308@tmp/config16158406503235987547tmp [Pipeline] { [Pipeline] echo 09:16:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:16:58 ---> create-netrc.sh [Pipeline] } 09:16:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:16:59 ---> python-tools-install.sh [Pipeline] echo 09:16:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:16:59 ---> sudo-logs.sh 09:16:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:16:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:16:59 ---> job-cost.sh 09:16:59 lf-activate-venv: SKIPPING 09:16:59 DEBUG: total: 0.2199999988079071 09:16:59 INFO: Retrieving Stack Cost... 09:17:00 INFO: Retrieving Pricing Info for: v3-standard-8 09:17:00 INFO: Archiving Costs [Pipeline] echo 09:17:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:17:01 ---> logs-deploy.sh 09:17:01 lf-activate-venv: SKIPPING 09:17:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-308/1 09:17:01 INFO: archiving workspace using pattern(s): 09:17:02 Archives upload complete. 09:17:02 INFO: archiving logs to Nexus