Pull request #323 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 9c4b646866407ddf8f0af98db0b309af843b4dee+e07a2b47d6b01394d573ef881097266a6362f197 (4fba1df3ee7fa9f1ebd00d84b7141c17a6ccc93a) 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-ssh18250691313747345802.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8848797232054941167.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15587656157349456141.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh8246672579085251413.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-323/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-323/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2660482117354683865.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-916 in /w/workspace/foundry_device-virtual-go_PR-323 [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-323 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/323/head:refs/remotes/origin/PR-323 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e07a2b47d6b01394d573ef881097266a6362f197 into PR head commit 9c4b646866407ddf8f0af98db0b309af843b4dee Merge succeeded, producing 9c4b646866407ddf8f0af98db0b309af843b4dee Checking out Revision 9c4b646866407ddf8f0af98db0b309af843b4dee (PR-323) > git config core.sparsecheckout # timeout=10 > git checkout -f 9c4b646866407ddf8f0af98db0b309af843b4dee # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e07a2b47d6b01394d573ef881097266a6362f197 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c4b646866407ddf8f0af98db0b309af843b4dee # timeout=10 Commit message: "refactor!: Rename command line flags for the sake of consistency" First time build. Skipping changelog. > git rev-list --no-walk 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-03T17:52:50.006Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-03T17:52:50.064Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-03T17:52:50.078Z] ========================================================= [2023-01-03T17:52:50.078Z] EdgeX Global Pipelines Version Info [2023-01-03T17:52:50.078Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:52:50.798Z] ------------------- [2023-01-03T17:52:50.798Z] stable info: [2023-01-03T17:52:50.798Z] ------------------- [2023-01-03T17:52:50.798Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-03T17:52:50.798Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T17:52:50.798Z] Message: update stable to v1.0.244 [2023-01-03T17:52:51.372Z] ------------------- [2023-01-03T17:52:51.372Z] experimental info: [2023-01-03T17:52:51.372Z] ------------------- [2023-01-03T17:52:51.372Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-03T17:52:51.372Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T17:52:51.372Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-03T17:52:51.539Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-01-03T17:52:51.550Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-01-03T17:52:51.562Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-03T17:52:51.576Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-03T17:52:51.588Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-03T17:52:51.601Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-03T17:52:51.614Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-03T17:52:51.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-03T17:52:51.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-03T17:52:51.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-03T17:52:51.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-03T17:52:51.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-01-03T17:52:51.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-03T17:52:51.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-03T17:52:51.721Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T17:52:51.732Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T17:52:51.745Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T17:52:51.757Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T17:52:51.769Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-03T17:52:51.782Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-03T17:52:51.795Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-03T17:52:51.812Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-03T17:52:51.825Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-03T17:52:51.836Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-03T17:52:51.848Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-03T17:52:51.862Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-03T17:52:51.874Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-03T17:52:51.885Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-323 [Pipeline] echo [2023-01-03T17:52:51.901Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-323 [Pipeline] echo [2023-01-03T17:52:51.916Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-323 [Pipeline] echo [2023-01-03T17:52:51.933Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c4b646866407ddf8f0af98db0b309af843b4dee [Pipeline] echo [2023-01-03T17:52:51.944Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c4b646 [Pipeline] echo [2023-01-03T17:52:51.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T17:52:52.008Z] provisioning config files... [2023-01-03T17:52:52.024Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config10489222111208469150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:52:52.328Z] ---> docker-login.sh [2023-01-03T17:52:52.328Z] nexus3.edgexfoundry.org:10001 [2023-01-03T17:52:52.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:52:52.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:52:52.852Z] Configure a credential helper to remove this warning. See [2023-01-03T17:52:52.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:52:52.852Z] [2023-01-03T17:52:52.852Z] Login Succeeded [2023-01-03T17:52:52.852Z] nexus3.edgexfoundry.org:10002 [2023-01-03T17:52:52.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:52:52.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:52:52.853Z] Configure a credential helper to remove this warning. See [2023-01-03T17:52:52.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:52:52.853Z] [2023-01-03T17:52:52.853Z] Login Succeeded [2023-01-03T17:52:52.853Z] nexus3.edgexfoundry.org:10003 [2023-01-03T17:52:53.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:52:53.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:52:53.112Z] Configure a credential helper to remove this warning. See [2023-01-03T17:52:53.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:52:53.112Z] [2023-01-03T17:52:53.112Z] Login Succeeded [2023-01-03T17:52:53.112Z] nexus3.edgexfoundry.org:10004 [2023-01-03T17:52:53.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:52:53.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:52:53.112Z] Configure a credential helper to remove this warning. See [2023-01-03T17:52:53.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:52:53.112Z] [2023-01-03T17:52:53.112Z] Login Succeeded [2023-01-03T17:52:53.112Z] docker.io [2023-01-03T17:52:53.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:52:53.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:52:53.373Z] Configure a credential helper to remove this warning. See [2023-01-03T17:52:53.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:52:53.373Z] [2023-01-03T17:52:53.373Z] Login Succeeded [2023-01-03T17:52:53.373Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T17:52:53.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-03T17:52:53.741Z] + git rev-list -1 --merges 9c4b646866407ddf8f0af98db0b309af843b4dee~1..9c4b646866407ddf8f0af98db0b309af843b4dee [Pipeline] echo [2023-01-03T17:52:53.794Z] -----------> git rev-list -1 --merges 9c4b646866407ddf8f0af98db0b309af843b4dee~1..9c4b646866407ddf8f0af98db0b309af843b4dee 9c4b646866407ddf8f0af98db0b309af843b4dee [false] [Pipeline] sh [2023-01-03T17:52:54.082Z] + git log --format=format:%s -1 9c4b646866407ddf8f0af98db0b309af843b4dee [Pipeline] echo [2023-01-03T17:52:54.096Z] ========================================================= [2023-01-03T17:52:54.096Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-03T17:52:54.096Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T17:52:54.414Z] + git log --format=format:%s -1 9c4b646866407ddf8f0af98db0b309af843b4dee [Pipeline] echo [2023-01-03T17:52:54.426Z] [semverPrep] GIT_COMMIT: 9c4b646866407ddf8f0af98db0b309af843b4dee, Commit Message: refactor!: Rename command line flags for the sake of consistency [Pipeline] echo [2023-01-03T17:52:54.437Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-03T17:52:54.798Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T17:52:54.798Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-03T17:52:54.798Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-03T17:52:54.798Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-03T17:52:54.798Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-03T17:52:54.798Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-03T17:52:54.798Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:52:55.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T17:52:55.216Z] [2023-01-03T17:52:55.216Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:52:55.519Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T17:52:55.519Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-03T17:52:55.519Z] b85a868b505f: Pulling fs layer [2023-01-03T17:52:55.519Z] e2be974225ed: Pulling fs layer [2023-01-03T17:52:55.519Z] 339a4e72a1f5: Pulling fs layer [2023-01-03T17:52:55.519Z] 988bab9f4d93: Pulling fs layer [2023-01-03T17:52:55.519Z] 1469e6f7b9e6: Pulling fs layer [2023-01-03T17:52:55.519Z] 988bab9f4d93: Waiting [2023-01-03T17:52:55.519Z] eaf3925da568: Pulling fs layer [2023-01-03T17:52:55.519Z] bab4dde63d76: Pulling fs layer [2023-01-03T17:52:55.519Z] eaf3925da568: Waiting [2023-01-03T17:52:55.519Z] bab4dde63d76: Waiting [2023-01-03T17:52:55.519Z] 1469e6f7b9e6: Waiting [2023-01-03T17:52:55.519Z] bde34c3a00c8: Pulling fs layer [2023-01-03T17:52:55.519Z] b352a97aabf1: Pulling fs layer [2023-01-03T17:52:55.519Z] 4872d77fe225: Pulling fs layer [2023-01-03T17:52:55.519Z] b352a97aabf1: Waiting [2023-01-03T17:52:55.519Z] bde34c3a00c8: Waiting [2023-01-03T17:52:55.519Z] 5851b861e8e6: Pulling fs layer [2023-01-03T17:52:55.519Z] 4872d77fe225: Waiting [2023-01-03T17:52:55.519Z] e2be974225ed: Verifying Checksum [2023-01-03T17:52:55.519Z] e2be974225ed: Download complete [2023-01-03T17:52:55.519Z] 988bab9f4d93: Verifying Checksum [2023-01-03T17:52:55.519Z] 988bab9f4d93: Download complete [2023-01-03T17:52:55.780Z] 1469e6f7b9e6: Verifying Checksum [2023-01-03T17:52:55.780Z] 1469e6f7b9e6: Download complete [2023-01-03T17:52:55.780Z] eaf3925da568: Download complete [2023-01-03T17:52:55.780Z] 339a4e72a1f5: Verifying Checksum [2023-01-03T17:52:55.780Z] 339a4e72a1f5: Download complete [2023-01-03T17:52:55.780Z] bde34c3a00c8: Download complete [2023-01-03T17:52:55.780Z] b352a97aabf1: Download complete [2023-01-03T17:52:55.780Z] 4872d77fe225: Verifying Checksum [2023-01-03T17:52:55.780Z] 4872d77fe225: Download complete [2023-01-03T17:52:55.780Z] 5851b861e8e6: Verifying Checksum [2023-01-03T17:52:55.780Z] 5851b861e8e6: Download complete [2023-01-03T17:52:55.780Z] b85a868b505f: Verifying Checksum [2023-01-03T17:52:55.780Z] b85a868b505f: Download complete [2023-01-03T17:52:56.041Z] bab4dde63d76: Verifying Checksum [2023-01-03T17:52:56.041Z] bab4dde63d76: Download complete [2023-01-03T17:52:56.979Z] b85a868b505f: Pull complete [2023-01-03T17:52:57.239Z] e2be974225ed: Pull complete [2023-01-03T17:52:57.807Z] 339a4e72a1f5: Pull complete [2023-01-03T17:52:57.807Z] 988bab9f4d93: Pull complete [2023-01-03T17:52:58.069Z] 1469e6f7b9e6: Pull complete [2023-01-03T17:52:58.069Z] eaf3925da568: Pull complete [2023-01-03T17:52:59.977Z] bab4dde63d76: Pull complete [2023-01-03T17:53:00.244Z] bde34c3a00c8: Pull complete [2023-01-03T17:53:00.244Z] b352a97aabf1: Pull complete [2023-01-03T17:53:00.504Z] 4872d77fe225: Pull complete [2023-01-03T17:53:00.504Z] 5851b861e8e6: Pull complete [2023-01-03T17:53:00.504Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-03T17:53:00.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T17:53:00.504Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:53:00.614Z] prd-ubuntu20.04-docker-8c-8g-916 does not seem to be running inside a container [2023-01-03T17:53:00.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-323 -v /w/workspace/foundry_device-virtual-go_PR-323:/w/workspace/foundry_device-virtual-go_PR-323:rw,z -v /w/workspace/foundry_device-virtual-go_PR-323@tmp:/w/workspace/foundry_device-virtual-go_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T17:53:02.267Z] $ docker top 1f43d3c14ea9b4dd88ae30c4ed6fb6288ec632fe6df24ff1e79fdfb0361da905 -eo pid,comm [2023-01-03T17:53:02.324Z] 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). [2023-01-03T17:53:02.324Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T17:53:02.354Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T17:53:02.355Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T17:53:02.482Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T17:53:02.485Z] $ docker exec 1f43d3c14ea9b4dd88ae30c4ed6fb6288ec632fe6df24ff1e79fdfb0361da905 ssh-agent [2023-01-03T17:53:02.603Z] SSH_AUTH_SOCK=/tmp/ssh-O48nAFFAfFRb/agent.33 [2023-01-03T17:53:02.603Z] SSH_AGENT_PID=39 [2023-01-03T17:53:02.611Z] Running ssh-add (command line suppressed) [2023-01-03T17:53:02.720Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_2269944898301329575.key (/w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_2269944898301329575.key) [2023-01-03T17:53:02.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T17:53:03.023Z] + git tag --points-at HEAD [Pipeline] } [2023-01-03T17:53:03.032Z] $ docker exec --env ******** --env ******** 1f43d3c14ea9b4dd88ae30c4ed6fb6288ec632fe6df24ff1e79fdfb0361da905 ssh-agent -k [2023-01-03T17:53:03.131Z] unset SSH_AUTH_SOCK; [2023-01-03T17:53:03.132Z] unset SSH_AGENT_PID; [2023-01-03T17:53:03.132Z] echo Agent pid 39 killed; [2023-01-03T17:53:03.144Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-03T17:53:03.167Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T17:53:03.167Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T17:53:03.286Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T17:53:03.288Z] $ docker exec 1f43d3c14ea9b4dd88ae30c4ed6fb6288ec632fe6df24ff1e79fdfb0361da905 ssh-agent [2023-01-03T17:53:03.414Z] SSH_AUTH_SOCK=/tmp/ssh-hZlEuM99jSqr/agent.71 [2023-01-03T17:53:03.414Z] SSH_AGENT_PID=77 [2023-01-03T17:53:03.419Z] Running ssh-add (command line suppressed) [2023-01-03T17:53:03.516Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_15598264493295764623.key (/w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_15598264493295764623.key) [2023-01-03T17:53:03.531Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T17:53:03.882Z] + git semver init [2023-01-03T17:53:04.143Z] 2023-01-03 17:53:04,059 [run_init] DEBUG init version:0.0.0 force:False [2023-01-03T17:53:04.143Z] 2023-01-03 17:53:04,060 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-323/.semver [2023-01-03T17:53:04.143Z] 2023-01-03 17:53:04,061 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-323/.semver [2023-01-03T17:53:04.143Z] 2023-01-03 17:53:04,062 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-323/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-323, universal_newlines=False, shell=None, istream=None) [2023-01-03T17:53:05.523Z] 2023-01-03 17:53:05,329 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-323/.git/info/exclude [2023-01-03T17:53:05.523Z] 2023-01-03 17:53:05,330 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-323/.semver/PR-323 with force:False [2023-01-03T17:53:05.523Z] 2023-01-03 17:53:05,330 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-323/.semver/PR-323 [2023-01-03T17:53:05.523Z] 2023-01-03 17:53:05,334 [execute] INFO git cat-file --batch-check [2023-01-03T17:53:05.523Z] 2023-01-03 17:53:05,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-323/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T17:53:05.523Z] 2023-01-03 17:53:05,341 [execute] INFO git cat-file --batch [2023-01-03T17:53:05.523Z] 2023-01-03 17:53:05,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-323/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T17:53:05.523Z] 2023-01-03 17:53:05,347 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-323/.semver/PR-323 [2023-01-03T17:53:05.523Z] 0.0.0 [Pipeline] } [2023-01-03T17:53:05.532Z] $ docker exec --env ******** --env ******** 1f43d3c14ea9b4dd88ae30c4ed6fb6288ec632fe6df24ff1e79fdfb0361da905 ssh-agent -k [2023-01-03T17:53:05.628Z] unset SSH_AUTH_SOCK; [2023-01-03T17:53:05.628Z] unset SSH_AGENT_PID; [2023-01-03T17:53:05.629Z] echo Agent pid 77 killed; [2023-01-03T17:53:05.636Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T17:53:05.943Z] + git semver [Pipeline] } [2023-01-03T17:53:06.216Z] $ docker stop --time=1 1f43d3c14ea9b4dd88ae30c4ed6fb6288ec632fe6df24ff1e79fdfb0361da905 [2023-01-03T17:53:07.585Z] $ docker rm -f --volumes 1f43d3c14ea9b4dd88ae30c4ed6fb6288ec632fe6df24ff1e79fdfb0361da905 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T17:53:07.938Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-03T17:53:08.150Z] Stashed 1 file(s) [Pipeline] echo [2023-01-03T17:53:08.154Z] [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 [2023-01-03T17:53:08.261Z] provisioning config files... [2023-01-03T17:53:08.270Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config12824938139814904809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:53:08.570Z] ---> docker-login.sh [2023-01-03T17:53:08.570Z] nexus3.edgexfoundry.org:10001 [2023-01-03T17:53:08.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:53:08.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:53:08.570Z] Configure a credential helper to remove this warning. See [2023-01-03T17:53:08.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:53:08.570Z] [2023-01-03T17:53:08.570Z] Login Succeeded [2023-01-03T17:53:08.570Z] nexus3.edgexfoundry.org:10002 [2023-01-03T17:53:08.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:53:08.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:53:08.570Z] Configure a credential helper to remove this warning. See [2023-01-03T17:53:08.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:53:08.570Z] [2023-01-03T17:53:08.570Z] Login Succeeded [2023-01-03T17:53:08.570Z] nexus3.edgexfoundry.org:10003 [2023-01-03T17:53:08.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:53:08.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:53:08.828Z] Configure a credential helper to remove this warning. See [2023-01-03T17:53:08.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:53:08.828Z] [2023-01-03T17:53:08.828Z] Login Succeeded [2023-01-03T17:53:08.828Z] nexus3.edgexfoundry.org:10004 [2023-01-03T17:53:08.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:53:08.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:53:08.828Z] Configure a credential helper to remove this warning. See [2023-01-03T17:53:08.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:53:08.828Z] [2023-01-03T17:53:08.828Z] Login Succeeded [2023-01-03T17:53:08.828Z] docker.io [2023-01-03T17:53:09.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:53:09.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:53:09.088Z] Configure a credential helper to remove this warning. See [2023-01-03T17:53:09.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:53:09.088Z] [2023-01-03T17:53:09.088Z] Login Succeeded [2023-01-03T17:53:09.348Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T17:53:09.355Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T17:53:09.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T17:53:09.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T17:53:09.428Z] ========================================================= [2023-01-03T17:53:09.428Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-03T17:53:09.428Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:53:09.728Z] + 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 . [2023-01-03T17:53:09.728Z] Sending build context to Docker daemon 23.37MB [2023-01-03T17:53:09.728Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T17:53:09.728Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-03T17:53:09.988Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-03T17:53:09.988Z] 213ec9aee27d: Pulling fs layer [2023-01-03T17:53:09.988Z] 4583459ba037: Pulling fs layer [2023-01-03T17:53:09.988Z] 93c1e223e6f2: Pulling fs layer [2023-01-03T17:53:09.988Z] 53926ce57604: Pulling fs layer [2023-01-03T17:53:09.988Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-03T17:53:09.988Z] 22ff95d597cd: Pulling fs layer [2023-01-03T17:53:09.988Z] 12d6caf4c0d1: Pulling fs layer [2023-01-03T17:53:09.988Z] 96b7cbca73a9: Pulling fs layer [2023-01-03T17:53:09.988Z] a7acece74701: Pulling fs layer [2023-01-03T17:53:09.988Z] 53926ce57604: Waiting [2023-01-03T17:53:09.988Z] 21b2b0c7a3f4: Waiting [2023-01-03T17:53:09.988Z] 22ff95d597cd: Waiting [2023-01-03T17:53:09.988Z] 12d6caf4c0d1: Waiting [2023-01-03T17:53:09.988Z] 96b7cbca73a9: Waiting [2023-01-03T17:53:09.988Z] a7acece74701: Waiting [2023-01-03T17:53:09.988Z] 93c1e223e6f2: Download complete [2023-01-03T17:53:09.988Z] 4583459ba037: Verifying Checksum [2023-01-03T17:53:09.988Z] 4583459ba037: Download complete [2023-01-03T17:53:09.988Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-03T17:53:09.988Z] 21b2b0c7a3f4: Download complete [2023-01-03T17:53:09.988Z] 22ff95d597cd: Verifying Checksum [2023-01-03T17:53:09.988Z] 22ff95d597cd: Download complete [2023-01-03T17:53:09.988Z] 213ec9aee27d: Verifying Checksum [2023-01-03T17:53:09.988Z] 213ec9aee27d: Download complete [2023-01-03T17:53:09.988Z] 12d6caf4c0d1: Download complete [2023-01-03T17:53:10.249Z] 213ec9aee27d: Pull complete [2023-01-03T17:53:10.249Z] 4583459ba037: Pull complete [2023-01-03T17:53:10.511Z] 93c1e223e6f2: Pull complete [2023-01-03T17:53:10.511Z] a7acece74701: Verifying Checksum [2023-01-03T17:53:10.511Z] a7acece74701: Download complete [2023-01-03T17:53:11.086Z] 96b7cbca73a9: Download complete [2023-01-03T17:53:11.344Z] 53926ce57604: Verifying Checksum [2023-01-03T17:53:11.344Z] 53926ce57604: Download complete [2023-01-03T17:53:15.536Z] 53926ce57604: Pull complete [2023-01-03T17:53:15.536Z] 21b2b0c7a3f4: Pull complete [2023-01-03T17:53:15.536Z] 22ff95d597cd: Pull complete [2023-01-03T17:53:15.536Z] 12d6caf4c0d1: Pull complete [2023-01-03T17:53:17.440Z] 96b7cbca73a9: Pull complete [2023-01-03T17:53:18.374Z] a7acece74701: Pull complete [2023-01-03T17:53:18.374Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-03T17:53:18.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-03T17:53:18.374Z] ---> db6d94c90886 [2023-01-03T17:53:18.374Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T17:53:20.914Z] ---> Running in de353504ac78 [2023-01-03T17:53:20.914Z] Removing intermediate container de353504ac78 [2023-01-03T17:53:20.914Z] ---> 44a7f78516c8 [2023-01-03T17:53:20.914Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T17:53:21.173Z] ---> Running in 52cc81338b98 [2023-01-03T17:53:21.173Z] Removing intermediate container 52cc81338b98 [2023-01-03T17:53:21.173Z] ---> e8b01ca64943 [2023-01-03T17:53:21.173Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-03T17:53:21.173Z] ---> Running in 8daec682cdf3 [2023-01-03T17:53:21.432Z] Removing intermediate container 8daec682cdf3 [2023-01-03T17:53:21.432Z] ---> c28058b0e650 [2023-01-03T17:53:21.432Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-03T17:53:21.432Z] ---> Running in a31e4144d9e1 [2023-01-03T17:53:21.432Z] Removing intermediate container a31e4144d9e1 [2023-01-03T17:53:21.432Z] ---> da373e4185c7 [2023-01-03T17:53:21.432Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T17:53:21.432Z] ---> Running in e8490955c335 [2023-01-03T17:53:21.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T17:53:21.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T17:53:22.209Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-03T17:53:22.209Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-03T17:53:22.209Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-03T17:53:22.209Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-03T17:53:22.209Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T17:53:22.209Z] OK: 216 MiB in 55 packages [2023-01-03T17:53:22.775Z] Removing intermediate container e8490955c335 [2023-01-03T17:53:22.775Z] ---> 842fc82f14b9 [2023-01-03T17:53:22.775Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-03T17:53:22.775Z] ---> 8ed6500b1698 [2023-01-03T17:53:22.775Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T17:53:22.775Z] ---> Running in 6f8f17181559 [2023-01-03T17:53:23.232Z] Still waiting to schedule task [2023-01-03T17:53:23.233Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-03T17:53:40.906Z] Removing intermediate container 6f8f17181559 [2023-01-03T17:53:40.906Z] ---> 768a2ce555b1 [2023-01-03T17:53:40.906Z] Step 10/12 : COPY . . [2023-01-03T17:53:40.906Z] ---> eec53d18d6fe [2023-01-03T17:53:40.906Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T17:53:40.906Z] ---> Running in 9912abc45181 [2023-01-03T17:53:40.906Z] Removing intermediate container 9912abc45181 [2023-01-03T17:53:40.906Z] ---> beeed03fee0b [2023-01-03T17:53:40.906Z] Step 12/12 : RUN $MAKE [2023-01-03T17:53:40.906Z] ---> Running in c76a4ae0bdee [2023-01-03T17:53:40.906Z] noop [2023-01-03T17:53:41.167Z] Removing intermediate container c76a4ae0bdee [2023-01-03T17:53:41.167Z] ---> 6cb320f4a20c [2023-01-03T17:53:41.167Z] Successfully built 6cb320f4a20c [2023-01-03T17:53:41.167Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:53:41.487Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T17:53:41.487Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:53:41.558Z] prd-ubuntu20.04-docker-8c-8g-916 does not seem to be running inside a container [2023-01-03T17:53:41.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-323 -v /w/workspace/foundry_device-virtual-go_PR-323:/w/workspace/foundry_device-virtual-go_PR-323:rw,z -v /w/workspace/foundry_device-virtual-go_PR-323@tmp:/w/workspace/foundry_device-virtual-go_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T17:53:41.981Z] $ docker top 2e88f8569800a91039a80351605669cecbe77b5259be98fcd148be82e723523b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T17:53:42.324Z] + go version [2023-01-03T17:53:42.324Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-03T17:53:42.337Z] $ docker stop --time=1 2e88f8569800a91039a80351605669cecbe77b5259be98fcd148be82e723523b [2023-01-03T17:53:43.863Z] $ docker rm -f --volumes 2e88f8569800a91039a80351605669cecbe77b5259be98fcd148be82e723523b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:53:44.275Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T17:53:44.275Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:53:44.350Z] prd-ubuntu20.04-docker-8c-8g-916 does not seem to be running inside a container [2023-01-03T17:53:44.380Z] $ 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-323 -v /w/workspace/foundry_device-virtual-go_PR-323:/w/workspace/foundry_device-virtual-go_PR-323:rw,z -v /w/workspace/foundry_device-virtual-go_PR-323@tmp:/w/workspace/foundry_device-virtual-go_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T17:53:44.726Z] $ docker top 9d2ef9b24d9d659c6a3e4672522ddb1bb2c2eed4a62c4d2429f314012353ef85 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T17:53:45.063Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-323 [Pipeline] fileExists [Pipeline] sh [2023-01-03T17:53:45.357Z] + make test [2023-01-03T17:53:45.357Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-03T17:53:45.615Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-03T17:53:55.592Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-03T17:53:55.592Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2023-01-03T17:54:03.702Z] 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." [2023-01-03T17:54:03.702Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T17:54:06.235Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T17:54:06.235Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T17:54:06.235Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T17:54:06.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T17:54:06.262Z] $ docker stop --time=1 9d2ef9b24d9d659c6a3e4672522ddb1bb2c2eed4a62c4d2429f314012353ef85 [2023-01-03T17:54:08.056Z] $ docker rm -f --volumes 9d2ef9b24d9d659c6a3e4672522ddb1bb2c2eed4a62c4d2429f314012353ef85 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T17:54:08.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T17:54:08.548Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-03T17:54:09.061Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T17:54:09.348Z] + ls -al . [2023-01-03T17:54:09.348Z] total 204 [2023-01-03T17:54:09.348Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 17:53 . [2023-01-03T17:54:09.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:52 .. [2023-01-03T17:54:09.348Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 17:53 .git [2023-01-03T17:54:09.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:52 .github [2023-01-03T17:54:09.348Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 3 17:52 .gitignore [2023-01-03T17:54:09.348Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 17:52 .golangci.yml [2023-01-03T17:54:09.348Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 17:53 .semver [2023-01-03T17:54:09.348Z] -rw-rw-r-- 1 jenkins jenkins 8527 Jan 3 17:52 Attribution.txt [2023-01-03T17:54:09.348Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 3 17:52 CHANGELOG.md [2023-01-03T17:54:09.348Z] -rw-rw-r-- 1 jenkins jenkins 1691 Jan 3 17:52 Dockerfile [2023-01-03T17:54:09.348Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 17:52 GOVERNANCE.md [2023-01-03T17:54:09.348Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 3 17:52 Jenkinsfile [2023-01-03T17:54:09.348Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 17:52 LICENSE [2023-01-03T17:54:09.348Z] -rw-rw-r-- 1 jenkins jenkins 2457 Jan 3 17:52 Makefile [2023-01-03T17:54:09.348Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 3 17:52 OWNERS.md [2023-01-03T17:54:09.348Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 3 17:52 README.md [2023-01-03T17:54:09.348Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 17:53 VERSION [2023-01-03T17:54:09.348Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 17:52 bin [2023-01-03T17:54:09.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:52 cmd [2023-01-03T17:54:09.348Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 3 17:53 coverage.out [2023-01-03T17:54:09.348Z] -rw-rw-r-- 1 jenkins jenkins 3340 Jan 3 17:52 go.mod [2023-01-03T17:54:09.348Z] -rw-rw-r-- 1 jenkins jenkins 44412 Jan 3 17:52 go.sum [2023-01-03T17:54:09.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:52 internal [2023-01-03T17:54:09.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:52 snap [2023-01-03T17:54:09.348Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 3 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:54:09.652Z] + 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=9c4b646866407ddf8f0af98db0b309af843b4dee --label arch=amd64 --label version=0.0.0 . [2023-01-03T17:54:09.652Z] Sending build context to Docker daemon 23.42MB [2023-01-03T17:54:09.652Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T17:54:09.652Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-03T17:54:09.652Z] ---> 6cb320f4a20c [2023-01-03T17:54:09.652Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T17:54:09.912Z] ---> Running in 5f1975fa33b4 [2023-01-03T17:54:09.912Z] Removing intermediate container 5f1975fa33b4 [2023-01-03T17:54:09.912Z] ---> 52c4e4d9b82d [2023-01-03T17:54:09.912Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T17:54:09.912Z] ---> Running in 5d7f7274f6aa [2023-01-03T17:54:10.171Z] Removing intermediate container 5d7f7274f6aa [2023-01-03T17:54:10.171Z] ---> d241a821af11 [2023-01-03T17:54:10.171Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-03T17:54:10.171Z] ---> Running in 55fcbbd62e78 [2023-01-03T17:54:10.171Z] Removing intermediate container 55fcbbd62e78 [2023-01-03T17:54:10.171Z] ---> 261738e4b342 [2023-01-03T17:54:10.171Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-03T17:54:10.171Z] ---> Running in c98f8833c87c [2023-01-03T17:54:10.171Z] Removing intermediate container c98f8833c87c [2023-01-03T17:54:10.171Z] ---> e716c483418b [2023-01-03T17:54:10.171Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T17:54:10.431Z] ---> Running in b821c73251c5 [2023-01-03T17:54:10.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T17:54:10.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T17:54:10.950Z] OK: 216 MiB in 55 packages [2023-01-03T17:54:11.517Z] Removing intermediate container b821c73251c5 [2023-01-03T17:54:11.517Z] ---> b3211e47febe [2023-01-03T17:54:11.517Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-03T17:54:11.517Z] ---> 0845b213a7c8 [2023-01-03T17:54:11.517Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T17:54:11.517Z] ---> Running in 2150df502e85 [2023-01-03T17:54:12.456Z] Removing intermediate container 2150df502e85 [2023-01-03T17:54:12.456Z] ---> e2ff74540c82 [2023-01-03T17:54:12.456Z] Step 10/25 : COPY . . [2023-01-03T17:54:12.715Z] ---> bdb92fbe7473 [2023-01-03T17:54:12.715Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T17:54:12.715Z] ---> Running in d1279ae81a60 [2023-01-03T17:54:12.974Z] Removing intermediate container d1279ae81a60 [2023-01-03T17:54:12.974Z] ---> d4d23127348a [2023-01-03T17:54:12.974Z] Step 12/25 : RUN $MAKE [2023-01-03T17:54:12.974Z] ---> Running in f21ad1634363 [2023-01-03T17:54:13.231Z] 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 [2023-01-03T17:54:35.170Z] Removing intermediate container f21ad1634363 [2023-01-03T17:54:35.170Z] ---> d921d1175181 [2023-01-03T17:54:35.170Z] Step 13/25 : FROM alpine:3.16 [2023-01-03T17:54:35.170Z] 3.16: Pulling from library/alpine [2023-01-03T17:54:35.170Z] ca7dd9ec2225: Pulling fs layer [2023-01-03T17:54:35.170Z] ca7dd9ec2225: Verifying Checksum [2023-01-03T17:54:35.170Z] ca7dd9ec2225: Download complete [2023-01-03T17:54:35.170Z] ca7dd9ec2225: Pull complete [2023-01-03T17:54:35.170Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T17:54:35.170Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T17:54:35.170Z] ---> bfe296a52501 [2023-01-03T17:54:35.170Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-03T17:54:35.170Z] ---> Running in 5d6b0a77686e [2023-01-03T17:54:35.170Z] Removing intermediate container 5d6b0a77686e [2023-01-03T17:54:35.170Z] ---> c2f456df2f47 [2023-01-03T17:54:35.170Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T17:54:35.170Z] ---> Running in 6b3efbcd8669 [2023-01-03T17:54:35.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T17:54:35.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T17:54:35.170Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T17:54:35.170Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T17:54:35.170Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T17:54:35.170Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T17:54:35.170Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T17:54:35.170Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T17:54:35.170Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T17:54:35.170Z] OK: 8 MiB in 20 packages [2023-01-03T17:54:35.170Z] Removing intermediate container 6b3efbcd8669 [2023-01-03T17:54:35.170Z] ---> b4bf2385a5d5 [2023-01-03T17:54:35.170Z] Step 16/25 : WORKDIR / [2023-01-03T17:54:35.170Z] ---> Running in d86fee8fe59a [2023-01-03T17:54:35.429Z] Removing intermediate container d86fee8fe59a [2023-01-03T17:54:35.429Z] ---> b039d2792eda [2023-01-03T17:54:35.429Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-03T17:54:35.429Z] ---> 6f03efb75dba [2023-01-03T17:54:35.429Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-03T17:54:35.688Z] ---> 93e3da0a482c [2023-01-03T17:54:35.688Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-03T17:54:36.257Z] ---> 717454d29c22 [2023-01-03T17:54:36.257Z] Step 20/25 : EXPOSE 59900 [2023-01-03T17:54:36.257Z] ---> Running in e776bdd648c3 [2023-01-03T17:54:36.257Z] Removing intermediate container e776bdd648c3 [2023-01-03T17:54:36.257Z] ---> a6cbe059e74e [2023-01-03T17:54:36.257Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-03T17:54:36.257Z] ---> Running in a6163ceed551 [2023-01-03T17:54:36.257Z] Removing intermediate container a6163ceed551 [2023-01-03T17:54:36.257Z] ---> 370409a153e0 [2023-01-03T17:54:36.257Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T17:54:36.257Z] ---> Running in c547f258da0e [2023-01-03T17:54:36.516Z] Removing intermediate container c547f258da0e [2023-01-03T17:54:36.516Z] ---> 1dd42d7ab9e9 [2023-01-03T17:54:36.516Z] Step 23/25 : LABEL arch=amd64 [2023-01-03T17:54:36.516Z] ---> Running in 7260c09c1335 [2023-01-03T17:54:36.516Z] Removing intermediate container 7260c09c1335 [2023-01-03T17:54:36.516Z] ---> a0fcd831e0ea [2023-01-03T17:54:36.516Z] Step 24/25 : LABEL git_sha=9c4b646866407ddf8f0af98db0b309af843b4dee [2023-01-03T17:54:36.516Z] ---> Running in 14f5cb87f6e8 [2023-01-03T17:54:36.516Z] Removing intermediate container 14f5cb87f6e8 [2023-01-03T17:54:36.516Z] ---> 2691b903bae0 [2023-01-03T17:54:36.516Z] Step 25/25 : LABEL version=0.0.0 [2023-01-03T17:54:36.516Z] ---> Running in adfa893188d7 [2023-01-03T17:54:36.775Z] Removing intermediate container adfa893188d7 [2023-01-03T17:54:36.775Z] ---> af2f409783fa [2023-01-03T17:54:36.775Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T17:54:36.775Z] Successfully built af2f409783fa [2023-01-03T17:54:36.775Z] 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 [2023-01-03T17:54:37.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T17:54:37.220Z] [2023-01-03T17:54:37.220Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:54:37.513Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T17:54:37.513Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-03T17:54:37.513Z] 5eb5b503b376: Pulling fs layer [2023-01-03T17:54:37.513Z] 5c69ac0246d0: Pulling fs layer [2023-01-03T17:54:37.513Z] ec43610c2a17: Pulling fs layer [2023-01-03T17:54:37.513Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-03T17:54:37.513Z] 33b1e0a273af: Pulling fs layer [2023-01-03T17:54:37.513Z] 5d3b04190fa2: Pulling fs layer [2023-01-03T17:54:37.513Z] 2f39f015ded8: Pulling fs layer [2023-01-03T17:54:37.513Z] 3a2ae6a8a46f: Waiting [2023-01-03T17:54:37.513Z] 33b1e0a273af: Waiting [2023-01-03T17:54:37.513Z] 5d3b04190fa2: Waiting [2023-01-03T17:54:37.513Z] 2f39f015ded8: Waiting [2023-01-03T17:54:37.513Z] 5c69ac0246d0: Download complete [2023-01-03T17:54:37.513Z] 3a2ae6a8a46f: Download complete [2023-01-03T17:54:37.513Z] 33b1e0a273af: Verifying Checksum [2023-01-03T17:54:37.513Z] 33b1e0a273af: Download complete [2023-01-03T17:54:37.773Z] 5d3b04190fa2: Download complete [2023-01-03T17:54:37.773Z] ec43610c2a17: Verifying Checksum [2023-01-03T17:54:37.773Z] ec43610c2a17: Download complete [2023-01-03T17:54:37.773Z] 5eb5b503b376: Verifying Checksum [2023-01-03T17:54:37.773Z] 5eb5b503b376: Download complete [2023-01-03T17:54:38.340Z] 2f39f015ded8: Download complete [2023-01-03T17:54:38.907Z] 5eb5b503b376: Pull complete [2023-01-03T17:54:38.907Z] 5c69ac0246d0: Pull complete [2023-01-03T17:54:39.474Z] ec43610c2a17: Pull complete [2023-01-03T17:54:39.474Z] 3a2ae6a8a46f: Pull complete [2023-01-03T17:54:39.734Z] 33b1e0a273af: Pull complete [2023-01-03T17:54:39.734Z] 5d3b04190fa2: Pull complete [2023-01-03T17:54:43.935Z] 2f39f015ded8: Pull complete [2023-01-03T17:54:43.935Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-03T17:54:43.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T17:54:43.935Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:54:44.028Z] prd-ubuntu20.04-docker-8c-8g-916 does not seem to be running inside a container [2023-01-03T17:54:44.058Z] $ 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-323 -v /w/workspace/foundry_device-virtual-go_PR-323:/w/workspace/foundry_device-virtual-go_PR-323:rw,z -v /w/workspace/foundry_device-virtual-go_PR-323@tmp:/w/workspace/foundry_device-virtual-go_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T17:54:45.855Z] $ docker top 528d91a8ffec215776afa5862bc0d8828902a856fd373431ccf3de1c647b6abf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:54:46.225Z] ---> job-cost.sh [2023-01-03T17:54:46.225Z] lf-activate-venv: SKIPPING [2023-01-03T17:54:46.225Z] INFO: No Stack... [2023-01-03T17:54:46.484Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T17:54:47.052Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T17:54:47.341Z] + cat /w/workspace/foundry_device-virtual-go_PR-323/archives/cost.csv [2023-01-03T17:54:47.341Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T17:54:47.357Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] [2023-01-03T17:54:47.364Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] did not exist. Created. [2023-01-03T17:54:47.364Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T17:54:47.667Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-03T17:54:47.694Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T17:54:47.700Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T17:54:47.720Z] $ docker stop --time=1 528d91a8ffec215776afa5862bc0d8828902a856fd373431ccf3de1c647b6abf [2023-01-03T17:54:48.875Z] $ docker rm -f --volumes 528d91a8ffec215776afa5862bc0d8828902a856fd373431ccf3de1c647b6abf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-03T17:54:53.206Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-917 in /w/workspace/foundry_device-virtual-go_PR-323 [Pipeline] { [Pipeline] ws [2023-01-03T17:54:53.220Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2023-01-03T17:54:53.250Z] The recommended git tool is: git [2023-01-03T17:54:58.403Z] using credential edgex-jenkins-ssh [2023-01-03T17:54:58.419Z] Cloning the remote Git repository [2023-01-03T17:54:58.459Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-01-03T17:54:58.533Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2023-01-03T17:54:58.684Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-03T17:54:58.685Z] > git --version # timeout=10 [2023-01-03T17:54:58.704Z] > git --version # 'git version 2.25.1' [2023-01-03T17:54:58.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T17:54:58.772Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T17:55:00.844Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-03T17:55:00.864Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T17:55:01.702Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-03T17:55:01.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-03T17:55:01.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T17:55:01.767Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/323/head:refs/remotes/origin/PR-323 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-03T17:55:02.427Z] Merging remotes/origin/main commit e07a2b47d6b01394d573ef881097266a6362f197 into PR head commit 9c4b646866407ddf8f0af98db0b309af843b4dee [2023-01-03T17:55:02.656Z] Merge succeeded, producing 9c4b646866407ddf8f0af98db0b309af843b4dee [2023-01-03T17:55:02.656Z] Checking out Revision 9c4b646866407ddf8f0af98db0b309af843b4dee (PR-323) [2023-01-03T17:55:02.441Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T17:55:02.460Z] > git checkout -f 9c4b646866407ddf8f0af98db0b309af843b4dee # timeout=10 [2023-01-03T17:55:02.545Z] > git remote # timeout=10 [2023-01-03T17:55:02.562Z] > git config --get remote.origin.url # timeout=10 [2023-01-03T17:55:02.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T17:55:02.602Z] > git merge e07a2b47d6b01394d573ef881097266a6362f197 # timeout=10 [2023-01-03T17:55:02.628Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-03T17:55:02.658Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T17:55:02.671Z] > git checkout -f 9c4b646866407ddf8f0af98db0b309af843b4dee # timeout=10 [2023-01-03T17:55:06.141Z] Commit message: "refactor!: Rename command line flags for the sake of consistency" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T17:55:07.009Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-03T17:55:07.009Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T17:55:07.009Z] Dload Upload Total Spent Left Speed [2023-01-03T17:55:07.280Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 41806 0 --:--:-- --:--:-- --:--:-- 41669 [Pipeline] sh [2023-01-03T17:55:07.934Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-03T17:55:08.270Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-01-03T17:55:08.270Z] /etc/docker/daemon.new [2023-01-03T17:55:08.270Z] { [2023-01-03T17:55:08.270Z] "registry-mirrors": [ [2023-01-03T17:55:08.270Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-03T17:55:08.270Z] ], [2023-01-03T17:55:08.270Z] "bip": "10.250.0.254/24", [2023-01-03T17:55:08.270Z] "hosts": [ [2023-01-03T17:55:08.270Z] "tcp://0.0.0.0:5555", [2023-01-03T17:55:08.270Z] "unix:///var/run/docker.sock" [2023-01-03T17:55:08.270Z] ], [2023-01-03T17:55:08.270Z] "mtu": 1458, [2023-01-03T17:55:08.270Z] "selinux-enabled": true, [2023-01-03T17:55:08.270Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-03T17:55:08.270Z] } [Pipeline] sh [2023-01-03T17:55:08.601Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-03T17:55:08.923Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T17:55:27.182Z] provisioning config files... [2023-01-03T17:55:27.210Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config3188650610079903553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:55:27.564Z] ---> docker-login.sh [2023-01-03T17:55:27.564Z] nexus3.edgexfoundry.org:10001 [2023-01-03T17:55:28.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:55:28.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:55:28.155Z] Configure a credential helper to remove this warning. See [2023-01-03T17:55:28.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:55:28.155Z] [2023-01-03T17:55:28.155Z] Login Succeeded [2023-01-03T17:55:28.155Z] nexus3.edgexfoundry.org:10002 [2023-01-03T17:55:28.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:55:28.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:55:28.692Z] Configure a credential helper to remove this warning. See [2023-01-03T17:55:28.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:55:28.692Z] [2023-01-03T17:55:28.692Z] Login Succeeded [2023-01-03T17:55:28.692Z] nexus3.edgexfoundry.org:10003 [2023-01-03T17:55:28.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:55:28.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:55:28.960Z] Configure a credential helper to remove this warning. See [2023-01-03T17:55:28.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:55:28.960Z] [2023-01-03T17:55:28.960Z] Login Succeeded [2023-01-03T17:55:28.960Z] nexus3.edgexfoundry.org:10004 [2023-01-03T17:55:29.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:55:29.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:55:29.234Z] Configure a credential helper to remove this warning. See [2023-01-03T17:55:29.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:55:29.234Z] [2023-01-03T17:55:29.234Z] Login Succeeded [2023-01-03T17:55:29.234Z] docker.io [2023-01-03T17:55:29.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:55:29.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:55:29.771Z] Configure a credential helper to remove this warning. See [2023-01-03T17:55:29.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:55:29.771Z] [2023-01-03T17:55:29.771Z] Login Succeeded [2023-01-03T17:55:29.771Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T17:55:29.784Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T17:55:30.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T17:55:30.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T17:55:30.061Z] ========================================================= [2023-01-03T17:55:30.061Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-03T17:55:30.061Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:55:30.411Z] + 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 . [2023-01-03T17:55:30.679Z] Sending build context to Docker daemon 11.85MB [2023-01-03T17:55:30.679Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T17:55:30.679Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-03T17:55:30.948Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-03T17:55:30.948Z] 9b18e9b68314: Pulling fs layer [2023-01-03T17:55:30.948Z] 35d82f9e3411: Pulling fs layer [2023-01-03T17:55:30.948Z] e16973657156: Pulling fs layer [2023-01-03T17:55:30.948Z] fc693d55d65f: Pulling fs layer [2023-01-03T17:55:30.948Z] 7e9fc2657dce: Pulling fs layer [2023-01-03T17:55:30.948Z] dda99020689f: Pulling fs layer [2023-01-03T17:55:30.948Z] db1c61fa0a46: Pulling fs layer [2023-01-03T17:55:30.948Z] 891c053d2c06: Pulling fs layer [2023-01-03T17:55:30.948Z] fc693d55d65f: Waiting [2023-01-03T17:55:30.948Z] 7e9fc2657dce: Waiting [2023-01-03T17:55:30.948Z] dda99020689f: Waiting [2023-01-03T17:55:30.948Z] db1c61fa0a46: Waiting [2023-01-03T17:55:30.948Z] 891c053d2c06: Waiting [2023-01-03T17:55:30.948Z] e16973657156: Download complete [2023-01-03T17:55:30.948Z] 35d82f9e3411: Download complete [2023-01-03T17:55:30.948Z] 7e9fc2657dce: Verifying Checksum [2023-01-03T17:55:30.948Z] 7e9fc2657dce: Download complete [2023-01-03T17:55:30.948Z] 9b18e9b68314: Verifying Checksum [2023-01-03T17:55:30.948Z] 9b18e9b68314: Download complete [2023-01-03T17:55:30.948Z] dda99020689f: Verifying Checksum [2023-01-03T17:55:30.948Z] dda99020689f: Download complete [2023-01-03T17:55:31.922Z] 9b18e9b68314: Pull complete [2023-01-03T17:55:32.194Z] 891c053d2c06: Verifying Checksum [2023-01-03T17:55:32.194Z] 891c053d2c06: Download complete [2023-01-03T17:55:32.465Z] 35d82f9e3411: Pull complete [2023-01-03T17:55:32.734Z] e16973657156: Pull complete [2023-01-03T17:55:33.322Z] db1c61fa0a46: Verifying Checksum [2023-01-03T17:55:33.322Z] db1c61fa0a46: Download complete [2023-01-03T17:55:33.908Z] fc693d55d65f: Verifying Checksum [2023-01-03T17:55:33.908Z] fc693d55d65f: Download complete [2023-01-03T17:55:46.227Z] fc693d55d65f: Pull complete [2023-01-03T17:55:46.227Z] 7e9fc2657dce: Pull complete [2023-01-03T17:55:46.227Z] dda99020689f: Pull complete [2023-01-03T17:55:54.460Z] db1c61fa0a46: Pull complete [2023-01-03T17:55:55.426Z] 891c053d2c06: Pull complete [2023-01-03T17:55:55.426Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-03T17:55:55.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-03T17:55:55.426Z] ---> f96f9c87975a [2023-01-03T17:55:55.426Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T17:55:57.379Z] ---> Running in 584c16b741db [2023-01-03T17:55:57.379Z] Removing intermediate container 584c16b741db [2023-01-03T17:55:57.379Z] ---> ccf9a6011736 [2023-01-03T17:55:57.379Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T17:55:57.648Z] ---> Running in 340380ec444b [2023-01-03T17:55:57.916Z] Removing intermediate container 340380ec444b [2023-01-03T17:55:57.916Z] ---> c8a737071e0c [2023-01-03T17:55:57.916Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-03T17:55:57.916Z] ---> Running in a6c9748cb2cc [2023-01-03T17:55:58.183Z] Removing intermediate container a6c9748cb2cc [2023-01-03T17:55:58.183Z] ---> 3ceb209b0c03 [2023-01-03T17:55:58.183Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-03T17:55:58.449Z] ---> Running in 92d3f344af90 [2023-01-03T17:55:58.718Z] Removing intermediate container 92d3f344af90 [2023-01-03T17:55:58.719Z] ---> c5aebe466f58 [2023-01-03T17:55:58.719Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T17:55:58.719Z] ---> Running in 0a2bcc1d5706 [2023-01-03T17:55:59.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T17:56:00.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T17:56:00.879Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-03T17:56:01.146Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-03T17:56:01.146Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-03T17:56:01.146Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-03T17:56:01.146Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T17:56:01.146Z] OK: 226 MiB in 55 packages [2023-01-03T17:56:02.107Z] Removing intermediate container 0a2bcc1d5706 [2023-01-03T17:56:02.107Z] ---> e91f8533e513 [2023-01-03T17:56:02.107Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-03T17:56:02.692Z] ---> b6c080338e5c [2023-01-03T17:56:02.692Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T17:56:02.692Z] ---> Running in 2731ebfaad0d [2023-01-03T17:56:59.113Z] Removing intermediate container 2731ebfaad0d [2023-01-03T17:56:59.113Z] ---> cf47323ebb5a [2023-01-03T17:56:59.113Z] Step 10/12 : COPY . . [2023-01-03T17:56:59.113Z] ---> 081d71c036b7 [2023-01-03T17:56:59.113Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T17:56:59.113Z] ---> Running in dfaf716c6f07 [2023-01-03T17:56:59.113Z] Removing intermediate container dfaf716c6f07 [2023-01-03T17:56:59.113Z] ---> 9f227ab87c63 [2023-01-03T17:56:59.113Z] Step 12/12 : RUN $MAKE [2023-01-03T17:56:59.113Z] ---> Running in a2d23c7948e6 [2023-01-03T17:56:59.113Z] noop [2023-01-03T17:56:59.381Z] Removing intermediate container a2d23c7948e6 [2023-01-03T17:56:59.381Z] ---> 597d6a0a2217 [2023-01-03T17:56:59.381Z] Successfully built 597d6a0a2217 [2023-01-03T17:56:59.381Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:56:59.719Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T17:56:59.719Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:56:59.907Z] prd-ubuntu20.04-docker-arm64-4c-16g-917 does not seem to be running inside a container [2023-01-03T17:56:59.979Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T17:57:01.177Z] $ docker top 7f3d48c19cc76b3aeab7b939a04d2bc3de201d59137ebadb26ef85c27ab8c7cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T17:57:01.984Z] + go version [2023-01-03T17:57:01.984Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-03T17:57:02.012Z] $ docker stop --time=1 7f3d48c19cc76b3aeab7b939a04d2bc3de201d59137ebadb26ef85c27ab8c7cc [2023-01-03T17:57:03.643Z] $ docker rm -f --volumes 7f3d48c19cc76b3aeab7b939a04d2bc3de201d59137ebadb26ef85c27ab8c7cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:57:04.195Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T17:57:04.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:57:04.394Z] prd-ubuntu20.04-docker-arm64-4c-16g-917 does not seem to be running inside a container [2023-01-03T17:57:04.469Z] $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T17:57:07.998Z] $ docker top 9a022cababf11c590e1543df535cf8e326853a6de5deb87f35c7cbc7a34b9ad8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T17:57:08.834Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-03T17:57:09.163Z] + make test [2023-01-03T17:57:09.435Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-03T17:57:10.843Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-03T17:58:32.484Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-03T17:58:32.484Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.120s coverage: 65.7% of statements [2023-01-03T17:58:32.484Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-03T17:58:32.484Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T17:58:44.817Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T17:58:45.086Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T17:58:45.086Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T17:58:45.371Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T17:58:45.390Z] $ docker stop --time=1 9a022cababf11c590e1543df535cf8e326853a6de5deb87f35c7cbc7a34b9ad8 [2023-01-03T17:58:47.220Z] $ docker rm -f --volumes 9a022cababf11c590e1543df535cf8e326853a6de5deb87f35c7cbc7a34b9ad8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T17:58:48.064Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T17:58:48.080Z] Warning: overwriting stash ‘coverage-report’ [2023-01-03T17:58:48.501Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T17:58:48.894Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T17:58:49.210Z] + ls -al . [2023-01-03T17:58:49.210Z] total 200 [2023-01-03T17:58:49.210Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 17:57 . [2023-01-03T17:58:49.210Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:54 .. [2023-01-03T17:58:49.210Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 17:55 .git [2023-01-03T17:58:49.210Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:55 .github [2023-01-03T17:58:49.210Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 3 17:55 .gitignore [2023-01-03T17:58:49.210Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 17:55 .golangci.yml [2023-01-03T17:58:49.210Z] -rw-rw-r-- 1 jenkins jenkins 8527 Jan 3 17:55 Attribution.txt [2023-01-03T17:58:49.210Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 3 17:55 CHANGELOG.md [2023-01-03T17:58:49.210Z] -rw-rw-r-- 1 jenkins jenkins 1691 Jan 3 17:55 Dockerfile [2023-01-03T17:58:49.210Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 17:55 GOVERNANCE.md [2023-01-03T17:58:49.210Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 3 17:55 Jenkinsfile [2023-01-03T17:58:49.210Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 17:55 LICENSE [2023-01-03T17:58:49.210Z] -rw-rw-r-- 1 jenkins jenkins 2457 Jan 3 17:55 Makefile [2023-01-03T17:58:49.210Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 3 17:55 OWNERS.md [2023-01-03T17:58:49.210Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 3 17:55 README.md [2023-01-03T17:58:49.210Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 17:53 VERSION [2023-01-03T17:58:49.210Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 17:55 bin [2023-01-03T17:58:49.210Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:55 cmd [2023-01-03T17:58:49.210Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 3 17:58 coverage.out [2023-01-03T17:58:49.210Z] -rw-rw-r-- 1 jenkins jenkins 3340 Jan 3 17:55 go.mod [2023-01-03T17:58:49.210Z] -rw-rw-r-- 1 jenkins jenkins 44412 Jan 3 17:55 go.sum [2023-01-03T17:58:49.210Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:55 internal [2023-01-03T17:58:49.210Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:55 snap [2023-01-03T17:58:49.210Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 3 17:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:58:49.550Z] + 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=9c4b646866407ddf8f0af98db0b309af843b4dee --label arch=arm64 --label version=0.0.0 . [2023-01-03T17:58:49.814Z] Sending build context to Docker daemon 11.9MB [2023-01-03T17:58:49.814Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T17:58:49.814Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-03T17:58:49.814Z] ---> 597d6a0a2217 [2023-01-03T17:58:49.814Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T17:58:50.079Z] ---> Running in 61b4ea897236 [2023-01-03T17:58:50.345Z] Removing intermediate container 61b4ea897236 [2023-01-03T17:58:50.345Z] ---> 82e03a5238c1 [2023-01-03T17:58:50.345Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T17:58:50.345Z] ---> Running in c13b719a806f [2023-01-03T17:58:50.613Z] Removing intermediate container c13b719a806f [2023-01-03T17:58:50.613Z] ---> e99189da0c4e [2023-01-03T17:58:50.613Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-03T17:58:50.613Z] ---> Running in 52d7cdd36640 [2023-01-03T17:58:50.881Z] Removing intermediate container 52d7cdd36640 [2023-01-03T17:58:50.881Z] ---> cacb211ef424 [2023-01-03T17:58:50.881Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-03T17:58:50.881Z] ---> Running in 94003e805e25 [2023-01-03T17:58:51.148Z] Removing intermediate container 94003e805e25 [2023-01-03T17:58:51.148Z] ---> 8083f3c8ff5b [2023-01-03T17:58:51.148Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T17:58:51.417Z] ---> Running in 89951a7fc033 [2023-01-03T17:58:52.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T17:58:52.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T17:58:53.603Z] OK: 226 MiB in 55 packages [2023-01-03T17:58:54.185Z] Removing intermediate container 89951a7fc033 [2023-01-03T17:58:54.185Z] ---> 81e795bac663 [2023-01-03T17:58:54.185Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-03T17:58:54.766Z] ---> 98ab22a92382 [2023-01-03T17:58:54.766Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T17:58:54.766Z] ---> Running in ba2d79e51156 [2023-01-03T17:58:56.706Z] Removing intermediate container ba2d79e51156 [2023-01-03T17:58:56.706Z] ---> 150d30752698 [2023-01-03T17:58:56.706Z] Step 10/25 : COPY . . [2023-01-03T17:58:57.664Z] ---> e70dbd9bb44e [2023-01-03T17:58:57.664Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T17:58:57.664Z] ---> Running in 64795ab349cc [2023-01-03T17:58:57.929Z] Removing intermediate container 64795ab349cc [2023-01-03T17:58:57.929Z] ---> fb136d2182e2 [2023-01-03T17:58:57.929Z] Step 12/25 : RUN $MAKE [2023-01-03T17:58:57.929Z] ---> Running in c6af1ab21800 [2023-01-03T17:58:58.886Z] 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 [2023-01-03T18:01:20.571Z] Removing intermediate container c6af1ab21800 [2023-01-03T18:01:20.571Z] ---> cae6e91653af [2023-01-03T18:01:20.571Z] Step 13/25 : FROM alpine:3.16 [2023-01-03T18:01:20.571Z] 3.16: Pulling from library/alpine [2023-01-03T18:01:20.571Z] 6875df1f5354: Pulling fs layer [2023-01-03T18:01:20.571Z] 6875df1f5354: Download complete [2023-01-03T18:01:20.571Z] 6875df1f5354: Pull complete [2023-01-03T18:01:20.571Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T18:01:20.571Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T18:01:20.571Z] ---> 2b4661558fb8 [2023-01-03T18:01:20.571Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-03T18:01:20.571Z] ---> Running in d542636ff746 [2023-01-03T18:01:20.571Z] Removing intermediate container d542636ff746 [2023-01-03T18:01:20.571Z] ---> 8f1e51145320 [2023-01-03T18:01:20.571Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T18:01:20.571Z] ---> Running in 038f92f2d89f [2023-01-03T18:01:20.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:01:20.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:01:20.571Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T18:01:20.571Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T18:01:20.571Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T18:01:20.571Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T18:01:20.571Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T18:01:20.571Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T18:01:20.571Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T18:01:20.571Z] OK: 8 MiB in 20 packages [2023-01-03T18:01:20.571Z] Removing intermediate container 038f92f2d89f [2023-01-03T18:01:20.571Z] ---> 2ace587b51ac [2023-01-03T18:01:20.571Z] Step 16/25 : WORKDIR / [2023-01-03T18:01:20.571Z] ---> Running in 39e237ab96b2 [2023-01-03T18:01:20.841Z] Removing intermediate container 39e237ab96b2 [2023-01-03T18:01:20.841Z] ---> 74a0be91e688 [2023-01-03T18:01:20.841Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-03T18:01:21.422Z] ---> cb1a748cc168 [2023-01-03T18:01:21.422Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-03T18:01:21.687Z] ---> f2ddd28a59d9 [2023-01-03T18:01:21.687Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-03T18:01:23.094Z] ---> 57d85581785e [2023-01-03T18:01:23.094Z] Step 20/25 : EXPOSE 59900 [2023-01-03T18:01:23.094Z] ---> Running in 39df07988325 [2023-01-03T18:01:23.359Z] Removing intermediate container 39df07988325 [2023-01-03T18:01:23.359Z] ---> de979cc238dd [2023-01-03T18:01:23.359Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-03T18:01:23.359Z] ---> Running in c06558edea66 [2023-01-03T18:01:23.626Z] Removing intermediate container c06558edea66 [2023-01-03T18:01:23.626Z] ---> b5cfbafe5723 [2023-01-03T18:01:23.626Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T18:01:23.626Z] ---> Running in 6d3bb0358c55 [2023-01-03T18:01:23.896Z] Removing intermediate container 6d3bb0358c55 [2023-01-03T18:01:23.896Z] ---> b5ad67812b09 [2023-01-03T18:01:23.896Z] Step 23/25 : LABEL arch=arm64 [2023-01-03T18:01:23.896Z] ---> Running in 62d557d43d8f [2023-01-03T18:01:24.491Z] Removing intermediate container 62d557d43d8f [2023-01-03T18:01:24.491Z] ---> e629ec96bb95 [2023-01-03T18:01:24.491Z] Step 24/25 : LABEL git_sha=9c4b646866407ddf8f0af98db0b309af843b4dee [2023-01-03T18:01:24.491Z] ---> Running in 54385ed442fd [2023-01-03T18:01:24.759Z] Removing intermediate container 54385ed442fd [2023-01-03T18:01:24.759Z] ---> 57eb5519a56a [2023-01-03T18:01:24.759Z] Step 25/25 : LABEL version=0.0.0 [2023-01-03T18:01:24.759Z] ---> Running in 016360472f63 [2023-01-03T18:01:25.025Z] Removing intermediate container 016360472f63 [2023-01-03T18:01:25.025Z] ---> 0e690b8fcdd3 [2023-01-03T18:01:25.025Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T18:01:25.025Z] Successfully built 0e690b8fcdd3 [2023-01-03T18:01:25.025Z] 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 [2023-01-03T18:01:25.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:01:25.476Z] [2023-01-03T18:01:25.476Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:01:25.826Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:01:25.826Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-03T18:01:25.826Z] 8998bd30e6a1: Pulling fs layer [2023-01-03T18:01:25.826Z] 04944245beec: Pulling fs layer [2023-01-03T18:01:25.826Z] 699f458cf7ca: Pulling fs layer [2023-01-03T18:01:25.826Z] 765212b225bb: Pulling fs layer [2023-01-03T18:01:25.826Z] f23df028b6ca: Pulling fs layer [2023-01-03T18:01:25.826Z] d65c8cfc05b1: Pulling fs layer [2023-01-03T18:01:25.826Z] 2437ff75d9bd: Pulling fs layer [2023-01-03T18:01:25.826Z] f23df028b6ca: Waiting [2023-01-03T18:01:25.826Z] d65c8cfc05b1: Waiting [2023-01-03T18:01:25.826Z] 2437ff75d9bd: Waiting [2023-01-03T18:01:25.826Z] 765212b225bb: Waiting [2023-01-03T18:01:26.095Z] 04944245beec: Verifying Checksum [2023-01-03T18:01:26.095Z] 04944245beec: Download complete [2023-01-03T18:01:26.095Z] 765212b225bb: Verifying Checksum [2023-01-03T18:01:26.095Z] 765212b225bb: Download complete [2023-01-03T18:01:26.095Z] f23df028b6ca: Verifying Checksum [2023-01-03T18:01:26.095Z] f23df028b6ca: Download complete [2023-01-03T18:01:26.095Z] d65c8cfc05b1: Verifying Checksum [2023-01-03T18:01:26.095Z] d65c8cfc05b1: Download complete [2023-01-03T18:01:26.364Z] 699f458cf7ca: Verifying Checksum [2023-01-03T18:01:26.364Z] 699f458cf7ca: Download complete [2023-01-03T18:01:26.631Z] 8998bd30e6a1: Verifying Checksum [2023-01-03T18:01:26.631Z] 8998bd30e6a1: Download complete [2023-01-03T18:01:28.584Z] 2437ff75d9bd: Verifying Checksum [2023-01-03T18:01:28.584Z] 2437ff75d9bd: Download complete [2023-01-03T18:01:30.521Z] 8998bd30e6a1: Pull complete [2023-01-03T18:01:30.521Z] 04944245beec: Pull complete [2023-01-03T18:01:31.921Z] 699f458cf7ca: Pull complete [2023-01-03T18:01:31.921Z] 765212b225bb: Pull complete [2023-01-03T18:01:32.502Z] f23df028b6ca: Pull complete [2023-01-03T18:01:32.767Z] d65c8cfc05b1: Pull complete [2023-01-03T18:01:45.070Z] 2437ff75d9bd: Pull complete [2023-01-03T18:01:45.070Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-03T18:01:45.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:01:45.070Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:01:45.243Z] prd-ubuntu20.04-docker-arm64-4c-16g-917 does not seem to be running inside a container [2023-01-03T18:01:45.311Z] $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-03T18:01:47.624Z] $ docker top cab1c136ea0c00ffd1ea445d18875dcf6617ec745303e79f5342620b8ccd493d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:01:48.117Z] ---> job-cost.sh [2023-01-03T18:01:48.384Z] lf-activate-venv: SKIPPING [2023-01-03T18:01:48.384Z] INFO: No Stack... [2023-01-03T18:01:48.648Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-03T18:01:49.608Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T18:01:49.931Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2023-01-03T18:01:49.931Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T18:01:50.254Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] [2023-01-03T18:01:50.262Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] did not exist. Created. [2023-01-03T18:01:50.262Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T18:01:50.918Z] /w/workspace/device-virtual-go/2@tmp/durable-b9e384bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-03T18:01:51.250Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-03T18:01:51.274Z] Warning: overwriting stash ‘stack-cost’ [2023-01-03T18:01:51.318Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T18:01:51.327Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-323-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T18:01:51.354Z] $ docker stop --time=1 cab1c136ea0c00ffd1ea445d18875dcf6617ec745303e79f5342620b8ccd493d [2023-01-03T18:01:52.803Z] $ docker rm -f --volumes cab1c136ea0c00ffd1ea445d18875dcf6617ec745303e79f5342620b8ccd493d [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 [2023-01-03T18:01:53.156Z] provisioning config files... [2023-01-03T18:01:53.164Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config12498881320686502933tmp [Pipeline] { [Pipeline] sh [2023-01-03T18:01:53.459Z] + set +x [2023-01-03T18:01:53.459Z] + curl -s https://codecov.io/bash [2023-01-03T18:01:53.459Z] + bash -s -- [2023-01-03T18:01:53.459Z] [2023-01-03T18:01:53.459Z] _____ _ [2023-01-03T18:01:53.459Z] / ____| | | [2023-01-03T18:01:53.459Z] | | ___ __| | ___ ___ _____ __ [2023-01-03T18:01:53.459Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-03T18:01:53.459Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-03T18:01:53.459Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-03T18:01:53.459Z] Bash-1.0.6 [2023-01-03T18:01:53.459Z] [2023-01-03T18:01:53.459Z] [2023-01-03T18:01:53.459Z] ==> git version 2.25.1 found [2023-01-03T18:01:53.459Z] ==> 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 [2023-01-03T18:01:53.459Z] Release-Date: 2020-01-08 [2023-01-03T18:01:53.459Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-03T18:01:53.459Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-03T18:01:53.459Z] ==> Jenkins CI detected. [2023-01-03T18:01:53.459Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-323 [2023-01-03T18:01:53.459Z] project root: . [2023-01-03T18:01:53.459Z] --> token set from env [2023-01-03T18:01:53.459Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-03T18:01:53.459Z] ==> Running gcov in . (disable via -X gcov) [2023-01-03T18:01:53.459Z] ==> Python coveragepy not found [2023-01-03T18:01:53.459Z] ==> Searching for coverage reports in: [2023-01-03T18:01:53.459Z] + . [2023-01-03T18:01:53.459Z] -> Found 1 reports [2023-01-03T18:01:53.459Z] ==> Detecting git/mercurial file structure [2023-01-03T18:01:53.459Z] ==> Reading reports [2023-01-03T18:01:53.717Z] + ./coverage.out bytes=44128 [2023-01-03T18:01:53.717Z] ==> Appending adjustments [2023-01-03T18:01:53.717Z] https://docs.codecov.io/docs/fixing-reports [2023-01-03T18:01:53.717Z] + Found adjustments [2023-01-03T18:01:53.717Z] ==> Gzipping contents [2023-01-03T18:01:53.717Z] 8.0K /tmp/codecov.tEtxTU.gz [2023-01-03T18:01:53.718Z] ==> Uploading reports [2023-01-03T18:01:53.718Z] url: https://codecov.io [2023-01-03T18:01:53.718Z] query: branch=PR-323&commit=9c4b646866407ddf8f0af98db0b309af843b4dee&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-323%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=323&job=&cmd_args= [2023-01-03T18:01:53.718Z] -> Pinging Codecov [2023-01-03T18:01:53.718Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-323&commit=9c4b646866407ddf8f0af98db0b309af843b4dee&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-323%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=323&job=&cmd_args= [2023-01-03T18:01:53.981Z] -> Uploading to [2023-01-03T18:01:53.981Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-03/5E52B4B073DB2E39498172D8E973AA87/9c4b646866407ddf8f0af98db0b309af843b4dee/7b516bc8-88d5-4bde-810c-3aebb1cba7f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T180153Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c8a19e6328d9ffe11d7913d9618e73deb2bdcc7571fbb71dcdb2fa40133cb9d2 [2023-01-03T18:01:54.241Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T18:01:54.241Z] Dload Upload Total Spent Left Speed [2023-01-03T18:01:54.241Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5488 0 0 100 5488 0 24609 --:--:-- --:--:-- --:--:-- 24609 [2023-01-03T18:01:54.241Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/9c4b646866407ddf8f0af98db0b309af843b4dee [Pipeline] } [2023-01-03T18:01:54.248Z] 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 [2023-01-03T18:01:54.889Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-323/archives ] [2023-01-03T18:01:54.889Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-323/archives [2023-01-03T18:01:54.889Z] total 16 [2023-01-03T18:01:54.889Z] drwxr-xr-x 3 root root 4096 Jan 3 17:54 . [2023-01-03T18:01:54.889Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 17:54 .. [2023-01-03T18:01:54.889Z] drwxr-xr-x 2 root root 4096 Jan 3 17:54 cost [2023-01-03T18:01:54.889Z] -rw-r--r-- 1 root root 89 Jan 3 17:54 cost.csv [2023-01-03T18:01:54.889Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-323/archives [2023-01-03T18:01:54.889Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-323/archives [2023-01-03T18:01:54.889Z] total 16 [2023-01-03T18:01:54.889Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 17:54 . [2023-01-03T18:01:54.889Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 17:54 .. [2023-01-03T18:01:54.889Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 17:54 cost [2023-01-03T18:01:54.889Z] -rw-r--r-- 1 jenkins jenkins 89 Jan 3 17:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:01:55.182Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:01:56.042Z] ---> package-listing.sh [2023-01-03T18:01:56.042Z] ++ facter osfamily [2023-01-03T18:01:56.042Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-03T18:01:56.301Z] + OS_FAMILY=debian [2023-01-03T18:01:56.301Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-323 [2023-01-03T18:01:56.301Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-03T18:01:56.301Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-03T18:01:56.301Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-03T18:01:56.301Z] + PACKAGES=/tmp/packages_start.txt [2023-01-03T18:01:56.301Z] + '[' /w/workspace/foundry_device-virtual-go_PR-323 ']' [2023-01-03T18:01:56.301Z] + PACKAGES=/tmp/packages_end.txt [2023-01-03T18:01:56.301Z] + case "${OS_FAMILY}" in [2023-01-03T18:01:56.301Z] + grep '^ii' [2023-01-03T18:01:56.301Z] + dpkg -l [2023-01-03T18:01:56.301Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-03T18:01:56.301Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-03T18:01:56.301Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-03T18:01:56.301Z] + '[' /w/workspace/foundry_device-virtual-go_PR-323 ']' [2023-01-03T18:01:56.301Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-323/archives/ [2023-01-03T18:01:56.301Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-323/archives/ [Pipeline] echo [2023-01-03T18:01:56.317Z] 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-323/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-03T18:01:56.592Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:01:57.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:01:57.155Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:01:57.224Z] prd-ubuntu20.04-docker-8c-8g-916 does not seem to be running inside a container [2023-01-03T18:01:57.255Z] $ 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-323/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-323 -v /w/workspace/foundry_device-virtual-go_PR-323:/w/workspace/foundry_device-virtual-go_PR-323:rw,z -v /w/workspace/foundry_device-virtual-go_PR-323@tmp:/w/workspace/foundry_device-virtual-go_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T18:01:57.458Z] $ docker top 9bcc31d1f3c2d2e109d0ad460e6729c114755248afbbc665557c09a730a4a60a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:01:57.803Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-03T18:01:58.091Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-03T18:01:58.380Z] + ls /var/log/sa-host [2023-01-03T18:01:58.380Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:01:58.452Z] provisioning config files... [2023-01-03T18:01:58.461Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config16474311244203807874tmp [Pipeline] { [Pipeline] echo [2023-01-03T18:01:58.473Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:01:58.753Z] ---> create-netrc.sh [Pipeline] } [2023-01-03T18:01:58.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:01:59.085Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-03T18:01:59.094Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:01:59.383Z] ---> sudo-logs.sh [2023-01-03T18:01:59.383Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-03T18:01:59.406Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:01:59.696Z] ---> job-cost.sh [2023-01-03T18:01:59.696Z] lf-activate-venv: SKIPPING [2023-01-03T18:01:59.696Z] DEBUG: total: 0.2199999988079071 [2023-01-03T18:01:59.696Z] INFO: Retrieving Stack Cost... [2023-01-03T18:01:59.956Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T18:02:00.215Z] INFO: Archiving Costs [Pipeline] echo [2023-01-03T18:02:00.229Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:02:00.511Z] ---> logs-deploy.sh [2023-01-03T18:02:00.511Z] lf-activate-venv: SKIPPING [2023-01-03T18:02:00.511Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-323/2 [2023-01-03T18:02:00.511Z] INFO: archiving workspace using pattern(s): [2023-01-03T18:02:01.447Z] Archives upload complete. [2023-01-03T18:02:01.706Z] INFO: archiving logs to Nexus