Pull request #306 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e11f045f311ff971e5a274d2c890fd8a0545b719+e9e78a70a342ea66ab18edf5d69a1655646d3b52 (96dcd3596a9df377ae6596ee9dc543015a07d40a) 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-ssh3351620114525288864.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-ssh2936684863529957860.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-306/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-306/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12495916528135128037.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-306/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13658060581269569426.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-ssh10493730046315896386.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-306/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-306/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18122238171831253562.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-1140 in /w/workspace/foundry_device-virtual-go_PR-306 [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-306 # 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/306/head:refs/remotes/origin/PR-306 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e9e78a70a342ea66ab18edf5d69a1655646d3b52 into PR head commit e11f045f311ff971e5a274d2c890fd8a0545b719 Merge succeeded, producing e11f045f311ff971e5a274d2c890fd8a0545b719 Checking out Revision e11f045f311ff971e5a274d2c890fd8a0545b719 (PR-306) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f e11f045f311ff971e5a274d2c890fd8a0545b719 # 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 e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e11f045f311ff971e5a274d2c890fd8a0545b719 # timeout=10 [Pipeline] timeout 11:04:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:04:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:04:20 ========================================================= 11:04:20 EdgeX Global Pipelines Version Info 11:04:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:04:21 ------------------- 11:04:21 stable info: 11:04:21 ------------------- 11:04:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:04:21 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:04:21 Message: update stable to v1.0.239 11:04:22 ------------------- 11:04:22 experimental info: 11:04:22 ------------------- 11:04:22 Commited By: **** collab-it+edgex@linuxfoundation.org 11:04:22 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:04:22 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:04:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-306 [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-306 [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-306 [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e11f045f311ff971e5a274d2c890fd8a0545b719 [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e11f045 [Pipeline] echo 11:04:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:04:23 provisioning config files... 11:04:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-306@tmp/config17625946576233635323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:24 ---> docker-login.sh 11:04:24 nexus3.edgexfoundry.org:10001 11:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:24 Configure a credential helper to remove this warning. See 11:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:24 11:04:24 Login Succeeded 11:04:24 nexus3.edgexfoundry.org:10002 11:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:24 Configure a credential helper to remove this warning. See 11:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:24 11:04:24 Login Succeeded 11:04:24 nexus3.edgexfoundry.org:10003 11:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:24 Configure a credential helper to remove this warning. See 11:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:24 11:04:24 Login Succeeded 11:04:24 nexus3.edgexfoundry.org:10004 11:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:24 Configure a credential helper to remove this warning. See 11:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:24 11:04:24 Login Succeeded 11:04:24 docker.io 11:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:25 Configure a credential helper to remove this warning. See 11:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:25 11:04:25 Login Succeeded 11:04:25 ---> docker-login.sh ends [Pipeline] } 11:04:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:04:26 + git rev-list -1 --merges e11f045f311ff971e5a274d2c890fd8a0545b719~1..e11f045f311ff971e5a274d2c890fd8a0545b719 [Pipeline] echo 11:04:26 -----------> git rev-list -1 --merges e11f045f311ff971e5a274d2c890fd8a0545b719~1..e11f045f311ff971e5a274d2c890fd8a0545b719 e11f045f311ff971e5a274d2c890fd8a0545b719 [false] [Pipeline] sh 11:04:26 + git log --format=format:%s -1 e11f045f311ff971e5a274d2c890fd8a0545b719 [Pipeline] echo 11:04:26 ========================================================= 11:04:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:04:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:04:26 + git log --format=format:%s -1 e11f045f311ff971e5a274d2c890fd8a0545b719 [Pipeline] echo 11:04:26 [semverPrep] GIT_COMMIT: e11f045f311ff971e5a274d2c890fd8a0545b719, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 11:04:27 [semverPrep] This is not a build commit. [Pipeline] sh 11:04:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:04:27 + grep -v github /etc/ssh/ssh_known_hosts 11:04:27 + [ -e /tmp/ssh_known_hosts ] 11:04:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:04:27 + + sudo tee -a /etc/ssh/ssh_known_hosts 11:04:27 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:04:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:04:27 11:04:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:04:28 0.1.4: Pulling from edgex-devops/py-git-semver 11:04:28 b85a868b505f: Pulling fs layer 11:04:28 e2be974225ed: Pulling fs layer 11:04:28 339a4e72a1f5: Pulling fs layer 11:04:28 988bab9f4d93: Pulling fs layer 11:04:28 1469e6f7b9e6: Pulling fs layer 11:04:28 eaf3925da568: Pulling fs layer 11:04:28 bab4dde63d76: Pulling fs layer 11:04:28 bde34c3a00c8: Pulling fs layer 11:04:28 b352a97aabf1: Pulling fs layer 11:04:28 4872d77fe225: Pulling fs layer 11:04:28 5851b861e8e6: Pulling fs layer 11:04:28 988bab9f4d93: Waiting 11:04:28 1469e6f7b9e6: Waiting 11:04:28 eaf3925da568: Waiting 11:04:28 bab4dde63d76: Waiting 11:04:28 bde34c3a00c8: Waiting 11:04:28 b352a97aabf1: Waiting 11:04:28 4872d77fe225: Waiting 11:04:28 5851b861e8e6: Waiting 11:04:28 e2be974225ed: Verifying Checksum 11:04:28 e2be974225ed: Download complete 11:04:28 988bab9f4d93: Download complete 11:04:28 1469e6f7b9e6: Verifying Checksum 11:04:28 1469e6f7b9e6: Download complete 11:04:28 339a4e72a1f5: Verifying Checksum 11:04:28 339a4e72a1f5: Download complete 11:04:28 eaf3925da568: Verifying Checksum 11:04:28 eaf3925da568: Download complete 11:04:28 bde34c3a00c8: Download complete 11:04:28 b352a97aabf1: Download complete 11:04:28 4872d77fe225: Verifying Checksum 11:04:28 4872d77fe225: Download complete 11:04:28 5851b861e8e6: Verifying Checksum 11:04:28 5851b861e8e6: Download complete 11:04:28 b85a868b505f: Verifying Checksum 11:04:28 b85a868b505f: Download complete 11:04:28 bab4dde63d76: Verifying Checksum 11:04:28 bab4dde63d76: Download complete 11:04:29 b85a868b505f: Pull complete 11:04:29 e2be974225ed: Pull complete 11:04:30 339a4e72a1f5: Pull complete 11:04:30 988bab9f4d93: Pull complete 11:04:30 1469e6f7b9e6: Pull complete 11:04:30 eaf3925da568: Pull complete 11:04:32 bab4dde63d76: Pull complete 11:04:32 bde34c3a00c8: Pull complete 11:04:32 b352a97aabf1: Pull complete 11:04:32 4872d77fe225: Pull complete 11:04:32 5851b861e8e6: Pull complete 11:04:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:04:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:04:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:04:33 prd-ubuntu20.04-docker-8c-8g-1140 does not seem to be running inside a container 11:04:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-306 -v /w/workspace/foundry_device-virtual-go_PR-306:/w/workspace/foundry_device-virtual-go_PR-306:rw,z -v /w/workspace/foundry_device-virtual-go_PR-306@tmp:/w/workspace/foundry_device-virtual-go_PR-306@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:04:35 $ docker top 79eaf1646357dc7b4e6a5f035c0ce11679f3f203f243ad477a350cbabaeac7ef -eo pid,comm 11:04:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:04:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:04:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:35 [ssh-agent] Looking for ssh-agent implementation... 11:04:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:35 $ docker exec 79eaf1646357dc7b4e6a5f035c0ce11679f3f203f243ad477a350cbabaeac7ef ssh-agent 11:04:35 SSH_AUTH_SOCK=/tmp/ssh-tp6fDKgLoIdl/agent.32 11:04:35 SSH_AGENT_PID=38 11:04:35 Running ssh-add (command line suppressed) 11:04:35 Identity added: /w/workspace/foundry_device-virtual-go_PR-306@tmp/private_key_18382484245455762479.key (/w/workspace/foundry_device-virtual-go_PR-306@tmp/private_key_18382484245455762479.key) 11:04:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:36 + git tag --points-at HEAD [Pipeline] } 11:04:36 $ docker exec --env ******** --env ******** 79eaf1646357dc7b4e6a5f035c0ce11679f3f203f243ad477a350cbabaeac7ef ssh-agent -k 11:04:36 unset SSH_AUTH_SOCK; 11:04:36 unset SSH_AGENT_PID; 11:04:36 echo Agent pid 38 killed; 11:04:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:04:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:36 [ssh-agent] Looking for ssh-agent implementation... 11:04:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:36 $ docker exec 79eaf1646357dc7b4e6a5f035c0ce11679f3f203f243ad477a350cbabaeac7ef ssh-agent 11:04:36 SSH_AUTH_SOCK=/tmp/ssh-MPQDZDBnz0mK/agent.71 11:04:36 SSH_AGENT_PID=77 11:04:36 Running ssh-add (command line suppressed) 11:04:36 Identity added: /w/workspace/foundry_device-virtual-go_PR-306@tmp/private_key_4352334206507385235.key (/w/workspace/foundry_device-virtual-go_PR-306@tmp/private_key_4352334206507385235.key) 11:04:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:37 + git semver init 11:04:37 2022-09-26 11:04:37,329 [run_init] DEBUG init version:0.0.0 force:False 11:04:37 2022-09-26 11:04:37,330 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-306/.semver 11:04:37 2022-09-26 11:04:37,331 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-306/.semver 11:04:37 2022-09-26 11:04:37,331 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-306/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-306, universal_newlines=False, shell=None, istream=None) 11:04:38 2022-09-26 11:04:38,496 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-306/.git/info/exclude 11:04:38 2022-09-26 11:04:38,497 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-306/.semver/PR-306 with force:False 11:04:38 2022-09-26 11:04:38,497 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-306/.semver/PR-306 11:04:38 2022-09-26 11:04:38,502 [execute] INFO git cat-file --batch-check 11:04:38 2022-09-26 11:04:38,502 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-306/.semver, universal_newlines=False, shell=None, istream=) 11:04:38 2022-09-26 11:04:38,509 [execute] INFO git cat-file --batch 11:04:38 2022-09-26 11:04:38,509 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-306/.semver, universal_newlines=False, shell=None, istream=) 11:04:38 2022-09-26 11:04:38,514 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-306/.semver/PR-306 11:04:38 0.0.0 [Pipeline] } 11:04:38 $ docker exec --env ******** --env ******** 79eaf1646357dc7b4e6a5f035c0ce11679f3f203f243ad477a350cbabaeac7ef ssh-agent -k 11:04:38 unset SSH_AUTH_SOCK; 11:04:38 unset SSH_AGENT_PID; 11:04:38 echo Agent pid 77 killed; 11:04:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:04:39 + git semver [Pipeline] } 11:04:39 $ docker stop --time=1 79eaf1646357dc7b4e6a5f035c0ce11679f3f203f243ad477a350cbabaeac7ef 11:04:40 $ docker rm -f 79eaf1646357dc7b4e6a5f035c0ce11679f3f203f243ad477a350cbabaeac7ef [Pipeline] // withDockerContainer [Pipeline] sh 11:04:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:04:41 Stashed 1 file(s) [Pipeline] echo 11:04:41 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:04:42 provisioning config files... 11:04:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-306@tmp/config4157730281619926584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:42 ---> docker-login.sh 11:04:42 nexus3.edgexfoundry.org:10001 11:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:42 Configure a credential helper to remove this warning. See 11:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:42 11:04:42 Login Succeeded 11:04:42 nexus3.edgexfoundry.org:10002 11:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:42 Configure a credential helper to remove this warning. See 11:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:42 11:04:42 Login Succeeded 11:04:42 nexus3.edgexfoundry.org:10003 11:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:42 Configure a credential helper to remove this warning. See 11:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:42 11:04:42 Login Succeeded 11:04:42 nexus3.edgexfoundry.org:10004 11:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:42 Configure a credential helper to remove this warning. See 11:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:42 11:04:42 Login Succeeded 11:04:42 docker.io 11:04:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:43 Configure a credential helper to remove this warning. See 11:04:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:43 11:04:43 Login Succeeded 11:04:43 ---> docker-login.sh ends [Pipeline] } 11:04:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:04:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:04:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:04:43 ========================================================= 11:04:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 11:04:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:44 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 11:04:44 Sending build context to Docker daemon 23.14MB 11:04:44 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 11:04:44 Step 2/13 : FROM ${BASE} AS builder 11:04:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 11:04:44 2408cc74d12b: Pulling fs layer 11:04:44 ea60b727a1ce: Pulling fs layer 11:04:44 30c4a7721957: Pulling fs layer 11:04:44 370296b7ddb6: Pulling fs layer 11:04:44 7c6cee850709: Pulling fs layer 11:04:44 39a5fcdaea64: Pulling fs layer 11:04:44 d94ebbe4e438: Pulling fs layer 11:04:44 bcfd1f05c69d: Pulling fs layer 11:04:44 59ccb84bbe0f: Pulling fs layer 11:04:44 370296b7ddb6: Waiting 11:04:44 d94ebbe4e438: Waiting 11:04:44 bcfd1f05c69d: Waiting 11:04:44 59ccb84bbe0f: Waiting 11:04:44 7c6cee850709: Waiting 11:04:44 39a5fcdaea64: Waiting 11:04:44 30c4a7721957: Verifying Checksum 11:04:44 30c4a7721957: Download complete 11:04:44 ea60b727a1ce: Download complete 11:04:44 7c6cee850709: Verifying Checksum 11:04:44 7c6cee850709: Download complete 11:04:44 39a5fcdaea64: Verifying Checksum 11:04:44 39a5fcdaea64: Download complete 11:04:44 2408cc74d12b: Verifying Checksum 11:04:44 2408cc74d12b: Download complete 11:04:44 d94ebbe4e438: Verifying Checksum 11:04:44 d94ebbe4e438: Download complete 11:04:44 2408cc74d12b: Pull complete 11:04:44 ea60b727a1ce: Pull complete 11:04:44 30c4a7721957: Pull complete 11:04:45 bcfd1f05c69d: Verifying Checksum 11:04:45 bcfd1f05c69d: Download complete 11:04:45 59ccb84bbe0f: Download complete 11:04:45 370296b7ddb6: Verifying Checksum 11:04:45 370296b7ddb6: Download complete 11:04:49 370296b7ddb6: Pull complete 11:04:49 7c6cee850709: Pull complete 11:04:49 39a5fcdaea64: Pull complete 11:04:49 d94ebbe4e438: Pull complete 11:04:51 bcfd1f05c69d: Pull complete 11:04:52 59ccb84bbe0f: Pull complete 11:04:52 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 11:04:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 11:04:52 ---> a4fb48ad2a94 11:04:52 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:04:55 ---> Running in 48e516467f03 11:04:55 Removing intermediate container 48e516467f03 11:04:55 ---> 3116604a7187 11:04:55 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 11:04:55 ---> Running in 060085604ec4 11:04:55 Removing intermediate container 060085604ec4 11:04:55 ---> 464ffa54737d 11:04:55 Step 5/13 : ARG ADD_BUILD_TAGS="" 11:04:55 ---> Running in 6b2a729e04b9 11:04:55 Removing intermediate container 6b2a729e04b9 11:04:55 ---> 04a7a7df704f 11:04:55 Step 6/13 : WORKDIR /device-virtual-go 11:04:55 ---> Running in c0f83b13a3ad 11:04:55 Removing intermediate container c0f83b13a3ad 11:04:55 ---> be9ad772890c 11:04:55 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:04:55 ---> Running in a553ca8a2ddf 11:04:56 Removing intermediate container a553ca8a2ddf 11:04:56 ---> 99afecbcee77 11:04:56 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:04:56 ---> Running in 1df996899a85 11:04:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:04:57 Still waiting to schedule task 11:04:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:04:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:04:57 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:04:57 (2/4) Installing libedit (20210910.3.1-r0) 11:04:57 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:04:57 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:04:57 Executing busybox-1.35.0-r13.trigger 11:04:57 OK: 216 MiB in 55 packages 11:04:58 Removing intermediate container 1df996899a85 11:04:58 ---> b7b68db4781b 11:04:58 Step 9/13 : COPY go.mod vendor* ./ 11:04:58 ---> 140c8f512601 11:04:58 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:04:58 ---> Running in fd920da8d816 11:05:25 Removing intermediate container fd920da8d816 11:05:25 ---> 3a33cb710811 11:05:25 Step 11/13 : COPY . . 11:05:25 ---> b7363b69590e 11:05:25 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:05:25 ---> Running in 41c7bebb2714 11:05:25 Removing intermediate container 41c7bebb2714 11:05:25 ---> 13bda59ab7bb 11:05:25 Step 13/13 : RUN $MAKE 11:05:25 ---> Running in dc8ba9ca6b9f 11:05:25 noop 11:05:25 Removing intermediate container dc8ba9ca6b9f 11:05:25 ---> 6cd4bcf1708b 11:05:25 Successfully built 6cd4bcf1708b 11:05:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:25 + docker inspect -f . ci-base-image-x86_64 11:05:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:25 prd-ubuntu20.04-docker-8c-8g-1140 does not seem to be running inside a container 11:05:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-306 -v /w/workspace/foundry_device-virtual-go_PR-306:/w/workspace/foundry_device-virtual-go_PR-306:rw,z -v /w/workspace/foundry_device-virtual-go_PR-306@tmp:/w/workspace/foundry_device-virtual-go_PR-306@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:05:26 $ docker top 5c26713a760e58b41dc1bb1b988ddc6d6604c317d88a5934a8251eb5c7418df6 -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:26 + go version 11:05:26 go version go1.18.3 linux/amd64 [Pipeline] } 11:05:26 $ docker stop --time=1 5c26713a760e58b41dc1bb1b988ddc6d6604c317d88a5934a8251eb5c7418df6 11:05:27 $ docker rm -f 5c26713a760e58b41dc1bb1b988ddc6d6604c317d88a5934a8251eb5c7418df6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:28 + docker inspect -f . ci-base-image-x86_64 11:05:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:28 prd-ubuntu20.04-docker-8c-8g-1140 does not seem to be running inside a container 11:05:28 $ 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-306 -v /w/workspace/foundry_device-virtual-go_PR-306:/w/workspace/foundry_device-virtual-go_PR-306:rw,z -v /w/workspace/foundry_device-virtual-go_PR-306@tmp:/w/workspace/foundry_device-virtual-go_PR-306@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:05:29 $ docker top 07f3815385c0a6fbeb9c48accd43783bc25fc8b8a8a540d0942cbfa4c7927d9b -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:29 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-306 [Pipeline] fileExists [Pipeline] sh 11:05:29 + make test 11:05:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:05:30 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:05:40 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:05:40 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements 11:05:48 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 11:05:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:05:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:05:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:05:51 ./bin/test-attribution-txt.sh 11:05:51 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 11:05:51 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 11:05:51 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 11:05:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:05:51 $ docker stop --time=1 07f3815385c0a6fbeb9c48accd43783bc25fc8b8a8a540d0942cbfa4c7927d9b 11:05:53 $ docker rm -f 07f3815385c0a6fbeb9c48accd43783bc25fc8b8a8a540d0942cbfa4c7927d9b [Pipeline] // withDockerContainer [Pipeline] sh 11:05:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:05:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:05:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:05:55 + ls -al . 11:05:55 total 196 11:05:55 drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 11:05 . 11:05:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 11:04 .. 11:05:55 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 11:05 .git 11:05:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 11:04 .github 11:05:55 -rw-rw-r-- 1 jenkins jenkins 337 Sep 26 11:04 .gitignore 11:05:55 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 11:04 .golangci.yml 11:05:55 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 11:04 .semver 11:05:55 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 26 11:04 Attribution.txt 11:05:55 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 26 11:04 CHANGELOG.md 11:05:55 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 26 11:04 Dockerfile 11:05:55 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 11:04 GOVERNANCE.md 11:05:55 -rw-rw-r-- 1 jenkins jenkins 660 Sep 26 11:04 Jenkinsfile 11:05:55 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 11:04 LICENSE 11:05:55 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 26 11:04 Makefile 11:05:55 -rw-rw-r-- 1 jenkins jenkins 623 Sep 26 11:04 OWNERS.md 11:05:55 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 26 11:04 README.md 11:05:55 -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 11:04 VERSION 11:05:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 11:04 bin 11:05:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 11:04 cmd 11:05:55 -rw-r--r-- 1 jenkins jenkins 44128 Sep 26 11:05 coverage.out 11:05:55 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 26 11:04 go.mod 11:05:55 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 26 11:04 go.sum 11:05:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 11:04 internal 11:05:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 11:04 snap 11:05:55 -rw-rw-r-- 1 jenkins jenkins 235 Sep 26 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:55 + 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=e11f045f311ff971e5a274d2c890fd8a0545b719 --label arch=amd64 --label version=0.0.0 . 11:05:55 Sending build context to Docker daemon 23.19MB 11:05:55 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 11:05:55 Step 2/27 : FROM ${BASE} AS builder 11:05:55 ---> 6cd4bcf1708b 11:05:55 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:05:55 ---> Running in c7a1045e3935 11:05:55 Removing intermediate container c7a1045e3935 11:05:55 ---> 7621854b67c7 11:05:55 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 11:05:55 ---> Running in 0402ad84c109 11:05:56 Removing intermediate container 0402ad84c109 11:05:56 ---> b64598c4f31d 11:05:56 Step 5/27 : ARG ADD_BUILD_TAGS="" 11:05:56 ---> Running in 2eb6ea75c882 11:05:56 Removing intermediate container 2eb6ea75c882 11:05:56 ---> 3b0d6b3d135c 11:05:56 Step 6/27 : WORKDIR /device-virtual-go 11:05:56 ---> Running in 03bf214da1ee 11:05:56 Removing intermediate container 03bf214da1ee 11:05:56 ---> 519218f1af89 11:05:56 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:05:56 ---> Running in 3faba9e8a957 11:05:56 Removing intermediate container 3faba9e8a957 11:05:56 ---> b7c35a3eeb80 11:05:56 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:05:56 ---> Running in 408ddad4fe1d 11:05:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:05:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:05:58 OK: 216 MiB in 55 packages 11:05:58 Removing intermediate container 408ddad4fe1d 11:05:58 ---> 62e69ae7f21a 11:05:58 Step 9/27 : COPY go.mod vendor* ./ 11:05:58 ---> 4f6365f68013 11:05:58 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:05:58 ---> Running in 92e88d0cfbb4 11:05:59 Removing intermediate container 92e88d0cfbb4 11:05:59 ---> efdc7904e967 11:05:59 Step 11/27 : COPY . . 11:05:59 ---> 96615887c4ca 11:05:59 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:05:59 ---> Running in 1508020d2ba4 11:06:00 Removing intermediate container 1508020d2ba4 11:06:00 ---> 17066c600e4a 11:06:00 Step 13/27 : RUN $MAKE 11:06:00 ---> Running in 482e8972de05 11:06:00 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:06:22 Removing intermediate container 482e8972de05 11:06:22 ---> 268726fbb3b6 11:06:22 Step 14/27 : FROM alpine:3.16 11:06:22 3.16: Pulling from library/alpine 11:06:22 213ec9aee27d: Pulling fs layer 11:06:22 213ec9aee27d: Verifying Checksum 11:06:22 213ec9aee27d: Download complete 11:06:22 213ec9aee27d: Pull complete 11:06:22 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:06:22 Status: Downloaded newer image for alpine:3.16 11:06:22 ---> 9c6f07244728 11:06:22 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:06:22 ---> Running in f806642f14a3 11:06:22 Removing intermediate container f806642f14a3 11:06:22 ---> 3e2121593d62 11:06:22 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:22 ---> Running in 6bcb35677cb5 11:06:23 Removing intermediate container 6bcb35677cb5 11:06:23 ---> 19ba50b4e7fe 11:06:23 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 11:06:23 ---> Running in fc4f84c0984c 11:06:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:06:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:06:24 (1/6) Installing dumb-init (1.2.5-r1) 11:06:24 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:06:24 (3/6) Installing libsodium (1.0.18-r0) 11:06:25 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:06:25 (5/6) Installing libzmq (4.3.4-r0) 11:06:25 (6/6) Installing zeromq (4.3.4-r0) 11:06:25 Executing busybox-1.35.0-r17.trigger 11:06:25 OK: 8 MiB in 20 packages 11:06:25 Removing intermediate container fc4f84c0984c 11:06:25 ---> f1cf5ecb8667 11:06:25 Step 18/27 : WORKDIR / 11:06:25 ---> Running in eb70eee43892 11:06:25 Removing intermediate container eb70eee43892 11:06:25 ---> 72fcc1bc64f3 11:06:25 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:06:25 ---> 764c0b1d2984 11:06:25 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 11:06:26 ---> 213164425aaa 11:06:26 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 11:06:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1141 in /w/workspace/foundry_device-virtual-go_PR-306 [Pipeline] { [Pipeline] ws 11:06:26 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:06:26 The recommended git tool is: git 11:06:26 ---> 73c8c34d7982 11:06:26 Step 22/27 : EXPOSE 59900 11:06:26 ---> Running in d1bc5a1690d3 11:06:26 Removing intermediate container d1bc5a1690d3 11:06:26 ---> 8da728d98baf 11:06:26 Step 23/27 : ENTRYPOINT ["/device-virtual"] 11:06:26 ---> Running in c415d6137bc9 11:06:26 Removing intermediate container c415d6137bc9 11:06:26 ---> 85924c934734 11:06:26 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:06:26 ---> Running in de5f84e20749 11:06:26 Removing intermediate container de5f84e20749 11:06:26 ---> 045f9df598c0 11:06:26 Step 25/27 : LABEL arch=amd64 11:06:26 ---> Running in 8a47657ca48f 11:06:26 Removing intermediate container 8a47657ca48f 11:06:26 ---> 3a24faaa031c 11:06:26 Step 26/27 : LABEL git_sha=e11f045f311ff971e5a274d2c890fd8a0545b719 11:06:26 ---> Running in 742f697bf971 11:06:26 Removing intermediate container 742f697bf971 11:06:26 ---> a750f1aed7f5 11:06:26 Step 27/27 : LABEL version=0.0.0 11:06:26 ---> Running in 07c778e693e0 11:06:27 Removing intermediate container 07c778e693e0 11:06:27 ---> ddf126260308 11:06:27 [Warning] One or more build-args [ARCH] were not consumed 11:06:27 Successfully built ddf126260308 11:06:27 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:28 11:06:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:28 latest: Pulling from edgex-lftools-log-publisher 11:06:28 5eb5b503b376: Pulling fs layer 11:06:28 5c69ac0246d0: Pulling fs layer 11:06:28 ec43610c2a17: Pulling fs layer 11:06:28 3a2ae6a8a46f: Pulling fs layer 11:06:28 33b1e0a273af: Pulling fs layer 11:06:28 5d3b04190fa2: Pulling fs layer 11:06:28 2f39f015ded8: Pulling fs layer 11:06:28 3a2ae6a8a46f: Waiting 11:06:28 2f39f015ded8: Waiting 11:06:28 33b1e0a273af: Waiting 11:06:28 5d3b04190fa2: Waiting 11:06:28 5c69ac0246d0: Download complete 11:06:28 3a2ae6a8a46f: Verifying Checksum 11:06:28 3a2ae6a8a46f: Download complete 11:06:28 33b1e0a273af: Verifying Checksum 11:06:28 33b1e0a273af: Download complete 11:06:28 5d3b04190fa2: Verifying Checksum 11:06:28 5d3b04190fa2: Download complete 11:06:28 ec43610c2a17: Verifying Checksum 11:06:28 ec43610c2a17: Download complete 11:06:28 5eb5b503b376: Verifying Checksum 11:06:28 5eb5b503b376: Download complete 11:06:29 2f39f015ded8: Download complete 11:06:29 5eb5b503b376: Pull complete 11:06:30 5c69ac0246d0: Pull complete 11:06:30 ec43610c2a17: Pull complete 11:06:30 3a2ae6a8a46f: Pull complete 11:06:30 33b1e0a273af: Pull complete 11:06:30 5d3b04190fa2: Pull complete 11:06:31 using credential edgex-jenkins-ssh 11:06:31 Cloning the remote Git repository 11:06:31 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:06:31 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:06:31 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:06:31 > git --version # timeout=10 11:06:31 > git --version # 'git version 2.25.1' 11:06:31 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:31 Verifying host key using known hosts file 11:06:31 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:06:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:06:33 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:06:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:06:34 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:06:34 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:06:34 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:34 Verifying host key using known hosts file 11:06:34 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:06:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/306/head:refs/remotes/origin/PR-306 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:06:35 2f39f015ded8: Pull complete 11:06:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:06:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 11:06:35 Merging remotes/origin/main commit e9e78a70a342ea66ab18edf5d69a1655646d3b52 into PR head commit e11f045f311ff971e5a274d2c890fd8a0545b719 [Pipeline] withDockerContainer 11:06:35 prd-ubuntu20.04-docker-8c-8g-1140 does not seem to be running inside a container 11:06:35 $ 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-306 -v /w/workspace/foundry_device-virtual-go_PR-306:/w/workspace/foundry_device-virtual-go_PR-306:rw,z -v /w/workspace/foundry_device-virtual-go_PR-306@tmp:/w/workspace/foundry_device-virtual-go_PR-306@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:06:35 Merge succeeded, producing e11f045f311ff971e5a274d2c890fd8a0545b719 11:06:35 Checking out Revision e11f045f311ff971e5a274d2c890fd8a0545b719 (PR-306) 11:06:35 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 11:06:35 > git --version # timeout=10 11:06:35 > git --version # 'git version 2.25.1' 11:06:36 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 11:06:35 > git config core.sparsecheckout # timeout=10 11:06:35 > git checkout -f e11f045f311ff971e5a274d2c890fd8a0545b719 # timeout=10 11:06:35 > git remote # timeout=10 11:06:35 > git config --get remote.origin.url # timeout=10 11:06:35 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:35 Verifying host key using known hosts file 11:06:35 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:06:35 > git merge e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 11:06:35 > git rev-parse HEAD^{commit} # timeout=10 11:06:35 > git config core.sparsecheckout # timeout=10 11:06:35 > git checkout -f e11f045f311ff971e5a274d2c890fd8a0545b719 # timeout=10 11:06:36 11:06:36 GitHub has been notified of this commit’s build result 11:06:36 11:06:37 $ docker top ba64af8a7969aa3844e482b3a237380e4e2e2d565572ee0931ca1485b4636551 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:38 ---> job-cost.sh 11:06:38 lf-activate-venv: SKIPPING 11:06:38 INFO: No Stack... 11:06:38 INFO: Retrieving Pricing Info for: v3-standard-8 11:06:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:06:38 % Total % Received % Xferd Average Speed Time Time Time Current 11:06:38 Dload Upload Total Spent Left Speed 11:06:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96198 0 --:--:-- --:--:-- --:--:-- 96198 [Pipeline] sh 11:06:39 INFO: Archiving Costs [Pipeline] sh 11:06:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:06:39 + cat /w/workspace/foundry_device-virtual-go_PR-306/archives/cost.csv 11:06:39 + cut -d, -f6 [Pipeline] lock 11:06:39 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] 11:06:39 Resource [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] did not exist. Created. 11:06:39 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:06:39 + sudo tee /etc/docker/daemon.new 11:06:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:06:39 { 11:06:39 "registry-mirrors": [ 11:06:39 "https://nexus3.edgexfoundry.org:10001" 11:06:39 ], 11:06:39 "bip": "10.250.0.254/24", 11:06:39 "hosts": [ 11:06:39 "tcp://0.0.0.0:5555", 11:06:39 "unix:///var/run/docker.sock" 11:06:39 ], 11:06:39 "mtu": 1458, 11:06:39 "selinux-enabled": true, 11:06:39 "seccomp-profile": "/etc/docker/seccomp.json" 11:06:39 } [Pipeline] sh 11:06:39 + echo total: 0.2199999988079071 [Pipeline] stash 11:06:39 Stashed 1 file(s) [Pipeline] } 11:06:39 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] 11:06:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // lock [Pipeline] } 11:06:40 $ docker stop --time=1 ba64af8a7969aa3844e482b3a237380e4e2e2d565572ee0931ca1485b4636551 11:06:41 $ docker rm -f ba64af8a7969aa3844e482b3a237380e4e2e2d565572ee0931ca1485b4636551 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:06:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:06:59 provisioning config files... 11:07:00 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8855817970107995938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:00 ---> docker-login.sh 11:07:00 nexus3.edgexfoundry.org:10001 11:07:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:00 Configure a credential helper to remove this warning. See 11:07:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:00 11:07:00 Login Succeeded 11:07:01 nexus3.edgexfoundry.org:10002 11:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:01 Configure a credential helper to remove this warning. See 11:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:01 11:07:01 Login Succeeded 11:07:01 nexus3.edgexfoundry.org:10003 11:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:01 Configure a credential helper to remove this warning. See 11:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:01 11:07:01 Login Succeeded 11:07:01 nexus3.edgexfoundry.org:10004 11:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:02 Configure a credential helper to remove this warning. See 11:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:02 11:07:02 Login Succeeded 11:07:02 docker.io 11:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:02 Configure a credential helper to remove this warning. See 11:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:02 11:07:02 Login Succeeded 11:07:02 ---> docker-login.sh ends [Pipeline] } 11:07:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:07:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:03 ========================================================= 11:07:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 11:07:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:03 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 11:07:03 Sending build context to Docker daemon 11.71MB 11:07:03 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 11:07:03 Step 2/13 : FROM ${BASE} AS builder 11:07:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:07:04 b3c136eddcbf: Pulling fs layer 11:07:04 c0a3192eca97: Pulling fs layer 11:07:04 a050256f5b6f: Pulling fs layer 11:07:04 656be50a0ddc: Pulling fs layer 11:07:04 2bbca73fdf42: Pulling fs layer 11:07:04 46d945488cbd: Pulling fs layer 11:07:04 8a5474983e97: Pulling fs layer 11:07:04 329c88fbcd65: Pulling fs layer 11:07:04 46d945488cbd: Waiting 11:07:04 8a5474983e97: Waiting 11:07:04 329c88fbcd65: Waiting 11:07:04 656be50a0ddc: Waiting 11:07:04 2bbca73fdf42: Waiting 11:07:04 a050256f5b6f: Verifying Checksum 11:07:04 a050256f5b6f: Download complete 11:07:04 c0a3192eca97: Download complete 11:07:04 2bbca73fdf42: Verifying Checksum 11:07:04 2bbca73fdf42: Download complete 11:07:04 46d945488cbd: Verifying Checksum 11:07:04 46d945488cbd: Download complete 11:07:04 b3c136eddcbf: Verifying Checksum 11:07:04 b3c136eddcbf: Download complete 11:07:05 b3c136eddcbf: Pull complete 11:07:05 329c88fbcd65: Verifying Checksum 11:07:05 329c88fbcd65: Download complete 11:07:05 c0a3192eca97: Pull complete 11:07:06 a050256f5b6f: Pull complete 11:07:06 8a5474983e97: Verifying Checksum 11:07:06 8a5474983e97: Download complete 11:07:07 656be50a0ddc: Download complete 11:07:19 656be50a0ddc: Pull complete 11:07:19 2bbca73fdf42: Pull complete 11:07:19 46d945488cbd: Pull complete 11:07:26 8a5474983e97: Pull complete 11:07:27 329c88fbcd65: Pull complete 11:07:27 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 11:07:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 11:07:27 ---> ff4287adb874 11:07:27 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:07:29 ---> Running in 030c7ff67688 11:07:29 Removing intermediate container 030c7ff67688 11:07:29 ---> 4f9688f50edc 11:07:29 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 11:07:29 ---> Running in 82ef93fba80d 11:07:29 Removing intermediate container 82ef93fba80d 11:07:29 ---> e2dc0fcbe97b 11:07:29 Step 5/13 : ARG ADD_BUILD_TAGS="" 11:07:29 ---> Running in 451999c8b0b6 11:07:30 Removing intermediate container 451999c8b0b6 11:07:30 ---> 7db894c5b391 11:07:30 Step 6/13 : WORKDIR /device-virtual-go 11:07:30 ---> Running in db330e98c4c7 11:07:30 Removing intermediate container db330e98c4c7 11:07:30 ---> b636c7109b46 11:07:30 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:30 ---> Running in 739a0696dd81 11:07:32 Removing intermediate container 739a0696dd81 11:07:32 ---> 0a64af1ddbcd 11:07:32 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:32 ---> Running in d9aa03a9bd70 11:07:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:07:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:07:35 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:07:35 (2/4) Installing libedit (20210910.3.1-r0) 11:07:35 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:07:35 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:07:35 Executing busybox-1.35.0-r13.trigger 11:07:35 OK: 226 MiB in 55 packages 11:07:36 Removing intermediate container d9aa03a9bd70 11:07:36 ---> 532d322846aa 11:07:36 Step 9/13 : COPY go.mod vendor* ./ 11:07:37 ---> 29b7fc6fd896 11:07:37 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:37 ---> Running in 2780182324c1 11:08:24 Removing intermediate container 2780182324c1 11:08:24 ---> 5653209fb495 11:08:24 Step 11/13 : COPY . . 11:08:24 ---> 6c061d6eeffe 11:08:24 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:08:24 ---> Running in 3545d7a2e56d 11:08:24 Removing intermediate container 3545d7a2e56d 11:08:24 ---> 2bf5ed9b7465 11:08:24 Step 13/13 : RUN $MAKE 11:08:24 ---> Running in 70a12f10cb27 11:08:24 noop 11:08:24 Removing intermediate container 70a12f10cb27 11:08:24 ---> 589417b63897 11:08:24 Successfully built 589417b63897 11:08:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:24 + docker inspect -f . ci-base-image-arm64 11:08:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:08:25 prd-ubuntu20.04-docker-arm64-4c-16g-1141 does not seem to be running inside a container 11:08:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:08:26 $ docker top 66dba47b2757efad03dfd051adf59fa58a08bef638b37120ad47bc7ed9704d77 -eo pid,comm [Pipeline] { [Pipeline] sh 11:08:27 + go version 11:08:27 go version go1.18.3 linux/arm64 [Pipeline] } 11:08:27 $ docker stop --time=1 66dba47b2757efad03dfd051adf59fa58a08bef638b37120ad47bc7ed9704d77 11:08:28 $ docker rm -f 66dba47b2757efad03dfd051adf59fa58a08bef638b37120ad47bc7ed9704d77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:29 + docker inspect -f . ci-base-image-arm64 11:08:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:08:29 prd-ubuntu20.04-docker-arm64-4c-16g-1141 does not seem to be running inside a container 11:08:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:08:31 $ docker top da1fb21dbab7561ff53ab9014d62a81b7dd7acb08c87080d670d75832f6f5df6 -eo pid,comm [Pipeline] { [Pipeline] sh 11:08:31 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:08:32 + make test 11:08:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:08:33 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:09:55 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:09:55 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.137s coverage: 65.7% of statements 11:09:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:09:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:10:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:10:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:10:13 ./bin/test-attribution-txt.sh 11:10:13 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 11:10:13 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 11:10:13 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 11:10:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:10:13 $ docker stop --time=1 da1fb21dbab7561ff53ab9014d62a81b7dd7acb08c87080d670d75832f6f5df6 11:10:15 $ docker rm -f da1fb21dbab7561ff53ab9014d62a81b7dd7acb08c87080d670d75832f6f5df6 [Pipeline] // withDockerContainer [Pipeline] sh 11:10:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:10:16 Warning: overwriting stash ‘coverage-report’ 11:10:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:10:18 + ls -al . 11:10:18 total 192 11:10:18 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 11:08 . 11:10:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 11:06 .. 11:10:18 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 11:06 .git 11:10:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 11:06 .github 11:10:18 -rw-rw-r-- 1 jenkins jenkins 337 Sep 26 11:06 .gitignore 11:10:18 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 11:06 .golangci.yml 11:10:18 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 26 11:06 Attribution.txt 11:10:18 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 26 11:06 CHANGELOG.md 11:10:18 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 26 11:06 Dockerfile 11:10:18 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 11:06 GOVERNANCE.md 11:10:18 -rw-rw-r-- 1 jenkins jenkins 660 Sep 26 11:06 Jenkinsfile 11:10:18 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 11:06 LICENSE 11:10:18 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 26 11:06 Makefile 11:10:18 -rw-rw-r-- 1 jenkins jenkins 623 Sep 26 11:06 OWNERS.md 11:10:18 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 26 11:06 README.md 11:10:18 -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 11:04 VERSION 11:10:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 11:06 bin 11:10:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 11:06 cmd 11:10:18 -rw-r--r-- 1 jenkins jenkins 44128 Sep 26 11:09 coverage.out 11:10:18 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 26 11:06 go.mod 11:10:18 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 26 11:06 go.sum 11:10:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 11:06 internal 11:10:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 11:06 snap 11:10:18 -rw-rw-r-- 1 jenkins jenkins 235 Sep 26 11:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:18 + 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=e11f045f311ff971e5a274d2c890fd8a0545b719 --label arch=arm64 --label version=0.0.0 . 11:10:18 Sending build context to Docker daemon 11.76MB 11:10:18 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 11:10:18 Step 2/27 : FROM ${BASE} AS builder 11:10:18 ---> 589417b63897 11:10:18 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:10:18 ---> Running in b2f58a732408 11:10:19 Removing intermediate container b2f58a732408 11:10:19 ---> 9cb92aa50c57 11:10:19 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 11:10:19 ---> Running in 31965add5e69 11:10:19 Removing intermediate container 31965add5e69 11:10:19 ---> 42ffdf624aed 11:10:19 Step 5/27 : ARG ADD_BUILD_TAGS="" 11:10:19 ---> Running in 3a3b90777b61 11:10:19 Removing intermediate container 3a3b90777b61 11:10:19 ---> bea2f5acd1b9 11:10:19 Step 6/27 : WORKDIR /device-virtual-go 11:10:20 ---> Running in eeaba046b8e3 11:10:20 Removing intermediate container eeaba046b8e3 11:10:20 ---> bcbcabc98804 11:10:20 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:10:20 ---> Running in d71bc9f53628 11:10:21 Removing intermediate container d71bc9f53628 11:10:21 ---> c0131d0e0c77 11:10:21 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:10:21 ---> Running in b70358897baa 11:10:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:10:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:10:24 OK: 226 MiB in 55 packages 11:10:25 Removing intermediate container b70358897baa 11:10:25 ---> 6dd909f9d845 11:10:25 Step 9/27 : COPY go.mod vendor* ./ 11:10:25 ---> 2ae7e1b07df2 11:10:25 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:10:25 ---> Running in 86d37d85f752 11:10:27 Removing intermediate container 86d37d85f752 11:10:27 ---> 280fe222c661 11:10:27 Step 11/27 : COPY . . 11:10:29 ---> 7ff024f36ef3 11:10:29 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:10:29 ---> Running in 542e6801c392 11:10:29 Removing intermediate container 542e6801c392 11:10:29 ---> 530448efa215 11:10:29 Step 13/27 : RUN $MAKE 11:10:29 ---> Running in 1c26fd6713a3 11:10:30 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:13:07 Removing intermediate container 1c26fd6713a3 11:13:07 ---> 4a596d922223 11:13:07 Step 14/27 : FROM alpine:3.16 11:13:07 3.16: Pulling from library/alpine 11:13:07 9b18e9b68314: Pulling fs layer 11:13:07 9b18e9b68314: Verifying Checksum 11:13:07 9b18e9b68314: Download complete 11:13:07 9b18e9b68314: Pull complete 11:13:07 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:13:07 Status: Downloaded newer image for alpine:3.16 11:13:07 ---> a6215f271958 11:13:07 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:13:07 ---> Running in 793b28702498 11:13:07 Removing intermediate container 793b28702498 11:13:07 ---> c75f1c11d96e 11:13:07 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:13:07 ---> Running in 9ccc4f86c497 11:13:07 Removing intermediate container 9ccc4f86c497 11:13:07 ---> f15e3bd98eb2 11:13:07 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 11:13:07 ---> Running in 43084ebb3b33 11:13:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:13:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:13:07 (1/6) Installing dumb-init (1.2.5-r1) 11:13:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:13:07 (3/6) Installing libsodium (1.0.18-r0) 11:13:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:13:07 (5/6) Installing libzmq (4.3.4-r0) 11:13:07 (6/6) Installing zeromq (4.3.4-r0) 11:13:07 Executing busybox-1.35.0-r17.trigger 11:13:07 OK: 8 MiB in 20 packages 11:13:07 Removing intermediate container 43084ebb3b33 11:13:07 ---> 7e857f14c4f3 11:13:07 Step 18/27 : WORKDIR / 11:13:07 ---> Running in d2dec8713ea4 11:13:07 Removing intermediate container d2dec8713ea4 11:13:07 ---> 5c25295ca3f6 11:13:07 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:13:07 ---> 7053269a56e8 11:13:07 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 11:13:07 ---> a1e082e66358 11:13:07 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 11:13:07 ---> 67d042783f96 11:13:07 Step 22/27 : EXPOSE 59900 11:13:07 ---> Running in ade35a7c3470 11:13:07 Removing intermediate container ade35a7c3470 11:13:07 ---> 38c34a9e5429 11:13:07 Step 23/27 : ENTRYPOINT ["/device-virtual"] 11:13:07 ---> Running in 8cf88d0ae6ce 11:13:07 Removing intermediate container 8cf88d0ae6ce 11:13:07 ---> 53efaca4ee69 11:13:07 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:13:07 ---> Running in 78157941d4ec 11:13:07 Removing intermediate container 78157941d4ec 11:13:07 ---> 05301c6e534d 11:13:07 Step 25/27 : LABEL arch=arm64 11:13:07 ---> Running in 8e400a4934cd 11:13:07 Removing intermediate container 8e400a4934cd 11:13:07 ---> 844fb28d28ce 11:13:07 Step 26/27 : LABEL git_sha=e11f045f311ff971e5a274d2c890fd8a0545b719 11:13:07 ---> Running in b15bd71a1f7b 11:13:07 Removing intermediate container b15bd71a1f7b 11:13:07 ---> 9bcafe187bc0 11:13:07 Step 27/27 : LABEL version=0.0.0 11:13:07 ---> Running in b34e8604ae48 11:13:07 Removing intermediate container b34e8604ae48 11:13:07 ---> 4e76c25ecd2d 11:13:07 [Warning] One or more build-args [ARCH] were not consumed 11:13:07 Successfully built 4e76c25ecd2d 11:13:07 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:08 11:13:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:08 arm64: Pulling from edgex-lftools-log-publisher 11:13:08 8998bd30e6a1: Pulling fs layer 11:13:08 04944245beec: Pulling fs layer 11:13:08 699f458cf7ca: Pulling fs layer 11:13:08 765212b225bb: Pulling fs layer 11:13:08 f23df028b6ca: Pulling fs layer 11:13:08 d65c8cfc05b1: Pulling fs layer 11:13:08 2437ff75d9bd: Pulling fs layer 11:13:08 2437ff75d9bd: Waiting 11:13:08 f23df028b6ca: Waiting 11:13:08 d65c8cfc05b1: Waiting 11:13:08 765212b225bb: Waiting 11:13:08 04944245beec: Verifying Checksum 11:13:08 04944245beec: Download complete 11:13:08 765212b225bb: Verifying Checksum 11:13:08 765212b225bb: Download complete 11:13:08 f23df028b6ca: Verifying Checksum 11:13:08 f23df028b6ca: Download complete 11:13:08 d65c8cfc05b1: Verifying Checksum 11:13:08 d65c8cfc05b1: Download complete 11:13:08 699f458cf7ca: Verifying Checksum 11:13:08 699f458cf7ca: Download complete 11:13:09 8998bd30e6a1: Download complete 11:13:11 2437ff75d9bd: Verifying Checksum 11:13:11 2437ff75d9bd: Download complete 11:13:13 8998bd30e6a1: Pull complete 11:13:13 04944245beec: Pull complete 11:13:14 699f458cf7ca: Pull complete 11:13:14 765212b225bb: Pull complete 11:13:15 f23df028b6ca: Pull complete 11:13:16 d65c8cfc05b1: Pull complete 11:13:31 2437ff75d9bd: Pull complete 11:13:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:13:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:31 prd-ubuntu20.04-docker-arm64-4c-16g-1141 does not seem to be running inside a container 11:13:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:13:34 $ docker top 4256bcd79578492b5d76c3e60639641ce7d056b54258a54beba06ed1593a69e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:34 ---> job-cost.sh 11:13:34 lf-activate-venv: SKIPPING 11:13:34 INFO: No Stack... 11:13:35 INFO: Retrieving Pricing Info for: v3-standard-4 11:13:36 INFO: Archiving Costs [Pipeline] sh 11:13:36 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:13:36 + cut -d, -f6 [Pipeline] lock 11:13:36 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] 11:13:36 Resource [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] did not exist. Created. 11:13:36 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:13:37 /w/workspace/device-virtual-go/1@tmp/durable-5d1041f3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:13:37 + echo total: 0.10999999940395355 [Pipeline] stash 11:13:37 Warning: overwriting stash ‘stack-cost’ 11:13:37 Stashed 1 file(s) [Pipeline] } 11:13:37 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-306-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:13:37 $ docker stop --time=1 4256bcd79578492b5d76c3e60639641ce7d056b54258a54beba06ed1593a69e4 11:13:39 $ docker rm -f 4256bcd79578492b5d76c3e60639641ce7d056b54258a54beba06ed1593a69e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:13:40 provisioning config files... 11:13:40 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-306@tmp/config16209161512622628703tmp [Pipeline] { [Pipeline] sh 11:13:40 + set +x 11:13:40 + curl -s https://codecov.io/bash 11:13:40 + bash -s -- 11:13:40 11:13:40 _____ _ 11:13:40 / ____| | | 11:13:40 | | ___ __| | ___ ___ _____ __ 11:13:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:13:40 | |___| (_) | (_| | __/ (_| (_) \ V / 11:13:40 \_____\___/ \__,_|\___|\___\___/ \_/ 11:13:40 Bash-1.0.6 11:13:40 11:13:40 11:13:40 ==> git version 2.25.1 found 11:13:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:13:40 Release-Date: 2020-01-08 11:13:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:13:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:13:40 ==> Jenkins CI detected. 11:13:40 current dir:  /w/workspace/foundry_device-virtual-go_PR-306 11:13:40 project root: . 11:13:40 --> token set from env 11:13:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:13:40 ==> Running gcov in . (disable via -X gcov) 11:13:40 ==> Python coveragepy not found 11:13:40 ==> Searching for coverage reports in: 11:13:40 + . 11:13:40 -> Found 1 reports 11:13:40 ==> Detecting git/mercurial file structure 11:13:40 ==> Reading reports 11:13:40 + ./coverage.out bytes=44128 11:13:40 ==> Appending adjustments 11:13:40 https://docs.codecov.io/docs/fixing-reports 11:13:40 + Found adjustments 11:13:40 ==> Gzipping contents 11:13:40 8.0K /tmp/codecov.rkBnd8.gz 11:13:40 ==> Uploading reports 11:13:40 url: https://codecov.io 11:13:40 query: branch=PR-306&commit=e11f045f311ff971e5a274d2c890fd8a0545b719&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-306%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=306&job=&cmd_args= 11:13:40 -> Pinging Codecov 11:13:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-306&commit=e11f045f311ff971e5a274d2c890fd8a0545b719&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-306%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=306&job=&cmd_args= 11:13:42 -> Uploading to 11:13:42 https://storage.googleapis.com/codecov/v4/raw/2022-09-26/5E52B4B073DB2E39498172D8E973AA87/e11f045f311ff971e5a274d2c890fd8a0545b719/7ecea3ca-9e43-4ce5-bf87-5b1f1278b213.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T111341Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d7f496d115fe540d2e94f4580eea61edab0a84f2c80167b2bbe785dfb32d7f1d 11:13:42 % Total % Received % Xferd Average Speed Time Time Time Current 11:13:42 Dload Upload Total Spent Left Speed 11:13:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5501 0 0 100 5501 0 21076 --:--:-- --:--:-- --:--:-- 21076 11:13:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/e11f045f311ff971e5a274d2c890fd8a0545b719 [Pipeline] } 11:13:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:13:43 + [ -d /w/workspace/foundry_device-virtual-go_PR-306/archives ] 11:13:43 + ls -al /w/workspace/foundry_device-virtual-go_PR-306/archives 11:13:43 total 16 11:13:43 drwxr-xr-x 3 root root 4096 Sep 26 11:06 . 11:13:43 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 11:06 .. 11:13:43 drwxr-xr-x 2 root root 4096 Sep 26 11:06 cost 11:13:43 -rw-r--r-- 1 root root 89 Sep 26 11:06 cost.csv 11:13:43 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-306/archives 11:13:43 + ls -al /w/workspace/foundry_device-virtual-go_PR-306/archives 11:13:43 total 16 11:13:43 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 11:06 . 11:13:43 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 11:06 .. 11:13:43 drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 11:06 cost 11:13:43 -rw-r--r-- 1 jenkins jenkins 89 Sep 26 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:13:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:13:45 ---> package-listing.sh 11:13:45 ++ facter osfamily 11:13:45 ++ tr '[:upper:]' '[:lower:]' 11:13:45 + OS_FAMILY=debian 11:13:45 + workspace=/w/workspace/foundry_device-virtual-go_PR-306 11:13:45 + START_PACKAGES=/tmp/packages_start.txt 11:13:45 + END_PACKAGES=/tmp/packages_end.txt 11:13:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:13:45 + PACKAGES=/tmp/packages_start.txt 11:13:45 + '[' /w/workspace/foundry_device-virtual-go_PR-306 ']' 11:13:45 + PACKAGES=/tmp/packages_end.txt 11:13:45 + case "${OS_FAMILY}" in 11:13:45 + dpkg -l 11:13:45 + grep '^ii' 11:13:45 + '[' -f /tmp/packages_start.txt ']' 11:13:45 + '[' -f /tmp/packages_end.txt ']' 11:13:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:13:45 + '[' /w/workspace/foundry_device-virtual-go_PR-306 ']' 11:13:45 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-306/archives/ 11:13:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-306/archives/ [Pipeline] echo 11:13:45 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-306/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:13:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:46 prd-ubuntu20.04-docker-8c-8g-1140 does not seem to be running inside a container 11:13:46 $ 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-306/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-306 -v /w/workspace/foundry_device-virtual-go_PR-306:/w/workspace/foundry_device-virtual-go_PR-306:rw,z -v /w/workspace/foundry_device-virtual-go_PR-306@tmp:/w/workspace/foundry_device-virtual-go_PR-306@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:13:46 $ docker top bb36369b7f921cdbb45fc0969b25a46028c6f011697c35c916a3406cfde6c4af -eo pid,comm [Pipeline] { [Pipeline] sh 11:13:47 + touch /tmp/pre-build-complete [Pipeline] sh 11:13:47 + mkdir -p /var/log/sysstat [Pipeline] sh 11:13:47 + ls /var/log/sa-host 11:13:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:13:48 provisioning config files... 11:13:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-306@tmp/config14927698822015184519tmp [Pipeline] { [Pipeline] echo 11:13:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:13:48 ---> create-netrc.sh [Pipeline] } 11:13:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:13:48 ---> python-tools-install.sh [Pipeline] echo 11:13:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:13:49 ---> sudo-logs.sh 11:13:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:13:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:13:49 ---> job-cost.sh 11:13:49 lf-activate-venv: SKIPPING 11:13:49 DEBUG: total: 0.2199999988079071 11:13:49 INFO: Retrieving Stack Cost... 11:13:50 INFO: Retrieving Pricing Info for: v3-standard-8 11:13:50 INFO: Archiving Costs [Pipeline] echo 11:13:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:13:50 ---> logs-deploy.sh 11:13:50 lf-activate-venv: SKIPPING 11:13:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-306/1 11:13:50 INFO: archiving workspace using pattern(s): 11:13:51 Archives upload complete. 11:13:52 INFO: archiving logs to Nexus