Pull request #323 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811+e07a2b47d6b01394d573ef881097266a6362f197 (745f198292ea07a931c30674cabd5314ce110939) 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-ssh14748837844691156559.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-ssh7028936909716291198.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16688132680340269217.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6003171145612320150.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6193949305196595992.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-323/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-323/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16000230653694765733.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-908’ Running on prd-ubuntu20.04-docker-8c-8g-910 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 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 Merge succeeded, producing 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 Checking out Revision 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 (PR-323) > git config core.sparsecheckout # timeout=10 > git checkout -f 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 # 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 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 # timeout=10 Commit message: "refactor!: Rename command line flags for the sake of consistency" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-03T17:29:16.118Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-03T17:29:16.289Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-03T17:29:16.389Z] ========================================================= [2023-01-03T17:29:16.389Z] EdgeX Global Pipelines Version Info [2023-01-03T17:29:16.389Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:29:17.135Z] ------------------- [2023-01-03T17:29:17.135Z] stable info: [2023-01-03T17:29:17.135Z] ------------------- [2023-01-03T17:29:17.135Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-03T17:29:17.135Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T17:29:17.135Z] Message: update stable to v1.0.244 [2023-01-03T17:29:17.705Z] ------------------- [2023-01-03T17:29:17.705Z] experimental info: [2023-01-03T17:29:17.705Z] ------------------- [2023-01-03T17:29:17.705Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-03T17:29:17.705Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T17:29:17.705Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-03T17:29:17.983Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-01-03T17:29:18.023Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-01-03T17:29:18.056Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-03T17:29:18.092Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-03T17:29:18.129Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-03T17:29:18.164Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-03T17:29:18.200Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-03T17:29:18.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-03T17:29:18.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-03T17:29:18.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-03T17:29:18.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-03T17:29:18.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-01-03T17:29:18.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-03T17:29:18.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-03T17:29:18.508Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T17:29:18.549Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T17:29:18.591Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T17:29:18.631Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T17:29:18.674Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-03T17:29:18.713Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-03T17:29:18.756Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-03T17:29:18.797Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-03T17:29:18.836Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-03T17:29:18.873Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-03T17:29:18.911Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-03T17:29:18.948Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-03T17:29:18.994Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-03T17:29:19.037Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-323 [Pipeline] echo [2023-01-03T17:29:19.076Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-323 [Pipeline] echo [2023-01-03T17:29:19.112Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-323 [Pipeline] echo [2023-01-03T17:29:19.151Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [Pipeline] echo [2023-01-03T17:29:19.187Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b2ea23 [Pipeline] echo [2023-01-03T17:29:19.223Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T17:29:19.324Z] provisioning config files... [2023-01-03T17:29:19.336Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config12345357281968856038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:29:19.679Z] ---> docker-login.sh [2023-01-03T17:29:19.679Z] nexus3.edgexfoundry.org:10001 [2023-01-03T17:29:19.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:29:20.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:29:20.206Z] Configure a credential helper to remove this warning. See [2023-01-03T17:29:20.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:29:20.206Z] [2023-01-03T17:29:20.206Z] Login Succeeded [2023-01-03T17:29:20.206Z] nexus3.edgexfoundry.org:10002 [2023-01-03T17:29:20.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:29:20.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:29:20.206Z] Configure a credential helper to remove this warning. See [2023-01-03T17:29:20.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:29:20.206Z] [2023-01-03T17:29:20.206Z] Login Succeeded [2023-01-03T17:29:20.206Z] nexus3.edgexfoundry.org:10003 [2023-01-03T17:29:20.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:29:20.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:29:20.466Z] Configure a credential helper to remove this warning. See [2023-01-03T17:29:20.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:29:20.466Z] [2023-01-03T17:29:20.466Z] Login Succeeded [2023-01-03T17:29:20.466Z] nexus3.edgexfoundry.org:10004 [2023-01-03T17:29:20.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:29:20.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:29:20.466Z] Configure a credential helper to remove this warning. See [2023-01-03T17:29:20.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:29:20.466Z] [2023-01-03T17:29:20.466Z] Login Succeeded [2023-01-03T17:29:20.466Z] docker.io [2023-01-03T17:29:20.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:29:20.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:29:20.726Z] Configure a credential helper to remove this warning. See [2023-01-03T17:29:20.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:29:20.726Z] [2023-01-03T17:29:20.726Z] Login Succeeded [2023-01-03T17:29:20.726Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T17:29:20.753Z] 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:29:21.375Z] + git rev-list -1 --merges 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811~1..2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [Pipeline] echo [2023-01-03T17:29:21.439Z] -----------> git rev-list -1 --merges 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811~1..2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [false] [Pipeline] sh [2023-01-03T17:29:21.755Z] + git log --format=format:%s -1 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [Pipeline] echo [2023-01-03T17:29:21.791Z] ========================================================= [2023-01-03T17:29:21.791Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-03T17:29:21.791Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T17:29:22.223Z] + git log --format=format:%s -1 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [Pipeline] echo [2023-01-03T17:29:22.254Z] [semverPrep] GIT_COMMIT: 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811, Commit Message: refactor!: Rename command line flags for the sake of consistency [Pipeline] echo [2023-01-03T17:29:22.284Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-03T17:29:22.681Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T17:29:22.681Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-03T17:29:22.681Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-03T17:29:22.681Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-03T17:29:22.681Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-03T17:29:22.681Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-03T17:29:22.681Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:29:23.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T17:29:23.164Z] [2023-01-03T17:29:23.164Z] 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:29:23.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T17:29:23.540Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-03T17:29:23.540Z] b85a868b505f: Pulling fs layer [2023-01-03T17:29:23.540Z] e2be974225ed: Pulling fs layer [2023-01-03T17:29:23.540Z] 339a4e72a1f5: Pulling fs layer [2023-01-03T17:29:23.540Z] 988bab9f4d93: Pulling fs layer [2023-01-03T17:29:23.540Z] 1469e6f7b9e6: Pulling fs layer [2023-01-03T17:29:23.540Z] eaf3925da568: Pulling fs layer [2023-01-03T17:29:23.540Z] bab4dde63d76: Pulling fs layer [2023-01-03T17:29:23.540Z] bde34c3a00c8: Pulling fs layer [2023-01-03T17:29:23.540Z] b352a97aabf1: Pulling fs layer [2023-01-03T17:29:23.540Z] 4872d77fe225: Pulling fs layer [2023-01-03T17:29:23.540Z] 5851b861e8e6: Pulling fs layer [2023-01-03T17:29:23.540Z] bab4dde63d76: Waiting [2023-01-03T17:29:23.540Z] bde34c3a00c8: Waiting [2023-01-03T17:29:23.540Z] b352a97aabf1: Waiting [2023-01-03T17:29:23.540Z] 4872d77fe225: Waiting [2023-01-03T17:29:23.540Z] 5851b861e8e6: Waiting [2023-01-03T17:29:23.540Z] 988bab9f4d93: Waiting [2023-01-03T17:29:23.540Z] 1469e6f7b9e6: Waiting [2023-01-03T17:29:23.540Z] eaf3925da568: Waiting [2023-01-03T17:29:23.540Z] e2be974225ed: Verifying Checksum [2023-01-03T17:29:23.540Z] e2be974225ed: Download complete [2023-01-03T17:29:23.540Z] 988bab9f4d93: Verifying Checksum [2023-01-03T17:29:23.540Z] 988bab9f4d93: Download complete [2023-01-03T17:29:23.799Z] 1469e6f7b9e6: Verifying Checksum [2023-01-03T17:29:23.799Z] 1469e6f7b9e6: Download complete [2023-01-03T17:29:23.799Z] 339a4e72a1f5: Verifying Checksum [2023-01-03T17:29:23.799Z] 339a4e72a1f5: Download complete [2023-01-03T17:29:23.799Z] bde34c3a00c8: Verifying Checksum [2023-01-03T17:29:23.799Z] bde34c3a00c8: Download complete [2023-01-03T17:29:23.799Z] b352a97aabf1: Download complete [2023-01-03T17:29:23.799Z] 4872d77fe225: Verifying Checksum [2023-01-03T17:29:23.799Z] 4872d77fe225: Download complete [2023-01-03T17:29:23.799Z] 5851b861e8e6: Verifying Checksum [2023-01-03T17:29:23.799Z] 5851b861e8e6: Download complete [2023-01-03T17:29:23.799Z] b85a868b505f: Verifying Checksum [2023-01-03T17:29:23.799Z] b85a868b505f: Download complete [2023-01-03T17:29:24.059Z] bab4dde63d76: Verifying Checksum [2023-01-03T17:29:24.059Z] bab4dde63d76: Download complete [2023-01-03T17:29:24.994Z] b85a868b505f: Pull complete [2023-01-03T17:29:25.252Z] e2be974225ed: Pull complete [2023-01-03T17:29:25.509Z] 339a4e72a1f5: Pull complete [2023-01-03T17:29:25.768Z] 988bab9f4d93: Pull complete [2023-01-03T17:29:26.026Z] 1469e6f7b9e6: Pull complete [2023-01-03T17:29:26.026Z] eaf3925da568: Pull complete [2023-01-03T17:29:27.928Z] bab4dde63d76: Pull complete [2023-01-03T17:29:27.928Z] bde34c3a00c8: Pull complete [2023-01-03T17:29:27.928Z] b352a97aabf1: Pull complete [2023-01-03T17:29:28.188Z] 4872d77fe225: Pull complete [2023-01-03T17:29:28.188Z] 5851b861e8e6: Pull complete [2023-01-03T17:29:28.188Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-03T17:29:28.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T17:29:28.188Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:29:28.430Z] prd-ubuntu20.04-docker-8c-8g-910 does not seem to be running inside a container [2023-01-03T17:29:28.460Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T17:29:29.788Z] $ docker top 3c5b0463c0eb02b65d815ed8dee898ec175c4298ba805fac6df01c8cd1b9182f -eo pid,comm [2023-01-03T17:29:29.848Z] 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:29:29.848Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T17:29:29.973Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T17:29:29.973Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T17:29:30.085Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T17:29:30.090Z] $ docker exec 3c5b0463c0eb02b65d815ed8dee898ec175c4298ba805fac6df01c8cd1b9182f ssh-agent [2023-01-03T17:29:30.198Z] SSH_AUTH_SOCK=/tmp/ssh-wG08EXJTx0TX/agent.31 [2023-01-03T17:29:30.198Z] SSH_AGENT_PID=37 [2023-01-03T17:29:30.205Z] Running ssh-add (command line suppressed) [2023-01-03T17:29:30.310Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_16389794893426784880.key (/w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_16389794893426784880.key) [2023-01-03T17:29:30.321Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T17:29:30.656Z] + git tag --points-at HEAD [Pipeline] } [2023-01-03T17:29:30.700Z] $ docker exec --env ******** --env ******** 3c5b0463c0eb02b65d815ed8dee898ec175c4298ba805fac6df01c8cd1b9182f ssh-agent -k [2023-01-03T17:29:30.815Z] unset SSH_AUTH_SOCK; [2023-01-03T17:29:30.816Z] unset SSH_AGENT_PID; [2023-01-03T17:29:30.816Z] echo Agent pid 37 killed; [2023-01-03T17:29:30.825Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-03T17:29:30.906Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T17:29:30.906Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T17:29:31.024Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T17:29:31.029Z] $ docker exec 3c5b0463c0eb02b65d815ed8dee898ec175c4298ba805fac6df01c8cd1b9182f ssh-agent [2023-01-03T17:29:31.142Z] SSH_AUTH_SOCK=/tmp/ssh-JkH2IjfBVPoh/agent.69 [2023-01-03T17:29:31.142Z] SSH_AGENT_PID=75 [2023-01-03T17:29:31.147Z] Running ssh-add (command line suppressed) [2023-01-03T17:29:31.259Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_9647434480254910587.key (/w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_9647434480254910587.key) [2023-01-03T17:29:31.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T17:29:31.614Z] + git semver init [2023-01-03T17:29:31.874Z] 2023-01-03 17:29:31,842 [run_init] DEBUG init version:0.0.0 force:False [2023-01-03T17:29:31.874Z] 2023-01-03 17:29:31,843 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-323/.semver [2023-01-03T17:29:31.874Z] 2023-01-03 17:29:31,843 [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:29:31.874Z] 2023-01-03 17:29:31,843 [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:29:33.258Z] 2023-01-03 17:29:32,922 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-323/.git/info/exclude [2023-01-03T17:29:33.258Z] 2023-01-03 17:29:32,923 [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:29:33.258Z] 2023-01-03 17:29:32,923 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-323/.semver/PR-323 [2023-01-03T17:29:33.258Z] 2023-01-03 17:29:32,927 [execute] INFO git cat-file --batch-check [2023-01-03T17:29:33.259Z] 2023-01-03 17:29:32,927 [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:29:33.259Z] 2023-01-03 17:29:32,933 [execute] INFO git cat-file --batch [2023-01-03T17:29:33.259Z] 2023-01-03 17:29:32,934 [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:29:33.259Z] 2023-01-03 17:29:32,938 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-323/.semver/PR-323 [2023-01-03T17:29:33.259Z] 0.0.0 [Pipeline] } [2023-01-03T17:29:33.286Z] $ docker exec --env ******** --env ******** 3c5b0463c0eb02b65d815ed8dee898ec175c4298ba805fac6df01c8cd1b9182f ssh-agent -k [2023-01-03T17:29:33.390Z] unset SSH_AUTH_SOCK; [2023-01-03T17:29:33.390Z] unset SSH_AGENT_PID; [2023-01-03T17:29:33.390Z] echo Agent pid 75 killed; [2023-01-03T17:29:33.401Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T17:29:33.825Z] + git semver [Pipeline] } [2023-01-03T17:29:34.113Z] $ docker stop --time=1 3c5b0463c0eb02b65d815ed8dee898ec175c4298ba805fac6df01c8cd1b9182f [2023-01-03T17:29:35.400Z] $ docker rm -f --volumes 3c5b0463c0eb02b65d815ed8dee898ec175c4298ba805fac6df01c8cd1b9182f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T17:29:35.807Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-03T17:29:36.081Z] Stashed 1 file(s) [Pipeline] echo [2023-01-03T17:29:36.097Z] [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:29:36.669Z] provisioning config files... [2023-01-03T17:29:36.680Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config3081031591674328264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:29:37.023Z] ---> docker-login.sh [2023-01-03T17:29:37.023Z] nexus3.edgexfoundry.org:10001 [2023-01-03T17:29:37.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:29:37.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:29:37.023Z] Configure a credential helper to remove this warning. See [2023-01-03T17:29:37.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:29:37.023Z] [2023-01-03T17:29:37.023Z] Login Succeeded [2023-01-03T17:29:37.023Z] nexus3.edgexfoundry.org:10002 [2023-01-03T17:29:37.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:29:37.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:29:37.023Z] Configure a credential helper to remove this warning. See [2023-01-03T17:29:37.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:29:37.023Z] [2023-01-03T17:29:37.023Z] Login Succeeded [2023-01-03T17:29:37.023Z] nexus3.edgexfoundry.org:10003 [2023-01-03T17:29:37.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:29:37.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:29:37.283Z] Configure a credential helper to remove this warning. See [2023-01-03T17:29:37.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:29:37.283Z] [2023-01-03T17:29:37.283Z] Login Succeeded [2023-01-03T17:29:37.283Z] nexus3.edgexfoundry.org:10004 [2023-01-03T17:29:37.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:29:37.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:29:37.283Z] Configure a credential helper to remove this warning. See [2023-01-03T17:29:37.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:29:37.283Z] [2023-01-03T17:29:37.283Z] Login Succeeded [2023-01-03T17:29:37.283Z] docker.io [2023-01-03T17:29:37.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:29:37.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:29:37.543Z] Configure a credential helper to remove this warning. See [2023-01-03T17:29:37.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:29:37.543Z] [2023-01-03T17:29:37.543Z] Login Succeeded [2023-01-03T17:29:37.543Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T17:29:37.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T17:29:37.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T17:29:37.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T17:29:37.814Z] ========================================================= [2023-01-03T17:29:37.814Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-03T17:29:37.814Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:29:38.281Z] + 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:29:38.281Z] Sending build context to Docker daemon 23.37MB [2023-01-03T17:29:38.281Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T17:29:38.281Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-03T17:29:38.282Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-03T17:29:38.282Z] 213ec9aee27d: Pulling fs layer [2023-01-03T17:29:38.282Z] 4583459ba037: Pulling fs layer [2023-01-03T17:29:38.282Z] 93c1e223e6f2: Pulling fs layer [2023-01-03T17:29:38.282Z] 53926ce57604: Pulling fs layer [2023-01-03T17:29:38.282Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-03T17:29:38.282Z] 22ff95d597cd: Pulling fs layer [2023-01-03T17:29:38.282Z] 12d6caf4c0d1: Pulling fs layer [2023-01-03T17:29:38.282Z] 96b7cbca73a9: Pulling fs layer [2023-01-03T17:29:38.282Z] a7acece74701: Pulling fs layer [2023-01-03T17:29:38.282Z] 21b2b0c7a3f4: Waiting [2023-01-03T17:29:38.282Z] 22ff95d597cd: Waiting [2023-01-03T17:29:38.282Z] 12d6caf4c0d1: Waiting [2023-01-03T17:29:38.282Z] 53926ce57604: Waiting [2023-01-03T17:29:38.282Z] 96b7cbca73a9: Waiting [2023-01-03T17:29:38.282Z] a7acece74701: Waiting [2023-01-03T17:29:38.543Z] 93c1e223e6f2: Verifying Checksum [2023-01-03T17:29:38.543Z] 93c1e223e6f2: Download complete [2023-01-03T17:29:38.543Z] 4583459ba037: Download complete [2023-01-03T17:29:38.543Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-03T17:29:38.543Z] 21b2b0c7a3f4: Download complete [2023-01-03T17:29:38.543Z] 22ff95d597cd: Verifying Checksum [2023-01-03T17:29:38.543Z] 22ff95d597cd: Download complete [2023-01-03T17:29:38.543Z] 213ec9aee27d: Verifying Checksum [2023-01-03T17:29:38.543Z] 213ec9aee27d: Download complete [2023-01-03T17:29:38.543Z] 12d6caf4c0d1: Verifying Checksum [2023-01-03T17:29:38.805Z] 213ec9aee27d: Pull complete [2023-01-03T17:29:38.805Z] 4583459ba037: Pull complete [2023-01-03T17:29:38.805Z] 93c1e223e6f2: Pull complete [2023-01-03T17:29:39.070Z] a7acece74701: Verifying Checksum [2023-01-03T17:29:39.070Z] a7acece74701: Download complete [2023-01-03T17:29:39.070Z] 96b7cbca73a9: Verifying Checksum [2023-01-03T17:29:39.070Z] 96b7cbca73a9: Download complete [2023-01-03T17:29:39.330Z] 53926ce57604: Verifying Checksum [2023-01-03T17:29:39.330Z] 53926ce57604: Download complete [2023-01-03T17:29:43.519Z] 53926ce57604: Pull complete [2023-01-03T17:29:43.519Z] 21b2b0c7a3f4: Pull complete [2023-01-03T17:29:43.519Z] 22ff95d597cd: Pull complete [2023-01-03T17:29:43.519Z] 12d6caf4c0d1: Pull complete [2023-01-03T17:29:45.423Z] 96b7cbca73a9: Pull complete [2023-01-03T17:29:45.993Z] a7acece74701: Pull complete [2023-01-03T17:29:45.993Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-03T17:29:45.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-03T17:29:45.993Z] ---> db6d94c90886 [2023-01-03T17:29:45.993Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T17:29:47.911Z] ---> Running in 3987ebcbc86a [2023-01-03T17:29:47.911Z] Removing intermediate container 3987ebcbc86a [2023-01-03T17:29:47.911Z] ---> 6858ddf301b4 [2023-01-03T17:29:47.911Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T17:29:47.911Z] ---> Running in 649de48e005c [2023-01-03T17:29:48.172Z] Removing intermediate container 649de48e005c [2023-01-03T17:29:48.172Z] ---> 130a3b740477 [2023-01-03T17:29:48.172Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-03T17:29:48.172Z] ---> Running in cd4ff7332b09 [2023-01-03T17:29:48.172Z] Removing intermediate container cd4ff7332b09 [2023-01-03T17:29:48.172Z] ---> 0a3904b82238 [2023-01-03T17:29:48.172Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-03T17:29:48.172Z] ---> Running in 5c4f577c6362 [2023-01-03T17:29:48.432Z] Removing intermediate container 5c4f577c6362 [2023-01-03T17:29:48.432Z] ---> 021bddb434fb [2023-01-03T17:29:48.432Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T17:29:48.432Z] ---> Running in 58a663fef809 [2023-01-03T17:29:48.691Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T17:29:48.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T17:29:49.209Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-03T17:29:49.209Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-03T17:29:49.209Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-03T17:29:49.209Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-03T17:29:49.209Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T17:29:49.209Z] OK: 216 MiB in 55 packages [2023-01-03T17:29:49.779Z] Removing intermediate container 58a663fef809 [2023-01-03T17:29:49.779Z] ---> 9a9df23498a0 [2023-01-03T17:29:49.779Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-03T17:29:49.779Z] ---> 2f3e8deb2257 [2023-01-03T17:29:49.779Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T17:29:49.779Z] ---> Running in 27eaf767dc98 [2023-01-03T17:29:51.488Z] Still waiting to schedule task [2023-01-03T17:29:51.488Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-909’ is offline [2023-01-03T17:30:08.009Z] Removing intermediate container 27eaf767dc98 [2023-01-03T17:30:08.009Z] ---> 523ba324d361 [2023-01-03T17:30:08.009Z] Step 10/12 : COPY . . [2023-01-03T17:30:08.009Z] ---> bccb2ff057e5 [2023-01-03T17:30:08.009Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T17:30:08.009Z] ---> Running in 467324f7e65e [2023-01-03T17:30:08.009Z] Removing intermediate container 467324f7e65e [2023-01-03T17:30:08.009Z] ---> 131e36275807 [2023-01-03T17:30:08.009Z] Step 12/12 : RUN $MAKE [2023-01-03T17:30:08.009Z] ---> Running in 82f14370a96b [2023-01-03T17:30:08.009Z] noop [2023-01-03T17:30:08.009Z] Removing intermediate container 82f14370a96b [2023-01-03T17:30:08.009Z] ---> c401218d3263 [2023-01-03T17:30:08.009Z] Successfully built c401218d3263 [2023-01-03T17:30:08.009Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:30:08.470Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T17:30:08.470Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:30:08.640Z] prd-ubuntu20.04-docker-8c-8g-910 does not seem to be running inside a container [2023-01-03T17:30:08.672Z] $ 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 ******** ci-base-image-x86_64 cat [2023-01-03T17:30:09.043Z] $ docker top 13eb8eec17e00e696e5b1798e6b6acf99531ed1516f82f4706a55a3d0a825d85 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T17:30:09.439Z] + go version [2023-01-03T17:30:09.439Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-03T17:30:09.473Z] $ docker stop --time=1 13eb8eec17e00e696e5b1798e6b6acf99531ed1516f82f4706a55a3d0a825d85 [2023-01-03T17:30:10.758Z] $ docker rm -f --volumes 13eb8eec17e00e696e5b1798e6b6acf99531ed1516f82f4706a55a3d0a825d85 [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:30:11.463Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T17:30:11.463Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:30:11.607Z] prd-ubuntu20.04-docker-8c-8g-910 does not seem to be running inside a container [2023-01-03T17:30:11.640Z] $ 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 ******** ci-base-image-x86_64 cat [2023-01-03T17:30:11.974Z] $ docker top b66a53242089826054698a340e71c4d535fc24985e381c897a49028ec521f330 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T17:30:12.364Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-323 [Pipeline] fileExists [Pipeline] sh [2023-01-03T17:30:12.719Z] + make test [2023-01-03T17:30:12.719Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-03T17:30:12.977Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-03T17:30:22.948Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-03T17:30:22.948Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements [2023-01-03T17:30:31.060Z] 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:30:31.060Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T17:30:33.588Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T17:30:33.588Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T17:30:33.588Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T17:30:33.627Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T17:30:33.656Z] $ docker stop --time=1 b66a53242089826054698a340e71c4d535fc24985e381c897a49028ec521f330 [2023-01-03T17:30:35.311Z] $ docker rm -f --volumes b66a53242089826054698a340e71c4d535fc24985e381c897a49028ec521f330 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T17:30:35.815Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T17:30:35.898Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-03T17:30:36.600Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T17:30:36.908Z] + ls -al . [2023-01-03T17:30:36.908Z] total 204 [2023-01-03T17:30:36.908Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 17:30 . [2023-01-03T17:30:36.908Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:29 .. [2023-01-03T17:30:36.908Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 17:30 .git [2023-01-03T17:30:36.908Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:29 .github [2023-01-03T17:30:36.908Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 3 17:29 .gitignore [2023-01-03T17:30:36.908Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 17:29 .golangci.yml [2023-01-03T17:30:36.908Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 17:29 .semver [2023-01-03T17:30:36.908Z] -rw-rw-r-- 1 jenkins jenkins 8527 Jan 3 17:29 Attribution.txt [2023-01-03T17:30:36.908Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 3 17:29 CHANGELOG.md [2023-01-03T17:30:36.908Z] -rw-rw-r-- 1 jenkins jenkins 1691 Jan 3 17:29 Dockerfile [2023-01-03T17:30:36.908Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 17:29 GOVERNANCE.md [2023-01-03T17:30:36.908Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 3 17:29 Jenkinsfile [2023-01-03T17:30:36.908Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 17:29 LICENSE [2023-01-03T17:30:36.908Z] -rw-rw-r-- 1 jenkins jenkins 2457 Jan 3 17:29 Makefile [2023-01-03T17:30:36.908Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 3 17:29 OWNERS.md [2023-01-03T17:30:36.908Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 3 17:29 README.md [2023-01-03T17:30:36.908Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 17:29 VERSION [2023-01-03T17:30:36.908Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 17:29 bin [2023-01-03T17:30:36.908Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:29 cmd [2023-01-03T17:30:36.908Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 3 17:30 coverage.out [2023-01-03T17:30:36.908Z] -rw-rw-r-- 1 jenkins jenkins 3340 Jan 3 17:29 go.mod [2023-01-03T17:30:36.908Z] -rw-rw-r-- 1 jenkins jenkins 44412 Jan 3 17:29 go.sum [2023-01-03T17:30:36.908Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:29 internal [2023-01-03T17:30:36.908Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:29 snap [2023-01-03T17:30:36.908Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 3 17:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:30:37.298Z] + 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=2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 --label arch=amd64 --label version=0.0.0 . [2023-01-03T17:30:37.298Z] Sending build context to Docker daemon 23.42MB [2023-01-03T17:30:37.298Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T17:30:37.298Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-03T17:30:37.298Z] ---> c401218d3263 [2023-01-03T17:30:37.298Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T17:30:37.558Z] ---> Running in 95232d7fd1a0 [2023-01-03T17:30:37.558Z] Removing intermediate container 95232d7fd1a0 [2023-01-03T17:30:37.558Z] ---> 3e56259225e6 [2023-01-03T17:30:37.558Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T17:30:37.558Z] ---> Running in 73014cca163d [2023-01-03T17:30:37.558Z] Removing intermediate container 73014cca163d [2023-01-03T17:30:37.558Z] ---> 86cf35b58754 [2023-01-03T17:30:37.558Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-03T17:30:37.558Z] ---> Running in 8357571307a6 [2023-01-03T17:30:37.816Z] Removing intermediate container 8357571307a6 [2023-01-03T17:30:37.816Z] ---> 1987ae70863a [2023-01-03T17:30:37.816Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-03T17:30:37.816Z] ---> Running in d8cdea8d0c5a [2023-01-03T17:30:37.816Z] Removing intermediate container d8cdea8d0c5a [2023-01-03T17:30:37.816Z] ---> 8cafa94c0a76 [2023-01-03T17:30:37.816Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T17:30:37.816Z] ---> Running in 21df2a8e14cf [2023-01-03T17:30:38.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T17:30:38.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T17:30:38.336Z] OK: 216 MiB in 55 packages [2023-01-03T17:30:38.597Z] Removing intermediate container 21df2a8e14cf [2023-01-03T17:30:38.597Z] ---> 1da5b24a674d [2023-01-03T17:30:38.597Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-03T17:30:38.857Z] ---> eba2e925d82c [2023-01-03T17:30:38.857Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T17:30:38.857Z] ---> Running in 2d78987c53bb [2023-01-03T17:30:39.425Z] Removing intermediate container 2d78987c53bb [2023-01-03T17:30:39.425Z] ---> fef096eb954e [2023-01-03T17:30:39.425Z] Step 10/25 : COPY . . [2023-01-03T17:30:39.989Z] ---> f32a54468cc0 [2023-01-03T17:30:39.989Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T17:30:39.989Z] ---> Running in a541d6ca3938 [2023-01-03T17:30:39.989Z] Removing intermediate container a541d6ca3938 [2023-01-03T17:30:39.989Z] ---> d11b1f25137e [2023-01-03T17:30:39.989Z] Step 12/25 : RUN $MAKE [2023-01-03T17:30:39.989Z] ---> Running in dcac045b1a19 [2023-01-03T17:30:40.562Z] 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:31:02.511Z] Removing intermediate container dcac045b1a19 [2023-01-03T17:31:02.511Z] ---> f30e20e17d91 [2023-01-03T17:31:02.511Z] Step 13/25 : FROM alpine:3.16 [2023-01-03T17:31:02.511Z] 3.16: Pulling from library/alpine [2023-01-03T17:31:02.511Z] ca7dd9ec2225: Pulling fs layer [2023-01-03T17:31:02.511Z] ca7dd9ec2225: Verifying Checksum [2023-01-03T17:31:02.511Z] ca7dd9ec2225: Download complete [2023-01-03T17:31:02.511Z] ca7dd9ec2225: Pull complete [2023-01-03T17:31:02.511Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T17:31:02.511Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T17:31:02.511Z] ---> bfe296a52501 [2023-01-03T17:31:02.511Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-03T17:31:02.511Z] ---> Running in 449226de6954 [2023-01-03T17:31:02.511Z] Removing intermediate container 449226de6954 [2023-01-03T17:31:02.511Z] ---> f932ec7eec61 [2023-01-03T17:31:02.511Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T17:31:02.511Z] ---> Running in 947c0d856d20 [2023-01-03T17:31:02.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T17:31:02.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T17:31:02.511Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T17:31:02.511Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T17:31:02.511Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T17:31:02.511Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T17:31:02.511Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T17:31:02.511Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T17:31:02.511Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T17:31:02.511Z] OK: 8 MiB in 20 packages [2023-01-03T17:31:02.511Z] Removing intermediate container 947c0d856d20 [2023-01-03T17:31:02.511Z] ---> b03c2fc443d3 [2023-01-03T17:31:02.511Z] Step 16/25 : WORKDIR / [2023-01-03T17:31:02.511Z] ---> Running in 6c2788fb8d54 [2023-01-03T17:31:02.511Z] Removing intermediate container 6c2788fb8d54 [2023-01-03T17:31:02.511Z] ---> e26d3d5218e4 [2023-01-03T17:31:02.511Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-03T17:31:02.772Z] ---> 86ed7eb010e8 [2023-01-03T17:31:02.772Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-03T17:31:02.772Z] ---> 302df8231569 [2023-01-03T17:31:02.772Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-03T17:31:03.340Z] ---> 1356837bbd87 [2023-01-03T17:31:03.340Z] Step 20/25 : EXPOSE 59900 [2023-01-03T17:31:03.340Z] ---> Running in c31d55c6fd70 [2023-01-03T17:31:03.340Z] Removing intermediate container c31d55c6fd70 [2023-01-03T17:31:03.340Z] ---> 12dad8e5432a [2023-01-03T17:31:03.340Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-03T17:31:03.340Z] ---> Running in 6e4c685cb780 [2023-01-03T17:31:03.599Z] Removing intermediate container 6e4c685cb780 [2023-01-03T17:31:03.599Z] ---> 7fcfad5a71fb [2023-01-03T17:31:03.599Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T17:31:03.599Z] ---> Running in ea96ec77802b [2023-01-03T17:31:03.599Z] Removing intermediate container ea96ec77802b [2023-01-03T17:31:03.599Z] ---> 371bdb131a85 [2023-01-03T17:31:03.599Z] Step 23/25 : LABEL arch=amd64 [2023-01-03T17:31:03.599Z] ---> Running in 759462d67e21 [2023-01-03T17:31:03.599Z] Removing intermediate container 759462d67e21 [2023-01-03T17:31:03.599Z] ---> 989aaf756225 [2023-01-03T17:31:03.599Z] Step 24/25 : LABEL git_sha=2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [2023-01-03T17:31:03.858Z] ---> Running in a82e739e4e0b [2023-01-03T17:31:03.858Z] Removing intermediate container a82e739e4e0b [2023-01-03T17:31:03.858Z] ---> 9efe6415bb75 [2023-01-03T17:31:03.858Z] Step 25/25 : LABEL version=0.0.0 [2023-01-03T17:31:03.858Z] ---> Running in 7ea9920f0daf [2023-01-03T17:31:03.858Z] Removing intermediate container 7ea9920f0daf [2023-01-03T17:31:03.858Z] ---> e0ff2f517c16 [2023-01-03T17:31:03.858Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T17:31:03.858Z] Successfully built e0ff2f517c16 [2023-01-03T17:31:03.858Z] 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:31:04.665Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T17:31:04.666Z] [2023-01-03T17:31:04.666Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:31:05.033Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T17:31:05.033Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-03T17:31:05.033Z] 5eb5b503b376: Pulling fs layer [2023-01-03T17:31:05.033Z] 5c69ac0246d0: Pulling fs layer [2023-01-03T17:31:05.033Z] ec43610c2a17: Pulling fs layer [2023-01-03T17:31:05.033Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-03T17:31:05.033Z] 33b1e0a273af: Pulling fs layer [2023-01-03T17:31:05.033Z] 5d3b04190fa2: Pulling fs layer [2023-01-03T17:31:05.033Z] 2f39f015ded8: Pulling fs layer [2023-01-03T17:31:05.033Z] 3a2ae6a8a46f: Waiting [2023-01-03T17:31:05.033Z] 33b1e0a273af: Waiting [2023-01-03T17:31:05.033Z] 2f39f015ded8: Waiting [2023-01-03T17:31:05.033Z] 5d3b04190fa2: Waiting [2023-01-03T17:31:05.033Z] 5c69ac0246d0: Verifying Checksum [2023-01-03T17:31:05.033Z] 5c69ac0246d0: Download complete [2023-01-03T17:31:05.033Z] 3a2ae6a8a46f: Download complete [2023-01-03T17:31:05.033Z] 33b1e0a273af: Verifying Checksum [2023-01-03T17:31:05.033Z] 33b1e0a273af: Download complete [2023-01-03T17:31:05.292Z] 5d3b04190fa2: Verifying Checksum [2023-01-03T17:31:05.292Z] 5d3b04190fa2: Download complete [2023-01-03T17:31:05.292Z] ec43610c2a17: Verifying Checksum [2023-01-03T17:31:05.292Z] ec43610c2a17: Download complete [2023-01-03T17:31:05.292Z] 5eb5b503b376: Verifying Checksum [2023-01-03T17:31:05.292Z] 5eb5b503b376: Download complete [2023-01-03T17:31:05.860Z] 2f39f015ded8: Download complete [2023-01-03T17:31:06.426Z] 5eb5b503b376: Pull complete [2023-01-03T17:31:06.684Z] 5c69ac0246d0: Pull complete [2023-01-03T17:31:06.941Z] ec43610c2a17: Pull complete [2023-01-03T17:31:06.941Z] 3a2ae6a8a46f: Pull complete [2023-01-03T17:31:07.199Z] 33b1e0a273af: Pull complete [2023-01-03T17:31:07.457Z] 5d3b04190fa2: Pull complete [2023-01-03T17:31:11.641Z] 2f39f015ded8: Pull complete [2023-01-03T17:31:11.641Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-03T17:31:11.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T17:31:11.641Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:31:11.855Z] prd-ubuntu20.04-docker-8c-8g-910 does not seem to be running inside a container [2023-01-03T17:31:11.887Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T17:31:13.689Z] $ docker top f16c4a57723b07f59853ff8c328b9e175dda27337f860ab8d21d0157e511b1e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:31:14.125Z] ---> job-cost.sh [2023-01-03T17:31:14.125Z] lf-activate-venv: SKIPPING [2023-01-03T17:31:14.125Z] INFO: No Stack... [2023-01-03T17:31:14.385Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T17:31:14.956Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T17:31:15.279Z] + cat /w/workspace/foundry_device-virtual-go_PR-323/archives/cost.csv [2023-01-03T17:31:15.279Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T17:31:15.318Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] [2023-01-03T17:31:15.323Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] did not exist. Created. [2023-01-03T17:31:15.324Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T17:31:15.720Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-03T17:31:15.774Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T17:31:15.800Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T17:31:15.876Z] $ docker stop --time=1 f16c4a57723b07f59853ff8c328b9e175dda27337f860ab8d21d0157e511b1e6 [2023-01-03T17:31:17.039Z] $ docker rm -f --volumes f16c4a57723b07f59853ff8c328b9e175dda27337f860ab8d21d0157e511b1e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-03T17:31:27.837Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-911 in /w/workspace/foundry_device-virtual-go_PR-323 [Pipeline] { [Pipeline] ws [2023-01-03T17:31:27.894Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-01-03T17:31:27.968Z] The recommended git tool is: git [2023-01-03T17:31:32.809Z] using credential edgex-jenkins-ssh [2023-01-03T17:31:32.825Z] Cloning the remote Git repository [2023-01-03T17:31:32.876Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-01-03T17:31:32.954Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-01-03T17:31:33.112Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-03T17:31:33.113Z] > git --version # timeout=10 [2023-01-03T17:31:33.135Z] > git --version # 'git version 2.25.1' [2023-01-03T17:31:33.138Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T17:31:33.205Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T17:31:35.130Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-03T17:31:35.154Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T17:31:36.073Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-01-03T17:31:36.117Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-01-03T17:31:36.118Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T17:31:36.135Z] > 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:31:36.697Z] Merging remotes/origin/main commit e07a2b47d6b01394d573ef881097266a6362f197 into PR head commit 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [2023-01-03T17:31:36.940Z] Merge succeeded, producing 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [2023-01-03T17:31:36.940Z] Checking out Revision 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 (PR-323) [2023-01-03T17:31:36.720Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T17:31:36.758Z] > git checkout -f 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 # timeout=10 [2023-01-03T17:31:36.847Z] > git remote # timeout=10 [2023-01-03T17:31:36.865Z] > git config --get remote.origin.url # timeout=10 [2023-01-03T17:31:36.883Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T17:31:36.897Z] > git merge e07a2b47d6b01394d573ef881097266a6362f197 # timeout=10 [2023-01-03T17:31:36.922Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-03T17:31:36.948Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T17:31:36.962Z] > git checkout -f 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 # timeout=10 [2023-01-03T17:31:40.433Z] Commit message: "refactor!: Rename command line flags for the sake of consistency" [2023-01-03T17:31:40.487Z] > git --version # timeout=10 [2023-01-03T17:31:40.497Z] > git --version # 'git version 2.25.1' [2023-01-03T17:31:40.516Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T17:31:41.589Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-03T17:31:41.589Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T17:31:41.589Z] Dload Upload Total Spent Left Speed [2023-01-03T17:31:41.589Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-01-03T17:31:42.269Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-03T17:31:42.613Z] + sudo tee /etc/docker/daemon.new [2023-01-03T17:31:42.613Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-03T17:31:42.613Z] { [2023-01-03T17:31:42.613Z] "registry-mirrors": [ [2023-01-03T17:31:42.613Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-03T17:31:42.613Z] ], [2023-01-03T17:31:42.613Z] "bip": "10.250.0.254/24", [2023-01-03T17:31:42.613Z] "hosts": [ [2023-01-03T17:31:42.613Z] "tcp://0.0.0.0:5555", [2023-01-03T17:31:42.613Z] "unix:///var/run/docker.sock" [2023-01-03T17:31:42.613Z] ], [2023-01-03T17:31:42.613Z] "mtu": 1458, [2023-01-03T17:31:42.613Z] "selinux-enabled": true, [2023-01-03T17:31:42.613Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-03T17:31:42.613Z] } [Pipeline] sh [2023-01-03T17:31:42.955Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-03T17:31:43.305Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T17:32:01.630Z] provisioning config files... [2023-01-03T17:32:01.660Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1344639220294438857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:32:02.042Z] ---> docker-login.sh [2023-01-03T17:32:02.043Z] nexus3.edgexfoundry.org:10001 [2023-01-03T17:32:02.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:32:02.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:32:02.632Z] Configure a credential helper to remove this warning. See [2023-01-03T17:32:02.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:32:02.632Z] [2023-01-03T17:32:02.632Z] Login Succeeded [2023-01-03T17:32:02.632Z] nexus3.edgexfoundry.org:10002 [2023-01-03T17:32:02.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:32:02.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:32:02.902Z] Configure a credential helper to remove this warning. See [2023-01-03T17:32:02.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:32:02.902Z] [2023-01-03T17:32:02.902Z] Login Succeeded [2023-01-03T17:32:03.175Z] nexus3.edgexfoundry.org:10003 [2023-01-03T17:32:03.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:32:03.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:32:03.449Z] Configure a credential helper to remove this warning. See [2023-01-03T17:32:03.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:32:03.449Z] [2023-01-03T17:32:03.449Z] Login Succeeded [2023-01-03T17:32:03.449Z] nexus3.edgexfoundry.org:10004 [2023-01-03T17:32:03.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:32:03.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:32:03.720Z] Configure a credential helper to remove this warning. See [2023-01-03T17:32:03.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:32:03.720Z] [2023-01-03T17:32:03.721Z] Login Succeeded [2023-01-03T17:32:03.721Z] docker.io [2023-01-03T17:32:03.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T17:32:04.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T17:32:04.259Z] Configure a credential helper to remove this warning. See [2023-01-03T17:32:04.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T17:32:04.259Z] [2023-01-03T17:32:04.259Z] Login Succeeded [2023-01-03T17:32:04.259Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T17:32:04.288Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T17:32:04.681Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T17:32:04.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T17:32:04.752Z] ========================================================= [2023-01-03T17:32:04.752Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-03T17:32:04.752Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:32:05.242Z] + 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:32:05.512Z] Sending build context to Docker daemon 11.85MB [2023-01-03T17:32:05.512Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T17:32:05.512Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-03T17:32:05.783Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-03T17:32:05.783Z] 9b18e9b68314: Pulling fs layer [2023-01-03T17:32:05.783Z] 35d82f9e3411: Pulling fs layer [2023-01-03T17:32:05.783Z] e16973657156: Pulling fs layer [2023-01-03T17:32:05.783Z] fc693d55d65f: Pulling fs layer [2023-01-03T17:32:05.783Z] 7e9fc2657dce: Pulling fs layer [2023-01-03T17:32:05.783Z] dda99020689f: Pulling fs layer [2023-01-03T17:32:05.783Z] db1c61fa0a46: Pulling fs layer [2023-01-03T17:32:05.783Z] 891c053d2c06: Pulling fs layer [2023-01-03T17:32:05.783Z] fc693d55d65f: Waiting [2023-01-03T17:32:05.783Z] 7e9fc2657dce: Waiting [2023-01-03T17:32:05.783Z] dda99020689f: Waiting [2023-01-03T17:32:05.783Z] db1c61fa0a46: Waiting [2023-01-03T17:32:05.783Z] 891c053d2c06: Waiting [2023-01-03T17:32:05.783Z] e16973657156: Download complete [2023-01-03T17:32:05.783Z] 35d82f9e3411: Verifying Checksum [2023-01-03T17:32:05.783Z] 35d82f9e3411: Download complete [2023-01-03T17:32:05.783Z] 7e9fc2657dce: Verifying Checksum [2023-01-03T17:32:05.783Z] 7e9fc2657dce: Download complete [2023-01-03T17:32:05.783Z] dda99020689f: Verifying Checksum [2023-01-03T17:32:05.783Z] dda99020689f: Download complete [2023-01-03T17:32:05.783Z] 9b18e9b68314: Verifying Checksum [2023-01-03T17:32:06.766Z] 9b18e9b68314: Pull complete [2023-01-03T17:32:07.040Z] 891c053d2c06: Verifying Checksum [2023-01-03T17:32:07.040Z] 891c053d2c06: Download complete [2023-01-03T17:32:07.311Z] 35d82f9e3411: Pull complete [2023-01-03T17:32:07.582Z] e16973657156: Pull complete [2023-01-03T17:32:08.177Z] db1c61fa0a46: Verifying Checksum [2023-01-03T17:32:08.177Z] db1c61fa0a46: Download complete [2023-01-03T17:32:08.764Z] fc693d55d65f: Verifying Checksum [2023-01-03T17:32:08.764Z] fc693d55d65f: Download complete [2023-01-03T17:32:21.091Z] fc693d55d65f: Pull complete [2023-01-03T17:32:21.091Z] 7e9fc2657dce: Pull complete [2023-01-03T17:32:21.091Z] dda99020689f: Pull complete [2023-01-03T17:32:26.467Z] db1c61fa0a46: Pull complete [2023-01-03T17:32:28.429Z] 891c053d2c06: Pull complete [2023-01-03T17:32:28.429Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-03T17:32:28.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-03T17:32:28.429Z] ---> f96f9c87975a [2023-01-03T17:32:28.429Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T17:32:30.388Z] ---> Running in a9568bb93bc6 [2023-01-03T17:32:30.388Z] Removing intermediate container a9568bb93bc6 [2023-01-03T17:32:30.388Z] ---> f4d53d86efde [2023-01-03T17:32:30.388Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T17:32:30.655Z] ---> Running in 04de6635fe44 [2023-01-03T17:32:30.923Z] Removing intermediate container 04de6635fe44 [2023-01-03T17:32:30.923Z] ---> be8cf9af013a [2023-01-03T17:32:30.923Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-03T17:32:30.923Z] ---> Running in 2c1fe7e16d85 [2023-01-03T17:32:31.191Z] Removing intermediate container 2c1fe7e16d85 [2023-01-03T17:32:31.191Z] ---> 996abee140b0 [2023-01-03T17:32:31.191Z] Step 6/12 : WORKDIR /device-virtual-go [2023-01-03T17:32:31.458Z] ---> Running in 845bba83c730 [2023-01-03T17:32:31.726Z] Removing intermediate container 845bba83c730 [2023-01-03T17:32:31.726Z] ---> d7a14394dfd4 [2023-01-03T17:32:31.726Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T17:32:31.726Z] ---> Running in 95ceaf34d64f [2023-01-03T17:32:32.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T17:32:33.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T17:32:33.860Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-03T17:32:34.127Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-03T17:32:34.127Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-03T17:32:34.127Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-03T17:32:34.127Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T17:32:34.127Z] OK: 226 MiB in 55 packages [2023-01-03T17:32:35.091Z] Removing intermediate container 95ceaf34d64f [2023-01-03T17:32:35.091Z] ---> 01ca1f45eabf [2023-01-03T17:32:35.091Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-03T17:32:35.680Z] ---> 5dfc7a0613a3 [2023-01-03T17:32:35.680Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T17:32:35.680Z] ---> Running in e067874ec7fc [2023-01-03T17:33:32.110Z] Removing intermediate container e067874ec7fc [2023-01-03T17:33:32.110Z] ---> b8da654e0163 [2023-01-03T17:33:32.110Z] Step 10/12 : COPY . . [2023-01-03T17:33:32.110Z] ---> 58fea62e974e [2023-01-03T17:33:32.110Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T17:33:32.110Z] ---> Running in 4124820543f7 [2023-01-03T17:33:32.110Z] Removing intermediate container 4124820543f7 [2023-01-03T17:33:32.110Z] ---> 3cee8b1ffc0a [2023-01-03T17:33:32.110Z] Step 12/12 : RUN $MAKE [2023-01-03T17:33:32.110Z] ---> Running in 542365c4a9b4 [2023-01-03T17:33:32.110Z] noop [2023-01-03T17:33:32.110Z] Removing intermediate container 542365c4a9b4 [2023-01-03T17:33:32.110Z] ---> 09bd7f9bb967 [2023-01-03T17:33:32.110Z] Successfully built 09bd7f9bb967 [2023-01-03T17:33:32.110Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:33:32.593Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T17:33:32.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:33:32.862Z] prd-ubuntu20.04-docker-arm64-4c-16g-911 does not seem to be running inside a container [2023-01-03T17:33:32.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T17:33:34.125Z] $ docker top 07018e83a37ccd73536173f873626a2c40daf612eb13edbc0638396414d54dd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T17:33:35.000Z] + go version [2023-01-03T17:33:35.000Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-03T17:33:35.081Z] $ docker stop --time=1 07018e83a37ccd73536173f873626a2c40daf612eb13edbc0638396414d54dd7 [2023-01-03T17:33:36.747Z] $ docker rm -f --volumes 07018e83a37ccd73536173f873626a2c40daf612eb13edbc0638396414d54dd7 [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:33:37.574Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T17:33:37.574Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:33:37.821Z] prd-ubuntu20.04-docker-arm64-4c-16g-911 does not seem to be running inside a container [2023-01-03T17:33:37.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T17:33:39.115Z] $ docker top e5bf344451a639fcaa395e235e176acb075621504a6661b862d427c1759ff2ba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T17:33:39.660Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-03T17:33:40.623Z] + make test [2023-01-03T17:33:40.623Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-03T17:33:42.580Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-01-03T17:35:04.225Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-01-03T17:35:04.225Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.125s coverage: 65.7% of statements [2023-01-03T17:35:04.225Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-03T17:35:04.225Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T17:35:22.438Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T17:35:22.438Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T17:35:22.438Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T17:35:22.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T17:35:22.508Z] $ docker stop --time=1 e5bf344451a639fcaa395e235e176acb075621504a6661b862d427c1759ff2ba [2023-01-03T17:35:24.280Z] $ docker rm -f --volumes e5bf344451a639fcaa395e235e176acb075621504a6661b862d427c1759ff2ba [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T17:35:25.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T17:35:25.270Z] Warning: overwriting stash ‘coverage-report’ [2023-01-03T17:35:25.767Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T17:35:26.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T17:35:26.691Z] + ls -al . [2023-01-03T17:35:26.691Z] total 200 [2023-01-03T17:35:26.691Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 17:33 . [2023-01-03T17:35:26.691Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:31 .. [2023-01-03T17:35:26.691Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 17:31 .git [2023-01-03T17:35:26.691Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:31 .github [2023-01-03T17:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 337 Jan 3 17:31 .gitignore [2023-01-03T17:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 17:31 .golangci.yml [2023-01-03T17:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 8527 Jan 3 17:31 Attribution.txt [2023-01-03T17:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 11367 Jan 3 17:31 CHANGELOG.md [2023-01-03T17:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 1691 Jan 3 17:31 Dockerfile [2023-01-03T17:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 17:31 GOVERNANCE.md [2023-01-03T17:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 660 Jan 3 17:31 Jenkinsfile [2023-01-03T17:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 17:31 LICENSE [2023-01-03T17:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 2457 Jan 3 17:31 Makefile [2023-01-03T17:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 623 Jan 3 17:31 OWNERS.md [2023-01-03T17:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 3578 Jan 3 17:31 README.md [2023-01-03T17:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 17:29 VERSION [2023-01-03T17:35:26.691Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 17:31 bin [2023-01-03T17:35:26.691Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:31 cmd [2023-01-03T17:35:26.691Z] -rw-r--r-- 1 jenkins jenkins 44128 Jan 3 17:34 coverage.out [2023-01-03T17:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 3340 Jan 3 17:31 go.mod [2023-01-03T17:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 44412 Jan 3 17:31 go.sum [2023-01-03T17:35:26.691Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:31 internal [2023-01-03T17:35:26.691Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:31 snap [2023-01-03T17:35:26.691Z] -rw-rw-r-- 1 jenkins jenkins 235 Jan 3 17:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:35:27.113Z] + 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=2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 --label arch=arm64 --label version=0.0.0 . [2023-01-03T17:35:27.398Z] Sending build context to Docker daemon 11.9MB [2023-01-03T17:35:27.398Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T17:35:27.398Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-03T17:35:27.398Z] ---> 09bd7f9bb967 [2023-01-03T17:35:27.398Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T17:35:27.667Z] ---> Running in 63c04544e2d4 [2023-01-03T17:35:27.935Z] Removing intermediate container 63c04544e2d4 [2023-01-03T17:35:27.935Z] ---> 680068c84347 [2023-01-03T17:35:27.935Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T17:35:27.936Z] ---> Running in 259cc1ef5482 [2023-01-03T17:35:28.203Z] Removing intermediate container 259cc1ef5482 [2023-01-03T17:35:28.203Z] ---> 0f023092bbcf [2023-01-03T17:35:28.203Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-01-03T17:35:28.203Z] ---> Running in 1bdfdaced380 [2023-01-03T17:35:28.787Z] Removing intermediate container 1bdfdaced380 [2023-01-03T17:35:28.787Z] ---> aead4cc347b2 [2023-01-03T17:35:28.787Z] Step 6/25 : WORKDIR /device-virtual-go [2023-01-03T17:35:28.787Z] ---> Running in 7652c8254343 [2023-01-03T17:35:29.057Z] Removing intermediate container 7652c8254343 [2023-01-03T17:35:29.057Z] ---> f7017dd09fed [2023-01-03T17:35:29.057Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T17:35:29.057Z] ---> Running in b3ad90f91256 [2023-01-03T17:35:30.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T17:35:30.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T17:35:31.245Z] OK: 226 MiB in 55 packages [2023-01-03T17:35:32.214Z] Removing intermediate container b3ad90f91256 [2023-01-03T17:35:32.214Z] ---> b7705a4dbf19 [2023-01-03T17:35:32.214Z] Step 8/25 : COPY go.mod vendor* ./ [2023-01-03T17:35:32.800Z] ---> e2256b610c79 [2023-01-03T17:35:32.800Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T17:35:32.800Z] ---> Running in 79e4b5d5b114 [2023-01-03T17:35:34.757Z] Removing intermediate container 79e4b5d5b114 [2023-01-03T17:35:34.757Z] ---> 3b63ed89bc6b [2023-01-03T17:35:34.757Z] Step 10/25 : COPY . . [2023-01-03T17:35:35.719Z] ---> 15faaadc9adf [2023-01-03T17:35:35.719Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T17:35:35.997Z] ---> Running in a5f4860c51a9 [2023-01-03T17:35:36.267Z] Removing intermediate container a5f4860c51a9 [2023-01-03T17:35:36.267Z] ---> d194d4c58067 [2023-01-03T17:35:36.267Z] Step 12/25 : RUN $MAKE [2023-01-03T17:35:36.267Z] ---> Running in 25689b534fdb [2023-01-03T17:35:37.236Z] 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:38:14.266Z] Removing intermediate container 25689b534fdb [2023-01-03T17:38:14.266Z] ---> 7b5ce684d84e [2023-01-03T17:38:14.266Z] Step 13/25 : FROM alpine:3.16 [2023-01-03T17:38:14.266Z] 3.16: Pulling from library/alpine [2023-01-03T17:38:14.266Z] 6875df1f5354: Pulling fs layer [2023-01-03T17:38:14.266Z] 6875df1f5354: Verifying Checksum [2023-01-03T17:38:14.266Z] 6875df1f5354: Download complete [2023-01-03T17:38:14.266Z] 6875df1f5354: Pull complete [2023-01-03T17:38:14.266Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T17:38:14.266Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T17:38:14.266Z] ---> 2b4661558fb8 [2023-01-03T17:38:14.266Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-01-03T17:38:14.266Z] ---> Running in 0eb946f0e9a3 [2023-01-03T17:38:14.266Z] Removing intermediate container 0eb946f0e9a3 [2023-01-03T17:38:14.266Z] ---> 891152646ca0 [2023-01-03T17:38:14.266Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T17:38:14.266Z] ---> Running in 3ba3edda11cc [2023-01-03T17:38:14.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T17:38:14.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T17:38:14.266Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T17:38:14.266Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T17:38:14.266Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T17:38:14.266Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T17:38:14.266Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T17:38:14.266Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T17:38:14.266Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T17:38:14.266Z] OK: 8 MiB in 20 packages [2023-01-03T17:38:14.266Z] Removing intermediate container 3ba3edda11cc [2023-01-03T17:38:14.266Z] ---> f9be13f6b6fd [2023-01-03T17:38:14.266Z] Step 16/25 : WORKDIR / [2023-01-03T17:38:14.266Z] ---> Running in 7d2a59940d9a [2023-01-03T17:38:14.266Z] Removing intermediate container 7d2a59940d9a [2023-01-03T17:38:14.266Z] ---> 3077379755aa [2023-01-03T17:38:14.266Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-01-03T17:38:14.266Z] ---> 12e83f15b821 [2023-01-03T17:38:14.266Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-01-03T17:38:14.266Z] ---> 79825c8f4e71 [2023-01-03T17:38:14.266Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-01-03T17:38:14.266Z] ---> 34cab4915494 [2023-01-03T17:38:14.266Z] Step 20/25 : EXPOSE 59900 [2023-01-03T17:38:14.266Z] ---> Running in 98675d2ebaa8 [2023-01-03T17:38:14.266Z] Removing intermediate container 98675d2ebaa8 [2023-01-03T17:38:14.266Z] ---> 74bd4f54222d [2023-01-03T17:38:14.266Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-01-03T17:38:14.266Z] ---> Running in 38a1cb273102 [2023-01-03T17:38:14.266Z] Removing intermediate container 38a1cb273102 [2023-01-03T17:38:14.266Z] ---> 814b68df1ea1 [2023-01-03T17:38:14.266Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T17:38:14.266Z] ---> Running in 3dd9da9726d9 [2023-01-03T17:38:14.266Z] Removing intermediate container 3dd9da9726d9 [2023-01-03T17:38:14.266Z] ---> 872ee57a078b [2023-01-03T17:38:14.266Z] Step 23/25 : LABEL arch=arm64 [2023-01-03T17:38:14.266Z] ---> Running in 43751ac87ac2 [2023-01-03T17:38:14.266Z] Removing intermediate container 43751ac87ac2 [2023-01-03T17:38:14.266Z] ---> 9431a918ea22 [2023-01-03T17:38:14.266Z] Step 24/25 : LABEL git_sha=2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [2023-01-03T17:38:14.266Z] ---> Running in 6fafc244641f [2023-01-03T17:38:14.266Z] Removing intermediate container 6fafc244641f [2023-01-03T17:38:14.266Z] ---> b218b0d4f6f1 [2023-01-03T17:38:14.266Z] Step 25/25 : LABEL version=0.0.0 [2023-01-03T17:38:14.266Z] ---> Running in 13da36d9e406 [2023-01-03T17:38:14.266Z] Removing intermediate container 13da36d9e406 [2023-01-03T17:38:14.266Z] ---> 770166b06b8f [2023-01-03T17:38:14.266Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T17:38:14.266Z] Successfully built 770166b06b8f [2023-01-03T17:38:14.266Z] 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-03T17:38:15.044Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T17:38:15.045Z] [2023-01-03T17:38:15.045Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:38:15.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T17:38:15.446Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-03T17:38:15.446Z] 8998bd30e6a1: Pulling fs layer [2023-01-03T17:38:15.446Z] 04944245beec: Pulling fs layer [2023-01-03T17:38:15.446Z] 699f458cf7ca: Pulling fs layer [2023-01-03T17:38:15.446Z] 765212b225bb: Pulling fs layer [2023-01-03T17:38:15.446Z] f23df028b6ca: Pulling fs layer [2023-01-03T17:38:15.446Z] d65c8cfc05b1: Pulling fs layer [2023-01-03T17:38:15.446Z] 2437ff75d9bd: Pulling fs layer [2023-01-03T17:38:15.446Z] 765212b225bb: Waiting [2023-01-03T17:38:15.446Z] f23df028b6ca: Waiting [2023-01-03T17:38:15.446Z] d65c8cfc05b1: Waiting [2023-01-03T17:38:15.446Z] 2437ff75d9bd: Waiting [2023-01-03T17:38:15.717Z] 04944245beec: Verifying Checksum [2023-01-03T17:38:15.717Z] 04944245beec: Download complete [2023-01-03T17:38:15.717Z] 765212b225bb: Verifying Checksum [2023-01-03T17:38:15.717Z] 765212b225bb: Download complete [2023-01-03T17:38:15.717Z] f23df028b6ca: Download complete [2023-01-03T17:38:15.717Z] d65c8cfc05b1: Verifying Checksum [2023-01-03T17:38:15.717Z] d65c8cfc05b1: Download complete [2023-01-03T17:38:15.717Z] 699f458cf7ca: Verifying Checksum [2023-01-03T17:38:15.717Z] 699f458cf7ca: Download complete [2023-01-03T17:38:16.303Z] 8998bd30e6a1: Verifying Checksum [2023-01-03T17:38:16.303Z] 8998bd30e6a1: Download complete [2023-01-03T17:38:18.886Z] 2437ff75d9bd: Verifying Checksum [2023-01-03T17:38:18.886Z] 2437ff75d9bd: Download complete [2023-01-03T17:38:20.297Z] 8998bd30e6a1: Pull complete [2023-01-03T17:38:20.565Z] 04944245beec: Pull complete [2023-01-03T17:38:21.974Z] 699f458cf7ca: Pull complete [2023-01-03T17:38:22.241Z] 765212b225bb: Pull complete [2023-01-03T17:38:22.824Z] f23df028b6ca: Pull complete [2023-01-03T17:38:23.093Z] d65c8cfc05b1: Pull complete [2023-01-03T17:38:38.098Z] 2437ff75d9bd: Pull complete [2023-01-03T17:38:38.098Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-03T17:38:38.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T17:38:38.098Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:38:38.432Z] prd-ubuntu20.04-docker-arm64-4c-16g-911 does not seem to be running inside a container [2023-01-03T17:38:38.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-03T17:38:41.107Z] $ docker top 63b09836e101df5ff7f2903af3f6ae0d7409696478d0d081f8547309410a5971 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:38:42.023Z] ---> job-cost.sh [2023-01-03T17:38:42.023Z] lf-activate-venv: SKIPPING [2023-01-03T17:38:42.023Z] INFO: No Stack... [2023-01-03T17:38:42.290Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-03T17:38:43.248Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T17:38:43.900Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-01-03T17:38:43.900Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T17:38:43.988Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] [2023-01-03T17:38:43.994Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] did not exist. Created. [2023-01-03T17:38:43.994Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T17:38:44.736Z] /w/workspace/device-virtual-go/1@tmp/durable-e13223fd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-03T17:38:45.412Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-03T17:38:45.445Z] Warning: overwriting stash ‘stack-cost’ [2023-01-03T17:38:45.495Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T17:38:45.516Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T17:38:45.594Z] $ docker stop --time=1 63b09836e101df5ff7f2903af3f6ae0d7409696478d0d081f8547309410a5971 [2023-01-03T17:38:47.078Z] $ docker rm -f --volumes 63b09836e101df5ff7f2903af3f6ae0d7409696478d0d081f8547309410a5971 [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-03T17:38:48.023Z] provisioning config files... [2023-01-03T17:38:48.031Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config17405518858052027505tmp [Pipeline] { [Pipeline] sh [2023-01-03T17:38:48.357Z] + set +x [2023-01-03T17:38:48.357Z] + curl -s https://codecov.io/bash [2023-01-03T17:38:48.357Z] + bash -s -- [2023-01-03T17:38:48.357Z] [2023-01-03T17:38:48.357Z] _____ _ [2023-01-03T17:38:48.357Z] / ____| | | [2023-01-03T17:38:48.357Z] | | ___ __| | ___ ___ _____ __ [2023-01-03T17:38:48.357Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-03T17:38:48.357Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-03T17:38:48.357Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-03T17:38:48.357Z] Bash-1.0.6 [2023-01-03T17:38:48.357Z] [2023-01-03T17:38:48.357Z] [2023-01-03T17:38:48.357Z] ==> git version 2.25.1 found [2023-01-03T17:38:48.357Z] ==> 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-03T17:38:48.357Z] Release-Date: 2020-01-08 [2023-01-03T17:38:48.357Z] 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-03T17:38:48.357Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-03T17:38:48.357Z] ==> Jenkins CI detected. [2023-01-03T17:38:48.357Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-323 [2023-01-03T17:38:48.357Z] project root: . [2023-01-03T17:38:48.357Z] --> token set from env [2023-01-03T17:38:48.357Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-03T17:38:48.357Z] ==> Running gcov in . (disable via -X gcov) [2023-01-03T17:38:48.357Z] ==> Python coveragepy not found [2023-01-03T17:38:48.357Z] ==> Searching for coverage reports in: [2023-01-03T17:38:48.357Z] + . [2023-01-03T17:38:48.357Z] -> Found 1 reports [2023-01-03T17:38:48.357Z] ==> Detecting git/mercurial file structure [2023-01-03T17:38:48.357Z] ==> Reading reports [2023-01-03T17:38:48.357Z] + ./coverage.out bytes=44128 [2023-01-03T17:38:48.357Z] ==> Appending adjustments [2023-01-03T17:38:48.357Z] https://docs.codecov.io/docs/fixing-reports [2023-01-03T17:38:48.617Z] + Found adjustments [2023-01-03T17:38:48.617Z] ==> Gzipping contents [2023-01-03T17:38:48.617Z] 8.0K /tmp/codecov.JMCIJp.gz [2023-01-03T17:38:48.617Z] ==> Uploading reports [2023-01-03T17:38:48.617Z] url: https://codecov.io [2023-01-03T17:38:48.617Z] query: branch=PR-323&commit=2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-323%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=323&job=&cmd_args= [2023-01-03T17:38:48.617Z] -> Pinging Codecov [2023-01-03T17:38:48.617Z] 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=2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-323%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=323&job=&cmd_args= [2023-01-03T17:38:49.184Z] -> Uploading to [2023-01-03T17:38:49.184Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-03/5E52B4B073DB2E39498172D8E973AA87/2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811/1b8010c1-1165-4142-8824-91369c4e45a4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T173848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=065725bb5c4339465b45b8bd83191263c453ba6d5eacaa25809ddcda1237c796 [2023-01-03T17:38:49.184Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T17:38:49.184Z] Dload Upload Total Spent Left Speed [2023-01-03T17:38:49.184Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5468 0 0 100 5468 0 26935 --:--:-- --:--:-- --:--:-- 26803 100 5468 0 0 100 5468 0 26162 --:--:-- --:--:-- --:--:-- 26038 [2023-01-03T17:38:49.184Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [Pipeline] } [2023-01-03T17:38:49.216Z] 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-03T17:38:50.960Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-323/archives ] [2023-01-03T17:38:50.960Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-323/archives [2023-01-03T17:38:50.960Z] total 16 [2023-01-03T17:38:50.960Z] drwxr-xr-x 3 root root 4096 Jan 3 17:31 . [2023-01-03T17:38:50.960Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 17:31 .. [2023-01-03T17:38:50.960Z] drwxr-xr-x 2 root root 4096 Jan 3 17:31 cost [2023-01-03T17:38:50.960Z] -rw-r--r-- 1 root root 89 Jan 3 17:31 cost.csv [2023-01-03T17:38:50.960Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-323/archives [2023-01-03T17:38:50.960Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-323/archives [2023-01-03T17:38:50.960Z] total 16 [2023-01-03T17:38:50.960Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 17:31 . [2023-01-03T17:38:50.960Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 17:31 .. [2023-01-03T17:38:50.960Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 17:31 cost [2023-01-03T17:38:50.960Z] -rw-r--r-- 1 jenkins jenkins 89 Jan 3 17:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:38:51.286Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:38:52.178Z] ---> package-listing.sh [2023-01-03T17:38:52.178Z] ++ facter osfamily [2023-01-03T17:38:52.178Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-03T17:38:52.437Z] + OS_FAMILY=debian [2023-01-03T17:38:52.437Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-323 [2023-01-03T17:38:52.437Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-03T17:38:52.437Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-03T17:38:52.437Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-03T17:38:52.437Z] + PACKAGES=/tmp/packages_start.txt [2023-01-03T17:38:52.437Z] + '[' /w/workspace/foundry_device-virtual-go_PR-323 ']' [2023-01-03T17:38:52.437Z] + PACKAGES=/tmp/packages_end.txt [2023-01-03T17:38:52.437Z] + case "${OS_FAMILY}" in [2023-01-03T17:38:52.437Z] + dpkg -l [2023-01-03T17:38:52.437Z] + grep '^ii' [2023-01-03T17:38:52.437Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-03T17:38:52.437Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-03T17:38:52.437Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-03T17:38:52.437Z] + '[' /w/workspace/foundry_device-virtual-go_PR-323 ']' [2023-01-03T17:38:52.437Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-323/archives/ [2023-01-03T17:38:52.437Z] + 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-03T17:38:52.472Z] 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-03T17:38:52.764Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T17:38:53.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T17:38:53.386Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T17:38:53.526Z] prd-ubuntu20.04-docker-8c-8g-910 does not seem to be running inside a container [2023-01-03T17:38:53.557Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T17:38:53.781Z] $ docker top 9c86cdb5bf1961bb21b4819844a99e495f0f10c54200156273868cec1e640b2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T17:38:54.183Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-03T17:38:54.494Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-03T17:38:54.806Z] + ls /var/log/sa-host [2023-01-03T17:38:54.806Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T17:38:54.941Z] provisioning config files... [2023-01-03T17:38:54.950Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config3393348357519084138tmp [Pipeline] { [Pipeline] echo [2023-01-03T17:38:54.999Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:38:55.310Z] ---> create-netrc.sh [Pipeline] } [2023-01-03T17:38:55.338Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:38:55.735Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-03T17:38:55.768Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:38:56.088Z] ---> sudo-logs.sh [2023-01-03T17:38:56.088Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-03T17:38:56.174Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:38:56.484Z] ---> job-cost.sh [2023-01-03T17:38:56.484Z] lf-activate-venv: SKIPPING [2023-01-03T17:38:56.484Z] DEBUG: total: 0.2199999988079071 [2023-01-03T17:38:56.484Z] INFO: Retrieving Stack Cost... [2023-01-03T17:38:57.053Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T17:38:57.312Z] INFO: Archiving Costs [Pipeline] echo [2023-01-03T17:38:57.362Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T17:38:57.674Z] ---> logs-deploy.sh [2023-01-03T17:38:57.674Z] lf-activate-venv: SKIPPING [2023-01-03T17:38:57.674Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-323/1 [2023-01-03T17:38:57.674Z] INFO: archiving workspace using pattern(s): [2023-01-03T17:38:58.612Z] Archives upload complete. [2023-01-03T17:38:58.612Z] INFO: archiving logs to Nexus