Pull request #429 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 931ddb78cc229628a14cb0e91f89b3ffb16c2965+d121d4b12413d22e246e49a32881448e0ea11499 (dccb6b81b5be0ffe1d961938a0912fd24a8bfd6a) 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-ssh8121108182790214743.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh6130423315770075938.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-429/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-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12287314179762771428.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-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2783347982086177075.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh11703442389853472428.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-429/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-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6517777237788834675.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6536 in /w/workspace/foundry_device-virtual-go_PR-429 [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-429 # 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 Merging remotes/origin/main commit d121d4b12413d22e246e49a32881448e0ea11499 into PR head commit 931ddb78cc229628a14cb0e91f89b3ffb16c2965 Merge succeeded, producing 931ddb78cc229628a14cb0e91f89b3ffb16c2965 Checking out Revision 931ddb78cc229628a14cb0e91f89b3ffb16c2965 (PR-429) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > 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/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 931ddb78cc229628a14cb0e91f89b3ffb16c2965 # 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 d121d4b12413d22e246e49a32881448e0ea11499 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 931ddb78cc229628a14cb0e91f89b3ffb16c2965 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-19T11:57:01.191Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-19T11:57:01.411Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-19T11:57:01.536Z] ========================================================= [2023-09-19T11:57:01.536Z] EdgeX Global Pipelines Version Info [2023-09-19T11:57:01.536Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-19T11:57:02.290Z] ------------------- [2023-09-19T11:57:02.290Z] stable info: [2023-09-19T11:57:02.290Z] ------------------- [2023-09-19T11:57:02.290Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-19T11:57:02.291Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T11:57:02.291Z] Message: update stable to v1.0.254 [2023-09-19T11:57:02.860Z] ------------------- [2023-09-19T11:57:02.860Z] experimental info: [2023-09-19T11:57:02.860Z] ------------------- [2023-09-19T11:57:02.860Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-19T11:57:02.860Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T11:57:02.860Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-19T11:57:03.165Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-09-19T11:57:03.210Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-09-19T11:57:03.255Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-19T11:57:03.316Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-19T11:57:03.361Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-19T11:57:03.408Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-19T11:57:03.450Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-19T11:57:03.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-19T11:57:03.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-19T11:57:03.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-19T11:57:03.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-19T11:57:03.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-09-19T11:57:03.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-19T11:57:03.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-19T11:57:03.875Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T11:57:03.911Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T11:57:03.950Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T11:57:03.993Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T11:57:04.037Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-19T11:57:04.080Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-19T11:57:04.125Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-19T11:57:04.166Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-19T11:57:04.209Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-19T11:57:04.265Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-19T11:57:04.307Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-19T11:57:04.352Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-19T11:57:04.397Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-19T11:57:04.441Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-429 [Pipeline] echo [2023-09-19T11:57:04.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-429 [Pipeline] echo [2023-09-19T11:57:04.533Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-429 [Pipeline] echo [2023-09-19T11:57:04.579Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 931ddb78cc229628a14cb0e91f89b3ffb16c2965 [Pipeline] echo [2023-09-19T11:57:04.629Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 931ddb7 [Pipeline] echo [2023-09-19T11:57:04.676Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T11:57:04.812Z] provisioning config files... [2023-09-19T11:57:04.827Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-429@tmp/config4467734451085012092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T11:57:05.200Z] ---> docker-login.sh [2023-09-19T11:57:05.200Z] nexus3.edgexfoundry.org:10001 [2023-09-19T11:57:05.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T11:57:05.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T11:57:05.461Z] Configure a credential helper to remove this warning. See [2023-09-19T11:57:05.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T11:57:05.461Z] [2023-09-19T11:57:05.461Z] Login Succeeded [2023-09-19T11:57:05.461Z] nexus3.edgexfoundry.org:10002 [2023-09-19T11:57:05.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T11:57:05.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T11:57:05.722Z] Configure a credential helper to remove this warning. See [2023-09-19T11:57:05.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T11:57:05.722Z] [2023-09-19T11:57:05.722Z] Login Succeeded [2023-09-19T11:57:05.722Z] nexus3.edgexfoundry.org:10003 [2023-09-19T11:57:05.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T11:57:05.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T11:57:05.722Z] Configure a credential helper to remove this warning. See [2023-09-19T11:57:05.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T11:57:05.722Z] [2023-09-19T11:57:05.722Z] Login Succeeded [2023-09-19T11:57:05.722Z] nexus3.edgexfoundry.org:10004 [2023-09-19T11:57:05.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T11:57:05.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T11:57:05.984Z] Configure a credential helper to remove this warning. See [2023-09-19T11:57:05.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T11:57:05.984Z] [2023-09-19T11:57:05.984Z] Login Succeeded [2023-09-19T11:57:05.984Z] docker.io [2023-09-19T11:57:05.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T11:57:06.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T11:57:06.244Z] Configure a credential helper to remove this warning. See [2023-09-19T11:57:06.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T11:57:06.244Z] [2023-09-19T11:57:06.244Z] Login Succeeded [2023-09-19T11:57:06.244Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T11:57:06.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-19T11:57:06.933Z] + git rev-list -1 --merges 931ddb78cc229628a14cb0e91f89b3ffb16c2965~1..931ddb78cc229628a14cb0e91f89b3ffb16c2965 [Pipeline] echo [2023-09-19T11:57:06.999Z] -----------> git rev-list -1 --merges 931ddb78cc229628a14cb0e91f89b3ffb16c2965~1..931ddb78cc229628a14cb0e91f89b3ffb16c2965 931ddb78cc229628a14cb0e91f89b3ffb16c2965 [false] [Pipeline] sh [2023-09-19T11:57:07.364Z] + git log --format=format:%s -1 931ddb78cc229628a14cb0e91f89b3ffb16c2965 [Pipeline] echo [2023-09-19T11:57:07.401Z] ========================================================= [2023-09-19T11:57:07.401Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-19T11:57:07.401Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T11:57:07.904Z] + git log --format=format:%s -1 931ddb78cc229628a14cb0e91f89b3ffb16c2965 [Pipeline] echo [2023-09-19T11:57:07.942Z] [semverPrep] GIT_COMMIT: 931ddb78cc229628a14cb0e91f89b3ffb16c2965, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-09-19T11:57:07.977Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-19T11:57:08.381Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T11:57:08.381Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-19T11:57:08.381Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-19T11:57:08.381Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-19T11:57:08.381Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-19T11:57:08.381Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-19T11:57:08.381Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T11:57:08.919Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T11:57:08.919Z] [2023-09-19T11:57:08.919Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T11:57:09.298Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T11:57:09.559Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-19T11:57:09.559Z] b85a868b505f: Pulling fs layer [2023-09-19T11:57:09.559Z] e2be974225ed: Pulling fs layer [2023-09-19T11:57:09.559Z] 339a4e72a1f5: Pulling fs layer [2023-09-19T11:57:09.559Z] 988bab9f4d93: Pulling fs layer [2023-09-19T11:57:09.559Z] 1469e6f7b9e6: Pulling fs layer [2023-09-19T11:57:09.559Z] eaf3925da568: Pulling fs layer [2023-09-19T11:57:09.559Z] bab4dde63d76: Pulling fs layer [2023-09-19T11:57:09.559Z] bde34c3a00c8: Pulling fs layer [2023-09-19T11:57:09.559Z] b352a97aabf1: Pulling fs layer [2023-09-19T11:57:09.559Z] 4872d77fe225: Pulling fs layer [2023-09-19T11:57:09.559Z] 5851b861e8e6: Pulling fs layer [2023-09-19T11:57:09.559Z] 1469e6f7b9e6: Waiting [2023-09-19T11:57:09.559Z] eaf3925da568: Waiting [2023-09-19T11:57:09.559Z] bab4dde63d76: Waiting [2023-09-19T11:57:09.559Z] 4872d77fe225: Waiting [2023-09-19T11:57:09.559Z] 5851b861e8e6: Waiting [2023-09-19T11:57:09.559Z] bde34c3a00c8: Waiting [2023-09-19T11:57:09.559Z] b352a97aabf1: Waiting [2023-09-19T11:57:09.560Z] 988bab9f4d93: Waiting [2023-09-19T11:57:09.560Z] e2be974225ed: Verifying Checksum [2023-09-19T11:57:09.560Z] e2be974225ed: Download complete [2023-09-19T11:57:09.819Z] 339a4e72a1f5: Verifying Checksum [2023-09-19T11:57:09.819Z] 339a4e72a1f5: Download complete [2023-09-19T11:57:09.819Z] 1469e6f7b9e6: Verifying Checksum [2023-09-19T11:57:09.819Z] 1469e6f7b9e6: Download complete [2023-09-19T11:57:09.819Z] eaf3925da568: Verifying Checksum [2023-09-19T11:57:09.819Z] eaf3925da568: Download complete [2023-09-19T11:57:09.819Z] b85a868b505f: Verifying Checksum [2023-09-19T11:57:09.819Z] b85a868b505f: Download complete [2023-09-19T11:57:09.819Z] bde34c3a00c8: Download complete [2023-09-19T11:57:09.819Z] 988bab9f4d93: Download complete [2023-09-19T11:57:09.819Z] 4872d77fe225: Verifying Checksum [2023-09-19T11:57:09.819Z] 4872d77fe225: Download complete [2023-09-19T11:57:09.819Z] b352a97aabf1: Verifying Checksum [2023-09-19T11:57:09.819Z] b352a97aabf1: Download complete [2023-09-19T11:57:09.819Z] 5851b861e8e6: Verifying Checksum [2023-09-19T11:57:09.819Z] 5851b861e8e6: Download complete [2023-09-19T11:57:10.388Z] bab4dde63d76: Verifying Checksum [2023-09-19T11:57:10.388Z] bab4dde63d76: Download complete [2023-09-19T11:57:10.958Z] b85a868b505f: Pull complete [2023-09-19T11:57:10.958Z] e2be974225ed: Pull complete [2023-09-19T11:57:11.537Z] 339a4e72a1f5: Pull complete [2023-09-19T11:57:11.537Z] 988bab9f4d93: Pull complete [2023-09-19T11:57:11.798Z] 1469e6f7b9e6: Pull complete [2023-09-19T11:57:12.058Z] eaf3925da568: Pull complete [2023-09-19T11:57:13.436Z] bab4dde63d76: Pull complete [2023-09-19T11:57:13.695Z] bde34c3a00c8: Pull complete [2023-09-19T11:57:13.695Z] b352a97aabf1: Pull complete [2023-09-19T11:57:13.955Z] 4872d77fe225: Pull complete [2023-09-19T11:57:13.955Z] 5851b861e8e6: Pull complete [2023-09-19T11:57:13.955Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-19T11:57:13.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T11:57:13.955Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T11:57:14.221Z] prd-ubuntu20.04-docker-8c-8g-6536 does not seem to be running inside a container [2023-09-19T11:57:14.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-429 -v /w/workspace/foundry_device-virtual-go_PR-429:/w/workspace/foundry_device-virtual-go_PR-429:rw,z -v /w/workspace/foundry_device-virtual-go_PR-429@tmp:/w/workspace/foundry_device-virtual-go_PR-429@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-19T11:57:17.932Z] $ docker top 9abffb753deb5b0510e88d4948d9dc6059dcc58142b967c1d81ac61da4cc063b -eo pid,comm [2023-09-19T11:57:17.975Z] 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-09-19T11:57:17.975Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T11:57:18.126Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T11:57:18.126Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T11:57:18.259Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T11:57:18.270Z] $ docker exec 9abffb753deb5b0510e88d4948d9dc6059dcc58142b967c1d81ac61da4cc063b ssh-agent [2023-09-19T11:57:18.361Z] SSH_AUTH_SOCK=/tmp/ssh-eEOpp4oKENGW/agent.33 [2023-09-19T11:57:18.361Z] SSH_AGENT_PID=39 [2023-09-19T11:57:18.380Z] Running ssh-add (command line suppressed) [2023-09-19T11:57:18.490Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-429@tmp/private_key_10563408208717040037.key (/w/workspace/foundry_device-virtual-go_PR-429@tmp/private_key_10563408208717040037.key) [2023-09-19T11:57:18.496Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T11:57:18.844Z] + git tag --points-at HEAD [Pipeline] } [2023-09-19T11:57:18.884Z] $ docker exec --env ******** --env ******** 9abffb753deb5b0510e88d4948d9dc6059dcc58142b967c1d81ac61da4cc063b ssh-agent -k [2023-09-19T11:57:18.975Z] unset SSH_AUTH_SOCK; [2023-09-19T11:57:18.975Z] unset SSH_AGENT_PID; [2023-09-19T11:57:18.976Z] echo Agent pid 39 killed; [2023-09-19T11:57:18.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-19T11:57:19.089Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T11:57:19.089Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T11:57:19.191Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T11:57:19.202Z] $ docker exec 9abffb753deb5b0510e88d4948d9dc6059dcc58142b967c1d81ac61da4cc063b ssh-agent [2023-09-19T11:57:19.293Z] SSH_AUTH_SOCK=/tmp/ssh-3yxK2Lo6l3JZ/agent.71 [2023-09-19T11:57:19.293Z] SSH_AGENT_PID=77 [2023-09-19T11:57:19.304Z] Running ssh-add (command line suppressed) [2023-09-19T11:57:19.413Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-429@tmp/private_key_45143479007618921.key (/w/workspace/foundry_device-virtual-go_PR-429@tmp/private_key_45143479007618921.key) [2023-09-19T11:57:19.421Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T11:57:19.761Z] + git semver init [2023-09-19T11:57:20.022Z] 2023-09-19 11:57:19,979 [run_init] DEBUG init version:0.0.0 force:False [2023-09-19T11:57:20.022Z] 2023-09-19 11:57:19,980 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-429/.semver [2023-09-19T11:57:20.022Z] 2023-09-19 11:57:19,980 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-429/.semver [2023-09-19T11:57:20.022Z] 2023-09-19 11:57:19,980 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-429/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-429, universal_newlines=False, shell=None, istream=None) [2023-09-19T11:57:21.403Z] 2023-09-19 11:57:21,123 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-429/.git/info/exclude [2023-09-19T11:57:21.403Z] 2023-09-19 11:57:21,123 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-429/.semver/PR-429 with force:False [2023-09-19T11:57:21.403Z] 2023-09-19 11:57:21,123 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-429/.semver/PR-429 [2023-09-19T11:57:21.403Z] 2023-09-19 11:57:21,128 [execute] INFO git cat-file --batch-check [2023-09-19T11:57:21.403Z] 2023-09-19 11:57:21,128 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T11:57:21.403Z] 2023-09-19 11:57:21,134 [execute] INFO git cat-file --batch [2023-09-19T11:57:21.403Z] 2023-09-19 11:57:21,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T11:57:21.403Z] 2023-09-19 11:57:21,138 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-429/.semver/PR-429 [2023-09-19T11:57:21.403Z] 0.0.0 [Pipeline] } [2023-09-19T11:57:21.436Z] $ docker exec --env ******** --env ******** 9abffb753deb5b0510e88d4948d9dc6059dcc58142b967c1d81ac61da4cc063b ssh-agent -k [2023-09-19T11:57:21.530Z] unset SSH_AUTH_SOCK; [2023-09-19T11:57:21.530Z] unset SSH_AGENT_PID; [2023-09-19T11:57:21.530Z] echo Agent pid 77 killed; [2023-09-19T11:57:21.533Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T11:57:21.980Z] + git semver [Pipeline] } [2023-09-19T11:57:22.275Z] $ docker stop --time=1 9abffb753deb5b0510e88d4948d9dc6059dcc58142b967c1d81ac61da4cc063b [2023-09-19T11:57:23.595Z] $ docker rm -f --volumes 9abffb753deb5b0510e88d4948d9dc6059dcc58142b967c1d81ac61da4cc063b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T11:57:23.996Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-19T11:57:24.303Z] Stashed 1 file(s) [Pipeline] echo [2023-09-19T11:57:24.325Z] [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-09-19T11:57:24.972Z] provisioning config files... [2023-09-19T11:57:24.985Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-429@tmp/config5925560846486640739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T11:57:25.342Z] ---> docker-login.sh [2023-09-19T11:57:25.342Z] nexus3.edgexfoundry.org:10001 [2023-09-19T11:57:25.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T11:57:25.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T11:57:25.342Z] Configure a credential helper to remove this warning. See [2023-09-19T11:57:25.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T11:57:25.342Z] [2023-09-19T11:57:25.342Z] Login Succeeded [2023-09-19T11:57:25.342Z] nexus3.edgexfoundry.org:10002 [2023-09-19T11:57:25.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T11:57:25.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T11:57:25.342Z] Configure a credential helper to remove this warning. See [2023-09-19T11:57:25.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T11:57:25.342Z] [2023-09-19T11:57:25.342Z] Login Succeeded [2023-09-19T11:57:25.342Z] nexus3.edgexfoundry.org:10003 [2023-09-19T11:57:25.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T11:57:25.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T11:57:25.602Z] Configure a credential helper to remove this warning. See [2023-09-19T11:57:25.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T11:57:25.602Z] [2023-09-19T11:57:25.602Z] Login Succeeded [2023-09-19T11:57:25.602Z] nexus3.edgexfoundry.org:10004 [2023-09-19T11:57:25.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T11:57:25.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T11:57:25.602Z] Configure a credential helper to remove this warning. See [2023-09-19T11:57:25.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T11:57:25.602Z] [2023-09-19T11:57:25.602Z] Login Succeeded [2023-09-19T11:57:25.602Z] docker.io [2023-09-19T11:57:25.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T11:57:25.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T11:57:25.861Z] Configure a credential helper to remove this warning. See [2023-09-19T11:57:25.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T11:57:25.861Z] [2023-09-19T11:57:25.861Z] Login Succeeded [2023-09-19T11:57:25.861Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T11:57:25.894Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T11:57:26.104Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T11:57:26.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T11:57:26.193Z] ========================================================= [2023-09-19T11:57:26.193Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-19T11:57:26.193Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T11:57:26.738Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T11:57:26.738Z] Sending build context to Docker daemon 23.63MB [2023-09-19T11:57:26.738Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T11:57:26.738Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-19T11:57:26.997Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-19T11:57:26.997Z] 7264a8db6415: Pulling fs layer [2023-09-19T11:57:26.997Z] c4d48a809fc2: Pulling fs layer [2023-09-19T11:57:26.997Z] 4f1c88b9dad5: Pulling fs layer [2023-09-19T11:57:26.997Z] ad3a456e5733: Pulling fs layer [2023-09-19T11:57:26.997Z] 9e4f439ed901: Pulling fs layer [2023-09-19T11:57:26.997Z] feaf6a47b606: Pulling fs layer [2023-09-19T11:57:26.997Z] 5e8b037d7d82: Pulling fs layer [2023-09-19T11:57:26.997Z] 8ac70367396e: Pulling fs layer [2023-09-19T11:57:26.997Z] 6db16350a2e2: Pulling fs layer [2023-09-19T11:57:26.997Z] 9250d5d63582: Pulling fs layer [2023-09-19T11:57:26.997Z] ad3a456e5733: Waiting [2023-09-19T11:57:26.997Z] 9e4f439ed901: Waiting [2023-09-19T11:57:26.997Z] feaf6a47b606: Waiting [2023-09-19T11:57:26.997Z] 5e8b037d7d82: Waiting [2023-09-19T11:57:26.997Z] 8ac70367396e: Waiting [2023-09-19T11:57:26.997Z] 6db16350a2e2: Waiting [2023-09-19T11:57:26.997Z] 9250d5d63582: Waiting [2023-09-19T11:57:26.997Z] c4d48a809fc2: Verifying Checksum [2023-09-19T11:57:26.997Z] c4d48a809fc2: Download complete [2023-09-19T11:57:26.997Z] ad3a456e5733: Verifying Checksum [2023-09-19T11:57:26.997Z] ad3a456e5733: Download complete [2023-09-19T11:57:26.997Z] 9e4f439ed901: Verifying Checksum [2023-09-19T11:57:26.997Z] 9e4f439ed901: Download complete [2023-09-19T11:57:26.997Z] 7264a8db6415: Verifying Checksum [2023-09-19T11:57:26.997Z] 7264a8db6415: Download complete [2023-09-19T11:57:26.997Z] feaf6a47b606: Verifying Checksum [2023-09-19T11:57:26.997Z] feaf6a47b606: Download complete [2023-09-19T11:57:27.255Z] 7264a8db6415: Pull complete [2023-09-19T11:57:27.255Z] 8ac70367396e: Verifying Checksum [2023-09-19T11:57:27.255Z] 8ac70367396e: Download complete [2023-09-19T11:57:27.255Z] c4d48a809fc2: Pull complete [2023-09-19T11:57:27.514Z] 4f1c88b9dad5: Download complete [2023-09-19T11:57:28.080Z] 6db16350a2e2: Verifying Checksum [2023-09-19T11:57:28.080Z] 6db16350a2e2: Download complete [2023-09-19T11:57:28.080Z] 5e8b037d7d82: Verifying Checksum [2023-09-19T11:57:28.080Z] 5e8b037d7d82: Download complete [2023-09-19T11:57:28.080Z] 9250d5d63582: Verifying Checksum [2023-09-19T11:57:28.080Z] 9250d5d63582: Download complete [2023-09-19T11:57:30.607Z] 4f1c88b9dad5: Pull complete [2023-09-19T11:57:30.607Z] ad3a456e5733: Pull complete [2023-09-19T11:57:30.607Z] 9e4f439ed901: Pull complete [2023-09-19T11:57:30.607Z] feaf6a47b606: Pull complete [2023-09-19T11:57:33.140Z] 5e8b037d7d82: Pull complete [2023-09-19T11:57:33.140Z] 8ac70367396e: Pull complete [2023-09-19T11:57:34.078Z] 6db16350a2e2: Pull complete [2023-09-19T11:57:35.012Z] 9250d5d63582: Pull complete [2023-09-19T11:57:35.012Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-19T11:57:35.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-19T11:57:35.012Z] ---> fa269f55d9b9 [2023-09-19T11:57:35.012Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T11:57:39.776Z] Still waiting to schedule task [2023-09-19T11:57:39.776Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-19T11:57:40.292Z] ---> Running in fbd084907284 [2023-09-19T11:57:40.292Z] Removing intermediate container fbd084907284 [2023-09-19T11:57:40.292Z] ---> 7318041a2d05 [2023-09-19T11:57:40.292Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T11:57:40.292Z] ---> Running in ada9075624c6 [2023-09-19T11:57:40.292Z] Removing intermediate container ada9075624c6 [2023-09-19T11:57:40.292Z] ---> d3bbbea1bcf2 [2023-09-19T11:57:40.292Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-19T11:57:40.292Z] ---> Running in e5d60c28e900 [2023-09-19T11:57:40.552Z] Removing intermediate container e5d60c28e900 [2023-09-19T11:57:40.552Z] ---> e1d483a039a0 [2023-09-19T11:57:40.552Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-19T11:57:40.552Z] ---> Running in da8916878b47 [2023-09-19T11:57:40.552Z] Removing intermediate container da8916878b47 [2023-09-19T11:57:40.552Z] ---> 51afa950ac54 [2023-09-19T11:57:40.552Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T11:57:40.552Z] ---> Running in b6ed812c3ba3 [2023-09-19T11:57:40.885Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T11:57:40.885Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T11:57:41.453Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-19T11:57:41.453Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-19T11:57:41.453Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-19T11:57:41.453Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-19T11:57:41.453Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T11:57:41.453Z] OK: 270 MiB in 60 packages [2023-09-19T11:57:42.023Z] Removing intermediate container b6ed812c3ba3 [2023-09-19T11:57:42.023Z] ---> 220e8939a980 [2023-09-19T11:57:42.023Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-19T11:57:42.023Z] ---> f6ef2cb53bc8 [2023-09-19T11:57:42.023Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T11:57:42.023Z] ---> Running in de604fbe792f [2023-09-19T11:58:20.751Z] Removing intermediate container de604fbe792f [2023-09-19T11:58:20.751Z] ---> 60630fc42ed4 [2023-09-19T11:58:20.751Z] Step 10/12 : COPY . . [2023-09-19T11:58:21.689Z] ---> cc3e330b3125 [2023-09-19T11:58:21.689Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T11:58:21.689Z] ---> Running in bb62ffd9e5ec [2023-09-19T11:58:21.689Z] Removing intermediate container bb62ffd9e5ec [2023-09-19T11:58:21.689Z] ---> 28a9fdc54d35 [2023-09-19T11:58:21.689Z] Step 12/12 : RUN $MAKE [2023-09-19T11:58:21.689Z] ---> Running in 41567eac70ec [2023-09-19T11:58:21.950Z] noop [2023-09-19T11:58:22.209Z] Removing intermediate container 41567eac70ec [2023-09-19T11:58:22.209Z] ---> 523023006837 [2023-09-19T11:58:22.209Z] Successfully built 523023006837 [2023-09-19T11:58:22.209Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T11:58:22.664Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T11:58:22.664Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T11:58:22.828Z] prd-ubuntu20.04-docker-8c-8g-6536 does not seem to be running inside a container [2023-09-19T11:58:22.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-429 -v /w/workspace/foundry_device-virtual-go_PR-429:/w/workspace/foundry_device-virtual-go_PR-429:rw,z -v /w/workspace/foundry_device-virtual-go_PR-429@tmp:/w/workspace/foundry_device-virtual-go_PR-429@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 ******** ci-base-image-x86_64 cat [2023-09-19T11:58:23.204Z] $ docker top c7d8e3192b069aa1429f632ece7123c142cefd9f7d6997209b3d8743568be42c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T11:58:23.589Z] + go version [2023-09-19T11:58:23.589Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-19T11:58:23.632Z] $ docker stop --time=1 c7d8e3192b069aa1429f632ece7123c142cefd9f7d6997209b3d8743568be42c [2023-09-19T11:58:24.898Z] $ docker rm -f --volumes c7d8e3192b069aa1429f632ece7123c142cefd9f7d6997209b3d8743568be42c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T11:58:25.603Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T11:58:25.603Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T11:58:25.748Z] prd-ubuntu20.04-docker-8c-8g-6536 does not seem to be running inside a container [2023-09-19T11:58:25.783Z] $ 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-429 -v /w/workspace/foundry_device-virtual-go_PR-429:/w/workspace/foundry_device-virtual-go_PR-429:rw,z -v /w/workspace/foundry_device-virtual-go_PR-429@tmp:/w/workspace/foundry_device-virtual-go_PR-429@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 ******** ci-base-image-x86_64 cat [2023-09-19T11:58:26.085Z] $ docker top ab9b05719cc2680d4842764716fa24df91ec63ff074d36e84b99d4d0ef0cb244 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T11:58:26.513Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-429 [Pipeline] fileExists [Pipeline] sh [2023-09-19T11:58:26.918Z] + make test [2023-09-19T11:58:26.918Z] go test ./... -coverprofile=coverage.out [2023-09-19T11:58:28.295Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-19T11:58:38.262Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-19T11:58:38.262Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.014s coverage: 58.6% of statements [2023-09-19T11:58:43.531Z] go vet ./... [2023-09-19T11:58:46.075Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T11:58:46.075Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T11:58:46.075Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T11:58:46.120Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T11:58:46.158Z] $ docker stop --time=1 ab9b05719cc2680d4842764716fa24df91ec63ff074d36e84b99d4d0ef0cb244 [2023-09-19T11:58:49.525Z] $ docker rm -f --volumes ab9b05719cc2680d4842764716fa24df91ec63ff074d36e84b99d4d0ef0cb244 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T11:58:50.059Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T11:58:50.135Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-19T11:58:51.114Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T11:58:51.431Z] + ls -al . [2023-09-19T11:58:51.431Z] total 204 [2023-09-19T11:58:51.431Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 11:58 . [2023-09-19T11:58:51.431Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 11:56 .. [2023-09-19T11:58:51.431Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 11:58 .git [2023-09-19T11:58:51.431Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 11:57 .github [2023-09-19T11:58:51.431Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 19 11:57 .gitignore [2023-09-19T11:58:51.431Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 11:57 .golangci.yml [2023-09-19T11:58:51.431Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 11:57 .semver [2023-09-19T11:58:51.431Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 19 11:57 Attribution.txt [2023-09-19T11:58:51.431Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 19 11:57 CHANGELOG.md [2023-09-19T11:58:51.431Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 19 11:57 Dockerfile [2023-09-19T11:58:51.431Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 11:57 GOVERNANCE.md [2023-09-19T11:58:51.431Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 19 11:57 Jenkinsfile [2023-09-19T11:58:51.431Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 11:57 LICENSE [2023-09-19T11:58:51.431Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 19 11:57 Makefile [2023-09-19T11:58:51.431Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 19 11:57 OWNERS.md [2023-09-19T11:58:51.431Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 19 11:57 README.md [2023-09-19T11:58:51.431Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 11:57 VERSION [2023-09-19T11:58:51.431Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 11:57 bin [2023-09-19T11:58:51.431Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 11:57 cmd [2023-09-19T11:58:51.431Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 19 11:58 coverage.out [2023-09-19T11:58:51.431Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 19 11:57 go.mod [2023-09-19T11:58:51.431Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 19 11:57 go.sum [2023-09-19T11:58:51.431Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 11:57 internal [2023-09-19T11:58:51.431Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 11:57 snap [2023-09-19T11:58:51.431Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 19 11:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T11:58:51.852Z] + 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=931ddb78cc229628a14cb0e91f89b3ffb16c2965 --label arch=amd64 --label version=0.0.0 . [2023-09-19T11:58:51.852Z] Sending build context to Docker daemon 23.67MB [2023-09-19T11:58:51.852Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T11:58:51.852Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-19T11:58:51.852Z] ---> 523023006837 [2023-09-19T11:58:51.852Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T11:58:52.424Z] ---> Running in 318a45ac7450 [2023-09-19T11:58:52.424Z] Removing intermediate container 318a45ac7450 [2023-09-19T11:58:52.424Z] ---> ec4b46e65fc8 [2023-09-19T11:58:52.424Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T11:58:52.424Z] ---> Running in 8b6b5600ab9d [2023-09-19T11:58:52.424Z] Removing intermediate container 8b6b5600ab9d [2023-09-19T11:58:52.424Z] ---> ad9e16afb820 [2023-09-19T11:58:52.424Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-19T11:58:52.424Z] ---> Running in 07ab8b208be4 [2023-09-19T11:58:52.424Z] Removing intermediate container 07ab8b208be4 [2023-09-19T11:58:52.424Z] ---> 858808db07d9 [2023-09-19T11:58:52.424Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-19T11:58:52.683Z] ---> Running in 60c35998940b [2023-09-19T11:58:52.683Z] Removing intermediate container 60c35998940b [2023-09-19T11:58:52.683Z] ---> 516ead94f5a9 [2023-09-19T11:58:52.683Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T11:58:52.683Z] ---> Running in 3117b4bd1fb9 [2023-09-19T11:58:52.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T11:58:52.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T11:58:53.202Z] OK: 270 MiB in 60 packages [2023-09-19T11:58:53.769Z] Removing intermediate container 3117b4bd1fb9 [2023-09-19T11:58:53.769Z] ---> 0760658a897f [2023-09-19T11:58:53.769Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-19T11:58:53.769Z] ---> 4a8b117bf105 [2023-09-19T11:58:53.769Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T11:58:53.769Z] ---> Running in 5d36848e7719 [2023-09-19T11:58:54.337Z] Removing intermediate container 5d36848e7719 [2023-09-19T11:58:54.337Z] ---> 36264b36fc32 [2023-09-19T11:58:54.337Z] Step 10/25 : COPY . . [2023-09-19T11:58:55.296Z] ---> 51e2758000d1 [2023-09-19T11:58:55.296Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T11:58:55.296Z] ---> Running in 59293918129f [2023-09-19T11:58:55.296Z] Removing intermediate container 59293918129f [2023-09-19T11:58:55.296Z] ---> d40b447c4721 [2023-09-19T11:58:55.296Z] Step 12/25 : RUN $MAKE [2023-09-19T11:58:55.296Z] ---> Running in a47a2f3ece0c [2023-09-19T11:58:55.556Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.25" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-19T11:59:16.728Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6537 in /w/workspace/foundry_device-virtual-go_PR-429 [Pipeline] { [Pipeline] ws [2023-09-19T11:59:16.786Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-09-19T11:59:16.860Z] The recommended git tool is: git [2023-09-19T11:59:17.487Z] Removing intermediate container a47a2f3ece0c [2023-09-19T11:59:17.487Z] ---> 4601f7509566 [2023-09-19T11:59:17.487Z] Step 13/25 : FROM alpine:3.18 [2023-09-19T11:59:17.487Z] 3.18: Pulling from library/alpine [2023-09-19T11:59:17.487Z] 7264a8db6415: Already exists [2023-09-19T11:59:17.487Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T11:59:17.487Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T11:59:17.487Z] ---> 7e01a0d0a1dc [2023-09-19T11:59:17.487Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-19T11:59:17.487Z] ---> Running in d41df1b422c9 [2023-09-19T11:59:17.487Z] Removing intermediate container d41df1b422c9 [2023-09-19T11:59:17.487Z] ---> b8086569b5ab [2023-09-19T11:59:17.487Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-19T11:59:17.487Z] ---> Running in a5e89bcc4b32 [2023-09-19T11:59:17.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T11:59:17.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T11:59:17.487Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-19T11:59:17.487Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T11:59:17.487Z] OK: 7 MiB in 16 packages [2023-09-19T11:59:17.487Z] Removing intermediate container a5e89bcc4b32 [2023-09-19T11:59:17.487Z] ---> 9f74872f6633 [2023-09-19T11:59:17.487Z] Step 16/25 : WORKDIR / [2023-09-19T11:59:17.487Z] ---> Running in 6c3c94f13463 [2023-09-19T11:59:17.487Z] Removing intermediate container 6c3c94f13463 [2023-09-19T11:59:17.487Z] ---> b539332e26e0 [2023-09-19T11:59:17.487Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-19T11:59:17.487Z] ---> cc1cf157dadb [2023-09-19T11:59:17.487Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-19T11:59:17.487Z] ---> 70b565ca5e32 [2023-09-19T11:59:17.487Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-19T11:59:18.058Z] ---> 5305ec281a1d [2023-09-19T11:59:18.058Z] Step 20/25 : EXPOSE 59900 [2023-09-19T11:59:18.058Z] ---> Running in 3c7a9fc3776a [2023-09-19T11:59:18.058Z] Removing intermediate container 3c7a9fc3776a [2023-09-19T11:59:18.058Z] ---> f8c53eab1c23 [2023-09-19T11:59:18.058Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-19T11:59:18.058Z] ---> Running in 17597d5cd80e [2023-09-19T11:59:18.058Z] Removing intermediate container 17597d5cd80e [2023-09-19T11:59:18.058Z] ---> a30960d8a57d [2023-09-19T11:59:18.058Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T11:59:18.317Z] ---> Running in 6fc31468ae1c [2023-09-19T11:59:18.317Z] Removing intermediate container 6fc31468ae1c [2023-09-19T11:59:18.317Z] ---> 66b69493c281 [2023-09-19T11:59:18.317Z] Step 23/25 : LABEL arch=amd64 [2023-09-19T11:59:18.317Z] ---> Running in a66b05828ee2 [2023-09-19T11:59:18.317Z] Removing intermediate container a66b05828ee2 [2023-09-19T11:59:18.317Z] ---> 5b3fb8f76e8f [2023-09-19T11:59:18.317Z] Step 24/25 : LABEL git_sha=931ddb78cc229628a14cb0e91f89b3ffb16c2965 [2023-09-19T11:59:18.317Z] ---> Running in 24300116644a [2023-09-19T11:59:18.317Z] Removing intermediate container 24300116644a [2023-09-19T11:59:18.317Z] ---> bf8fb8a14084 [2023-09-19T11:59:18.317Z] Step 25/25 : LABEL version=0.0.0 [2023-09-19T11:59:18.576Z] ---> Running in a18499fa2fef [2023-09-19T11:59:18.576Z] Removing intermediate container a18499fa2fef [2023-09-19T11:59:18.576Z] ---> cc2576d4cb51 [2023-09-19T11:59:18.576Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T11:59:18.576Z] Successfully built cc2576d4cb51 [2023-09-19T11:59:18.576Z] 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-09-19T11:59:19.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T11:59:19.511Z] [2023-09-19T11:59:19.511Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T11:59:19.898Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T11:59:19.898Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-19T11:59:19.898Z] 5eb5b503b376: Pulling fs layer [2023-09-19T11:59:19.898Z] 5c69ac0246d0: Pulling fs layer [2023-09-19T11:59:19.898Z] ec43610c2a17: Pulling fs layer [2023-09-19T11:59:19.898Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-19T11:59:19.898Z] 33b1e0a273af: Pulling fs layer [2023-09-19T11:59:19.898Z] 5d3b04190fa2: Pulling fs layer [2023-09-19T11:59:19.899Z] 2f39f015ded8: Pulling fs layer [2023-09-19T11:59:19.899Z] 33b1e0a273af: Waiting [2023-09-19T11:59:19.899Z] 5d3b04190fa2: Waiting [2023-09-19T11:59:19.899Z] 2f39f015ded8: Waiting [2023-09-19T11:59:19.899Z] 3a2ae6a8a46f: Waiting [2023-09-19T11:59:19.899Z] 5c69ac0246d0: Download complete [2023-09-19T11:59:19.899Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-19T11:59:19.899Z] 3a2ae6a8a46f: Download complete [2023-09-19T11:59:20.157Z] ec43610c2a17: Verifying Checksum [2023-09-19T11:59:20.157Z] ec43610c2a17: Download complete [2023-09-19T11:59:20.157Z] 5d3b04190fa2: Verifying Checksum [2023-09-19T11:59:20.157Z] 5d3b04190fa2: Download complete [2023-09-19T11:59:20.157Z] 33b1e0a273af: Download complete [2023-09-19T11:59:20.157Z] 5eb5b503b376: Verifying Checksum [2023-09-19T11:59:20.157Z] 5eb5b503b376: Download complete [2023-09-19T11:59:20.722Z] 2f39f015ded8: Download complete [2023-09-19T11:59:21.290Z] 5eb5b503b376: Pull complete [2023-09-19T11:59:21.549Z] 5c69ac0246d0: Pull complete [2023-09-19T11:59:21.550Z] using credential edgex-jenkins-ssh [2023-09-19T11:59:21.569Z] Cloning the remote Git repository [2023-09-19T11:59:21.607Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-09-19T11:59:21.701Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-09-19T11:59:21.807Z] ec43610c2a17: Pull complete [2023-09-19T11:59:21.807Z] 3a2ae6a8a46f: Pull complete [2023-09-19T11:59:22.068Z] 33b1e0a273af: Pull complete [2023-09-19T11:59:22.327Z] 5d3b04190fa2: Pull complete [2023-09-19T11:59:21.848Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-09-19T11:59:21.849Z] > git --version # timeout=10 [2023-09-19T11:59:21.865Z] > git --version # 'git version 2.25.1' [2023-09-19T11:59:21.868Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T11:59:22.007Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T11:59:23.925Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-09-19T11:59:23.957Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T11:59:25.289Z] Merging remotes/origin/main commit d121d4b12413d22e246e49a32881448e0ea11499 into PR head commit 931ddb78cc229628a14cb0e91f89b3ffb16c2965 [2023-09-19T11:59:24.774Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-09-19T11:59:24.820Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-09-19T11:59:24.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T11:59:24.835Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-19T11:59:25.303Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T11:59:25.378Z] > git checkout -f 931ddb78cc229628a14cb0e91f89b3ffb16c2965 # timeout=10 [2023-09-19T11:59:25.458Z] > git remote # timeout=10 [2023-09-19T11:59:25.477Z] > git config --get remote.origin.url # timeout=10 [2023-09-19T11:59:25.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T11:59:25.518Z] > git merge d121d4b12413d22e246e49a32881448e0ea11499 # timeout=10 [2023-09-19T11:59:25.564Z] Merge succeeded, producing 931ddb78cc229628a14cb0e91f89b3ffb16c2965 [2023-09-19T11:59:25.565Z] Checking out Revision 931ddb78cc229628a14cb0e91f89b3ffb16c2965 (PR-429) [2023-09-19T11:59:26.064Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-09-19T11:59:26.113Z] > git --version # timeout=10 [2023-09-19T11:59:26.124Z] > git --version # 'git version 2.25.1' [2023-09-19T11:59:26.153Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T11:59:26.513Z] 2f39f015ded8: Pull complete [2023-09-19T11:59:26.513Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-19T11:59:26.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T11:59:26.513Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T11:59:26.535Z] [2023-09-19T11:59:26.535Z] GitHub has been notified of this commit’s build result [2023-09-19T11:59:26.535Z] [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T11:59:26.717Z] prd-ubuntu20.04-docker-8c-8g-6536 does not seem to be running inside a container [2023-09-19T11:59:26.755Z] $ 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-429 -v /w/workspace/foundry_device-virtual-go_PR-429:/w/workspace/foundry_device-virtual-go_PR-429:rw,z -v /w/workspace/foundry_device-virtual-go_PR-429@tmp:/w/workspace/foundry_device-virtual-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-19T11:59:25.545Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-19T11:59:25.568Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T11:59:25.589Z] > git checkout -f 931ddb78cc229628a14cb0e91f89b3ffb16c2965 # timeout=10 [2023-09-19T11:59:32.316Z] $ docker top 2ac98d71be25a2e9d453b6a21375cc819387929b4ff963aec0f99bbf5131f6bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T11:59:32.757Z] ---> job-cost.sh [2023-09-19T11:59:32.757Z] lf-activate-venv: SKIPPING [2023-09-19T11:59:32.757Z] INFO: No Stack... [2023-09-19T11:59:33.018Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T11:59:33.216Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-19T11:59:33.216Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T11:59:33.216Z] Dload Upload Total Spent Left Speed [2023-09-19T11:59:33.216Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh [2023-09-19T11:59:33.588Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T11:59:33.813Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-19T11:59:33.909Z] + cat /w/workspace/foundry_device-virtual-go_PR-429/archives/cost.csv [2023-09-19T11:59:33.909Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T11:59:33.975Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-429-1-stack-cost] [2023-09-19T11:59:33.982Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-429-1-stack-cost] did not exist. Created. [2023-09-19T11:59:33.983Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-429-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T11:59:34.163Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-19T11:59:34.163Z] + sudo tee /etc/docker/daemon.new [2023-09-19T11:59:34.163Z] { [2023-09-19T11:59:34.163Z] "registry-mirrors": [ [2023-09-19T11:59:34.163Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-19T11:59:34.163Z] ], [2023-09-19T11:59:34.163Z] "bip": "10.250.0.254/24", [2023-09-19T11:59:34.163Z] "hosts": [ [2023-09-19T11:59:34.163Z] "tcp://0.0.0.0:5555", [2023-09-19T11:59:34.163Z] "unix:///var/run/docker.sock" [2023-09-19T11:59:34.163Z] ], [2023-09-19T11:59:34.163Z] "mtu": 1458, [2023-09-19T11:59:34.163Z] "selinux-enabled": true, [2023-09-19T11:59:34.163Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-19T11:59:34.163Z] } [Pipeline] sh [2023-09-19T11:59:34.421Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-19T11:59:34.476Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T11:59:34.518Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-429-1-stack-cost] [2023-09-19T11:59:34.556Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // lock [Pipeline] } [2023-09-19T11:59:34.635Z] $ docker stop --time=1 2ac98d71be25a2e9d453b6a21375cc819387929b4ff963aec0f99bbf5131f6bc [2023-09-19T11:59:35.780Z] $ docker rm -f --volumes 2ac98d71be25a2e9d453b6a21375cc819387929b4ff963aec0f99bbf5131f6bc [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-09-19T11:59:36.157Z] + sudo service docker restart [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T11:59:54.488Z] provisioning config files... [2023-09-19T11:59:54.515Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config9176614194804462916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T11:59:54.909Z] ---> docker-login.sh [2023-09-19T11:59:54.909Z] nexus3.edgexfoundry.org:10001 [2023-09-19T11:59:55.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T11:59:55.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T11:59:55.458Z] Configure a credential helper to remove this warning. See [2023-09-19T11:59:55.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T11:59:55.458Z] [2023-09-19T11:59:55.458Z] Login Succeeded [2023-09-19T11:59:55.458Z] nexus3.edgexfoundry.org:10002 [2023-09-19T11:59:55.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T11:59:55.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T11:59:55.731Z] Configure a credential helper to remove this warning. See [2023-09-19T11:59:55.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T11:59:55.731Z] [2023-09-19T11:59:55.731Z] Login Succeeded [2023-09-19T11:59:55.731Z] nexus3.edgexfoundry.org:10003 [2023-09-19T11:59:56.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T11:59:56.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T11:59:56.268Z] Configure a credential helper to remove this warning. See [2023-09-19T11:59:56.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T11:59:56.268Z] [2023-09-19T11:59:56.268Z] Login Succeeded [2023-09-19T11:59:56.268Z] nexus3.edgexfoundry.org:10004 [2023-09-19T11:59:56.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T11:59:56.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T11:59:56.541Z] Configure a credential helper to remove this warning. See [2023-09-19T11:59:56.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T11:59:56.541Z] [2023-09-19T11:59:56.541Z] Login Succeeded [2023-09-19T11:59:56.541Z] docker.io [2023-09-19T11:59:56.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T11:59:57.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T11:59:57.080Z] Configure a credential helper to remove this warning. See [2023-09-19T11:59:57.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T11:59:57.080Z] [2023-09-19T11:59:57.080Z] Login Succeeded [2023-09-19T11:59:57.080Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T11:59:57.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T11:59:57.489Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T11:59:57.526Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T11:59:57.560Z] ========================================================= [2023-09-19T11:59:57.560Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-19T11:59:57.560Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T11:59:58.066Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T11:59:58.335Z] Sending build context to Docker daemon 11.95MB [2023-09-19T11:59:58.335Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T11:59:58.335Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-19T11:59:58.607Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-19T11:59:58.607Z] 9fda8d8052c6: Pulling fs layer [2023-09-19T11:59:58.607Z] 5d54e960e981: Pulling fs layer [2023-09-19T11:59:58.607Z] c4a7e357bf2a: Pulling fs layer [2023-09-19T11:59:58.607Z] f0e02332f6b5: Pulling fs layer [2023-09-19T11:59:58.607Z] 66412af1f25a: Pulling fs layer [2023-09-19T11:59:58.607Z] 1baf3a5c0e64: Pulling fs layer [2023-09-19T11:59:58.607Z] 9a37bb91b891: Pulling fs layer [2023-09-19T11:59:58.607Z] a29adfc67d43: Pulling fs layer [2023-09-19T11:59:58.607Z] d5de9f91c1a4: Pulling fs layer [2023-09-19T11:59:58.607Z] f0e02332f6b5: Waiting [2023-09-19T11:59:58.607Z] 66412af1f25a: Waiting [2023-09-19T11:59:58.607Z] 1baf3a5c0e64: Waiting [2023-09-19T11:59:58.607Z] 9a37bb91b891: Waiting [2023-09-19T11:59:58.607Z] a29adfc67d43: Waiting [2023-09-19T11:59:58.607Z] d5de9f91c1a4: Waiting [2023-09-19T11:59:58.607Z] 5d54e960e981: Verifying Checksum [2023-09-19T11:59:58.607Z] 5d54e960e981: Download complete [2023-09-19T11:59:58.607Z] f0e02332f6b5: Download complete [2023-09-19T11:59:58.607Z] 66412af1f25a: Verifying Checksum [2023-09-19T11:59:58.607Z] 66412af1f25a: Download complete [2023-09-19T11:59:58.607Z] 9fda8d8052c6: Verifying Checksum [2023-09-19T11:59:58.607Z] 9fda8d8052c6: Download complete [2023-09-19T11:59:59.219Z] 9a37bb91b891: Verifying Checksum [2023-09-19T11:59:59.219Z] 9a37bb91b891: Download complete [2023-09-19T11:59:59.830Z] 9fda8d8052c6: Pull complete [2023-09-19T11:59:59.830Z] a29adfc67d43: Verifying Checksum [2023-09-19T11:59:59.830Z] a29adfc67d43: Download complete [2023-09-19T12:00:00.411Z] 5d54e960e981: Pull complete [2023-09-19T12:00:00.411Z] d5de9f91c1a4: Verifying Checksum [2023-09-19T12:00:00.411Z] d5de9f91c1a4: Download complete [2023-09-19T12:00:00.687Z] c4a7e357bf2a: Verifying Checksum [2023-09-19T12:00:00.687Z] c4a7e357bf2a: Download complete [2023-09-19T12:00:01.272Z] 1baf3a5c0e64: Verifying Checksum [2023-09-19T12:00:01.272Z] 1baf3a5c0e64: Download complete [2023-09-19T12:00:11.469Z] c4a7e357bf2a: Pull complete [2023-09-19T12:00:11.470Z] f0e02332f6b5: Pull complete [2023-09-19T12:00:11.470Z] 66412af1f25a: Pull complete [2023-09-19T12:00:19.704Z] 1baf3a5c0e64: Pull complete [2023-09-19T12:00:19.975Z] 9a37bb91b891: Pull complete [2023-09-19T12:00:23.325Z] a29adfc67d43: Pull complete [2023-09-19T12:00:24.286Z] d5de9f91c1a4: Pull complete [2023-09-19T12:00:24.557Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-19T12:00:24.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-19T12:00:24.557Z] ---> 746ca1b523b5 [2023-09-19T12:00:24.557Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T12:00:26.500Z] ---> Running in ec1ea1b56490 [2023-09-19T12:00:26.500Z] Removing intermediate container ec1ea1b56490 [2023-09-19T12:00:26.500Z] ---> 5013a92f57a7 [2023-09-19T12:00:26.500Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T12:00:26.500Z] ---> Running in 456d64d679ad [2023-09-19T12:00:26.768Z] Removing intermediate container 456d64d679ad [2023-09-19T12:00:26.768Z] ---> cd68028072fa [2023-09-19T12:00:26.768Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-19T12:00:26.768Z] ---> Running in e79e389c4bf7 [2023-09-19T12:00:27.042Z] Removing intermediate container e79e389c4bf7 [2023-09-19T12:00:27.042Z] ---> 56d84a55d609 [2023-09-19T12:00:27.042Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-19T12:00:27.042Z] ---> Running in ce43b0ab96a7 [2023-09-19T12:00:27.312Z] Removing intermediate container ce43b0ab96a7 [2023-09-19T12:00:27.312Z] ---> 74834e071326 [2023-09-19T12:00:27.312Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T12:00:27.577Z] ---> Running in 462d0edf9674 [2023-09-19T12:00:28.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T12:00:29.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T12:00:30.089Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-19T12:00:30.089Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-19T12:00:30.089Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-19T12:00:30.089Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-19T12:00:30.089Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T12:00:30.089Z] OK: 272 MiB in 60 packages [2023-09-19T12:00:31.051Z] Removing intermediate container 462d0edf9674 [2023-09-19T12:00:31.051Z] ---> c3e1756981b6 [2023-09-19T12:00:31.051Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-19T12:00:31.636Z] ---> 1d9fd7032cbc [2023-09-19T12:00:31.636Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T12:00:31.636Z] ---> Running in 0fba0a64362d [2023-09-19T12:01:39.592Z] Removing intermediate container 0fba0a64362d [2023-09-19T12:01:39.592Z] ---> 810ed8662311 [2023-09-19T12:01:39.592Z] Step 10/12 : COPY . . [2023-09-19T12:01:39.592Z] ---> f9d62d244ba4 [2023-09-19T12:01:39.592Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T12:01:39.592Z] ---> Running in 66d11e148744 [2023-09-19T12:01:39.592Z] Removing intermediate container 66d11e148744 [2023-09-19T12:01:39.592Z] ---> 957e917cdb75 [2023-09-19T12:01:39.592Z] Step 12/12 : RUN $MAKE [2023-09-19T12:01:39.592Z] ---> Running in c8ccae56cfeb [2023-09-19T12:01:39.592Z] noop [2023-09-19T12:01:39.592Z] Removing intermediate container c8ccae56cfeb [2023-09-19T12:01:39.592Z] ---> 5c8f3a1a33f1 [2023-09-19T12:01:39.592Z] Successfully built 5c8f3a1a33f1 [2023-09-19T12:01:39.592Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T12:01:40.115Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T12:01:40.115Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T12:01:40.416Z] prd-ubuntu20.04-docker-arm64-4c-16g-6537 does not seem to be running inside a container [2023-09-19T12:01:40.482Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-19T12:01:41.648Z] $ docker top 446599ecb8e117859e257168f6cec871a79c2bd347541bbc0226031badf94cf8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T12:01:42.527Z] + go version [2023-09-19T12:01:42.527Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-19T12:01:42.566Z] $ docker stop --time=1 446599ecb8e117859e257168f6cec871a79c2bd347541bbc0226031badf94cf8 [2023-09-19T12:01:44.920Z] $ docker rm -f --volumes 446599ecb8e117859e257168f6cec871a79c2bd347541bbc0226031badf94cf8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T12:01:45.903Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T12:01:45.903Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T12:01:46.224Z] prd-ubuntu20.04-docker-arm64-4c-16g-6537 does not seem to be running inside a container [2023-09-19T12:01:46.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-19T12:01:47.423Z] $ docker top f1fb954f1f390e6ab35c26e056b9f447cb9cf4c47e5c9a29fdb62e43820c9b89 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T12:01:47.989Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-19T12:01:48.392Z] + make test [2023-09-19T12:01:48.659Z] go test ./... -coverprofile=coverage.out [2023-09-19T12:01:52.940Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-19T12:03:14.574Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-19T12:03:14.574Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.072s coverage: 58.4% of statements [2023-09-19T12:03:14.574Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-19T12:03:14.574Z] go vet ./... [2023-09-19T12:03:36.664Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T12:03:36.664Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T12:03:36.664Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T12:03:36.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T12:03:36.755Z] $ docker stop --time=1 f1fb954f1f390e6ab35c26e056b9f447cb9cf4c47e5c9a29fdb62e43820c9b89 [2023-09-19T12:03:38.732Z] $ docker rm -f --volumes f1fb954f1f390e6ab35c26e056b9f447cb9cf4c47e5c9a29fdb62e43820c9b89 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T12:03:40.027Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T12:03:40.064Z] Warning: overwriting stash ‘coverage-report’ [2023-09-19T12:03:40.510Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T12:03:41.123Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T12:03:41.462Z] + ls -al . [2023-09-19T12:03:41.462Z] total 200 [2023-09-19T12:03:41.462Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 12:01 . [2023-09-19T12:03:41.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 11:59 .. [2023-09-19T12:03:41.462Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 11:59 .git [2023-09-19T12:03:41.462Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 11:59 .github [2023-09-19T12:03:41.462Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 19 11:59 .gitignore [2023-09-19T12:03:41.462Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 11:59 .golangci.yml [2023-09-19T12:03:41.462Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 19 11:59 Attribution.txt [2023-09-19T12:03:41.462Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 19 11:59 CHANGELOG.md [2023-09-19T12:03:41.462Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 19 11:59 Dockerfile [2023-09-19T12:03:41.462Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 11:59 GOVERNANCE.md [2023-09-19T12:03:41.462Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 19 11:59 Jenkinsfile [2023-09-19T12:03:41.462Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 11:59 LICENSE [2023-09-19T12:03:41.462Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 19 11:59 Makefile [2023-09-19T12:03:41.462Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 19 11:59 OWNERS.md [2023-09-19T12:03:41.462Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 19 11:59 README.md [2023-09-19T12:03:41.462Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 11:57 VERSION [2023-09-19T12:03:41.462Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 11:59 bin [2023-09-19T12:03:41.462Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 11:59 cmd [2023-09-19T12:03:41.462Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 19 12:03 coverage.out [2023-09-19T12:03:41.462Z] -rw-rw-r-- 1 jenkins jenkins 3637 Sep 19 11:59 go.mod [2023-09-19T12:03:41.462Z] -rw-rw-r-- 1 jenkins jenkins 35019 Sep 19 11:59 go.sum [2023-09-19T12:03:41.462Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 11:59 internal [2023-09-19T12:03:41.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 11:59 snap [2023-09-19T12:03:41.462Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 19 11:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T12:03:41.908Z] + 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=931ddb78cc229628a14cb0e91f89b3ffb16c2965 --label arch=arm64 --label version=0.0.0 . [2023-09-19T12:03:42.497Z] Sending build context to Docker daemon 12MB [2023-09-19T12:03:42.497Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T12:03:42.497Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-19T12:03:42.497Z] ---> 5c8f3a1a33f1 [2023-09-19T12:03:42.497Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T12:03:44.450Z] ---> Running in b45f34e0dabe [2023-09-19T12:03:45.039Z] Removing intermediate container b45f34e0dabe [2023-09-19T12:03:45.039Z] ---> 8ff596326510 [2023-09-19T12:03:45.039Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T12:03:45.039Z] ---> Running in 592cb236bbe5 [2023-09-19T12:03:45.305Z] Removing intermediate container 592cb236bbe5 [2023-09-19T12:03:45.305Z] ---> e5b798937b2c [2023-09-19T12:03:45.305Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-19T12:03:45.305Z] ---> Running in 9cd68c8e5fe8 [2023-09-19T12:03:45.572Z] Removing intermediate container 9cd68c8e5fe8 [2023-09-19T12:03:45.572Z] ---> 652273825908 [2023-09-19T12:03:45.572Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-19T12:03:45.572Z] ---> Running in 9a600e1b3f66 [2023-09-19T12:03:46.162Z] Removing intermediate container 9a600e1b3f66 [2023-09-19T12:03:46.162Z] ---> 312444c7ab17 [2023-09-19T12:03:46.162Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T12:03:46.162Z] ---> Running in 36fcc9b76d54 [2023-09-19T12:03:47.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T12:03:47.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T12:03:48.806Z] OK: 272 MiB in 60 packages [2023-09-19T12:03:49.453Z] Removing intermediate container 36fcc9b76d54 [2023-09-19T12:03:49.453Z] ---> c6f9a8a04bfd [2023-09-19T12:03:49.453Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-19T12:03:50.546Z] ---> 0870e5da849e [2023-09-19T12:03:50.546Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T12:03:50.546Z] ---> Running in ffd1e269eb7e [2023-09-19T12:03:53.898Z] Removing intermediate container ffd1e269eb7e [2023-09-19T12:03:53.898Z] ---> d5ec0525609b [2023-09-19T12:03:53.898Z] Step 10/25 : COPY . . [2023-09-19T12:03:58.147Z] ---> 8e1b2212560e [2023-09-19T12:03:58.147Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T12:03:58.147Z] ---> Running in 2d3805bc5d21 [2023-09-19T12:03:59.118Z] Removing intermediate container 2d3805bc5d21 [2023-09-19T12:03:59.118Z] ---> ac8a989bb4d8 [2023-09-19T12:03:59.118Z] Step 12/25 : RUN $MAKE [2023-09-19T12:03:59.118Z] ---> Running in f2ae60ccc1ed [2023-09-19T12:04:02.482Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.25" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-19T12:05:59.176Z] Removing intermediate container f2ae60ccc1ed [2023-09-19T12:05:59.176Z] ---> 901e868cf486 [2023-09-19T12:05:59.176Z] Step 13/25 : FROM alpine:3.18 [2023-09-19T12:05:59.176Z] 3.18: Pulling from library/alpine [2023-09-19T12:05:59.176Z] 9fda8d8052c6: Already exists [2023-09-19T12:05:59.176Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T12:05:59.176Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T12:05:59.176Z] ---> f6648c04cd6c [2023-09-19T12:05:59.176Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-19T12:05:59.176Z] ---> Running in 419cd0584c08 [2023-09-19T12:05:59.176Z] Removing intermediate container 419cd0584c08 [2023-09-19T12:05:59.176Z] ---> 499b4bce226c [2023-09-19T12:05:59.176Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-19T12:05:59.176Z] ---> Running in 5a444bc57372 [2023-09-19T12:05:59.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T12:05:59.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T12:05:59.176Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-19T12:05:59.176Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T12:05:59.176Z] OK: 8 MiB in 16 packages [2023-09-19T12:06:00.148Z] Removing intermediate container 5a444bc57372 [2023-09-19T12:06:00.148Z] ---> 140c41210e12 [2023-09-19T12:06:00.148Z] Step 16/25 : WORKDIR / [2023-09-19T12:06:00.416Z] ---> Running in 6629088be8b3 [2023-09-19T12:06:01.827Z] Removing intermediate container 6629088be8b3 [2023-09-19T12:06:01.827Z] ---> 6df8648829cc [2023-09-19T12:06:01.827Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-19T12:06:02.097Z] ---> 9d9fa0c616b1 [2023-09-19T12:06:02.097Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-19T12:06:02.691Z] ---> b2f48af7ff23 [2023-09-19T12:06:02.691Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-19T12:06:04.111Z] ---> 51f20de525d8 [2023-09-19T12:06:04.111Z] Step 20/25 : EXPOSE 59900 [2023-09-19T12:06:04.111Z] ---> Running in 96a5f4d4ef11 [2023-09-19T12:06:04.111Z] Removing intermediate container 96a5f4d4ef11 [2023-09-19T12:06:04.111Z] ---> bc6a6ceadbed [2023-09-19T12:06:04.111Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-19T12:06:04.386Z] ---> Running in 4a36850fa254 [2023-09-19T12:06:04.656Z] Removing intermediate container 4a36850fa254 [2023-09-19T12:06:04.656Z] ---> 1ff73c38bc3b [2023-09-19T12:06:04.656Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T12:06:04.656Z] ---> Running in fa8b9747afdc [2023-09-19T12:06:04.923Z] Removing intermediate container fa8b9747afdc [2023-09-19T12:06:04.924Z] ---> 41f4baae9958 [2023-09-19T12:06:04.924Z] Step 23/25 : LABEL arch=arm64 [2023-09-19T12:06:04.924Z] ---> Running in 844341e7b787 [2023-09-19T12:06:05.195Z] Removing intermediate container 844341e7b787 [2023-09-19T12:06:05.195Z] ---> 2e340128a789 [2023-09-19T12:06:05.195Z] Step 24/25 : LABEL git_sha=931ddb78cc229628a14cb0e91f89b3ffb16c2965 [2023-09-19T12:06:05.195Z] ---> Running in 76d05f8de1dd [2023-09-19T12:06:05.466Z] Removing intermediate container 76d05f8de1dd [2023-09-19T12:06:05.466Z] ---> c0b6e3afbcc0 [2023-09-19T12:06:05.466Z] Step 25/25 : LABEL version=0.0.0 [2023-09-19T12:06:05.739Z] ---> Running in 469c83437802 [2023-09-19T12:06:06.005Z] Removing intermediate container 469c83437802 [2023-09-19T12:06:06.005Z] ---> bdf06d548dda [2023-09-19T12:06:06.005Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T12:06:06.005Z] Successfully built bdf06d548dda [2023-09-19T12:06:06.005Z] 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-09-19T12:06:06.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T12:06:06.973Z] [2023-09-19T12:06:06.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T12:06:07.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T12:06:07.397Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-19T12:06:07.397Z] 8998bd30e6a1: Pulling fs layer [2023-09-19T12:06:07.397Z] 04944245beec: Pulling fs layer [2023-09-19T12:06:07.397Z] 699f458cf7ca: Pulling fs layer [2023-09-19T12:06:07.397Z] 765212b225bb: Pulling fs layer [2023-09-19T12:06:07.397Z] f23df028b6ca: Pulling fs layer [2023-09-19T12:06:07.397Z] d65c8cfc05b1: Pulling fs layer [2023-09-19T12:06:07.397Z] 2437ff75d9bd: Pulling fs layer [2023-09-19T12:06:07.397Z] d65c8cfc05b1: Waiting [2023-09-19T12:06:07.397Z] 765212b225bb: Waiting [2023-09-19T12:06:07.397Z] f23df028b6ca: Waiting [2023-09-19T12:06:07.397Z] 2437ff75d9bd: Waiting [2023-09-19T12:06:07.664Z] 04944245beec: Verifying Checksum [2023-09-19T12:06:07.664Z] 04944245beec: Download complete [2023-09-19T12:06:07.664Z] 765212b225bb: Download complete [2023-09-19T12:06:07.664Z] f23df028b6ca: Verifying Checksum [2023-09-19T12:06:07.664Z] f23df028b6ca: Download complete [2023-09-19T12:06:07.664Z] d65c8cfc05b1: Verifying Checksum [2023-09-19T12:06:07.664Z] d65c8cfc05b1: Download complete [2023-09-19T12:06:07.664Z] 699f458cf7ca: Download complete [2023-09-19T12:06:08.249Z] 8998bd30e6a1: Verifying Checksum [2023-09-19T12:06:08.249Z] 8998bd30e6a1: Download complete [2023-09-19T12:06:10.201Z] 2437ff75d9bd: Verifying Checksum [2023-09-19T12:06:10.201Z] 2437ff75d9bd: Download complete [2023-09-19T12:06:12.154Z] 8998bd30e6a1: Pull complete [2023-09-19T12:06:12.422Z] 04944245beec: Pull complete [2023-09-19T12:06:13.831Z] 699f458cf7ca: Pull complete [2023-09-19T12:06:14.103Z] 765212b225bb: Pull complete [2023-09-19T12:06:14.689Z] f23df028b6ca: Pull complete [2023-09-19T12:06:14.958Z] d65c8cfc05b1: Pull complete [2023-09-19T12:06:29.954Z] 2437ff75d9bd: Pull complete [2023-09-19T12:06:29.954Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-19T12:06:29.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T12:06:29.954Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T12:06:30.257Z] prd-ubuntu20.04-docker-arm64-4c-16g-6537 does not seem to be running inside a container [2023-09-19T12:06:30.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-19T12:06:32.856Z] $ docker top c381a778564fef4cb01cfcddf6397b89bf2ee169108a7b49e531f6c51da6a9ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T12:06:33.435Z] ---> job-cost.sh [2023-09-19T12:06:33.699Z] lf-activate-venv: SKIPPING [2023-09-19T12:06:33.699Z] INFO: No Stack... [2023-09-19T12:06:33.965Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-19T12:06:34.921Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T12:06:35.382Z] + cut -d, -f6 [2023-09-19T12:06:35.382Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2023-09-19T12:06:35.433Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-429-1-stack-cost] [2023-09-19T12:06:35.438Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-429-1-stack-cost] did not exist. Created. [2023-09-19T12:06:35.438Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-429-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T12:06:35.857Z] /w/workspace/device-virtual-go/1@tmp/durable-9bfbe0be/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-19T12:06:36.481Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-19T12:06:36.522Z] Warning: overwriting stash ‘stack-cost’ [2023-09-19T12:06:36.569Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T12:06:36.586Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-429-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T12:06:36.685Z] $ docker stop --time=1 c381a778564fef4cb01cfcddf6397b89bf2ee169108a7b49e531f6c51da6a9ce [2023-09-19T12:06:38.147Z] $ docker rm -f --volumes c381a778564fef4cb01cfcddf6397b89bf2ee169108a7b49e531f6c51da6a9ce [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-09-19T12:06:39.214Z] provisioning config files... [2023-09-19T12:06:39.222Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-429@tmp/config5653968456197947768tmp [Pipeline] { [Pipeline] sh [2023-09-19T12:06:39.565Z] + set +x [2023-09-19T12:06:39.565Z] + bash -s -- [2023-09-19T12:06:39.565Z] + curl -s https://codecov.io/bash [2023-09-19T12:06:39.565Z] [2023-09-19T12:06:39.565Z] _____ _ [2023-09-19T12:06:39.565Z] / ____| | | [2023-09-19T12:06:39.565Z] | | ___ __| | ___ ___ _____ __ [2023-09-19T12:06:39.565Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-19T12:06:39.565Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-19T12:06:39.565Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-19T12:06:39.565Z] Bash-1.0.6 [2023-09-19T12:06:39.565Z] [2023-09-19T12:06:39.565Z] [2023-09-19T12:06:39.565Z] ==> git version 2.25.1 found [2023-09-19T12:06:39.565Z] ==> 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-09-19T12:06:39.565Z] Release-Date: 2020-01-08 [2023-09-19T12:06:39.565Z] 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-09-19T12:06:39.565Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-19T12:06:39.565Z] ==> Jenkins CI detected. [2023-09-19T12:06:39.565Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-429 [2023-09-19T12:06:39.565Z] project root: . [2023-09-19T12:06:39.565Z] --> token set from env [2023-09-19T12:06:39.565Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-19T12:06:39.565Z] ==> Running gcov in . (disable via -X gcov) [2023-09-19T12:06:39.825Z] ==> Python coveragepy not found [2023-09-19T12:06:39.825Z] ==> Searching for coverage reports in: [2023-09-19T12:06:39.825Z] + . [2023-09-19T12:06:39.825Z] -> Found 1 reports [2023-09-19T12:06:39.825Z] ==> Detecting git/mercurial file structure [2023-09-19T12:06:39.825Z] ==> Reading reports [2023-09-19T12:06:39.825Z] + ./coverage.out bytes=43063 [2023-09-19T12:06:39.825Z] ==> Appending adjustments [2023-09-19T12:06:39.825Z] https://docs.codecov.io/docs/fixing-reports [2023-09-19T12:06:39.825Z] + Found adjustments [2023-09-19T12:06:39.825Z] ==> Gzipping contents [2023-09-19T12:06:39.825Z] 8.0K /tmp/codecov.qjGnfQ.gz [2023-09-19T12:06:39.825Z] ==> Uploading reports [2023-09-19T12:06:39.825Z] url: https://codecov.io [2023-09-19T12:06:39.825Z] query: branch=PR-429&commit=931ddb78cc229628a14cb0e91f89b3ffb16c2965&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-429%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2023-09-19T12:06:39.825Z] -> Pinging Codecov [2023-09-19T12:06:39.825Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-429&commit=931ddb78cc229628a14cb0e91f89b3ffb16c2965&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-429%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2023-09-19T12:06:40.086Z] -> Uploading to [2023-09-19T12:06:40.086Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-19/5E52B4B073DB2E39498172D8E973AA87/931ddb78cc229628a14cb0e91f89b3ffb16c2965/032ba446-4327-4538-84a7-60bde1b6da54.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T120639Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8a4d2eb8586f8ad1dd9595739bd8b79e854ade82f9f874ae816957fe78b0533c [2023-09-19T12:06:40.086Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T12:06:40.086Z] Dload Upload Total Spent Left Speed [2023-09-19T12:06:40.345Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 25287 --:--:-- --:--:-- --:--:-- 25287 [2023-09-19T12:06:40.345Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/931ddb78cc229628a14cb0e91f89b3ffb16c2965 [Pipeline] } [2023-09-19T12:06:40.373Z] 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-09-19T12:06:42.265Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-429/archives ] [2023-09-19T12:06:42.265Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-429/archives [2023-09-19T12:06:42.265Z] total 16 [2023-09-19T12:06:42.265Z] drwxr-xr-x 3 root root 4096 Sep 19 11:59 . [2023-09-19T12:06:42.265Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 11:59 .. [2023-09-19T12:06:42.265Z] drwxr-xr-x 2 root root 4096 Sep 19 11:59 cost [2023-09-19T12:06:42.265Z] -rw-r--r-- 1 root root 89 Sep 19 11:59 cost.csv [2023-09-19T12:06:42.265Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-429/archives [2023-09-19T12:06:42.265Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-429/archives [2023-09-19T12:06:42.265Z] total 16 [2023-09-19T12:06:42.265Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 11:59 . [2023-09-19T12:06:42.265Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 11:59 .. [2023-09-19T12:06:42.265Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 11:59 cost [2023-09-19T12:06:42.265Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 19 11:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-19T12:06:42.594Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T12:06:43.487Z] ---> package-listing.sh [2023-09-19T12:06:43.487Z] ++ facter osfamily [2023-09-19T12:06:43.487Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-19T12:06:43.487Z] + OS_FAMILY=debian [2023-09-19T12:06:43.487Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-429 [2023-09-19T12:06:43.487Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-19T12:06:43.487Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-19T12:06:43.487Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-19T12:06:43.487Z] + PACKAGES=/tmp/packages_start.txt [2023-09-19T12:06:43.487Z] + '[' /w/workspace/foundry_device-virtual-go_PR-429 ']' [2023-09-19T12:06:43.487Z] + PACKAGES=/tmp/packages_end.txt [2023-09-19T12:06:43.487Z] + case "${OS_FAMILY}" in [2023-09-19T12:06:43.487Z] + dpkg -l [2023-09-19T12:06:43.487Z] + grep '^ii' [2023-09-19T12:06:43.748Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-19T12:06:43.748Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-19T12:06:43.748Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-19T12:06:43.748Z] + '[' /w/workspace/foundry_device-virtual-go_PR-429 ']' [2023-09-19T12:06:43.748Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-429/archives/ [2023-09-19T12:06:43.748Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-429/archives/ [Pipeline] echo [2023-09-19T12:06:43.782Z] 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-429/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-19T12:06:44.075Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T12:06:44.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T12:06:44.696Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T12:06:44.838Z] prd-ubuntu20.04-docker-8c-8g-6536 does not seem to be running inside a container [2023-09-19T12:06:44.872Z] $ 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-429/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-429 -v /w/workspace/foundry_device-virtual-go_PR-429:/w/workspace/foundry_device-virtual-go_PR-429:rw,z -v /w/workspace/foundry_device-virtual-go_PR-429@tmp:/w/workspace/foundry_device-virtual-go_PR-429@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-19T12:06:45.062Z] $ docker top 91eb28c6a36fb90b85be34d679b1bc5d45c5796bc2b1a96a0a2da4e72bb9b536 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T12:06:45.434Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-19T12:06:45.745Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-19T12:06:46.059Z] + ls /var/log/sa-host [2023-09-19T12:06:46.059Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T12:06:46.295Z] provisioning config files... [2023-09-19T12:06:46.304Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-429@tmp/config9012894768436699831tmp [Pipeline] { [Pipeline] echo [2023-09-19T12:06:46.357Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T12:06:46.667Z] ---> create-netrc.sh [Pipeline] } [2023-09-19T12:06:46.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-19T12:06:47.115Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-19T12:06:47.147Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T12:06:47.457Z] ---> sudo-logs.sh [2023-09-19T12:06:47.457Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-19T12:06:47.558Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T12:06:47.873Z] ---> job-cost.sh [2023-09-19T12:06:47.873Z] lf-activate-venv: SKIPPING [2023-09-19T12:06:47.873Z] DEBUG: total: 0.2199999988079071 [2023-09-19T12:06:47.873Z] INFO: Retrieving Stack Cost... [2023-09-19T12:06:48.132Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T12:06:48.701Z] INFO: Archiving Costs [Pipeline] echo [2023-09-19T12:06:48.734Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T12:06:49.043Z] ---> logs-deploy.sh [2023-09-19T12:06:49.044Z] lf-activate-venv: SKIPPING [2023-09-19T12:06:49.044Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-429/1 [2023-09-19T12:06:49.044Z] INFO: archiving workspace using pattern(s): [2023-09-19T12:06:49.981Z] Archives upload complete. [2023-09-19T12:06:49.981Z] INFO: archiving logs to Nexus