Pull request #1463 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f6f5ec0623cbaf5e2af1533dc9152e86cfbac288+73fd0cb522a429402bd3cc46187ecdcb61225433 (9a75653f9a6dd47edcbe2dd0558844bdd26a9ea1) 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-ssh14258345976926898583.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh11941371858305557995.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-sdk-go/branches/PR-1463/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-sdk-go/branches/PR-1463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh559689076714458598.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-sdk-go/branches/PR-1463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9360160793546091333.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh3525296780865148254.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-sdk-go/branches/PR-1463/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-sdk-go/branches/PR-1463/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1146695806110680228.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 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-16739 in /w/workspace/gexfoundry_device-sdk-go_PR-1463 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1463 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1463/head:refs/remotes/origin/PR-1463 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 73fd0cb522a429402bd3cc46187ecdcb61225433 into PR head commit f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 Merge succeeded, producing f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 Checking out Revision f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 (PR-1463) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 # 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 73fd0cb522a429402bd3cc46187ecdcb61225433 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-24T17:52:12.953Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-24T17:52:13.122Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-24T17:52:13.218Z] ========================================================= [2023-05-24T17:52:13.218Z] EdgeX Global Pipelines Version Info [2023-05-24T17:52:13.218Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:52:14.025Z] ------------------- [2023-05-24T17:52:14.025Z] stable info: [2023-05-24T17:52:14.025Z] ------------------- [2023-05-24T17:52:14.025Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-24T17:52:14.025Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T17:52:14.025Z] Message: update stable to v1.0.249 [2023-05-24T17:52:14.598Z] ------------------- [2023-05-24T17:52:14.598Z] experimental info: [2023-05-24T17:52:14.599Z] ------------------- [2023-05-24T17:52:14.599Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-24T17:52:14.599Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T17:52:14.599Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-24T17:52:14.871Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-24T17:52:14.923Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-24T17:52:14.958Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-24T17:52:14.993Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-24T17:52:15.034Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-24T17:52:15.073Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-24T17:52:15.116Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-24T17:52:15.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-24T17:52:15.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-24T17:52:15.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-24T17:52:15.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-24T17:52:15.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-24T17:52:15.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-24T17:52:15.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-24T17:52:15.426Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-24T17:52:15.464Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T17:52:15.502Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T17:52:15.544Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T17:52:15.582Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-24T17:52:15.619Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-24T17:52:15.658Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-24T17:52:15.708Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-24T17:52:15.749Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-24T17:52:15.795Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-24T17:52:15.840Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-24T17:52:15.881Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-24T17:52:15.922Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-24T17:52:15.965Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1463 [Pipeline] echo [2023-05-24T17:52:16.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1463 [Pipeline] echo [2023-05-24T17:52:16.045Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1463 [Pipeline] echo [2023-05-24T17:52:16.086Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 [Pipeline] echo [2023-05-24T17:52:16.130Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6f5ec0 [Pipeline] echo [2023-05-24T17:52:16.174Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T17:52:16.286Z] provisioning config files... [2023-05-24T17:52:16.322Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp/config3388325197761592738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:52:16.661Z] ---> docker-login.sh [2023-05-24T17:52:16.661Z] nexus3.edgexfoundry.org:10001 [2023-05-24T17:52:16.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:52:16.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:52:16.921Z] Configure a credential helper to remove this warning. See [2023-05-24T17:52:16.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:52:16.921Z] [2023-05-24T17:52:16.921Z] Login Succeeded [2023-05-24T17:52:16.921Z] nexus3.edgexfoundry.org:10002 [2023-05-24T17:52:16.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:52:16.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:52:16.921Z] Configure a credential helper to remove this warning. See [2023-05-24T17:52:16.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:52:16.921Z] [2023-05-24T17:52:16.921Z] Login Succeeded [2023-05-24T17:52:16.921Z] nexus3.edgexfoundry.org:10003 [2023-05-24T17:52:17.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:52:17.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:52:17.180Z] Configure a credential helper to remove this warning. See [2023-05-24T17:52:17.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:52:17.180Z] [2023-05-24T17:52:17.180Z] Login Succeeded [2023-05-24T17:52:17.180Z] nexus3.edgexfoundry.org:10004 [2023-05-24T17:52:17.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:52:17.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:52:17.180Z] Configure a credential helper to remove this warning. See [2023-05-24T17:52:17.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:52:17.180Z] [2023-05-24T17:52:17.180Z] Login Succeeded [2023-05-24T17:52:17.180Z] docker.io [2023-05-24T17:52:17.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:52:17.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:52:17.699Z] Configure a credential helper to remove this warning. See [2023-05-24T17:52:17.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:52:17.699Z] [2023-05-24T17:52:17.699Z] Login Succeeded [2023-05-24T17:52:17.699Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T17:52:17.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-24T17:52:18.345Z] + git rev-list -1 --merges f6f5ec0623cbaf5e2af1533dc9152e86cfbac288~1..f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 [Pipeline] echo [2023-05-24T17:52:18.409Z] -----------> git rev-list -1 --merges f6f5ec0623cbaf5e2af1533dc9152e86cfbac288~1..f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 [false] [Pipeline] sh [2023-05-24T17:52:18.720Z] + git log --format=format:%s -1 f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 [Pipeline] echo [2023-05-24T17:52:18.756Z] ========================================================= [2023-05-24T17:52:18.756Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-24T17:52:18.756Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T17:52:19.183Z] + git log --format=format:%s -1 f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 [Pipeline] echo [2023-05-24T17:52:19.215Z] [semverPrep] GIT_COMMIT: f6f5ec0623cbaf5e2af1533dc9152e86cfbac288, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-05-24T17:52:19.245Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-24T17:52:19.628Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T17:52:19.628Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-24T17:52:19.628Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-24T17:52:19.628Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-24T17:52:19.628Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-24T17:52:19.628Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-24T17:52:19.628Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:52:20.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T17:52:20.063Z] [2023-05-24T17:52:20.063Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:52:20.455Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T17:52:20.455Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-24T17:52:20.455Z] b85a868b505f: Pulling fs layer [2023-05-24T17:52:20.455Z] e2be974225ed: Pulling fs layer [2023-05-24T17:52:20.455Z] 339a4e72a1f5: Pulling fs layer [2023-05-24T17:52:20.455Z] 988bab9f4d93: Pulling fs layer [2023-05-24T17:52:20.455Z] 1469e6f7b9e6: Pulling fs layer [2023-05-24T17:52:20.455Z] eaf3925da568: Pulling fs layer [2023-05-24T17:52:20.455Z] bab4dde63d76: Pulling fs layer [2023-05-24T17:52:20.455Z] bde34c3a00c8: Pulling fs layer [2023-05-24T17:52:20.455Z] b352a97aabf1: Pulling fs layer [2023-05-24T17:52:20.455Z] 4872d77fe225: Pulling fs layer [2023-05-24T17:52:20.455Z] 5851b861e8e6: Pulling fs layer [2023-05-24T17:52:20.455Z] bde34c3a00c8: Waiting [2023-05-24T17:52:20.455Z] bab4dde63d76: Waiting [2023-05-24T17:52:20.455Z] b352a97aabf1: Waiting [2023-05-24T17:52:20.455Z] 4872d77fe225: Waiting [2023-05-24T17:52:20.455Z] 5851b861e8e6: Waiting [2023-05-24T17:52:20.455Z] 988bab9f4d93: Waiting [2023-05-24T17:52:20.455Z] 1469e6f7b9e6: Waiting [2023-05-24T17:52:20.455Z] eaf3925da568: Waiting [2023-05-24T17:52:20.455Z] e2be974225ed: Verifying Checksum [2023-05-24T17:52:20.455Z] e2be974225ed: Download complete [2023-05-24T17:52:20.455Z] 988bab9f4d93: Verifying Checksum [2023-05-24T17:52:20.455Z] 988bab9f4d93: Download complete [2023-05-24T17:52:20.455Z] 1469e6f7b9e6: Verifying Checksum [2023-05-24T17:52:20.455Z] 1469e6f7b9e6: Download complete [2023-05-24T17:52:20.714Z] eaf3925da568: Download complete [2023-05-24T17:52:20.714Z] 339a4e72a1f5: Verifying Checksum [2023-05-24T17:52:20.714Z] 339a4e72a1f5: Download complete [2023-05-24T17:52:20.714Z] bde34c3a00c8: Download complete [2023-05-24T17:52:20.714Z] b352a97aabf1: Download complete [2023-05-24T17:52:20.714Z] 4872d77fe225: Download complete [2023-05-24T17:52:20.714Z] 5851b861e8e6: Download complete [2023-05-24T17:52:20.714Z] b85a868b505f: Download complete [2023-05-24T17:52:20.973Z] bab4dde63d76: Verifying Checksum [2023-05-24T17:52:20.973Z] bab4dde63d76: Download complete [2023-05-24T17:52:21.911Z] b85a868b505f: Pull complete [2023-05-24T17:52:22.173Z] e2be974225ed: Pull complete [2023-05-24T17:52:22.743Z] 339a4e72a1f5: Pull complete [2023-05-24T17:52:22.743Z] 988bab9f4d93: Pull complete [2023-05-24T17:52:23.013Z] 1469e6f7b9e6: Pull complete [2023-05-24T17:52:23.013Z] eaf3925da568: Pull complete [2023-05-24T17:52:24.932Z] bab4dde63d76: Pull complete [2023-05-24T17:52:24.932Z] bde34c3a00c8: Pull complete [2023-05-24T17:52:24.932Z] b352a97aabf1: Pull complete [2023-05-24T17:52:24.932Z] 4872d77fe225: Pull complete [2023-05-24T17:52:25.195Z] 5851b861e8e6: Pull complete [2023-05-24T17:52:25.195Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-24T17:52:25.195Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T17:52:25.195Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T17:52:25.415Z] prd-ubuntu20.04-docker-8c-8g-16739 does not seem to be running inside a container [2023-05-24T17:52:25.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1463 -v /w/workspace/gexfoundry_device-sdk-go_PR-1463:/w/workspace/gexfoundry_device-sdk-go_PR-1463:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-24T17:52:27.809Z] $ docker top 3069fb06d2d6042bec602685e835abec147e9a38c92e848fda75332b4b96485c -eo pid,comm [2023-05-24T17:52:27.859Z] 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-05-24T17:52:27.859Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-24T17:52:27.971Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T17:52:27.971Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T17:52:28.089Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T17:52:28.095Z] $ docker exec 3069fb06d2d6042bec602685e835abec147e9a38c92e848fda75332b4b96485c ssh-agent [2023-05-24T17:52:28.207Z] SSH_AUTH_SOCK=/tmp/ssh-jGGSPSoB1ZXB/agent.32 [2023-05-24T17:52:28.207Z] SSH_AGENT_PID=38 [2023-05-24T17:52:28.213Z] Running ssh-add (command line suppressed) [2023-05-24T17:52:28.306Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp/private_key_15582565782240281832.key (/w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp/private_key_15582565782240281832.key) [2023-05-24T17:52:28.316Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T17:52:28.643Z] + git tag --points-at HEAD [Pipeline] } [2023-05-24T17:52:28.669Z] $ docker exec --env ******** --env ******** 3069fb06d2d6042bec602685e835abec147e9a38c92e848fda75332b4b96485c ssh-agent -k [2023-05-24T17:52:28.758Z] unset SSH_AUTH_SOCK; [2023-05-24T17:52:28.759Z] unset SSH_AGENT_PID; [2023-05-24T17:52:28.759Z] echo Agent pid 38 killed; [2023-05-24T17:52:28.763Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-24T17:52:28.869Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T17:52:28.869Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T17:52:28.978Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T17:52:28.985Z] $ docker exec 3069fb06d2d6042bec602685e835abec147e9a38c92e848fda75332b4b96485c ssh-agent [2023-05-24T17:52:29.085Z] SSH_AUTH_SOCK=/tmp/ssh-DtOt3LUwUEL2/agent.70 [2023-05-24T17:52:29.085Z] SSH_AGENT_PID=76 [2023-05-24T17:52:29.089Z] Running ssh-add (command line suppressed) [2023-05-24T17:52:29.196Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp/private_key_9688215293630260570.key (/w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp/private_key_9688215293630260570.key) [2023-05-24T17:52:29.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T17:52:29.641Z] + git semver init [2023-05-24T17:52:29.902Z] 2023-05-24 17:52:29,807 [run_init] DEBUG init version:0.0.0 force:False [2023-05-24T17:52:29.902Z] 2023-05-24 17:52:29,808 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1463/.semver [2023-05-24T17:52:29.902Z] 2023-05-24 17:52:29,808 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1463/.semver [2023-05-24T17:52:29.902Z] 2023-05-24 17:52:29,808 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1463/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1463, universal_newlines=False, shell=None, istream=None) [2023-05-24T17:52:30.838Z] 2023-05-24 17:52:30,681 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1463/.git/info/exclude [2023-05-24T17:52:30.838Z] 2023-05-24 17:52:30,682 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1463/.semver/PR-1463 with force:False [2023-05-24T17:52:30.838Z] 2023-05-24 17:52:30,682 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1463/.semver/PR-1463 [2023-05-24T17:52:30.838Z] 2023-05-24 17:52:30,686 [execute] INFO git cat-file --batch-check [2023-05-24T17:52:30.838Z] 2023-05-24 17:52:30,687 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1463/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T17:52:30.838Z] 2023-05-24 17:52:30,693 [execute] INFO git cat-file --batch [2023-05-24T17:52:30.838Z] 2023-05-24 17:52:30,693 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1463/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T17:52:30.838Z] 2023-05-24 17:52:30,698 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1463/.semver/PR-1463 [2023-05-24T17:52:30.838Z] 0.0.0 [Pipeline] } [2023-05-24T17:52:30.870Z] $ docker exec --env ******** --env ******** 3069fb06d2d6042bec602685e835abec147e9a38c92e848fda75332b4b96485c ssh-agent -k [2023-05-24T17:52:30.965Z] unset SSH_AUTH_SOCK; [2023-05-24T17:52:30.965Z] unset SSH_AGENT_PID; [2023-05-24T17:52:30.965Z] echo Agent pid 76 killed; [2023-05-24T17:52:30.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T17:52:31.374Z] + git semver [Pipeline] } [2023-05-24T17:52:31.661Z] $ docker stop --time=1 3069fb06d2d6042bec602685e835abec147e9a38c92e848fda75332b4b96485c [2023-05-24T17:52:33.298Z] $ docker rm -f --volumes 3069fb06d2d6042bec602685e835abec147e9a38c92e848fda75332b4b96485c [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T17:52:33.685Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-24T17:52:33.941Z] Stashed 1 file(s) [Pipeline] echo [2023-05-24T17:52:33.958Z] [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-05-24T17:52:34.565Z] provisioning config files... [2023-05-24T17:52:34.574Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp/config11919747630679398084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:52:34.918Z] ---> docker-login.sh [2023-05-24T17:52:34.918Z] nexus3.edgexfoundry.org:10001 [2023-05-24T17:52:34.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:52:34.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:52:34.918Z] Configure a credential helper to remove this warning. See [2023-05-24T17:52:34.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:52:34.918Z] [2023-05-24T17:52:34.918Z] Login Succeeded [2023-05-24T17:52:34.918Z] nexus3.edgexfoundry.org:10002 [2023-05-24T17:52:34.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:52:34.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:52:34.918Z] Configure a credential helper to remove this warning. See [2023-05-24T17:52:34.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:52:34.918Z] [2023-05-24T17:52:34.918Z] Login Succeeded [2023-05-24T17:52:34.918Z] nexus3.edgexfoundry.org:10003 [2023-05-24T17:52:35.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:52:35.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:52:35.178Z] Configure a credential helper to remove this warning. See [2023-05-24T17:52:35.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:52:35.178Z] [2023-05-24T17:52:35.178Z] Login Succeeded [2023-05-24T17:52:35.178Z] nexus3.edgexfoundry.org:10004 [2023-05-24T17:52:35.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:52:35.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:52:35.178Z] Configure a credential helper to remove this warning. See [2023-05-24T17:52:35.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:52:35.178Z] [2023-05-24T17:52:35.178Z] Login Succeeded [2023-05-24T17:52:35.178Z] docker.io [2023-05-24T17:52:35.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:52:35.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:52:35.438Z] Configure a credential helper to remove this warning. See [2023-05-24T17:52:35.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:52:35.438Z] [2023-05-24T17:52:35.438Z] Login Succeeded [2023-05-24T17:52:35.438Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T17:52:35.463Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T17:52:35.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T17:52:35.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T17:52:35.706Z] ========================================================= [2023-05-24T17:52:35.706Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-24T17:52:35.706Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:52:36.158Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-24T17:52:36.158Z] Sending build context to Docker daemon 11.19MB [2023-05-24T17:52:36.158Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T17:52:36.158Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-24T17:52:36.158Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-24T17:52:36.158Z] f56be85fc22e: Pulling fs layer [2023-05-24T17:52:36.158Z] 85791d961cd3: Pulling fs layer [2023-05-24T17:52:36.158Z] d694b5ae8c79: Pulling fs layer [2023-05-24T17:52:36.158Z] 9f32a84ed3da: Pulling fs layer [2023-05-24T17:52:36.158Z] 4d19c01a9841: Pulling fs layer [2023-05-24T17:52:36.158Z] 9325e15d5711: Pulling fs layer [2023-05-24T17:52:36.158Z] 556b6ee489ea: Pulling fs layer [2023-05-24T17:52:36.158Z] c5a4b2cf53e6: Pulling fs layer [2023-05-24T17:52:36.158Z] 9f32a84ed3da: Waiting [2023-05-24T17:52:36.158Z] 4d19c01a9841: Waiting [2023-05-24T17:52:36.158Z] 9325e15d5711: Waiting [2023-05-24T17:52:36.158Z] 556b6ee489ea: Waiting [2023-05-24T17:52:36.158Z] c5a4b2cf53e6: Waiting [2023-05-24T17:52:36.421Z] 85791d961cd3: Verifying Checksum [2023-05-24T17:52:36.421Z] 85791d961cd3: Download complete [2023-05-24T17:52:36.421Z] 9f32a84ed3da: Verifying Checksum [2023-05-24T17:52:36.421Z] 9f32a84ed3da: Download complete [2023-05-24T17:52:36.421Z] 4d19c01a9841: Download complete [2023-05-24T17:52:36.421Z] f56be85fc22e: Verifying Checksum [2023-05-24T17:52:36.421Z] f56be85fc22e: Download complete [2023-05-24T17:52:36.421Z] 9325e15d5711: Verifying Checksum [2023-05-24T17:52:36.421Z] 9325e15d5711: Download complete [2023-05-24T17:52:36.421Z] f56be85fc22e: Pull complete [2023-05-24T17:52:36.682Z] 85791d961cd3: Pull complete [2023-05-24T17:52:36.940Z] d694b5ae8c79: Verifying Checksum [2023-05-24T17:52:36.940Z] d694b5ae8c79: Download complete [2023-05-24T17:52:36.940Z] c5a4b2cf53e6: Verifying Checksum [2023-05-24T17:52:36.940Z] c5a4b2cf53e6: Download complete [2023-05-24T17:52:37.200Z] 556b6ee489ea: Verifying Checksum [2023-05-24T17:52:37.200Z] 556b6ee489ea: Download complete [2023-05-24T17:52:40.488Z] d694b5ae8c79: Pull complete [2023-05-24T17:52:40.488Z] 9f32a84ed3da: Pull complete [2023-05-24T17:52:40.488Z] 4d19c01a9841: Pull complete [2023-05-24T17:52:40.488Z] 9325e15d5711: Pull complete [2023-05-24T17:52:43.018Z] 556b6ee489ea: Pull complete [2023-05-24T17:52:43.585Z] c5a4b2cf53e6: Pull complete [2023-05-24T17:52:43.585Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-24T17:52:43.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-24T17:52:43.585Z] ---> c4be618373d6 [2023-05-24T17:52:43.585Z] Step 3/10 : ARG MAKE=make build [2023-05-24T17:52:46.876Z] ---> Running in ac808d12bb55 [2023-05-24T17:52:47.137Z] Removing intermediate container ac808d12bb55 [2023-05-24T17:52:47.137Z] ---> 7627a4ace936 [2023-05-24T17:52:47.137Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-24T17:52:47.137Z] ---> Running in 5491cb8ba6d1 [2023-05-24T17:52:47.137Z] Removing intermediate container 5491cb8ba6d1 [2023-05-24T17:52:47.137Z] ---> c938ef8206d5 [2023-05-24T17:52:47.137Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-24T17:52:47.137Z] ---> Running in 6c7f485581f8 [2023-05-24T17:52:47.397Z] Removing intermediate container 6c7f485581f8 [2023-05-24T17:52:47.397Z] ---> cd46d647ff42 [2023-05-24T17:52:47.397Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-24T17:52:47.397Z] ---> Running in bb4ccd94b48e [2023-05-24T17:52:47.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-24T17:52:47.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-24T17:52:47.915Z] OK: 265 MiB in 53 packages [2023-05-24T17:52:48.176Z] Removing intermediate container bb4ccd94b48e [2023-05-24T17:52:48.176Z] ---> 076d5b3dd91d [2023-05-24T17:52:48.176Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-24T17:52:48.176Z] ---> c0f188dd297b [2023-05-24T17:52:48.176Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T17:52:48.436Z] ---> Running in e020cca45e4f [2023-05-24T17:52:49.382Z] Still waiting to schedule task [2023-05-24T17:52:49.383Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-24T17:53:21.378Z] Removing intermediate container e020cca45e4f [2023-05-24T17:53:21.378Z] ---> 20812d3a2e8c [2023-05-24T17:53:21.378Z] Step 9/10 : COPY . . [2023-05-24T17:53:21.378Z] ---> be83ad9c084c [2023-05-24T17:53:21.378Z] Step 10/10 : RUN ${MAKE} [2023-05-24T17:53:21.378Z] ---> Running in c5624dfca6dd [2023-05-24T17:53:21.378Z] noop [2023-05-24T17:53:21.378Z] Removing intermediate container c5624dfca6dd [2023-05-24T17:53:21.378Z] ---> 5665fc957b9d [2023-05-24T17:53:21.378Z] Successfully built 5665fc957b9d [2023-05-24T17:53:21.378Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:53:21.819Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-24T17:53:21.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T17:53:21.958Z] prd-ubuntu20.04-docker-8c-8g-16739 does not seem to be running inside a container [2023-05-24T17:53:21.991Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1463 -v /w/workspace/gexfoundry_device-sdk-go_PR-1463:/w/workspace/gexfoundry_device-sdk-go_PR-1463:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-24T17:53:22.344Z] $ docker top ad8ef8b45655df5a1872f5e7bba3da3c7ad1d32f3e1e5d70ec0b5508f9533a61 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T17:53:22.801Z] + go version [2023-05-24T17:53:22.801Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-24T17:53:22.840Z] $ docker stop --time=1 ad8ef8b45655df5a1872f5e7bba3da3c7ad1d32f3e1e5d70ec0b5508f9533a61 [2023-05-24T17:53:24.118Z] $ docker rm -f --volumes ad8ef8b45655df5a1872f5e7bba3da3c7ad1d32f3e1e5d70ec0b5508f9533a61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:53:24.884Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-24T17:53:24.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T17:53:25.053Z] prd-ubuntu20.04-docker-8c-8g-16739 does not seem to be running inside a container [2023-05-24T17:53:25.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1463 -v /w/workspace/gexfoundry_device-sdk-go_PR-1463:/w/workspace/gexfoundry_device-sdk-go_PR-1463:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-24T17:53:25.397Z] $ docker top af696f19710cd3f61c20e725564c8efa6b3823cb02c57cc5aa13aa6181321be8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T17:53:25.774Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1463 [Pipeline] fileExists [Pipeline] sh [2023-05-24T17:53:26.130Z] + make test [2023-05-24T17:53:26.130Z] go test -race -coverprofile=coverage.out ./... [2023-05-24T17:53:32.696Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-24T17:53:47.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-24T17:53:47.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-24T17:53:47.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-24T17:53:47.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-24T17:53:47.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-24T17:53:47.569Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements [2023-05-24T17:53:47.569Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.058s coverage: 80.2% of statements [2023-05-24T17:53:47.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-24T17:53:47.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-24T17:53:47.569Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.076s coverage: 86.0% of statements [2023-05-24T17:53:47.828Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-24T17:53:47.828Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-24T17:53:47.828Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 77.5% of statements [2023-05-24T17:53:47.828Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-24T17:53:47.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-24T17:53:48.765Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-24T17:53:51.308Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.073s coverage: 14.3% of statements [2023-05-24T17:53:51.308Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.070s coverage: 68.5% of statements [2023-05-24T17:53:51.308Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.103s coverage: 89.2% of statements [2023-05-24T17:53:51.308Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.7% of statements [2023-05-24T17:54:09.378Z] GO111MODULE=on go vet ./... [2023-05-24T17:54:11.908Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-24T17:54:11.908Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-24T17:54:11.908Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-24T17:54:12.194Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-24T17:54:12.228Z] $ docker stop --time=1 af696f19710cd3f61c20e725564c8efa6b3823cb02c57cc5aa13aa6181321be8 [2023-05-24T17:54:14.968Z] $ docker rm -f --volumes af696f19710cd3f61c20e725564c8efa6b3823cb02c57cc5aa13aa6181321be8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T17:54:15.550Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-24T17:54:15.622Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-24T17:54:16.226Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T17:54:16.533Z] + ls -al . [2023-05-24T17:54:16.533Z] total 272 [2023-05-24T17:54:16.533Z] drwxrwxr-x 11 jenkins jenkins 4096 May 24 17:53 . [2023-05-24T17:54:16.533Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 17:52 .. [2023-05-24T17:54:16.533Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 17:52 .dockerignore [2023-05-24T17:54:16.533Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 17:52 .git [2023-05-24T17:54:16.533Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 17:52 .github [2023-05-24T17:54:16.533Z] -rw-rw-r-- 1 jenkins jenkins 137 May 24 17:52 .gitignore [2023-05-24T17:54:16.533Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 17:52 .golangci.yml [2023-05-24T17:54:16.533Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 17:52 .semver [2023-05-24T17:54:16.533Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 24 17:52 CHANGELOG.md [2023-05-24T17:54:16.533Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 17:52 GOVERNANCE.md [2023-05-24T17:54:16.533Z] -rw-rw-r-- 1 jenkins jenkins 885 May 24 17:52 Jenkinsfile [2023-05-24T17:54:16.533Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 24 17:52 LICENSE [2023-05-24T17:54:16.533Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 24 17:52 Makefile [2023-05-24T17:54:16.533Z] -rw-rw-r-- 1 jenkins jenkins 619 May 24 17:52 OWNERS.md [2023-05-24T17:54:16.533Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 24 17:52 README.md [2023-05-24T17:54:16.533Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 17:52 VERSION [2023-05-24T17:54:16.533Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 17:52 bin [2023-05-24T17:54:16.533Z] -rw-r--r-- 1 jenkins jenkins 106150 May 24 17:53 coverage.out [2023-05-24T17:54:16.533Z] drwxrwxr-x 5 jenkins jenkins 4096 May 24 17:52 example [2023-05-24T17:54:16.534Z] -rw-rw-r-- 1 jenkins jenkins 3193 May 24 17:52 go.mod [2023-05-24T17:54:16.534Z] -rw-rw-r-- 1 jenkins jenkins 30699 May 24 17:52 go.sum [2023-05-24T17:54:16.534Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 17:52 internal [2023-05-24T17:54:16.534Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 17:52 openapi [2023-05-24T17:54:16.534Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 17:52 pkg [2023-05-24T17:54:16.534Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 17:52 snap [2023-05-24T17:54:16.534Z] -rw-rw-r-- 1 jenkins jenkins 222 May 24 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:54:16.954Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 --label arch=amd64 --label version=0.0.0 . [2023-05-24T17:54:16.955Z] Sending build context to Docker daemon 11.3MB [2023-05-24T17:54:16.955Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T17:54:16.955Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-24T17:54:16.955Z] ---> 5665fc957b9d [2023-05-24T17:54:16.955Z] Step 3/23 : ARG MAKE=make build [2023-05-24T17:54:17.214Z] ---> Running in 676dc568b083 [2023-05-24T17:54:17.214Z] Removing intermediate container 676dc568b083 [2023-05-24T17:54:17.214Z] ---> 3063ca97a0c9 [2023-05-24T17:54:17.214Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-24T17:54:17.214Z] ---> Running in eef73698c38c [2023-05-24T17:54:17.214Z] Removing intermediate container eef73698c38c [2023-05-24T17:54:17.214Z] ---> 9c50968f2a4b [2023-05-24T17:54:17.214Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-24T17:54:17.214Z] ---> Running in 9e8820fc2535 [2023-05-24T17:54:17.472Z] Removing intermediate container 9e8820fc2535 [2023-05-24T17:54:17.472Z] ---> 00713dc8a840 [2023-05-24T17:54:17.472Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-24T17:54:17.472Z] ---> Running in a0f8708a9979 [2023-05-24T17:54:17.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-24T17:54:17.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-24T17:54:17.989Z] OK: 265 MiB in 53 packages [2023-05-24T17:54:18.249Z] Removing intermediate container a0f8708a9979 [2023-05-24T17:54:18.249Z] ---> 039e59762570 [2023-05-24T17:54:18.249Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-24T17:54:18.509Z] ---> cd0a0186fd6e [2023-05-24T17:54:18.509Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T17:54:18.509Z] ---> Running in e8475aad446e [2023-05-24T17:54:19.078Z] Removing intermediate container e8475aad446e [2023-05-24T17:54:19.078Z] ---> 7d5038579bd6 [2023-05-24T17:54:19.078Z] Step 9/23 : COPY . . [2023-05-24T17:54:19.644Z] ---> b511d33e9d0c [2023-05-24T17:54:19.644Z] Step 10/23 : RUN ${MAKE} [2023-05-24T17:54:19.644Z] ---> Running in e2bfaf14b691 [2023-05-24T17:54:19.903Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-05-24T17:54:38.051Z] Removing intermediate container e2bfaf14b691 [2023-05-24T17:54:38.051Z] ---> 1a883318fe06 [2023-05-24T17:54:38.051Z] Step 11/23 : FROM alpine:3.17 [2023-05-24T17:54:38.311Z] 3.17: Pulling from library/alpine [2023-05-24T17:54:38.571Z] f56be85fc22e: Already exists [2023-05-24T17:54:38.571Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-24T17:54:38.571Z] Status: Downloaded newer image for alpine:3.17 [2023-05-24T17:54:38.571Z] ---> 9ed4aefc74f6 [2023-05-24T17:54:38.571Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-24T17:54:38.831Z] ---> Running in 5dfa884d9caf [2023-05-24T17:54:38.831Z] Removing intermediate container 5dfa884d9caf [2023-05-24T17:54:38.831Z] ---> 1c7c4d409ff7 [2023-05-24T17:54:38.831Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-24T17:54:38.831Z] ---> Running in 1412fa576288 [2023-05-24T17:54:39.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-24T17:54:39.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-24T17:54:39.350Z] OK: 7 MiB in 15 packages [2023-05-24T17:54:39.608Z] Removing intermediate container 1412fa576288 [2023-05-24T17:54:39.608Z] ---> 4ee363d5bb0b [2023-05-24T17:54:39.608Z] Step 14/23 : WORKDIR / [2023-05-24T17:54:39.608Z] ---> Running in bb89e89753c0 [2023-05-24T17:54:39.867Z] Removing intermediate container bb89e89753c0 [2023-05-24T17:54:39.867Z] ---> 6df0aaf5e4b1 [2023-05-24T17:54:39.867Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-24T17:54:39.867Z] ---> 7e88d6e06c80 [2023-05-24T17:54:39.867Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-24T17:54:40.821Z] ---> ced4aaf8dba6 [2023-05-24T17:54:40.821Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-24T17:54:40.821Z] ---> 6049eeb6aeda [2023-05-24T17:54:40.821Z] Step 18/23 : EXPOSE 59999 [2023-05-24T17:54:40.821Z] ---> Running in 24b4f341d4b1 [2023-05-24T17:54:40.821Z] Removing intermediate container 24b4f341d4b1 [2023-05-24T17:54:40.821Z] ---> 9a1a1d82d701 [2023-05-24T17:54:40.821Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-24T17:54:40.821Z] ---> Running in 1f7857b18eed [2023-05-24T17:54:41.081Z] Removing intermediate container 1f7857b18eed [2023-05-24T17:54:41.081Z] ---> df25db00553f [2023-05-24T17:54:41.081Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-24T17:54:41.081Z] ---> Running in db46af97debb [2023-05-24T17:54:41.081Z] Removing intermediate container db46af97debb [2023-05-24T17:54:41.081Z] ---> e65c62f63209 [2023-05-24T17:54:41.081Z] Step 21/23 : LABEL arch=amd64 [2023-05-24T17:54:41.081Z] ---> Running in 8a4ce7967a8b [2023-05-24T17:54:41.081Z] Removing intermediate container 8a4ce7967a8b [2023-05-24T17:54:41.081Z] ---> aac9d836213f [2023-05-24T17:54:41.081Z] Step 22/23 : LABEL git_sha=f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 [2023-05-24T17:54:41.081Z] ---> Running in a581d3ab304a [2023-05-24T17:54:41.340Z] Removing intermediate container a581d3ab304a [2023-05-24T17:54:41.340Z] ---> 71260de9a574 [2023-05-24T17:54:41.340Z] Step 23/23 : LABEL version=0.0.0 [2023-05-24T17:54:41.340Z] ---> Running in f389df49f733 [2023-05-24T17:54:41.340Z] Removing intermediate container f389df49f733 [2023-05-24T17:54:41.340Z] ---> 8c25026db78b [2023-05-24T17:54:41.340Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-24T17:54:41.340Z] Successfully built 8c25026db78b [2023-05-24T17:54:41.340Z] Successfully tagged device-sdk-simple: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-05-24T17:54:42.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T17:54:42.169Z] [2023-05-24T17:54:42.169Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:54:42.537Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T17:54:42.537Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-24T17:54:42.537Z] 5eb5b503b376: Pulling fs layer [2023-05-24T17:54:42.537Z] 5c69ac0246d0: Pulling fs layer [2023-05-24T17:54:42.537Z] ec43610c2a17: Pulling fs layer [2023-05-24T17:54:42.537Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-24T17:54:42.537Z] 33b1e0a273af: Pulling fs layer [2023-05-24T17:54:42.537Z] 5d3b04190fa2: Pulling fs layer [2023-05-24T17:54:42.537Z] 2f39f015ded8: Pulling fs layer [2023-05-24T17:54:42.537Z] 5d3b04190fa2: Waiting [2023-05-24T17:54:42.537Z] 33b1e0a273af: Waiting [2023-05-24T17:54:42.537Z] 2f39f015ded8: Waiting [2023-05-24T17:54:42.537Z] 5c69ac0246d0: Verifying Checksum [2023-05-24T17:54:42.537Z] 5c69ac0246d0: Download complete [2023-05-24T17:54:42.537Z] 3a2ae6a8a46f: Download complete [2023-05-24T17:54:42.537Z] ec43610c2a17: Verifying Checksum [2023-05-24T17:54:42.537Z] ec43610c2a17: Download complete [2023-05-24T17:54:42.537Z] 5d3b04190fa2: Verifying Checksum [2023-05-24T17:54:42.538Z] 5d3b04190fa2: Download complete [2023-05-24T17:54:42.796Z] 33b1e0a273af: Verifying Checksum [2023-05-24T17:54:42.796Z] 33b1e0a273af: Download complete [2023-05-24T17:54:42.796Z] 5eb5b503b376: Verifying Checksum [2023-05-24T17:54:42.796Z] 5eb5b503b376: Download complete [2023-05-24T17:54:43.364Z] 2f39f015ded8: Verifying Checksum [2023-05-24T17:54:43.364Z] 2f39f015ded8: Download complete [2023-05-24T17:54:43.934Z] 5eb5b503b376: Pull complete [2023-05-24T17:54:44.192Z] 5c69ac0246d0: Pull complete [2023-05-24T17:54:44.450Z] ec43610c2a17: Pull complete [2023-05-24T17:54:44.451Z] 3a2ae6a8a46f: Pull complete [2023-05-24T17:54:44.708Z] 33b1e0a273af: Pull complete [2023-05-24T17:54:44.966Z] 5d3b04190fa2: Pull complete [2023-05-24T17:54:49.148Z] 2f39f015ded8: Pull complete [2023-05-24T17:54:49.148Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-24T17:54:49.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T17:54:49.148Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T17:54:49.359Z] prd-ubuntu20.04-docker-8c-8g-16739 does not seem to be running inside a container [2023-05-24T17:54:49.389Z] $ 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/gexfoundry_device-sdk-go_PR-1463 -v /w/workspace/gexfoundry_device-sdk-go_PR-1463:/w/workspace/gexfoundry_device-sdk-go_PR-1463:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-24T17:54:51.757Z] $ docker top 49a4280f2356ba4f4173d7125ac813f045c4a7febbf17390650366e560eb1d35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:54:52.188Z] ---> job-cost.sh [2023-05-24T17:54:52.188Z] lf-activate-venv: SKIPPING [2023-05-24T17:54:52.188Z] INFO: No Stack... [2023-05-24T17:54:52.756Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-24T17:54:53.014Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T17:54:53.323Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1463/archives/cost.csv [2023-05-24T17:54:53.323Z] + cut -d, -f6 [Pipeline] lock [2023-05-24T17:54:53.366Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1463-1-stack-cost] [2023-05-24T17:54:53.371Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1463-1-stack-cost] did not exist. Created. [2023-05-24T17:54:53.371Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1463-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-24T17:54:53.762Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-24T17:54:53.811Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T17:54:53.841Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1463-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T17:54:53.921Z] $ docker stop --time=1 49a4280f2356ba4f4173d7125ac813f045c4a7febbf17390650366e560eb1d35 [2023-05-24T17:54:55.064Z] $ docker rm -f --volumes 49a4280f2356ba4f4173d7125ac813f045c4a7febbf17390650366e560eb1d35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-24T17:55:50.302Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16744 in /w/workspace/gexfoundry_device-sdk-go_PR-1463 [Pipeline] { [Pipeline] ws [2023-05-24T17:55:50.359Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-05-24T17:55:50.434Z] The recommended git tool is: git [2023-05-24T17:56:01.320Z] using credential edgex-jenkins-ssh [2023-05-24T17:56:01.342Z] Cloning the remote Git repository [2023-05-24T17:56:01.442Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-24T17:56:01.574Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-05-24T17:56:01.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-24T17:56:01.801Z] > git --version # timeout=10 [2023-05-24T17:56:01.870Z] > git --version # 'git version 2.25.1' [2023-05-24T17:56:01.874Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T17:56:02.222Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-24T17:56:04.227Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-24T17:56:04.264Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-24T17:56:05.618Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-24T17:56:05.677Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-24T17:56:05.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T17:56:05.699Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1463/head:refs/remotes/origin/PR-1463 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-24T17:56:06.324Z] Merging remotes/origin/main commit 73fd0cb522a429402bd3cc46187ecdcb61225433 into PR head commit f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 [2023-05-24T17:56:06.817Z] Merge succeeded, producing f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 [2023-05-24T17:56:06.817Z] Checking out Revision f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 (PR-1463) [2023-05-24T17:56:06.352Z] > git config core.sparsecheckout # timeout=10 [2023-05-24T17:56:06.470Z] > git checkout -f f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 # timeout=10 [2023-05-24T17:56:06.629Z] > git remote # timeout=10 [2023-05-24T17:56:06.674Z] > git config --get remote.origin.url # timeout=10 [2023-05-24T17:56:06.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T17:56:06.734Z] > git merge 73fd0cb522a429402bd3cc46187ecdcb61225433 # timeout=10 [2023-05-24T17:56:06.778Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-24T17:56:06.829Z] > git config core.sparsecheckout # timeout=10 [2023-05-24T17:56:06.874Z] > git checkout -f f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 # timeout=10 [2023-05-24T17:56:07.539Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-05-24T17:56:07.608Z] > git --version # timeout=10 [2023-05-24T17:56:07.624Z] > git --version # 'git version 2.25.1' [2023-05-24T17:56:07.642Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T17:56:08.735Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-24T17:56:08.735Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-24T17:56:08.735Z] Dload Upload Total Spent Left Speed [2023-05-24T17:56:08.735Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-05-24T17:56:09.397Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-24T17:56:09.750Z] + sudo tee /etc/docker/daemon.new [2023-05-24T17:56:09.750Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-24T17:56:09.750Z] { [2023-05-24T17:56:09.750Z] "registry-mirrors": [ [2023-05-24T17:56:09.750Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-24T17:56:09.750Z] ], [2023-05-24T17:56:09.750Z] "bip": "10.250.0.254/24", [2023-05-24T17:56:09.750Z] "hosts": [ [2023-05-24T17:56:09.750Z] "tcp://0.0.0.0:5555", [2023-05-24T17:56:09.750Z] "unix:///var/run/docker.sock" [2023-05-24T17:56:09.750Z] ], [2023-05-24T17:56:09.750Z] "mtu": 1458, [2023-05-24T17:56:09.750Z] "selinux-enabled": true, [2023-05-24T17:56:09.750Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-24T17:56:09.750Z] } [Pipeline] sh [2023-05-24T17:56:10.100Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-24T17:56:10.460Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T17:56:28.815Z] provisioning config files... [2023-05-24T17:56:28.845Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11059679589918607107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:56:29.250Z] ---> docker-login.sh [2023-05-24T17:56:29.250Z] nexus3.edgexfoundry.org:10001 [2023-05-24T17:56:29.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:56:29.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:56:29.843Z] Configure a credential helper to remove this warning. See [2023-05-24T17:56:29.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:56:29.843Z] [2023-05-24T17:56:29.843Z] Login Succeeded [2023-05-24T17:56:29.843Z] nexus3.edgexfoundry.org:10002 [2023-05-24T17:56:30.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:56:30.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:56:30.386Z] Configure a credential helper to remove this warning. See [2023-05-24T17:56:30.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:56:30.386Z] [2023-05-24T17:56:30.386Z] Login Succeeded [2023-05-24T17:56:30.386Z] nexus3.edgexfoundry.org:10003 [2023-05-24T17:56:30.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:56:30.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:56:30.657Z] Configure a credential helper to remove this warning. See [2023-05-24T17:56:30.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:56:30.657Z] [2023-05-24T17:56:30.657Z] Login Succeeded [2023-05-24T17:56:30.657Z] nexus3.edgexfoundry.org:10004 [2023-05-24T17:56:30.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:56:30.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:56:30.929Z] Configure a credential helper to remove this warning. See [2023-05-24T17:56:30.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:56:30.929Z] [2023-05-24T17:56:30.929Z] Login Succeeded [2023-05-24T17:56:30.929Z] docker.io [2023-05-24T17:56:31.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:56:31.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:56:31.471Z] Configure a credential helper to remove this warning. See [2023-05-24T17:56:31.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:56:31.471Z] [2023-05-24T17:56:31.471Z] Login Succeeded [2023-05-24T17:56:31.742Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T17:56:31.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T17:56:32.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T17:56:32.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T17:56:32.295Z] ========================================================= [2023-05-24T17:56:32.295Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-24T17:56:32.295Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:56:32.942Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-24T17:56:33.536Z] Sending build context to Docker daemon 6.014MB [2023-05-24T17:56:33.536Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T17:56:33.536Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-24T17:56:33.536Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-24T17:56:33.536Z] c41833b44d91: Pulling fs layer [2023-05-24T17:56:33.536Z] ed15518f5707: Pulling fs layer [2023-05-24T17:56:33.536Z] feae8fd75edb: Pulling fs layer [2023-05-24T17:56:33.536Z] 242c74f7c9fa: Pulling fs layer [2023-05-24T17:56:33.536Z] 3cdef696dda3: Pulling fs layer [2023-05-24T17:56:33.536Z] 2ced38df9373: Pulling fs layer [2023-05-24T17:56:33.536Z] 58f1dce35555: Pulling fs layer [2023-05-24T17:56:33.536Z] 242c74f7c9fa: Waiting [2023-05-24T17:56:33.536Z] 3cdef696dda3: Waiting [2023-05-24T17:56:33.536Z] 2ced38df9373: Waiting [2023-05-24T17:56:33.536Z] 58f1dce35555: Waiting [2023-05-24T17:56:33.536Z] ed15518f5707: Verifying Checksum [2023-05-24T17:56:33.536Z] ed15518f5707: Download complete [2023-05-24T17:56:33.808Z] 242c74f7c9fa: Download complete [2023-05-24T17:56:33.808Z] 3cdef696dda3: Download complete [2023-05-24T17:56:33.808Z] c41833b44d91: Verifying Checksum [2023-05-24T17:56:33.808Z] c41833b44d91: Download complete [2023-05-24T17:56:34.783Z] c41833b44d91: Pull complete [2023-05-24T17:56:35.055Z] 58f1dce35555: Verifying Checksum [2023-05-24T17:56:35.055Z] 58f1dce35555: Download complete [2023-05-24T17:56:35.327Z] ed15518f5707: Pull complete [2023-05-24T17:56:36.307Z] feae8fd75edb: Verifying Checksum [2023-05-24T17:56:36.307Z] feae8fd75edb: Download complete [2023-05-24T17:56:36.307Z] 2ced38df9373: Verifying Checksum [2023-05-24T17:56:36.307Z] 2ced38df9373: Download complete [2023-05-24T17:56:46.487Z] feae8fd75edb: Pull complete [2023-05-24T17:56:46.757Z] 242c74f7c9fa: Pull complete [2023-05-24T17:56:47.031Z] 3cdef696dda3: Pull complete [2023-05-24T17:56:53.712Z] 2ced38df9373: Pull complete [2023-05-24T17:56:55.133Z] 58f1dce35555: Pull complete [2023-05-24T17:56:55.133Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-24T17:56:55.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-24T17:56:55.403Z] ---> fadd8f120f05 [2023-05-24T17:56:55.403Z] Step 3/10 : ARG MAKE=make build [2023-05-24T17:56:58.015Z] ---> Running in 70344f1e6712 [2023-05-24T17:56:58.015Z] Removing intermediate container 70344f1e6712 [2023-05-24T17:56:58.015Z] ---> c7024edb3ede [2023-05-24T17:56:58.015Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-24T17:56:58.015Z] ---> Running in 807a72909aef [2023-05-24T17:56:58.285Z] Removing intermediate container 807a72909aef [2023-05-24T17:56:58.285Z] ---> c32033c5aaaa [2023-05-24T17:56:58.285Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-24T17:56:58.285Z] ---> Running in 07aa9eabc4e0 [2023-05-24T17:56:58.555Z] Removing intermediate container 07aa9eabc4e0 [2023-05-24T17:56:58.555Z] ---> e4b688d60457 [2023-05-24T17:56:58.555Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-24T17:56:58.825Z] ---> Running in 1f26ef6a3c35 [2023-05-24T17:57:00.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-24T17:57:00.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-24T17:57:01.953Z] OK: 263 MiB in 53 packages [2023-05-24T17:57:02.546Z] Removing intermediate container 1f26ef6a3c35 [2023-05-24T17:57:02.546Z] ---> ab3b06cb043d [2023-05-24T17:57:02.546Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-24T17:57:03.138Z] ---> 6993fd7becb7 [2023-05-24T17:57:03.138Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T17:57:03.138Z] ---> Running in 152de6345690 [2023-05-24T17:58:11.099Z] Removing intermediate container 152de6345690 [2023-05-24T17:58:11.099Z] ---> d9c512b50ea4 [2023-05-24T17:58:11.099Z] Step 9/10 : COPY . . [2023-05-24T17:58:11.099Z] ---> 0e26d60f4591 [2023-05-24T17:58:11.099Z] Step 10/10 : RUN ${MAKE} [2023-05-24T17:58:11.099Z] ---> Running in 2cdcab5c2985 [2023-05-24T17:58:11.099Z] noop [2023-05-24T17:58:11.099Z] Removing intermediate container 2cdcab5c2985 [2023-05-24T17:58:11.099Z] ---> 7f6e11b3abaf [2023-05-24T17:58:11.099Z] Successfully built 7f6e11b3abaf [2023-05-24T17:58:11.099Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:58:11.751Z] + docker inspect -f . ci-base-image-arm64 [2023-05-24T17:58:11.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T17:58:12.076Z] prd-ubuntu20.04-docker-arm64-4c-16g-16744 does not seem to be running inside a container [2023-05-24T17:58:12.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-05-24T17:58:13.538Z] $ docker top 4cb5da86b55da2efced42ce1dcf4315631cb84c818fef6c0ed42d9f64c339b9c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T17:58:14.471Z] + go version [2023-05-24T17:58:14.471Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-24T17:58:14.515Z] $ docker stop --time=1 4cb5da86b55da2efced42ce1dcf4315631cb84c818fef6c0ed42d9f64c339b9c [2023-05-24T17:58:16.254Z] $ docker rm -f --volumes 4cb5da86b55da2efced42ce1dcf4315631cb84c818fef6c0ed42d9f64c339b9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:58:17.147Z] + docker inspect -f . ci-base-image-arm64 [2023-05-24T17:58:17.147Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T17:58:17.440Z] prd-ubuntu20.04-docker-arm64-4c-16g-16744 does not seem to be running inside a container [2023-05-24T17:58:17.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-05-24T17:58:18.934Z] $ docker top 51eabedadd9ba289f4e7c0224c81f3bf6626c9e76de6abac79ed2d578a2924c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T17:58:19.875Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-24T17:58:20.601Z] + make test [2023-05-24T17:58:20.601Z] go test -race -coverprofile=coverage.out ./... [2023-05-24T17:59:07.503Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-24T18:01:14.278Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-24T18:01:14.278Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-24T18:01:14.278Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-24T18:01:14.278Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-24T18:01:14.278Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-24T18:01:26.640Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.254s coverage: 27.6% of statements [2023-05-24T18:01:28.603Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.331s coverage: 80.2% of statements [2023-05-24T18:01:40.970Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-24T18:01:40.970Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-24T18:01:40.970Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.449s coverage: 86.0% of statements [2023-05-24T18:01:46.335Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-24T18:01:46.335Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-24T18:01:46.929Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.541s coverage: 77.5% of statements [2023-05-24T18:01:49.524Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.302s coverage: 14.3% of statements [2023-05-24T18:01:52.885Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-24T18:01:52.885Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-24T18:01:53.157Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.535s coverage: 68.5% of statements [2023-05-24T18:01:55.117Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.490s coverage: 89.2% of statements [2023-05-24T18:01:58.480Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-24T18:01:58.750Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.287s coverage: 5.7% of statements [2023-05-24T18:01:59.718Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-24T18:01:59.718Z] GO111MODULE=on go vet ./... [2023-05-24T18:04:51.534Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-24T18:04:51.534Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-24T18:04:51.534Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-24T18:04:51.572Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-24T18:04:51.607Z] $ docker stop --time=1 51eabedadd9ba289f4e7c0224c81f3bf6626c9e76de6abac79ed2d578a2924c9 [2023-05-24T18:04:53.559Z] $ docker rm -f --volumes 51eabedadd9ba289f4e7c0224c81f3bf6626c9e76de6abac79ed2d578a2924c9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T18:04:55.313Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-24T18:04:55.349Z] Warning: overwriting stash ‘coverage-report’ [2023-05-24T18:04:56.051Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T18:04:56.628Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T18:04:56.986Z] + ls -al . [2023-05-24T18:04:56.986Z] total 268 [2023-05-24T18:04:56.986Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 17:58 . [2023-05-24T18:04:56.986Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 17:56 .. [2023-05-24T18:04:56.986Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 17:56 .dockerignore [2023-05-24T18:04:56.986Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 17:56 .git [2023-05-24T18:04:56.986Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 17:56 .github [2023-05-24T18:04:56.986Z] -rw-rw-r-- 1 jenkins jenkins 137 May 24 17:56 .gitignore [2023-05-24T18:04:56.986Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 17:56 .golangci.yml [2023-05-24T18:04:56.986Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 24 17:56 CHANGELOG.md [2023-05-24T18:04:56.986Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 17:56 GOVERNANCE.md [2023-05-24T18:04:56.986Z] -rw-rw-r-- 1 jenkins jenkins 885 May 24 17:56 Jenkinsfile [2023-05-24T18:04:56.986Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 24 17:56 LICENSE [2023-05-24T18:04:56.986Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 24 17:56 Makefile [2023-05-24T18:04:56.986Z] -rw-rw-r-- 1 jenkins jenkins 619 May 24 17:56 OWNERS.md [2023-05-24T18:04:56.986Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 24 17:56 README.md [2023-05-24T18:04:56.986Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 17:52 VERSION [2023-05-24T18:04:56.986Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 17:56 bin [2023-05-24T18:04:56.986Z] -rw-r--r-- 1 jenkins jenkins 106151 May 24 18:01 coverage.out [2023-05-24T18:04:56.986Z] drwxrwxr-x 5 jenkins jenkins 4096 May 24 17:56 example [2023-05-24T18:04:56.986Z] -rw-rw-r-- 1 jenkins jenkins 3193 May 24 17:56 go.mod [2023-05-24T18:04:56.986Z] -rw-rw-r-- 1 jenkins jenkins 30699 May 24 17:56 go.sum [2023-05-24T18:04:56.986Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 17:56 internal [2023-05-24T18:04:56.986Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 17:56 openapi [2023-05-24T18:04:56.986Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 17:56 pkg [2023-05-24T18:04:56.986Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 17:56 snap [2023-05-24T18:04:56.986Z] -rw-rw-r-- 1 jenkins jenkins 222 May 24 17:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:04:57.401Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 --label arch=arm64 --label version=0.0.0 . [2023-05-24T18:04:57.988Z] Sending build context to Docker daemon 6.121MB [2023-05-24T18:04:57.988Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T18:04:57.988Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-24T18:04:57.988Z] ---> 7f6e11b3abaf [2023-05-24T18:04:57.988Z] Step 3/23 : ARG MAKE=make build [2023-05-24T18:04:58.959Z] ---> Running in 99fcd834d1de [2023-05-24T18:04:58.959Z] Removing intermediate container 99fcd834d1de [2023-05-24T18:04:58.959Z] ---> 37f0e2a5d592 [2023-05-24T18:04:58.959Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-24T18:04:59.230Z] ---> Running in 8941bb86d651 [2023-05-24T18:04:59.498Z] Removing intermediate container 8941bb86d651 [2023-05-24T18:04:59.498Z] ---> 326568e36835 [2023-05-24T18:04:59.498Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-24T18:04:59.498Z] ---> Running in 2ba28b188ed2 [2023-05-24T18:04:59.765Z] Removing intermediate container 2ba28b188ed2 [2023-05-24T18:04:59.765Z] ---> 340653f77d24 [2023-05-24T18:04:59.765Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-24T18:05:00.031Z] ---> Running in 15d0789dfda9 [2023-05-24T18:05:01.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-24T18:05:01.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-24T18:05:03.013Z] OK: 263 MiB in 53 packages [2023-05-24T18:05:03.977Z] Removing intermediate container 15d0789dfda9 [2023-05-24T18:05:03.977Z] ---> 66ce59088026 [2023-05-24T18:05:03.977Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-24T18:05:04.249Z] ---> d8a0b35cfd80 [2023-05-24T18:05:04.249Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T18:05:04.523Z] ---> Running in 4d0511e752f8 [2023-05-24T18:05:07.128Z] Removing intermediate container 4d0511e752f8 [2023-05-24T18:05:07.128Z] ---> 25d28f593412 [2023-05-24T18:05:07.128Z] Step 9/23 : COPY . . [2023-05-24T18:05:08.557Z] ---> 3d042272a0b3 [2023-05-24T18:05:08.557Z] Step 10/23 : RUN ${MAKE} [2023-05-24T18:05:08.557Z] ---> Running in 33acf5ae40c1 [2023-05-24T18:05:09.527Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-05-24T18:07:46.274Z] Removing intermediate container 33acf5ae40c1 [2023-05-24T18:07:46.274Z] ---> 5ab191eb9269 [2023-05-24T18:07:46.274Z] Step 11/23 : FROM alpine:3.17 [2023-05-24T18:07:46.274Z] 3.17: Pulling from library/alpine [2023-05-24T18:07:46.274Z] c41833b44d91: Already exists [2023-05-24T18:07:46.274Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-24T18:07:46.274Z] Status: Downloaded newer image for alpine:3.17 [2023-05-24T18:07:46.274Z] ---> 51e60588ff2c [2023-05-24T18:07:46.274Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-24T18:07:46.274Z] ---> Running in a5ce9239bdb4 [2023-05-24T18:07:46.274Z] Removing intermediate container a5ce9239bdb4 [2023-05-24T18:07:46.274Z] ---> 75ee1ed275ba [2023-05-24T18:07:46.274Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-24T18:07:46.274Z] ---> Running in 03526876d48b [2023-05-24T18:07:46.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-24T18:07:46.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-24T18:07:46.274Z] OK: 7 MiB in 15 packages [2023-05-24T18:07:46.274Z] Removing intermediate container 03526876d48b [2023-05-24T18:07:46.274Z] ---> befa4553cfaf [2023-05-24T18:07:46.274Z] Step 14/23 : WORKDIR / [2023-05-24T18:07:46.274Z] ---> Running in 9705e0db5f3d [2023-05-24T18:07:46.274Z] Removing intermediate container 9705e0db5f3d [2023-05-24T18:07:46.274Z] ---> 4c385688d638 [2023-05-24T18:07:46.274Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-24T18:07:46.274Z] ---> 76133d507756 [2023-05-24T18:07:46.274Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-24T18:07:46.274Z] ---> 377b4b457abd [2023-05-24T18:07:46.274Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-24T18:07:46.274Z] ---> 8d6aef56ba7a [2023-05-24T18:07:46.274Z] Step 18/23 : EXPOSE 59999 [2023-05-24T18:07:46.274Z] ---> Running in 42b9d491a7b6 [2023-05-24T18:07:46.274Z] Removing intermediate container 42b9d491a7b6 [2023-05-24T18:07:46.274Z] ---> 93fafb292dc7 [2023-05-24T18:07:46.274Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-24T18:07:46.274Z] ---> Running in b4ec199e7115 [2023-05-24T18:07:46.274Z] Removing intermediate container b4ec199e7115 [2023-05-24T18:07:46.274Z] ---> c7cc4d4c9459 [2023-05-24T18:07:46.274Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-24T18:07:46.274Z] ---> Running in 439b1e9ef0a2 [2023-05-24T18:07:46.274Z] Removing intermediate container 439b1e9ef0a2 [2023-05-24T18:07:46.274Z] ---> df9ba4efb78e [2023-05-24T18:07:46.274Z] Step 21/23 : LABEL arch=arm64 [2023-05-24T18:07:46.274Z] ---> Running in 2b465b771a2e [2023-05-24T18:07:46.274Z] Removing intermediate container 2b465b771a2e [2023-05-24T18:07:46.274Z] ---> f261609d675f [2023-05-24T18:07:46.274Z] Step 22/23 : LABEL git_sha=f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 [2023-05-24T18:07:46.274Z] ---> Running in 912e4981092c [2023-05-24T18:07:46.274Z] Removing intermediate container 912e4981092c [2023-05-24T18:07:46.274Z] ---> be7a2a14c907 [2023-05-24T18:07:46.274Z] Step 23/23 : LABEL version=0.0.0 [2023-05-24T18:07:46.274Z] ---> Running in d87b31d48092 [2023-05-24T18:07:46.274Z] Removing intermediate container d87b31d48092 [2023-05-24T18:07:46.274Z] ---> 9db850ea9bfa [2023-05-24T18:07:46.274Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-24T18:07:46.274Z] Successfully built 9db850ea9bfa [2023-05-24T18:07:46.274Z] Successfully tagged device-sdk-simple-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-05-24T18:07:47.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T18:07:47.068Z] [2023-05-24T18:07:47.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:07:47.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T18:07:47.475Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-24T18:07:47.475Z] 8998bd30e6a1: Pulling fs layer [2023-05-24T18:07:47.475Z] 04944245beec: Pulling fs layer [2023-05-24T18:07:47.475Z] 699f458cf7ca: Pulling fs layer [2023-05-24T18:07:47.475Z] 765212b225bb: Pulling fs layer [2023-05-24T18:07:47.475Z] f23df028b6ca: Pulling fs layer [2023-05-24T18:07:47.475Z] d65c8cfc05b1: Pulling fs layer [2023-05-24T18:07:47.475Z] 2437ff75d9bd: Pulling fs layer [2023-05-24T18:07:47.475Z] 765212b225bb: Waiting [2023-05-24T18:07:47.475Z] f23df028b6ca: Waiting [2023-05-24T18:07:47.475Z] d65c8cfc05b1: Waiting [2023-05-24T18:07:47.475Z] 2437ff75d9bd: Waiting [2023-05-24T18:07:47.745Z] 04944245beec: Verifying Checksum [2023-05-24T18:07:47.745Z] 04944245beec: Download complete [2023-05-24T18:07:47.745Z] 765212b225bb: Verifying Checksum [2023-05-24T18:07:47.745Z] 765212b225bb: Download complete [2023-05-24T18:07:47.745Z] f23df028b6ca: Verifying Checksum [2023-05-24T18:07:47.745Z] f23df028b6ca: Download complete [2023-05-24T18:07:47.745Z] d65c8cfc05b1: Verifying Checksum [2023-05-24T18:07:47.745Z] d65c8cfc05b1: Download complete [2023-05-24T18:07:48.012Z] 699f458cf7ca: Verifying Checksum [2023-05-24T18:07:48.012Z] 699f458cf7ca: Download complete [2023-05-24T18:07:48.279Z] 8998bd30e6a1: Verifying Checksum [2023-05-24T18:07:48.279Z] 8998bd30e6a1: Download complete [2023-05-24T18:07:50.228Z] 2437ff75d9bd: Verifying Checksum [2023-05-24T18:07:50.228Z] 2437ff75d9bd: Download complete [2023-05-24T18:07:52.168Z] 8998bd30e6a1: Pull complete [2023-05-24T18:07:52.435Z] 04944245beec: Pull complete [2023-05-24T18:07:53.841Z] 699f458cf7ca: Pull complete [2023-05-24T18:07:53.841Z] 765212b225bb: Pull complete [2023-05-24T18:07:54.799Z] f23df028b6ca: Pull complete [2023-05-24T18:07:54.799Z] d65c8cfc05b1: Pull complete [2023-05-24T18:08:07.103Z] 2437ff75d9bd: Pull complete [2023-05-24T18:08:07.103Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-24T18:08:07.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T18:08:07.103Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:08:07.468Z] prd-ubuntu20.04-docker-arm64-4c-16g-16744 does not seem to be running inside a container [2023-05-24T18:08:07.573Z] $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-05-24T18:08:10.427Z] $ docker top 92134ca1df48b09f655c7c861b19a8ee9a0643584a21f7e9126bdb90d80b8df3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:08:11.360Z] ---> job-cost.sh [2023-05-24T18:08:11.360Z] lf-activate-venv: SKIPPING [2023-05-24T18:08:11.360Z] INFO: No Stack... [2023-05-24T18:08:11.958Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-24T18:08:12.548Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T18:08:13.232Z] + cut -d, -f6 [2023-05-24T18:08:13.232Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-05-24T18:08:13.325Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1463-1-stack-cost] [2023-05-24T18:08:13.329Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1463-1-stack-cost] did not exist. Created. [2023-05-24T18:08:13.329Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1463-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-24T18:08:14.073Z] /w/workspace/device-sdk-go/1@tmp/durable-f2d13519/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-24T18:08:14.747Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-24T18:08:14.781Z] Warning: overwriting stash ‘stack-cost’ [2023-05-24T18:08:14.850Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T18:08:14.949Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1463-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T18:08:15.038Z] $ docker stop --time=1 92134ca1df48b09f655c7c861b19a8ee9a0643584a21f7e9126bdb90d80b8df3 [2023-05-24T18:08:16.564Z] $ docker rm -f --volumes 92134ca1df48b09f655c7c861b19a8ee9a0643584a21f7e9126bdb90d80b8df3 [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-05-24T18:08:17.644Z] provisioning config files... [2023-05-24T18:08:17.651Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp/config8115843451457664042tmp [Pipeline] { [Pipeline] sh [2023-05-24T18:08:17.982Z] + set +x [2023-05-24T18:08:17.982Z] + curl -s https://codecov.io/bash [2023-05-24T18:08:17.982Z] + bash -s -- [2023-05-24T18:08:17.982Z] [2023-05-24T18:08:17.982Z] _____ _ [2023-05-24T18:08:17.982Z] / ____| | | [2023-05-24T18:08:17.982Z] | | ___ __| | ___ ___ _____ __ [2023-05-24T18:08:17.982Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-24T18:08:17.982Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-24T18:08:17.982Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-24T18:08:17.982Z] Bash-1.0.6 [2023-05-24T18:08:17.982Z] [2023-05-24T18:08:17.983Z] [2023-05-24T18:08:17.983Z] ==> git version 2.25.1 found [2023-05-24T18:08:17.983Z] ==> 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-05-24T18:08:17.983Z] Release-Date: 2020-01-08 [2023-05-24T18:08:17.983Z] 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-05-24T18:08:17.983Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-24T18:08:17.983Z] ==> Jenkins CI detected. [2023-05-24T18:08:17.983Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1463 [2023-05-24T18:08:17.983Z] project root: . [2023-05-24T18:08:17.983Z] --> token set from env [2023-05-24T18:08:17.983Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-24T18:08:17.983Z] ==> Running gcov in . (disable via -X gcov) [2023-05-24T18:08:17.983Z] ==> Python coveragepy not found [2023-05-24T18:08:17.983Z] ==> Searching for coverage reports in: [2023-05-24T18:08:17.983Z] + . [2023-05-24T18:08:17.983Z] -> Found 1 reports [2023-05-24T18:08:17.983Z] ==> Detecting git/mercurial file structure [2023-05-24T18:08:17.983Z] ==> Reading reports [2023-05-24T18:08:17.983Z] + ./coverage.out bytes=106151 [2023-05-24T18:08:17.983Z] ==> Appending adjustments [2023-05-24T18:08:17.983Z] https://docs.codecov.io/docs/fixing-reports [2023-05-24T18:08:18.241Z] + Found adjustments [2023-05-24T18:08:18.241Z] ==> Gzipping contents [2023-05-24T18:08:18.242Z] 16K /tmp/codecov.8VuefL.gz [2023-05-24T18:08:18.242Z] ==> Uploading reports [2023-05-24T18:08:18.242Z] url: https://codecov.io [2023-05-24T18:08:18.242Z] query: branch=PR-1463&commit=f6f5ec0623cbaf5e2af1533dc9152e86cfbac288&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1463%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1463&job=&cmd_args= [2023-05-24T18:08:18.502Z] -> Pinging Codecov [2023-05-24T18:08:18.502Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1463&commit=f6f5ec0623cbaf5e2af1533dc9152e86cfbac288&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1463%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1463&job=&cmd_args= [2023-05-24T18:08:18.502Z] -> Uploading to [2023-05-24T18:08:18.502Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-24/7E55EF52A471D76F132DFD9A03CDDE97/f6f5ec0623cbaf5e2af1533dc9152e86cfbac288/eb4829ad-3c2c-4a55-8ad4-52f456e7166d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230524T180818Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=82bb84c3df979d979e981dc044ed6c3564d153c3acc1e671e161df6d2aec1efb [2023-05-24T18:08:18.502Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-24T18:08:18.502Z] Dload Upload Total Spent Left Speed [2023-05-24T18:08:18.761Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15119 0 0 100 15119 0 80420 --:--:-- --:--:-- --:--:-- 79994 100 15119 0 0 100 15119 0 80420 --:--:-- --:--:-- --:--:-- 79994 [2023-05-24T18:08:18.761Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f6f5ec0623cbaf5e2af1533dc9152e86cfbac288 [Pipeline] } [2023-05-24T18:08:18.814Z] 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-05-24T18:08:21.582Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1463/archives ] [2023-05-24T18:08:21.583Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1463/archives [2023-05-24T18:08:21.583Z] total 16 [2023-05-24T18:08:21.583Z] drwxr-xr-x 3 root root 4096 May 24 17:54 . [2023-05-24T18:08:21.583Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 17:54 .. [2023-05-24T18:08:21.583Z] drwxr-xr-x 2 root root 4096 May 24 17:54 cost [2023-05-24T18:08:21.583Z] -rw-r--r-- 1 root root 86 May 24 17:54 cost.csv [2023-05-24T18:08:21.583Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1463/archives [2023-05-24T18:08:21.583Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1463/archives [2023-05-24T18:08:21.583Z] total 16 [2023-05-24T18:08:21.583Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 17:54 . [2023-05-24T18:08:21.583Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 17:54 .. [2023-05-24T18:08:21.583Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 17:54 cost [2023-05-24T18:08:21.583Z] -rw-r--r-- 1 jenkins jenkins 86 May 24 17:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:08:21.916Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:08:22.810Z] ---> package-listing.sh [2023-05-24T18:08:22.810Z] ++ facter osfamily [2023-05-24T18:08:22.810Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-24T18:08:23.071Z] + OS_FAMILY=debian [2023-05-24T18:08:23.071Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1463 [2023-05-24T18:08:23.071Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-24T18:08:23.071Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-24T18:08:23.071Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-24T18:08:23.071Z] + PACKAGES=/tmp/packages_start.txt [2023-05-24T18:08:23.071Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1463 ']' [2023-05-24T18:08:23.071Z] + PACKAGES=/tmp/packages_end.txt [2023-05-24T18:08:23.071Z] + case "${OS_FAMILY}" in [2023-05-24T18:08:23.071Z] + dpkg -l [2023-05-24T18:08:23.071Z] + grep '^ii' [2023-05-24T18:08:23.071Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-24T18:08:23.071Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-24T18:08:23.071Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-24T18:08:23.071Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1463 ']' [2023-05-24T18:08:23.071Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1463/archives/ [2023-05-24T18:08:23.071Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1463/archives/ [Pipeline] echo [2023-05-24T18:08:23.105Z] 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/gexfoundry_device-sdk-go_PR-1463/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-24T18:08:23.399Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:08:24.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T18:08:24.023Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:08:24.179Z] prd-ubuntu20.04-docker-8c-8g-16739 does not seem to be running inside a container [2023-05-24T18:08:24.210Z] $ 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/gexfoundry_device-sdk-go_PR-1463/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1463 -v /w/workspace/gexfoundry_device-sdk-go_PR-1463:/w/workspace/gexfoundry_device-sdk-go_PR-1463:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1463@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-05-24T18:08:24.385Z] $ docker top 6680cd12e5371d12d2b054e91a697ff0c48010b815195d6870b1d6b7678c3802 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T18:08:24.776Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-24T18:08:25.088Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-24T18:08:25.502Z] + ls /var/log/sa-host [2023-05-24T18:08:25.502Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T18:08:25.638Z] provisioning config files... [2023-05-24T18:08:25.647Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1463@tmp/config12974993301817444300tmp [Pipeline] { [Pipeline] echo [2023-05-24T18:08:25.727Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:08:26.038Z] ---> create-netrc.sh [Pipeline] } [2023-05-24T18:08:26.063Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:08:26.457Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-24T18:08:26.489Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:08:26.798Z] ---> sudo-logs.sh [2023-05-24T18:08:26.798Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-24T18:08:26.896Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:08:27.216Z] ---> job-cost.sh [2023-05-24T18:08:27.216Z] lf-activate-venv: SKIPPING [2023-05-24T18:08:27.216Z] DEBUG: total: 0.2199999988079071 [2023-05-24T18:08:27.216Z] INFO: Retrieving Stack Cost... [2023-05-24T18:08:27.784Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-24T18:08:28.042Z] INFO: Archiving Costs [Pipeline] echo [2023-05-24T18:08:28.082Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:08:28.388Z] ---> logs-deploy.sh [2023-05-24T18:08:28.388Z] lf-activate-venv: SKIPPING [2023-05-24T18:08:28.388Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1463/1 [2023-05-24T18:08:28.388Z] INFO: archiving workspace using pattern(s): [2023-05-24T18:08:29.323Z] Archives upload complete. [2023-05-24T18:08:29.323Z] INFO: archiving logs to Nexus