Pull request #316 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d+9a1b535985cde1136af0b2835ff927b495d73fc1 (030b7e171206bb76102a0891385c4b7bb1630a78) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5786904001759771320.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12473170996800207988.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4678420408348211796.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3877942648298047469.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2064521560904272632.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-316/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-316/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14193661056431434309.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9284 in /w/workspace/foundry_device-virtual-go_PR-316 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-316 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/316/head:refs/remotes/origin/PR-316 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9a1b535985cde1136af0b2835ff927b495d73fc1 into PR head commit 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d Merge succeeded, producing 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d Checking out Revision 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d (PR-316) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-24T11:04:05.584Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 9a1b535985cde1136af0b2835ff927b495d73fc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-24T11:04:05.754Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T11:04:05.858Z] ========================================================= [2022-10-24T11:04:05.858Z] EdgeX Global Pipelines Version Info [2022-10-24T11:04:05.858Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-24T11:04:06.625Z] ------------------- [2022-10-24T11:04:06.625Z] stable info: [2022-10-24T11:04:06.625Z] ------------------- [2022-10-24T11:04:06.625Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T11:04:06.625Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T11:04:06.625Z] Message: update stable to v1.0.243 [2022-10-24T11:04:07.196Z] ------------------- [2022-10-24T11:04:07.196Z] experimental info: [2022-10-24T11:04:07.196Z] ------------------- [2022-10-24T11:04:07.196Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T11:04:07.196Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T11:04:07.196Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T11:04:07.507Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-10-24T11:04:07.547Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-10-24T11:04:07.597Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T11:04:07.638Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T11:04:07.677Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T11:04:07.720Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T11:04:07.762Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T11:04:07.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-24T11:04:07.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T11:04:07.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T11:04:07.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T11:04:07.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-10-24T11:04:08.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T11:04:08.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T11:04:08.086Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T11:04:08.126Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T11:04:08.168Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T11:04:08.205Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T11:04:08.240Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T11:04:08.279Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T11:04:08.318Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-24T11:04:08.354Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-24T11:04:08.389Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T11:04:08.427Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T11:04:08.464Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T11:04:08.501Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T11:04:08.538Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T11:04:08.581Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-316 [Pipeline] echo [2022-10-24T11:04:08.622Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-316 [Pipeline] echo [2022-10-24T11:04:08.660Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-316 [Pipeline] echo [2022-10-24T11:04:08.702Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [Pipeline] echo [2022-10-24T11:04:08.739Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 032d273 [Pipeline] echo [2022-10-24T11:04:08.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T11:04:08.894Z] provisioning config files... [2022-10-24T11:04:08.909Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-316@tmp/config7800681506963708742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T11:04:09.250Z] ---> docker-login.sh [2022-10-24T11:04:09.250Z] nexus3.edgexfoundry.org:10001 [2022-10-24T11:04:09.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T11:04:09.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T11:04:09.775Z] Configure a credential helper to remove this warning. See [2022-10-24T11:04:09.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T11:04:09.775Z] [2022-10-24T11:04:09.775Z] Login Succeeded [2022-10-24T11:04:09.775Z] nexus3.edgexfoundry.org:10002 [2022-10-24T11:04:09.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T11:04:09.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T11:04:09.775Z] Configure a credential helper to remove this warning. See [2022-10-24T11:04:09.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T11:04:09.775Z] [2022-10-24T11:04:09.775Z] Login Succeeded [2022-10-24T11:04:09.775Z] nexus3.edgexfoundry.org:10003 [2022-10-24T11:04:09.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T11:04:10.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T11:04:10.035Z] Configure a credential helper to remove this warning. See [2022-10-24T11:04:10.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T11:04:10.035Z] [2022-10-24T11:04:10.035Z] Login Succeeded [2022-10-24T11:04:10.035Z] nexus3.edgexfoundry.org:10004 [2022-10-24T11:04:10.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T11:04:10.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T11:04:10.035Z] Configure a credential helper to remove this warning. See [2022-10-24T11:04:10.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T11:04:10.035Z] [2022-10-24T11:04:10.035Z] Login Succeeded [2022-10-24T11:04:10.035Z] docker.io [2022-10-24T11:04:10.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T11:04:10.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T11:04:10.607Z] Configure a credential helper to remove this warning. See [2022-10-24T11:04:10.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T11:04:10.607Z] [2022-10-24T11:04:10.607Z] Login Succeeded [2022-10-24T11:04:10.607Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T11:04:10.637Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-24T11:04:11.281Z] + git rev-list -1 --merges 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d~1..032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [Pipeline] echo [2022-10-24T11:04:11.323Z] -----------> git rev-list -1 --merges 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d~1..032d273fa8e4039d8a1ad9084ba8abb70caa6d8d 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [false] [Pipeline] sh [2022-10-24T11:04:11.636Z] + git log --format=format:%s -1 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [Pipeline] echo [2022-10-24T11:04:11.673Z] ========================================================= [2022-10-24T11:04:11.673Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T11:04:11.673Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T11:04:12.107Z] + git log --format=format:%s -1 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [Pipeline] echo [2022-10-24T11:04:12.139Z] [semverPrep] GIT_COMMIT: 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-24T11:04:12.169Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T11:04:12.564Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T11:04:12.564Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T11:04:12.564Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T11:04:12.564Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T11:04:12.564Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-24T11:04:12.564Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T11:04:12.564Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T11:04:12.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T11:04:12.991Z] [2022-10-24T11:04:12.991Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T11:04:13.369Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T11:04:13.370Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T11:04:13.370Z] b85a868b505f: Pulling fs layer [2022-10-24T11:04:13.370Z] e2be974225ed: Pulling fs layer [2022-10-24T11:04:13.370Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T11:04:13.370Z] 988bab9f4d93: Pulling fs layer [2022-10-24T11:04:13.370Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T11:04:13.370Z] 988bab9f4d93: Waiting [2022-10-24T11:04:13.370Z] eaf3925da568: Pulling fs layer [2022-10-24T11:04:13.370Z] bab4dde63d76: Pulling fs layer [2022-10-24T11:04:13.370Z] 1469e6f7b9e6: Waiting [2022-10-24T11:04:13.370Z] eaf3925da568: Waiting [2022-10-24T11:04:13.370Z] bde34c3a00c8: Pulling fs layer [2022-10-24T11:04:13.370Z] b352a97aabf1: Pulling fs layer [2022-10-24T11:04:13.370Z] bab4dde63d76: Waiting [2022-10-24T11:04:13.370Z] bde34c3a00c8: Waiting [2022-10-24T11:04:13.370Z] b352a97aabf1: Waiting [2022-10-24T11:04:13.370Z] 4872d77fe225: Pulling fs layer [2022-10-24T11:04:13.370Z] 5851b861e8e6: Pulling fs layer [2022-10-24T11:04:13.370Z] 4872d77fe225: Waiting [2022-10-24T11:04:13.370Z] e2be974225ed: Download complete [2022-10-24T11:04:13.370Z] 988bab9f4d93: Verifying Checksum [2022-10-24T11:04:13.632Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T11:04:13.632Z] 339a4e72a1f5: Download complete [2022-10-24T11:04:13.632Z] eaf3925da568: Download complete [2022-10-24T11:04:13.632Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T11:04:13.632Z] 1469e6f7b9e6: Download complete [2022-10-24T11:04:13.632Z] bde34c3a00c8: Download complete [2022-10-24T11:04:13.632Z] b352a97aabf1: Verifying Checksum [2022-10-24T11:04:13.632Z] b352a97aabf1: Download complete [2022-10-24T11:04:13.632Z] 4872d77fe225: Verifying Checksum [2022-10-24T11:04:13.632Z] 4872d77fe225: Download complete [2022-10-24T11:04:13.632Z] b85a868b505f: Download complete [2022-10-24T11:04:13.632Z] 5851b861e8e6: Verifying Checksum [2022-10-24T11:04:13.632Z] 5851b861e8e6: Download complete [2022-10-24T11:04:13.891Z] bab4dde63d76: Verifying Checksum [2022-10-24T11:04:13.891Z] bab4dde63d76: Download complete [2022-10-24T11:04:15.274Z] b85a868b505f: Pull complete [2022-10-24T11:04:15.274Z] e2be974225ed: Pull complete [2022-10-24T11:04:15.535Z] 339a4e72a1f5: Pull complete [2022-10-24T11:04:15.794Z] 988bab9f4d93: Pull complete [2022-10-24T11:04:16.055Z] 1469e6f7b9e6: Pull complete [2022-10-24T11:04:16.055Z] eaf3925da568: Pull complete [2022-10-24T11:04:17.963Z] bab4dde63d76: Pull complete [2022-10-24T11:04:18.228Z] bde34c3a00c8: Pull complete [2022-10-24T11:04:18.228Z] b352a97aabf1: Pull complete [2022-10-24T11:04:18.488Z] 4872d77fe225: Pull complete [2022-10-24T11:04:18.488Z] 5851b861e8e6: Pull complete [2022-10-24T11:04:18.488Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T11:04:18.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T11:04:18.488Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T11:04:18.717Z] prd-ubuntu20.04-docker-8c-8g-9284 does not seem to be running inside a container [2022-10-24T11:04:18.754Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-316 -v /w/workspace/foundry_device-virtual-go_PR-316:/w/workspace/foundry_device-virtual-go_PR-316:rw,z -v /w/workspace/foundry_device-virtual-go_PR-316@tmp:/w/workspace/foundry_device-virtual-go_PR-316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-24T11:04:21.248Z] $ docker top e7a8bc2ecc649664602769a4ee2584d18bb367931ac13abaa770e1d3c3f7bab7 -eo pid,comm [2022-10-24T11:04:21.309Z] 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). [2022-10-24T11:04:21.309Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T11:04:21.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T11:04:21.440Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T11:04:21.555Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T11:04:21.554Z] $ docker exec e7a8bc2ecc649664602769a4ee2584d18bb367931ac13abaa770e1d3c3f7bab7 ssh-agent [2022-10-24T11:04:21.656Z] SSH_AUTH_SOCK=/tmp/ssh-Wmju4brCeZc3/agent.32 [2022-10-24T11:04:21.656Z] SSH_AGENT_PID=38 [2022-10-24T11:04:21.665Z] Running ssh-add (command line suppressed) [2022-10-24T11:04:21.771Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-316@tmp/private_key_12348795477282812934.key (/w/workspace/foundry_device-virtual-go_PR-316@tmp/private_key_12348795477282812934.key) [2022-10-24T11:04:21.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T11:04:22.128Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T11:04:22.152Z] $ docker exec --env ******** --env ******** e7a8bc2ecc649664602769a4ee2584d18bb367931ac13abaa770e1d3c3f7bab7 ssh-agent -k [2022-10-24T11:04:22.270Z] unset SSH_AUTH_SOCK; [2022-10-24T11:04:22.271Z] unset SSH_AGENT_PID; [2022-10-24T11:04:22.271Z] echo Agent pid 38 killed; [2022-10-24T11:04:22.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T11:04:22.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T11:04:22.389Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T11:04:22.507Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T11:04:22.505Z] $ docker exec e7a8bc2ecc649664602769a4ee2584d18bb367931ac13abaa770e1d3c3f7bab7 ssh-agent [2022-10-24T11:04:22.624Z] SSH_AUTH_SOCK=/tmp/ssh-AfI9JNm86awb/agent.70 [2022-10-24T11:04:22.624Z] SSH_AGENT_PID=76 [2022-10-24T11:04:22.629Z] Running ssh-add (command line suppressed) [2022-10-24T11:04:22.731Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-316@tmp/private_key_14864661707625268699.key (/w/workspace/foundry_device-virtual-go_PR-316@tmp/private_key_14864661707625268699.key) [2022-10-24T11:04:22.750Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T11:04:23.086Z] + git semver init [2022-10-24T11:04:23.345Z] 2022-10-24 11:04:23,273 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T11:04:23.345Z] 2022-10-24 11:04:23,273 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-316/.semver [2022-10-24T11:04:23.345Z] 2022-10-24 11:04:23,274 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-316/.semver [2022-10-24T11:04:23.345Z] 2022-10-24 11:04:23,274 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-316/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-316, universal_newlines=False, shell=None, istream=None) [2022-10-24T11:04:24.727Z] 2022-10-24 11:04:24,531 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-316/.git/info/exclude [2022-10-24T11:04:24.727Z] 2022-10-24 11:04:24,532 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-316/.semver/PR-316 with force:False [2022-10-24T11:04:24.727Z] 2022-10-24 11:04:24,533 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-316/.semver/PR-316 [2022-10-24T11:04:24.727Z] 2022-10-24 11:04:24,537 [execute] INFO git cat-file --batch-check [2022-10-24T11:04:24.727Z] 2022-10-24 11:04:24,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-316/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T11:04:24.727Z] 2022-10-24 11:04:24,545 [execute] INFO git cat-file --batch [2022-10-24T11:04:24.727Z] 2022-10-24 11:04:24,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-316/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T11:04:24.727Z] 2022-10-24 11:04:24,553 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-316/.semver/PR-316 [2022-10-24T11:04:24.727Z] 0.0.0 [Pipeline] } [2022-10-24T11:04:24.751Z] $ docker exec --env ******** --env ******** e7a8bc2ecc649664602769a4ee2584d18bb367931ac13abaa770e1d3c3f7bab7 ssh-agent -k [2022-10-24T11:04:24.851Z] unset SSH_AUTH_SOCK; [2022-10-24T11:04:24.852Z] unset SSH_AGENT_PID; [2022-10-24T11:04:24.852Z] echo Agent pid 76 killed; [2022-10-24T11:04:24.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T11:04:25.280Z] + git semver [Pipeline] } [2022-10-24T11:04:25.561Z] $ docker stop --time=1 e7a8bc2ecc649664602769a4ee2584d18bb367931ac13abaa770e1d3c3f7bab7 [2022-10-24T11:04:26.878Z] $ docker rm -f e7a8bc2ecc649664602769a4ee2584d18bb367931ac13abaa770e1d3c3f7bab7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T11:04:27.286Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T11:04:27.521Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T11:04:27.536Z] [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 [2022-10-24T11:04:28.081Z] provisioning config files... [2022-10-24T11:04:28.091Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-316@tmp/config15163741777028497777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T11:04:28.446Z] ---> docker-login.sh [2022-10-24T11:04:28.446Z] nexus3.edgexfoundry.org:10001 [2022-10-24T11:04:28.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T11:04:28.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T11:04:28.446Z] Configure a credential helper to remove this warning. See [2022-10-24T11:04:28.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T11:04:28.446Z] [2022-10-24T11:04:28.446Z] Login Succeeded [2022-10-24T11:04:28.446Z] nexus3.edgexfoundry.org:10002 [2022-10-24T11:04:28.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T11:04:28.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T11:04:28.446Z] Configure a credential helper to remove this warning. See [2022-10-24T11:04:28.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T11:04:28.446Z] [2022-10-24T11:04:28.446Z] Login Succeeded [2022-10-24T11:04:28.446Z] nexus3.edgexfoundry.org:10003 [2022-10-24T11:04:28.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T11:04:28.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T11:04:28.705Z] Configure a credential helper to remove this warning. See [2022-10-24T11:04:28.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T11:04:28.705Z] [2022-10-24T11:04:28.705Z] Login Succeeded [2022-10-24T11:04:28.705Z] nexus3.edgexfoundry.org:10004 [2022-10-24T11:04:28.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T11:04:28.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T11:04:28.705Z] Configure a credential helper to remove this warning. See [2022-10-24T11:04:28.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T11:04:28.705Z] [2022-10-24T11:04:28.705Z] Login Succeeded [2022-10-24T11:04:28.705Z] docker.io [2022-10-24T11:04:28.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T11:04:29.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T11:04:29.223Z] Configure a credential helper to remove this warning. See [2022-10-24T11:04:29.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T11:04:29.223Z] [2022-10-24T11:04:29.223Z] Login Succeeded [2022-10-24T11:04:29.223Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T11:04:29.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T11:04:29.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T11:04:29.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T11:04:29.474Z] ========================================================= [2022-10-24T11:04:29.474Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T11:04:29.475Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T11:04:29.929Z] + 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 . [2022-10-24T11:04:29.929Z] Sending build context to Docker daemon 23.23MB [2022-10-24T11:04:29.929Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T11:04:29.929Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-24T11:04:29.929Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T11:04:29.929Z] 213ec9aee27d: Pulling fs layer [2022-10-24T11:04:29.929Z] 4583459ba037: Pulling fs layer [2022-10-24T11:04:29.929Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T11:04:29.929Z] 53926ce57604: Pulling fs layer [2022-10-24T11:04:29.929Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T11:04:29.929Z] 30f14e443154: Pulling fs layer [2022-10-24T11:04:29.929Z] 801331c1e519: Pulling fs layer [2022-10-24T11:04:29.929Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T11:04:30.190Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T11:04:30.190Z] 21b2b0c7a3f4: Waiting [2022-10-24T11:04:30.190Z] 801331c1e519: Waiting [2022-10-24T11:04:30.190Z] 99cc6dd402b0: Waiting [2022-10-24T11:04:30.190Z] 30f14e443154: Waiting [2022-10-24T11:04:30.190Z] 93c1e223e6f2: Verifying Checksum [2022-10-24T11:04:30.190Z] 93c1e223e6f2: Download complete [2022-10-24T11:04:30.190Z] 4583459ba037: Download complete [2022-10-24T11:04:30.190Z] 21b2b0c7a3f4: Download complete [2022-10-24T11:04:30.190Z] 30f14e443154: Download complete [2022-10-24T11:04:30.190Z] 213ec9aee27d: Verifying Checksum [2022-10-24T11:04:30.190Z] 213ec9aee27d: Download complete [2022-10-24T11:04:30.190Z] 801331c1e519: Verifying Checksum [2022-10-24T11:04:30.190Z] 801331c1e519: Download complete [2022-10-24T11:04:30.190Z] 213ec9aee27d: Pull complete [2022-10-24T11:04:30.457Z] 4583459ba037: Pull complete [2022-10-24T11:04:30.457Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T11:04:30.457Z] 7d9ed39f4882: Download complete [2022-10-24T11:04:30.457Z] 93c1e223e6f2: Pull complete [2022-10-24T11:04:31.024Z] 53926ce57604: Verifying Checksum [2022-10-24T11:04:31.024Z] 53926ce57604: Download complete [2022-10-24T11:04:31.024Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T11:04:31.024Z] 99cc6dd402b0: Download complete [2022-10-24T11:04:35.215Z] 53926ce57604: Pull complete [2022-10-24T11:04:35.215Z] 21b2b0c7a3f4: Pull complete [2022-10-24T11:04:35.215Z] 30f14e443154: Pull complete [2022-10-24T11:04:35.215Z] 801331c1e519: Pull complete [2022-10-24T11:04:37.116Z] 99cc6dd402b0: Pull complete [2022-10-24T11:04:37.374Z] 7d9ed39f4882: Pull complete [2022-10-24T11:04:37.634Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T11:04:37.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T11:04:37.634Z] ---> 1dedd983c030 [2022-10-24T11:04:37.634Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T11:04:40.941Z] ---> Running in 07bb09051800 [2022-10-24T11:04:40.941Z] Removing intermediate container 07bb09051800 [2022-10-24T11:04:40.941Z] ---> 9b66e17564c7 [2022-10-24T11:04:40.941Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T11:04:40.941Z] ---> Running in 86c38828db72 [2022-10-24T11:04:40.941Z] Removing intermediate container 86c38828db72 [2022-10-24T11:04:40.941Z] ---> 9058b1b8df89 [2022-10-24T11:04:40.941Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-24T11:04:40.941Z] ---> Running in 5f1bc725b596 [2022-10-24T11:04:40.941Z] Removing intermediate container 5f1bc725b596 [2022-10-24T11:04:40.941Z] ---> 347bf2214af4 [2022-10-24T11:04:40.941Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-24T11:04:40.941Z] ---> Running in 34741b2c00bb [2022-10-24T11:04:41.199Z] Removing intermediate container 34741b2c00bb [2022-10-24T11:04:41.199Z] ---> ea1b62c1d6ac [2022-10-24T11:04:41.199Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T11:04:41.199Z] ---> Running in 9a4d37e4e963 [2022-10-24T11:04:41.765Z] Removing intermediate container 9a4d37e4e963 [2022-10-24T11:04:41.765Z] ---> ae60bd6ff1ea [2022-10-24T11:04:41.765Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T11:04:41.765Z] ---> Running in 0c01ab7027b2 [2022-10-24T11:04:42.023Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T11:04:42.915Z] Still waiting to schedule task [2022-10-24T11:04:42.915Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-24T11:04:42.960Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T11:04:43.219Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T11:04:43.219Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-24T11:04:43.477Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T11:04:43.477Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T11:04:43.477Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T11:04:43.477Z] OK: 216 MiB in 55 packages [2022-10-24T11:04:44.045Z] Removing intermediate container 0c01ab7027b2 [2022-10-24T11:04:44.045Z] ---> d6c0d476d887 [2022-10-24T11:04:44.045Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-24T11:04:44.045Z] ---> d5d71d5a46a8 [2022-10-24T11:04:44.045Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T11:04:44.045Z] ---> Running in 40bf8b003579 [2022-10-24T11:05:10.632Z] Removing intermediate container 40bf8b003579 [2022-10-24T11:05:10.632Z] ---> 39f76e968413 [2022-10-24T11:05:10.632Z] Step 11/13 : COPY . . [2022-10-24T11:05:10.632Z] ---> abed96f5c65b [2022-10-24T11:05:10.632Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T11:05:10.632Z] ---> Running in c13d77eeea6c [2022-10-24T11:05:10.632Z] Removing intermediate container c13d77eeea6c [2022-10-24T11:05:10.632Z] ---> 078d47cad1a6 [2022-10-24T11:05:10.632Z] Step 13/13 : RUN $MAKE [2022-10-24T11:05:10.632Z] ---> Running in ba044e07dd30 [2022-10-24T11:05:10.632Z] noop [2022-10-24T11:05:10.632Z] Removing intermediate container ba044e07dd30 [2022-10-24T11:05:10.632Z] ---> a8aea3326043 [2022-10-24T11:05:10.632Z] Successfully built a8aea3326043 [2022-10-24T11:05:10.632Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T11:05:11.085Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T11:05:11.086Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T11:05:11.274Z] prd-ubuntu20.04-docker-8c-8g-9284 does not seem to be running inside a container [2022-10-24T11:05:11.307Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-316 -v /w/workspace/foundry_device-virtual-go_PR-316:/w/workspace/foundry_device-virtual-go_PR-316:rw,z -v /w/workspace/foundry_device-virtual-go_PR-316@tmp:/w/workspace/foundry_device-virtual-go_PR-316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T11:05:11.683Z] $ docker top d6a1604608c41cfe8975c5ae8a8eaaf605a85e3f90df943e79da0cb8ff22ff91 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T11:05:12.056Z] + go version [2022-10-24T11:05:12.056Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T11:05:12.092Z] $ docker stop --time=1 d6a1604608c41cfe8975c5ae8a8eaaf605a85e3f90df943e79da0cb8ff22ff91 [2022-10-24T11:05:13.348Z] $ docker rm -f d6a1604608c41cfe8975c5ae8a8eaaf605a85e3f90df943e79da0cb8ff22ff91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T11:05:14.031Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T11:05:14.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T11:05:14.174Z] prd-ubuntu20.04-docker-8c-8g-9284 does not seem to be running inside a container [2022-10-24T11:05:14.219Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-316 -v /w/workspace/foundry_device-virtual-go_PR-316:/w/workspace/foundry_device-virtual-go_PR-316:rw,z -v /w/workspace/foundry_device-virtual-go_PR-316@tmp:/w/workspace/foundry_device-virtual-go_PR-316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T11:05:14.524Z] $ docker top 9a79320ab23a838e2cd8fb5fbecb8560d7e9e666a31380cf6f4e5404955657d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T11:05:14.954Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-316 [Pipeline] fileExists [Pipeline] sh [2022-10-24T11:05:16.557Z] + make test [2022-10-24T11:05:16.557Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-24T11:05:16.557Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-24T11:05:24.670Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-24T11:05:24.929Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements [2022-10-24T11:05:31.490Z] 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." [2022-10-24T11:05:31.490Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T11:05:34.018Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T11:05:34.018Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T11:05:34.018Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T11:05:34.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T11:05:34.095Z] $ docker stop --time=1 9a79320ab23a838e2cd8fb5fbecb8560d7e9e666a31380cf6f4e5404955657d6 [2022-10-24T11:05:36.265Z] $ docker rm -f 9a79320ab23a838e2cd8fb5fbecb8560d7e9e666a31380cf6f4e5404955657d6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T11:05:36.786Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T11:05:36.862Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T11:05:37.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T11:05:37.863Z] + ls -al . [2022-10-24T11:05:37.863Z] total 204 [2022-10-24T11:05:37.863Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 11:05 . [2022-10-24T11:05:37.863Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 11:04 .. [2022-10-24T11:05:37.863Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 11:05 .git [2022-10-24T11:05:37.863Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 11:04 .github [2022-10-24T11:05:37.863Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 24 11:04 .gitignore [2022-10-24T11:05:37.863Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 11:04 .golangci.yml [2022-10-24T11:05:37.863Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 11:04 .semver [2022-10-24T11:05:37.863Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 24 11:04 Attribution.txt [2022-10-24T11:05:37.863Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 24 11:04 CHANGELOG.md [2022-10-24T11:05:37.863Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 24 11:04 Dockerfile [2022-10-24T11:05:37.863Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 11:04 GOVERNANCE.md [2022-10-24T11:05:37.863Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 24 11:04 Jenkinsfile [2022-10-24T11:05:37.863Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 11:04 LICENSE [2022-10-24T11:05:37.863Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 24 11:04 Makefile [2022-10-24T11:05:37.863Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 24 11:04 OWNERS.md [2022-10-24T11:05:37.863Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 24 11:04 README.md [2022-10-24T11:05:37.863Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 11:04 VERSION [2022-10-24T11:05:37.863Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 11:04 bin [2022-10-24T11:05:37.863Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 11:04 cmd [2022-10-24T11:05:37.863Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 24 11:05 coverage.out [2022-10-24T11:05:37.863Z] -rw-rw-r-- 1 jenkins jenkins 3387 Oct 24 11:04 go.mod [2022-10-24T11:05:37.863Z] -rw-rw-r-- 1 jenkins jenkins 44541 Oct 24 11:04 go.sum [2022-10-24T11:05:37.863Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 11:04 internal [2022-10-24T11:05:37.863Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 11:04 snap [2022-10-24T11:05:37.863Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 24 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T11:05:38.258Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=032d273fa8e4039d8a1ad9084ba8abb70caa6d8d --label arch=amd64 --label version=0.0.0 . [2022-10-24T11:05:38.258Z] Sending build context to Docker daemon 23.28MB [2022-10-24T11:05:38.258Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T11:05:38.258Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-24T11:05:38.258Z] ---> a8aea3326043 [2022-10-24T11:05:38.258Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T11:05:38.517Z] ---> Running in c06d2f877804 [2022-10-24T11:05:38.517Z] Removing intermediate container c06d2f877804 [2022-10-24T11:05:38.517Z] ---> 9258c6ecfd88 [2022-10-24T11:05:38.517Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T11:05:38.517Z] ---> Running in 039e6a57e9bc [2022-10-24T11:05:38.776Z] Removing intermediate container 039e6a57e9bc [2022-10-24T11:05:38.776Z] ---> fedee14089ec [2022-10-24T11:05:38.776Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-24T11:05:38.776Z] ---> Running in f894d39e397d [2022-10-24T11:05:38.776Z] Removing intermediate container f894d39e397d [2022-10-24T11:05:38.776Z] ---> 078768a16da8 [2022-10-24T11:05:38.776Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-24T11:05:38.776Z] ---> Running in bf5a705a9a6f [2022-10-24T11:05:38.777Z] Removing intermediate container bf5a705a9a6f [2022-10-24T11:05:38.777Z] ---> d2a1346c30a3 [2022-10-24T11:05:38.777Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T11:05:38.777Z] ---> Running in fb49c17179bb [2022-10-24T11:05:39.343Z] Removing intermediate container fb49c17179bb [2022-10-24T11:05:39.343Z] ---> 8eb3cea021db [2022-10-24T11:05:39.343Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T11:05:39.343Z] ---> Running in bd7ef95b71b7 [2022-10-24T11:05:39.911Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T11:05:40.480Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T11:05:41.047Z] OK: 216 MiB in 55 packages [2022-10-24T11:05:41.305Z] Removing intermediate container bd7ef95b71b7 [2022-10-24T11:05:41.305Z] ---> d7dc892d4018 [2022-10-24T11:05:41.305Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-24T11:05:41.305Z] ---> 2472d8a146e6 [2022-10-24T11:05:41.305Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T11:05:41.305Z] ---> Running in f72c8a8a97b1 [2022-10-24T11:05:42.240Z] Removing intermediate container f72c8a8a97b1 [2022-10-24T11:05:42.240Z] ---> 02cabad46420 [2022-10-24T11:05:42.240Z] Step 11/27 : COPY . . [2022-10-24T11:05:42.499Z] ---> f6733f6f515e [2022-10-24T11:05:42.499Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T11:05:42.757Z] ---> Running in dc505bc29065 [2022-10-24T11:05:42.757Z] Removing intermediate container dc505bc29065 [2022-10-24T11:05:42.757Z] ---> c19e522a7da2 [2022-10-24T11:05:42.757Z] Step 13/27 : RUN $MAKE [2022-10-24T11:05:42.757Z] ---> Running in a3be380bd76e [2022-10-24T11:05:43.015Z] 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 [2022-10-24T11:06:04.945Z] Removing intermediate container a3be380bd76e [2022-10-24T11:06:04.945Z] ---> 4abf6548cf25 [2022-10-24T11:06:04.945Z] Step 14/27 : FROM alpine:3.16 [2022-10-24T11:06:04.945Z] 3.16: Pulling from library/alpine [2022-10-24T11:06:04.945Z] 213ec9aee27d: Already exists [2022-10-24T11:06:04.945Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T11:06:04.945Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T11:06:04.945Z] ---> 9c6f07244728 [2022-10-24T11:06:04.945Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-24T11:06:04.945Z] ---> Running in bf5853286531 [2022-10-24T11:06:04.945Z] Removing intermediate container bf5853286531 [2022-10-24T11:06:04.945Z] ---> bfdbeb8f159e [2022-10-24T11:06:04.945Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T11:06:04.945Z] ---> Running in 931ae45adc22 [2022-10-24T11:06:05.513Z] Removing intermediate container 931ae45adc22 [2022-10-24T11:06:05.513Z] ---> ecd79d357e06 [2022-10-24T11:06:05.513Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T11:06:05.773Z] ---> Running in 473052f956b9 [2022-10-24T11:06:06.033Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T11:06:06.969Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T11:06:06.969Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T11:06:07.229Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T11:06:07.229Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T11:06:07.229Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T11:06:07.487Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T11:06:07.487Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T11:06:07.487Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T11:06:07.487Z] OK: 8 MiB in 20 packages [2022-10-24T11:06:08.055Z] Removing intermediate container 473052f956b9 [2022-10-24T11:06:08.055Z] ---> 6ebb76df2146 [2022-10-24T11:06:08.055Z] Step 18/27 : WORKDIR / [2022-10-24T11:06:08.055Z] ---> Running in e6f8ff63d1a3 [2022-10-24T11:06:08.055Z] Removing intermediate container e6f8ff63d1a3 [2022-10-24T11:06:08.055Z] ---> b5ed52110ab0 [2022-10-24T11:06:08.055Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-24T11:06:08.312Z] ---> 79a2ddac2928 [2022-10-24T11:06:08.312Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-24T11:06:08.312Z] ---> 43d494388707 [2022-10-24T11:06:08.312Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-24T11:06:09.249Z] ---> 0aa28a0dc202 [2022-10-24T11:06:09.249Z] Step 22/27 : EXPOSE 59900 [2022-10-24T11:06:09.249Z] ---> Running in d72af06f994d [2022-10-24T11:06:09.249Z] Removing intermediate container d72af06f994d [2022-10-24T11:06:09.249Z] ---> c75d5d0eadba [2022-10-24T11:06:09.249Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-24T11:06:09.249Z] ---> Running in 0cd8d68e7797 [2022-10-24T11:06:09.249Z] Removing intermediate container 0cd8d68e7797 [2022-10-24T11:06:09.249Z] ---> 6dbd23ff9f3a [2022-10-24T11:06:09.249Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T11:06:09.249Z] ---> Running in ba5878058863 [2022-10-24T11:06:09.507Z] Removing intermediate container ba5878058863 [2022-10-24T11:06:09.507Z] ---> 1738a1977151 [2022-10-24T11:06:09.507Z] Step 25/27 : LABEL arch=amd64 [2022-10-24T11:06:09.507Z] ---> Running in 8b4b7d8c1313 [2022-10-24T11:06:09.507Z] Removing intermediate container 8b4b7d8c1313 [2022-10-24T11:06:09.507Z] ---> 28f72ca19f31 [2022-10-24T11:06:09.507Z] Step 26/27 : LABEL git_sha=032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [2022-10-24T11:06:09.507Z] ---> Running in 35cef022ee39 [2022-10-24T11:06:09.507Z] Removing intermediate container 35cef022ee39 [2022-10-24T11:06:09.507Z] ---> 4d9d850a62c2 [2022-10-24T11:06:09.507Z] Step 27/27 : LABEL version=0.0.0 [2022-10-24T11:06:09.507Z] ---> Running in 2f6af7f081af [2022-10-24T11:06:09.764Z] Removing intermediate container 2f6af7f081af [2022-10-24T11:06:09.764Z] ---> 37a99fda2f3f [2022-10-24T11:06:09.764Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T11:06:09.764Z] Successfully built 37a99fda2f3f [2022-10-24T11:06:09.764Z] 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 [2022-10-24T11:06:10.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T11:06:10.601Z] [2022-10-24T11:06:10.601Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T11:06:10.970Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T11:06:10.970Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T11:06:10.970Z] 5eb5b503b376: Pulling fs layer [2022-10-24T11:06:10.970Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T11:06:10.970Z] ec43610c2a17: Pulling fs layer [2022-10-24T11:06:10.970Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T11:06:10.970Z] 33b1e0a273af: Pulling fs layer [2022-10-24T11:06:10.970Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T11:06:10.970Z] 2f39f015ded8: Pulling fs layer [2022-10-24T11:06:10.970Z] 33b1e0a273af: Waiting [2022-10-24T11:06:10.970Z] 3a2ae6a8a46f: Waiting [2022-10-24T11:06:10.970Z] 5d3b04190fa2: Waiting [2022-10-24T11:06:10.970Z] 2f39f015ded8: Waiting [2022-10-24T11:06:10.970Z] 5c69ac0246d0: Verifying Checksum [2022-10-24T11:06:10.970Z] 5c69ac0246d0: Download complete [2022-10-24T11:06:10.970Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-24T11:06:10.970Z] 3a2ae6a8a46f: Download complete [2022-10-24T11:06:10.970Z] 33b1e0a273af: Verifying Checksum [2022-10-24T11:06:10.970Z] 33b1e0a273af: Download complete [2022-10-24T11:06:10.970Z] 5d3b04190fa2: Verifying Checksum [2022-10-24T11:06:10.970Z] 5d3b04190fa2: Download complete [2022-10-24T11:06:11.229Z] ec43610c2a17: Verifying Checksum [2022-10-24T11:06:11.229Z] ec43610c2a17: Download complete [2022-10-24T11:06:11.229Z] 5eb5b503b376: Verifying Checksum [2022-10-24T11:06:11.229Z] 5eb5b503b376: Download complete [2022-10-24T11:06:11.793Z] 2f39f015ded8: Download complete [2022-10-24T11:06:12.355Z] 5eb5b503b376: Pull complete [2022-10-24T11:06:12.612Z] 5c69ac0246d0: Pull complete [2022-10-24T11:06:12.869Z] ec43610c2a17: Pull complete [2022-10-24T11:06:12.869Z] 3a2ae6a8a46f: Pull complete [2022-10-24T11:06:13.128Z] 33b1e0a273af: Pull complete [2022-10-24T11:06:13.128Z] 5d3b04190fa2: Pull complete [2022-10-24T11:06:16.974Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9285 in /w/workspace/foundry_device-virtual-go_PR-316 [Pipeline] { [Pipeline] ws [2022-10-24T11:06:17.015Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-10-24T11:06:17.085Z] The recommended git tool is: git [2022-10-24T11:06:18.385Z] 2f39f015ded8: Pull complete [2022-10-24T11:06:18.385Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T11:06:18.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T11:06:18.385Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T11:06:18.603Z] prd-ubuntu20.04-docker-8c-8g-9284 does not seem to be running inside a container [2022-10-24T11:06:18.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-316 -v /w/workspace/foundry_device-virtual-go_PR-316:/w/workspace/foundry_device-virtual-go_PR-316:rw,z -v /w/workspace/foundry_device-virtual-go_PR-316@tmp:/w/workspace/foundry_device-virtual-go_PR-316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T11:06:21.620Z] $ docker top 5c658767a3159c485446cd8eeeecc7e47ffce55c92515a73a3a0870250913e14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T11:06:22.083Z] ---> job-cost.sh [2022-10-24T11:06:22.084Z] lf-activate-venv: SKIPPING [2022-10-24T11:06:22.084Z] INFO: No Stack... [2022-10-24T11:06:22.206Z] using credential edgex-jenkins-ssh [2022-10-24T11:06:22.222Z] Cloning the remote Git repository [2022-10-24T11:06:22.652Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T11:06:22.912Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T11:06:22.259Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-10-24T11:06:22.335Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-10-24T11:06:22.475Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-24T11:06:22.476Z] > git --version # timeout=10 [2022-10-24T11:06:22.495Z] > git --version # 'git version 2.25.1' [2022-10-24T11:06:22.497Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T11:06:22.541Z] Verifying host key using known hosts file [2022-10-24T11:06:22.722Z] 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. [2022-10-24T11:06:22.734Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T11:06:23.227Z] + cat /w/workspace/foundry_device-virtual-go_PR-316/archives/cost.csv [2022-10-24T11:06:23.227Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T11:06:23.266Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] [2022-10-24T11:06:23.271Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] did not exist. Created. [2022-10-24T11:06:23.271Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T11:06:23.671Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T11:06:23.717Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T11:06:23.757Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T11:06:23.841Z] $ docker stop --time=1 5c658767a3159c485446cd8eeeecc7e47ffce55c92515a73a3a0870250913e14 [2022-10-24T11:06:24.993Z] $ docker rm -f 5c658767a3159c485446cd8eeeecc7e47ffce55c92515a73a3a0870250913e14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T11:06:24.694Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-24T11:06:24.716Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T11:06:25.475Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-24T11:06:25.516Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-24T11:06:25.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T11:06:25.522Z] Verifying host key using known hosts file [2022-10-24T11:06:25.528Z] 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. [2022-10-24T11:06:25.538Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/316/head:refs/remotes/origin/PR-316 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T11:06:26.171Z] Merging remotes/origin/main commit 9a1b535985cde1136af0b2835ff927b495d73fc1 into PR head commit 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [2022-10-24T11:06:26.396Z] Merge succeeded, producing 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [2022-10-24T11:06:26.396Z] Checking out Revision 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d (PR-316) [2022-10-24T11:06:26.865Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-24T11:06:26.908Z] > git --version # timeout=10 [2022-10-24T11:06:26.920Z] > git --version # 'git version 2.25.1' [2022-10-24T11:06:26.942Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T11:06:26.185Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T11:06:26.204Z] > git checkout -f 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d # timeout=10 [2022-10-24T11:06:26.291Z] > git remote # timeout=10 [2022-10-24T11:06:26.314Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T11:06:26.328Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T11:06:26.333Z] Verifying host key using known hosts file [2022-10-24T11:06:26.339Z] 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. [2022-10-24T11:06:26.353Z] > git merge 9a1b535985cde1136af0b2835ff927b495d73fc1 # timeout=10 [2022-10-24T11:06:26.376Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T11:06:26.396Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T11:06:26.408Z] > git checkout -f 032d273fa8e4039d8a1ad9084ba8abb70caa6d8d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T11:06:28.026Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T11:06:28.026Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T11:06:28.026Z] Dload Upload Total Spent Left Speed [2022-10-24T11:06:28.026Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 94 12602 94 11882 0 0 99016 0 --:--:-- --:--:-- --:--:-- 98198 100 12602 100 12602 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2022-10-24T11:06:28.755Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T11:06:29.086Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T11:06:29.086Z] + sudo tee /etc/docker/daemon.new [2022-10-24T11:06:29.086Z] { [2022-10-24T11:06:29.086Z] "registry-mirrors": [ [2022-10-24T11:06:29.086Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T11:06:29.086Z] ], [2022-10-24T11:06:29.086Z] "bip": "10.250.0.254/24", [2022-10-24T11:06:29.086Z] "hosts": [ [2022-10-24T11:06:29.086Z] "tcp://0.0.0.0:5555", [2022-10-24T11:06:29.086Z] "unix:///var/run/docker.sock" [2022-10-24T11:06:29.086Z] ], [2022-10-24T11:06:29.086Z] "mtu": 1458, [2022-10-24T11:06:29.086Z] "selinux-enabled": true, [2022-10-24T11:06:29.086Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T11:06:29.086Z] } [Pipeline] sh [2022-10-24T11:06:29.436Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T11:06:29.783Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T11:06:48.116Z] provisioning config files... [2022-10-24T11:06:48.140Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1976534523836240907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T11:06:48.520Z] ---> docker-login.sh [2022-10-24T11:06:48.520Z] nexus3.edgexfoundry.org:10001 [2022-10-24T11:06:48.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T11:06:49.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T11:06:49.375Z] Configure a credential helper to remove this warning. See [2022-10-24T11:06:49.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T11:06:49.375Z] [2022-10-24T11:06:49.375Z] Login Succeeded [2022-10-24T11:06:49.375Z] nexus3.edgexfoundry.org:10002 [2022-10-24T11:06:49.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T11:06:49.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T11:06:49.644Z] Configure a credential helper to remove this warning. See [2022-10-24T11:06:49.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T11:06:49.644Z] [2022-10-24T11:06:49.644Z] Login Succeeded [2022-10-24T11:06:49.644Z] nexus3.edgexfoundry.org:10003 [2022-10-24T11:06:49.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T11:06:49.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T11:06:49.914Z] Configure a credential helper to remove this warning. See [2022-10-24T11:06:49.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T11:06:49.914Z] [2022-10-24T11:06:49.914Z] Login Succeeded [2022-10-24T11:06:49.914Z] nexus3.edgexfoundry.org:10004 [2022-10-24T11:06:50.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T11:06:50.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T11:06:50.453Z] Configure a credential helper to remove this warning. See [2022-10-24T11:06:50.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T11:06:50.453Z] [2022-10-24T11:06:50.453Z] Login Succeeded [2022-10-24T11:06:50.453Z] docker.io [2022-10-24T11:06:50.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T11:06:50.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T11:06:50.986Z] Configure a credential helper to remove this warning. See [2022-10-24T11:06:50.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T11:06:50.986Z] [2022-10-24T11:06:50.986Z] Login Succeeded [2022-10-24T11:06:50.986Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T11:06:51.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T11:06:51.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T11:06:51.308Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T11:06:51.340Z] ========================================================= [2022-10-24T11:06:51.340Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T11:06:51.340Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T11:06:51.819Z] + 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 . [2022-10-24T11:06:52.086Z] Sending build context to Docker daemon 11.76MB [2022-10-24T11:06:52.086Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T11:06:52.086Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-24T11:06:52.369Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T11:06:52.369Z] 9b18e9b68314: Pulling fs layer [2022-10-24T11:06:52.369Z] d32db5db7311: Pulling fs layer [2022-10-24T11:06:52.369Z] d0c4b47475fc: Pulling fs layer [2022-10-24T11:06:52.369Z] 5831b945b038: Pulling fs layer [2022-10-24T11:06:52.369Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T11:06:52.369Z] e10730c5d714: Pulling fs layer [2022-10-24T11:06:52.369Z] 5dd5c2283517: Pulling fs layer [2022-10-24T11:06:52.369Z] d5ac0230b979: Pulling fs layer [2022-10-24T11:06:52.369Z] 5831b945b038: Waiting [2022-10-24T11:06:52.369Z] 86bbec2aaacd: Waiting [2022-10-24T11:06:52.369Z] e10730c5d714: Waiting [2022-10-24T11:06:52.369Z] 5dd5c2283517: Waiting [2022-10-24T11:06:52.369Z] d5ac0230b979: Waiting [2022-10-24T11:06:52.369Z] d0c4b47475fc: Download complete [2022-10-24T11:06:52.369Z] d32db5db7311: Verifying Checksum [2022-10-24T11:06:52.369Z] d32db5db7311: Download complete [2022-10-24T11:06:52.369Z] 86bbec2aaacd: Verifying Checksum [2022-10-24T11:06:52.369Z] 86bbec2aaacd: Download complete [2022-10-24T11:06:52.369Z] e10730c5d714: Verifying Checksum [2022-10-24T11:06:52.369Z] e10730c5d714: Download complete [2022-10-24T11:06:52.369Z] 9b18e9b68314: Verifying Checksum [2022-10-24T11:06:52.369Z] 9b18e9b68314: Download complete [2022-10-24T11:06:53.342Z] 9b18e9b68314: Pull complete [2022-10-24T11:06:53.610Z] d5ac0230b979: Verifying Checksum [2022-10-24T11:06:53.610Z] d5ac0230b979: Download complete [2022-10-24T11:06:53.880Z] d32db5db7311: Pull complete [2022-10-24T11:06:54.150Z] d0c4b47475fc: Pull complete [2022-10-24T11:06:54.742Z] 5dd5c2283517: Verifying Checksum [2022-10-24T11:06:54.742Z] 5dd5c2283517: Download complete [2022-10-24T11:06:55.327Z] 5831b945b038: Verifying Checksum [2022-10-24T11:06:55.327Z] 5831b945b038: Download complete [2022-10-24T11:07:07.732Z] 5831b945b038: Pull complete [2022-10-24T11:07:07.732Z] 86bbec2aaacd: Pull complete [2022-10-24T11:07:07.732Z] e10730c5d714: Pull complete [2022-10-24T11:07:14.389Z] 5dd5c2283517: Pull complete [2022-10-24T11:07:15.802Z] d5ac0230b979: Pull complete [2022-10-24T11:07:15.802Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T11:07:15.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T11:07:15.802Z] ---> 59b3b1a385d4 [2022-10-24T11:07:15.802Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T11:07:17.752Z] ---> Running in fe8111414efa [2022-10-24T11:07:17.752Z] Removing intermediate container fe8111414efa [2022-10-24T11:07:17.752Z] ---> ecc2ea4a8309 [2022-10-24T11:07:17.752Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T11:07:17.752Z] ---> Running in 32af528971b9 [2022-10-24T11:07:18.021Z] Removing intermediate container 32af528971b9 [2022-10-24T11:07:18.021Z] ---> ed34bf02d238 [2022-10-24T11:07:18.021Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-24T11:07:18.290Z] ---> Running in 2240ccbcc17c [2022-10-24T11:07:18.557Z] Removing intermediate container 2240ccbcc17c [2022-10-24T11:07:18.557Z] ---> 3e157d3994b6 [2022-10-24T11:07:18.557Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-24T11:07:18.557Z] ---> Running in c6cd18b04b8f [2022-10-24T11:07:18.826Z] Removing intermediate container c6cd18b04b8f [2022-10-24T11:07:18.826Z] ---> 4b96354ba29c [2022-10-24T11:07:18.826Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T11:07:18.826Z] ---> Running in f79f326a895e [2022-10-24T11:07:20.789Z] Removing intermediate container f79f326a895e [2022-10-24T11:07:20.789Z] ---> 11fa39295bc4 [2022-10-24T11:07:20.789Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T11:07:20.789Z] ---> Running in b0443272a198 [2022-10-24T11:07:21.749Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T11:07:22.712Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T11:07:23.292Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T11:07:23.560Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-24T11:07:23.560Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T11:07:23.828Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T11:07:23.828Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T11:07:23.828Z] OK: 226 MiB in 55 packages [2022-10-24T11:07:24.793Z] Removing intermediate container b0443272a198 [2022-10-24T11:07:24.793Z] ---> 93e75ddb9597 [2022-10-24T11:07:24.793Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-24T11:07:25.384Z] ---> f9bc3c00a339 [2022-10-24T11:07:25.384Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T11:07:25.384Z] ---> Running in f999d163e1fa [2022-10-24T11:08:21.819Z] Removing intermediate container f999d163e1fa [2022-10-24T11:08:21.819Z] ---> daae398828e4 [2022-10-24T11:08:21.819Z] Step 11/13 : COPY . . [2022-10-24T11:08:21.819Z] ---> eec5e0b6312f [2022-10-24T11:08:21.819Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T11:08:21.819Z] ---> Running in 4874ddf15fc9 [2022-10-24T11:08:21.819Z] Removing intermediate container 4874ddf15fc9 [2022-10-24T11:08:21.819Z] ---> 830889e8f696 [2022-10-24T11:08:21.819Z] Step 13/13 : RUN $MAKE [2022-10-24T11:08:21.819Z] ---> Running in c961c560b367 [2022-10-24T11:08:21.819Z] noop [2022-10-24T11:08:21.819Z] Removing intermediate container c961c560b367 [2022-10-24T11:08:21.819Z] ---> 133e12d6b4c1 [2022-10-24T11:08:21.819Z] Successfully built 133e12d6b4c1 [2022-10-24T11:08:21.819Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T11:08:22.296Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T11:08:22.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T11:08:22.534Z] prd-ubuntu20.04-docker-arm64-4c-16g-9285 does not seem to be running inside a container [2022-10-24T11:08:22.599Z] $ 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 [2022-10-24T11:08:23.783Z] $ docker top 200092fd5dc2f6088047117b729005daf20127d9e78bdfe947509d7c8ef28810 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T11:08:24.756Z] + go version [2022-10-24T11:08:24.756Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T11:08:24.789Z] $ docker stop --time=1 200092fd5dc2f6088047117b729005daf20127d9e78bdfe947509d7c8ef28810 [2022-10-24T11:08:26.375Z] $ docker rm -f 200092fd5dc2f6088047117b729005daf20127d9e78bdfe947509d7c8ef28810 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T11:08:27.223Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T11:08:27.224Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T11:08:27.464Z] prd-ubuntu20.04-docker-arm64-4c-16g-9285 does not seem to be running inside a container [2022-10-24T11:08:27.528Z] $ 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 [2022-10-24T11:08:28.652Z] $ docker top a1bde85ec6c7ea2de9bddb7335ab41773e0992997627d25d1ef592cad4763d17 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T11:08:29.203Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-24T11:08:29.586Z] + make test [2022-10-24T11:08:29.586Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-24T11:08:31.529Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-24T11:09:53.168Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-24T11:09:53.168Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.128s coverage: 65.7% of statements [2022-10-24T11:09:53.168Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T11:09:53.168Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T11:10:11.394Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T11:10:11.395Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T11:10:11.395Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T11:10:11.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T11:10:11.461Z] $ docker stop --time=1 a1bde85ec6c7ea2de9bddb7335ab41773e0992997627d25d1ef592cad4763d17 [2022-10-24T11:10:13.209Z] $ docker rm -f a1bde85ec6c7ea2de9bddb7335ab41773e0992997627d25d1ef592cad4763d17 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T11:10:14.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T11:10:14.276Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T11:10:14.658Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T11:10:15.236Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T11:10:15.568Z] + ls -al . [2022-10-24T11:10:15.568Z] total 200 [2022-10-24T11:10:15.568Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 11:08 . [2022-10-24T11:10:15.568Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 11:06 .. [2022-10-24T11:10:15.568Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 11:06 .git [2022-10-24T11:10:15.568Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 11:06 .github [2022-10-24T11:10:15.568Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 24 11:06 .gitignore [2022-10-24T11:10:15.568Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 11:06 .golangci.yml [2022-10-24T11:10:15.568Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 24 11:06 Attribution.txt [2022-10-24T11:10:15.568Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 24 11:06 CHANGELOG.md [2022-10-24T11:10:15.568Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 24 11:06 Dockerfile [2022-10-24T11:10:15.568Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 11:06 GOVERNANCE.md [2022-10-24T11:10:15.568Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 24 11:06 Jenkinsfile [2022-10-24T11:10:15.568Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 11:06 LICENSE [2022-10-24T11:10:15.568Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 24 11:06 Makefile [2022-10-24T11:10:15.568Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 24 11:06 OWNERS.md [2022-10-24T11:10:15.568Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 24 11:06 README.md [2022-10-24T11:10:15.568Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 11:04 VERSION [2022-10-24T11:10:15.568Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 11:06 bin [2022-10-24T11:10:15.568Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 11:06 cmd [2022-10-24T11:10:15.568Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 24 11:09 coverage.out [2022-10-24T11:10:15.568Z] -rw-rw-r-- 1 jenkins jenkins 3387 Oct 24 11:06 go.mod [2022-10-24T11:10:15.568Z] -rw-rw-r-- 1 jenkins jenkins 44541 Oct 24 11:06 go.sum [2022-10-24T11:10:15.568Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 11:06 internal [2022-10-24T11:10:15.568Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 11:06 snap [2022-10-24T11:10:15.568Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 24 11:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T11:10:15.983Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=032d273fa8e4039d8a1ad9084ba8abb70caa6d8d --label arch=arm64 --label version=0.0.0 . [2022-10-24T11:10:16.252Z] Sending build context to Docker daemon 11.81MB [2022-10-24T11:10:16.252Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T11:10:16.252Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-24T11:10:16.252Z] ---> 133e12d6b4c1 [2022-10-24T11:10:16.252Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T11:10:16.519Z] ---> Running in 874603c7e962 [2022-10-24T11:10:16.787Z] Removing intermediate container 874603c7e962 [2022-10-24T11:10:16.787Z] ---> 2addc5aa6371 [2022-10-24T11:10:16.787Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T11:10:16.787Z] ---> Running in 011cdc2614cb [2022-10-24T11:10:17.056Z] Removing intermediate container 011cdc2614cb [2022-10-24T11:10:17.056Z] ---> d3975909b734 [2022-10-24T11:10:17.056Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-24T11:10:17.322Z] ---> Running in 15e80bab82d6 [2022-10-24T11:10:17.589Z] Removing intermediate container 15e80bab82d6 [2022-10-24T11:10:17.589Z] ---> f5781601a58c [2022-10-24T11:10:17.589Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-24T11:10:17.589Z] ---> Running in b68a8811618e [2022-10-24T11:10:17.856Z] Removing intermediate container b68a8811618e [2022-10-24T11:10:17.856Z] ---> d976b65d6148 [2022-10-24T11:10:17.856Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T11:10:18.125Z] ---> Running in 5b2ac5818a8e [2022-10-24T11:10:19.546Z] Removing intermediate container 5b2ac5818a8e [2022-10-24T11:10:19.546Z] ---> de9eb4984d92 [2022-10-24T11:10:19.546Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T11:10:19.546Z] ---> Running in 13643c6ab18d [2022-10-24T11:10:20.507Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T11:10:21.458Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T11:10:22.413Z] OK: 226 MiB in 55 packages [2022-10-24T11:10:23.385Z] Removing intermediate container 13643c6ab18d [2022-10-24T11:10:23.385Z] ---> dca05d31142e [2022-10-24T11:10:23.385Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-24T11:10:23.653Z] ---> ac1e33c2876a [2022-10-24T11:10:23.653Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T11:10:23.653Z] ---> Running in 6b3e7c5657e2 [2022-10-24T11:10:25.601Z] Removing intermediate container 6b3e7c5657e2 [2022-10-24T11:10:25.601Z] ---> 3dbe0ec5e058 [2022-10-24T11:10:25.601Z] Step 11/27 : COPY . . [2022-10-24T11:10:27.011Z] ---> 13a37c48ce2b [2022-10-24T11:10:27.011Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T11:10:27.011Z] ---> Running in 789570db2350 [2022-10-24T11:10:27.278Z] Removing intermediate container 789570db2350 [2022-10-24T11:10:27.278Z] ---> d2a55bf7b549 [2022-10-24T11:10:27.278Z] Step 13/27 : RUN $MAKE [2022-10-24T11:10:27.278Z] ---> Running in 9667fd5fc2a1 [2022-10-24T11:10:28.235Z] 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 [2022-10-24T11:13:05.002Z] Removing intermediate container 9667fd5fc2a1 [2022-10-24T11:13:05.002Z] ---> 59a71f29a706 [2022-10-24T11:13:05.002Z] Step 14/27 : FROM alpine:3.16 [2022-10-24T11:13:05.002Z] 3.16: Pulling from library/alpine [2022-10-24T11:13:05.002Z] 9b18e9b68314: Already exists [2022-10-24T11:13:05.002Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T11:13:05.002Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T11:13:05.002Z] ---> a6215f271958 [2022-10-24T11:13:05.002Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-24T11:13:05.002Z] ---> Running in d8980a9c894e [2022-10-24T11:13:05.002Z] Removing intermediate container d8980a9c894e [2022-10-24T11:13:05.002Z] ---> 40577fcf2cf9 [2022-10-24T11:13:05.002Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T11:13:05.002Z] ---> Running in 4ad44e6cccb7 [2022-10-24T11:13:05.002Z] Removing intermediate container 4ad44e6cccb7 [2022-10-24T11:13:05.002Z] ---> f840f63cd816 [2022-10-24T11:13:05.002Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T11:13:05.002Z] ---> Running in d63214a2f3c7 [2022-10-24T11:13:05.002Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T11:13:05.002Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T11:13:05.002Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T11:13:05.002Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T11:13:05.002Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T11:13:05.002Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T11:13:05.002Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T11:13:05.003Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T11:13:05.003Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T11:13:05.003Z] OK: 8 MiB in 20 packages [2022-10-24T11:13:05.003Z] Removing intermediate container d63214a2f3c7 [2022-10-24T11:13:05.003Z] ---> bf8b9064ee3d [2022-10-24T11:13:05.003Z] Step 18/27 : WORKDIR / [2022-10-24T11:13:05.003Z] ---> Running in 16d6304ea806 [2022-10-24T11:13:05.003Z] Removing intermediate container 16d6304ea806 [2022-10-24T11:13:05.003Z] ---> 1992fad07d80 [2022-10-24T11:13:05.003Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-24T11:13:05.003Z] ---> f37503570854 [2022-10-24T11:13:05.003Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-24T11:13:05.003Z] ---> 74cde135885d [2022-10-24T11:13:05.003Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-24T11:13:05.003Z] ---> 0be351b2a017 [2022-10-24T11:13:05.003Z] Step 22/27 : EXPOSE 59900 [2022-10-24T11:13:05.003Z] ---> Running in 566e80fd7382 [2022-10-24T11:13:05.003Z] Removing intermediate container 566e80fd7382 [2022-10-24T11:13:05.003Z] ---> 3750618e3432 [2022-10-24T11:13:05.003Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-24T11:13:05.003Z] ---> Running in 128beb2e07a8 [2022-10-24T11:13:05.279Z] Removing intermediate container 128beb2e07a8 [2022-10-24T11:13:05.279Z] ---> ed0de28cada9 [2022-10-24T11:13:05.279Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T11:13:05.547Z] ---> Running in 747d5cc4ca12 [2022-10-24T11:13:05.815Z] Removing intermediate container 747d5cc4ca12 [2022-10-24T11:13:05.815Z] ---> ccb4154a8052 [2022-10-24T11:13:05.815Z] Step 25/27 : LABEL arch=arm64 [2022-10-24T11:13:05.815Z] ---> Running in 08911946b075 [2022-10-24T11:13:06.083Z] Removing intermediate container 08911946b075 [2022-10-24T11:13:06.083Z] ---> 204192844f4f [2022-10-24T11:13:06.083Z] Step 26/27 : LABEL git_sha=032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [2022-10-24T11:13:06.351Z] ---> Running in fc1bc5007159 [2022-10-24T11:13:06.617Z] Removing intermediate container fc1bc5007159 [2022-10-24T11:13:06.617Z] ---> 80ab04cc2839 [2022-10-24T11:13:06.617Z] Step 27/27 : LABEL version=0.0.0 [2022-10-24T11:13:06.617Z] ---> Running in 4cb835e2efae [2022-10-24T11:13:06.882Z] Removing intermediate container 4cb835e2efae [2022-10-24T11:13:06.882Z] ---> 643b9ac97e8d [2022-10-24T11:13:06.882Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T11:13:06.882Z] Successfully built 643b9ac97e8d [2022-10-24T11:13:06.882Z] 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 [2022-10-24T11:13:07.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T11:13:07.704Z] [2022-10-24T11:13:07.704Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T11:13:08.102Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T11:13:08.102Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T11:13:08.102Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T11:13:08.102Z] 04944245beec: Pulling fs layer [2022-10-24T11:13:08.102Z] 699f458cf7ca: Pulling fs layer [2022-10-24T11:13:08.102Z] 765212b225bb: Pulling fs layer [2022-10-24T11:13:08.102Z] f23df028b6ca: Pulling fs layer [2022-10-24T11:13:08.102Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T11:13:08.102Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T11:13:08.102Z] 765212b225bb: Waiting [2022-10-24T11:13:08.102Z] f23df028b6ca: Waiting [2022-10-24T11:13:08.102Z] 2437ff75d9bd: Waiting [2022-10-24T11:13:08.102Z] d65c8cfc05b1: Waiting [2022-10-24T11:13:08.373Z] 04944245beec: Verifying Checksum [2022-10-24T11:13:08.373Z] 04944245beec: Download complete [2022-10-24T11:13:08.373Z] 765212b225bb: Download complete [2022-10-24T11:13:08.373Z] f23df028b6ca: Verifying Checksum [2022-10-24T11:13:08.373Z] f23df028b6ca: Download complete [2022-10-24T11:13:08.373Z] d65c8cfc05b1: Verifying Checksum [2022-10-24T11:13:08.373Z] d65c8cfc05b1: Download complete [2022-10-24T11:13:08.373Z] 699f458cf7ca: Verifying Checksum [2022-10-24T11:13:08.642Z] 699f458cf7ca: Download complete [2022-10-24T11:13:08.912Z] 8998bd30e6a1: Verifying Checksum [2022-10-24T11:13:08.912Z] 8998bd30e6a1: Download complete [2022-10-24T11:13:11.497Z] 2437ff75d9bd: Verifying Checksum [2022-10-24T11:13:11.497Z] 2437ff75d9bd: Download complete [2022-10-24T11:13:12.906Z] 8998bd30e6a1: Pull complete [2022-10-24T11:13:13.489Z] 04944245beec: Pull complete [2022-10-24T11:13:14.906Z] 699f458cf7ca: Pull complete [2022-10-24T11:13:14.906Z] 765212b225bb: Pull complete [2022-10-24T11:13:15.489Z] f23df028b6ca: Pull complete [2022-10-24T11:13:15.756Z] d65c8cfc05b1: Pull complete [2022-10-24T11:13:30.749Z] 2437ff75d9bd: Pull complete [2022-10-24T11:13:30.749Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T11:13:30.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T11:13:30.749Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T11:13:31.052Z] prd-ubuntu20.04-docker-arm64-4c-16g-9285 does not seem to be running inside a container [2022-10-24T11:13:31.110Z] $ 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 [2022-10-24T11:13:33.585Z] $ docker top 56df0e1b0d9e442212b315978c0abef508015446464a31bb6a03b040e9266f67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T11:13:34.234Z] ---> job-cost.sh [2022-10-24T11:13:34.510Z] lf-activate-venv: SKIPPING [2022-10-24T11:13:34.510Z] INFO: No Stack... [2022-10-24T11:13:35.478Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T11:13:36.448Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T11:13:36.838Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-10-24T11:13:36.838Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T11:13:36.905Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] [2022-10-24T11:13:36.910Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] did not exist. Created. [2022-10-24T11:13:36.910Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T11:13:37.314Z] /w/workspace/device-virtual-go/1@tmp/durable-ee9854c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T11:13:37.658Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T11:13:37.694Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T11:13:37.736Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T11:13:37.818Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-316-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T11:13:37.933Z] $ docker stop --time=1 56df0e1b0d9e442212b315978c0abef508015446464a31bb6a03b040e9266f67 [2022-10-24T11:13:39.357Z] $ docker rm -f 56df0e1b0d9e442212b315978c0abef508015446464a31bb6a03b040e9266f67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-24T11:13:40.267Z] provisioning config files... [2022-10-24T11:13:40.274Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-316@tmp/config11744780932592215663tmp [Pipeline] { [Pipeline] sh [2022-10-24T11:13:40.611Z] + set +x [2022-10-24T11:13:40.611Z] + bash -s -- [2022-10-24T11:13:40.611Z] + curl -s https://codecov.io/bash [2022-10-24T11:13:40.611Z] [2022-10-24T11:13:40.611Z] _____ _ [2022-10-24T11:13:40.611Z] / ____| | | [2022-10-24T11:13:40.611Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T11:13:40.611Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T11:13:40.611Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T11:13:40.611Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T11:13:40.611Z] Bash-1.0.6 [2022-10-24T11:13:40.611Z] [2022-10-24T11:13:40.611Z] [2022-10-24T11:13:40.611Z] ==> git version 2.25.1 found [2022-10-24T11:13:40.611Z] ==> 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 [2022-10-24T11:13:40.611Z] Release-Date: 2020-01-08 [2022-10-24T11:13:40.611Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-24T11:13:40.611Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-24T11:13:40.611Z] ==> Jenkins CI detected. [2022-10-24T11:13:40.611Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-316 [2022-10-24T11:13:40.612Z] project root: . [2022-10-24T11:13:40.612Z] --> token set from env [2022-10-24T11:13:40.612Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T11:13:40.612Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T11:13:40.612Z] ==> Python coveragepy not found [2022-10-24T11:13:40.612Z] ==> Searching for coverage reports in: [2022-10-24T11:13:40.612Z] + . [2022-10-24T11:13:40.612Z] -> Found 1 reports [2022-10-24T11:13:40.612Z] ==> Detecting git/mercurial file structure [2022-10-24T11:13:40.612Z] ==> Reading reports [2022-10-24T11:13:40.612Z] + ./coverage.out bytes=44128 [2022-10-24T11:13:40.612Z] ==> Appending adjustments [2022-10-24T11:13:40.612Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T11:13:40.870Z] + Found adjustments [2022-10-24T11:13:40.870Z] ==> Gzipping contents [2022-10-24T11:13:40.870Z] 8.0K /tmp/codecov.ouiIBy.gz [2022-10-24T11:13:40.870Z] ==> Uploading reports [2022-10-24T11:13:40.870Z] url: https://codecov.io [2022-10-24T11:13:40.870Z] query: branch=PR-316&commit=032d273fa8e4039d8a1ad9084ba8abb70caa6d8d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-316%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=316&job=&cmd_args= [2022-10-24T11:13:40.870Z] -> Pinging Codecov [2022-10-24T11:13:40.870Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-316&commit=032d273fa8e4039d8a1ad9084ba8abb70caa6d8d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-316%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=316&job=&cmd_args= [2022-10-24T11:13:41.128Z] -> Uploading to [2022-10-24T11:13:41.129Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/5E52B4B073DB2E39498172D8E973AA87/032d273fa8e4039d8a1ad9084ba8abb70caa6d8d/4a5d76e9-0047-4659-a321-92ecffa231fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T111341Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f122ef2e24afb41762e797738733d294c292c33112a8fa16b39a5e9972f4ce6e [2022-10-24T11:13:41.129Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T11:13:41.129Z] Dload Upload Total Spent Left Speed [2022-10-24T11:13:41.387Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5480 0 0 100 5480 0 22644 --:--:-- --:--:-- --:--:-- 22738 [2022-10-24T11:13:41.387Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/032d273fa8e4039d8a1ad9084ba8abb70caa6d8d [Pipeline] } [2022-10-24T11:13:41.415Z] 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 [2022-10-24T11:13:43.164Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-316/archives ] [2022-10-24T11:13:43.164Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-316/archives [2022-10-24T11:13:43.164Z] total 16 [2022-10-24T11:13:43.164Z] drwxr-xr-x 3 root root 4096 Oct 24 11:06 . [2022-10-24T11:13:43.164Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 11:06 .. [2022-10-24T11:13:43.164Z] drwxr-xr-x 2 root root 4096 Oct 24 11:06 cost [2022-10-24T11:13:43.164Z] -rw-r--r-- 1 root root 89 Oct 24 11:06 cost.csv [2022-10-24T11:13:43.164Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-316/archives [2022-10-24T11:13:43.164Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-316/archives [2022-10-24T11:13:43.164Z] total 16 [2022-10-24T11:13:43.164Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 11:06 . [2022-10-24T11:13:43.164Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 11:06 .. [2022-10-24T11:13:43.164Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 11:06 cost [2022-10-24T11:13:43.164Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 24 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T11:13:43.496Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T11:13:44.380Z] ---> package-listing.sh [2022-10-24T11:13:44.380Z] ++ facter osfamily [2022-10-24T11:13:44.380Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T11:13:44.639Z] + OS_FAMILY=debian [2022-10-24T11:13:44.639Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-316 [2022-10-24T11:13:44.639Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T11:13:44.639Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T11:13:44.639Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T11:13:44.639Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T11:13:44.639Z] + '[' /w/workspace/foundry_device-virtual-go_PR-316 ']' [2022-10-24T11:13:44.639Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T11:13:44.639Z] + case "${OS_FAMILY}" in [2022-10-24T11:13:44.639Z] + dpkg -l [2022-10-24T11:13:44.639Z] + grep '^ii' [2022-10-24T11:13:44.639Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T11:13:44.639Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T11:13:44.639Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T11:13:44.639Z] + '[' /w/workspace/foundry_device-virtual-go_PR-316 ']' [2022-10-24T11:13:44.639Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-316/archives/ [2022-10-24T11:13:44.639Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-316/archives/ [Pipeline] echo [2022-10-24T11:13:44.673Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-316/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T11:13:44.961Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T11:13:45.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T11:13:45.586Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T11:13:45.742Z] prd-ubuntu20.04-docker-8c-8g-9284 does not seem to be running inside a container [2022-10-24T11:13:45.777Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-316/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-316 -v /w/workspace/foundry_device-virtual-go_PR-316:/w/workspace/foundry_device-virtual-go_PR-316:rw,z -v /w/workspace/foundry_device-virtual-go_PR-316@tmp:/w/workspace/foundry_device-virtual-go_PR-316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T11:13:46.027Z] $ docker top edfee6ea0f43f435795960f9721fb09d614afc43b2c82954372155b4659dbdfc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T11:13:46.418Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T11:13:46.732Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T11:13:47.043Z] + ls /var/log/sa-host [2022-10-24T11:13:47.043Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T11:13:47.249Z] provisioning config files... [2022-10-24T11:13:47.257Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-316@tmp/config1550403459824762992tmp [Pipeline] { [Pipeline] echo [2022-10-24T11:13:47.310Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T11:13:47.621Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T11:13:47.647Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T11:13:48.136Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T11:13:48.166Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T11:13:48.474Z] ---> sudo-logs.sh [2022-10-24T11:13:48.474Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T11:13:48.558Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T11:13:48.870Z] ---> job-cost.sh [2022-10-24T11:13:48.870Z] lf-activate-venv: SKIPPING [2022-10-24T11:13:48.870Z] DEBUG: total: 0.2199999988079071 [2022-10-24T11:13:48.870Z] INFO: Retrieving Stack Cost... [2022-10-24T11:13:49.438Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T11:13:49.698Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T11:13:49.740Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T11:13:50.054Z] ---> logs-deploy.sh [2022-10-24T11:13:50.054Z] lf-activate-venv: SKIPPING [2022-10-24T11:13:50.054Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-316/1 [2022-10-24T11:13:50.054Z] INFO: archiving workspace using pattern(s): [2022-10-24T11:13:50.989Z] Archives upload complete. [2022-10-24T11:13:50.989Z] INFO: archiving logs to Nexus