Pull request #1464 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from da108bdfedf3254c4deeaeb4d803e7e42dfcbe7c+5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 (f04b8d583067d5f326f1bee1df913c6587eaedcd) 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-ssh1519163962327208318.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-ssh15597961702229252991.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-1464/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-1464/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15918273539440511708.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-1464/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18167461533782469469.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-ssh11394653106130938422.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-1464/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-1464/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1464521665596235339.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16759 in /w/workspace/gexfoundry_device-sdk-go_PR-1464 [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-1464 # 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 Merging remotes/origin/main commit 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 into PR head commit da108bdfedf3254c4deeaeb4d803e7e42dfcbe7c Merge succeeded, producing 9a3c478e2b4eeb1a50e4964926da395764f7c8b3 Checking out Revision 9a3c478e2b4eeb1a50e4964926da395764f7c8b3 (PR-1464) > 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/1464/head:refs/remotes/origin/PR-1464 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da108bdfedf3254c4deeaeb4d803e7e42dfcbe7c # 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 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a3c478e2b4eeb1a50e4964926da395764f7c8b3 # timeout=10 Commit message: "Merge commit '5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1' into HEAD" 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] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-24T18:31:16.239Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-24T18:31:16.430Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-24T18:31:16.525Z] ========================================================= [2023-05-24T18:31:16.525Z] EdgeX Global Pipelines Version Info [2023-05-24T18:31:16.525Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:31:17.246Z] ------------------- [2023-05-24T18:31:17.246Z] stable info: [2023-05-24T18:31:17.246Z] ------------------- [2023-05-24T18:31:17.246Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-24T18:31:17.246Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T18:31:17.246Z] Message: update stable to v1.0.249 [2023-05-24T18:31:17.817Z] ------------------- [2023-05-24T18:31:17.817Z] experimental info: [2023-05-24T18:31:17.817Z] ------------------- [2023-05-24T18:31:17.817Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-24T18:31:17.817Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T18:31:17.817Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-24T18:31:18.105Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-24T18:31:18.145Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-24T18:31:18.183Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-24T18:31:18.224Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-24T18:31:18.268Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-24T18:31:18.310Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-24T18:31:18.351Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-24T18:31:18.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-24T18:31:18.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-24T18:31:18.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-24T18:31:18.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-24T18:31:18.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-24T18:31:18.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-24T18:31:18.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-24T18:31:18.670Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-24T18:31:18.714Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T18:31:18.760Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T18:31:18.801Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T18:31:18.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-24T18:31:18.886Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-24T18:31:18.926Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-24T18:31:18.968Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-24T18:31:19.016Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-24T18:31:19.058Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-24T18:31:19.100Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-24T18:31:19.143Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-24T18:31:19.182Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-24T18:31:19.228Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1464 [Pipeline] echo [2023-05-24T18:31:19.274Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1464 [Pipeline] echo [2023-05-24T18:31:19.317Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1464 [Pipeline] echo [2023-05-24T18:31:19.361Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a3c478e2b4eeb1a50e4964926da395764f7c8b3 [Pipeline] echo [2023-05-24T18:31:19.401Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a3c478 [Pipeline] echo [2023-05-24T18:31:19.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T18:31:19.573Z] provisioning config files... [2023-05-24T18:31:19.586Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp/config7185310442486136409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:31:20.020Z] ---> docker-login.sh [2023-05-24T18:31:20.020Z] nexus3.edgexfoundry.org:10001 [2023-05-24T18:31:20.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:31:20.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:31:20.279Z] Configure a credential helper to remove this warning. See [2023-05-24T18:31:20.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:31:20.279Z] [2023-05-24T18:31:20.279Z] Login Succeeded [2023-05-24T18:31:20.279Z] nexus3.edgexfoundry.org:10002 [2023-05-24T18:31:20.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:31:20.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:31:20.538Z] Configure a credential helper to remove this warning. See [2023-05-24T18:31:20.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:31:20.538Z] [2023-05-24T18:31:20.538Z] Login Succeeded [2023-05-24T18:31:20.538Z] nexus3.edgexfoundry.org:10003 [2023-05-24T18:31:20.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:31:20.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:31:20.538Z] Configure a credential helper to remove this warning. See [2023-05-24T18:31:20.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:31:20.538Z] [2023-05-24T18:31:20.538Z] Login Succeeded [2023-05-24T18:31:20.538Z] nexus3.edgexfoundry.org:10004 [2023-05-24T18:31:20.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:31:20.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:31:20.538Z] Configure a credential helper to remove this warning. See [2023-05-24T18:31:20.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:31:20.538Z] [2023-05-24T18:31:20.538Z] Login Succeeded [2023-05-24T18:31:20.538Z] docker.io [2023-05-24T18:31:20.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:31:20.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:31:20.800Z] Configure a credential helper to remove this warning. See [2023-05-24T18:31:20.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:31:20.800Z] [2023-05-24T18:31:20.800Z] Login Succeeded [2023-05-24T18:31:20.800Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T18:31:20.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-24T18:31:21.459Z] + git rev-list -1 --merges 9a3c478e2b4eeb1a50e4964926da395764f7c8b3~1..9a3c478e2b4eeb1a50e4964926da395764f7c8b3 [Pipeline] echo [2023-05-24T18:31:21.519Z] -----------> git rev-list -1 --merges 9a3c478e2b4eeb1a50e4964926da395764f7c8b3~1..9a3c478e2b4eeb1a50e4964926da395764f7c8b3 9a3c478e2b4eeb1a50e4964926da395764f7c8b3 [2023-05-24T18:31:21.519Z] 9a3c478e2b4eeb1a50e4964926da395764f7c8b3 [false] [Pipeline] sh [2023-05-24T18:31:21.828Z] + git log --format=format:%s -1 9a3c478e2b4eeb1a50e4964926da395764f7c8b3 [Pipeline] echo [2023-05-24T18:31:21.862Z] ========================================================= [2023-05-24T18:31:21.862Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-24T18:31:21.862Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T18:31:22.303Z] + git log --format=format:%s -1 9a3c478e2b4eeb1a50e4964926da395764f7c8b3 [Pipeline] echo [2023-05-24T18:31:22.336Z] [semverPrep] GIT_COMMIT: 9a3c478e2b4eeb1a50e4964926da395764f7c8b3, Commit Message: Merge commit '5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1' into HEAD [Pipeline] echo [2023-05-24T18:31:22.369Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-24T18:31:22.772Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T18:31:22.773Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-24T18:31:22.773Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-24T18:31:22.773Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-24T18:31:22.773Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-24T18:31:22.773Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-24T18:31:22.773Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:31:23.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T18:31:23.212Z] [2023-05-24T18:31:23.212Z] 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-24T18:31:23.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T18:31:23.581Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-24T18:31:23.581Z] b85a868b505f: Pulling fs layer [2023-05-24T18:31:23.581Z] e2be974225ed: Pulling fs layer [2023-05-24T18:31:23.581Z] 339a4e72a1f5: Pulling fs layer [2023-05-24T18:31:23.581Z] 988bab9f4d93: Pulling fs layer [2023-05-24T18:31:23.581Z] 1469e6f7b9e6: Pulling fs layer [2023-05-24T18:31:23.581Z] eaf3925da568: Pulling fs layer [2023-05-24T18:31:23.581Z] bab4dde63d76: Pulling fs layer [2023-05-24T18:31:23.581Z] bde34c3a00c8: Pulling fs layer [2023-05-24T18:31:23.581Z] b352a97aabf1: Pulling fs layer [2023-05-24T18:31:23.581Z] 4872d77fe225: Pulling fs layer [2023-05-24T18:31:23.581Z] 5851b861e8e6: Pulling fs layer [2023-05-24T18:31:23.581Z] 988bab9f4d93: Waiting [2023-05-24T18:31:23.581Z] 1469e6f7b9e6: Waiting [2023-05-24T18:31:23.581Z] eaf3925da568: Waiting [2023-05-24T18:31:23.581Z] 4872d77fe225: Waiting [2023-05-24T18:31:23.581Z] bab4dde63d76: Waiting [2023-05-24T18:31:23.581Z] bde34c3a00c8: Waiting [2023-05-24T18:31:23.581Z] 5851b861e8e6: Waiting [2023-05-24T18:31:23.581Z] e2be974225ed: Download complete [2023-05-24T18:31:23.581Z] 988bab9f4d93: Verifying Checksum [2023-05-24T18:31:23.581Z] 988bab9f4d93: Download complete [2023-05-24T18:31:23.581Z] 339a4e72a1f5: Verifying Checksum [2023-05-24T18:31:23.581Z] 339a4e72a1f5: Download complete [2023-05-24T18:31:23.581Z] 1469e6f7b9e6: Verifying Checksum [2023-05-24T18:31:23.581Z] 1469e6f7b9e6: Download complete [2023-05-24T18:31:23.581Z] eaf3925da568: Verifying Checksum [2023-05-24T18:31:23.581Z] eaf3925da568: Download complete [2023-05-24T18:31:23.841Z] b352a97aabf1: Download complete [2023-05-24T18:31:23.841Z] 4872d77fe225: Download complete [2023-05-24T18:31:23.841Z] 5851b861e8e6: Verifying Checksum [2023-05-24T18:31:23.841Z] 5851b861e8e6: Download complete [2023-05-24T18:31:23.841Z] b85a868b505f: Download complete [2023-05-24T18:31:24.099Z] bab4dde63d76: Verifying Checksum [2023-05-24T18:31:24.099Z] bab4dde63d76: Download complete [2023-05-24T18:31:25.034Z] b85a868b505f: Pull complete [2023-05-24T18:31:25.034Z] e2be974225ed: Pull complete [2023-05-24T18:31:25.599Z] 339a4e72a1f5: Pull complete [2023-05-24T18:31:25.599Z] 988bab9f4d93: Pull complete [2023-05-24T18:31:25.858Z] 1469e6f7b9e6: Pull complete [2023-05-24T18:31:25.858Z] eaf3925da568: Pull complete [2023-05-24T18:31:27.757Z] bab4dde63d76: Pull complete [2023-05-24T18:31:27.757Z] bde34c3a00c8: Pull complete [2023-05-24T18:31:27.757Z] b352a97aabf1: Pull complete [2023-05-24T18:31:27.757Z] 4872d77fe225: Pull complete [2023-05-24T18:31:27.757Z] 5851b861e8e6: Pull complete [2023-05-24T18:31:27.757Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-24T18:31:27.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T18:31:27.757Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:31:28.002Z] prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container [2023-05-24T18:31:28.044Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1464 -v /w/workspace/gexfoundry_device-sdk-go_PR-1464:/w/workspace/gexfoundry_device-sdk-go_PR-1464:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1464@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-devops/py-git-semver:0.1.4 cat [2023-05-24T18:31:30.119Z] $ docker top 150402c81548373f4ee0bed767ce326fade0df20816fc5bf0977072064ad011f -eo pid,comm [2023-05-24T18:31:30.168Z] 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-24T18:31:30.168Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-24T18:31:30.297Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T18:31:30.297Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T18:31:30.412Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T18:31:30.419Z] $ docker exec 150402c81548373f4ee0bed767ce326fade0df20816fc5bf0977072064ad011f ssh-agent [2023-05-24T18:31:30.518Z] SSH_AUTH_SOCK=/tmp/ssh-E38gXe9FNFFE/agent.31 [2023-05-24T18:31:30.518Z] SSH_AGENT_PID=37 [2023-05-24T18:31:30.524Z] Running ssh-add (command line suppressed) [2023-05-24T18:31:30.628Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp/private_key_11408506262605414935.key (/w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp/private_key_11408506262605414935.key) [2023-05-24T18:31:30.639Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T18:31:30.976Z] + git tag --points-at HEAD [Pipeline] } [2023-05-24T18:31:31.005Z] $ docker exec --env ******** --env ******** 150402c81548373f4ee0bed767ce326fade0df20816fc5bf0977072064ad011f ssh-agent -k [2023-05-24T18:31:31.109Z] unset SSH_AUTH_SOCK; [2023-05-24T18:31:31.109Z] unset SSH_AGENT_PID; [2023-05-24T18:31:31.109Z] echo Agent pid 37 killed; [2023-05-24T18:31:31.114Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-24T18:31:31.202Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T18:31:31.203Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T18:31:31.331Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T18:31:31.337Z] $ docker exec 150402c81548373f4ee0bed767ce326fade0df20816fc5bf0977072064ad011f ssh-agent [2023-05-24T18:31:31.422Z] SSH_AUTH_SOCK=/tmp/ssh-5DWC6mMDFEUF/agent.71 [2023-05-24T18:31:31.422Z] SSH_AGENT_PID=77 [2023-05-24T18:31:31.426Z] Running ssh-add (command line suppressed) [2023-05-24T18:31:31.535Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp/private_key_901481195694532550.key (/w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp/private_key_901481195694532550.key) [2023-05-24T18:31:31.547Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T18:31:31.880Z] + git semver init [2023-05-24T18:31:32.142Z] 2023-05-24 18:31:32,071 [run_init] DEBUG init version:0.0.0 force:False [2023-05-24T18:31:32.142Z] 2023-05-24 18:31:32,072 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1464/.semver [2023-05-24T18:31:32.142Z] 2023-05-24 18:31:32,073 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1464/.semver [2023-05-24T18:31:32.142Z] 2023-05-24 18:31:32,073 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1464/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1464, universal_newlines=False, shell=None, istream=None) [2023-05-24T18:31:33.079Z] 2023-05-24 18:31:32,902 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1464/.git/info/exclude [2023-05-24T18:31:33.079Z] 2023-05-24 18:31:32,902 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1464/.semver/PR-1464 with force:False [2023-05-24T18:31:33.079Z] 2023-05-24 18:31:32,902 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1464/.semver/PR-1464 [2023-05-24T18:31:33.079Z] 2023-05-24 18:31:32,906 [execute] INFO git cat-file --batch-check [2023-05-24T18:31:33.079Z] 2023-05-24 18:31:32,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1464/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T18:31:33.079Z] 2023-05-24 18:31:32,914 [execute] INFO git cat-file --batch [2023-05-24T18:31:33.079Z] 2023-05-24 18:31:32,914 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1464/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T18:31:33.079Z] 2023-05-24 18:31:32,919 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1464/.semver/PR-1464 [2023-05-24T18:31:33.079Z] 0.0.0 [Pipeline] } [2023-05-24T18:31:33.110Z] $ docker exec --env ******** --env ******** 150402c81548373f4ee0bed767ce326fade0df20816fc5bf0977072064ad011f ssh-agent -k [2023-05-24T18:31:33.206Z] unset SSH_AUTH_SOCK; [2023-05-24T18:31:33.207Z] unset SSH_AGENT_PID; [2023-05-24T18:31:33.207Z] echo Agent pid 77 killed; [2023-05-24T18:31:33.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T18:31:33.636Z] + git semver [Pipeline] } [2023-05-24T18:31:33.925Z] $ docker stop --time=1 150402c81548373f4ee0bed767ce326fade0df20816fc5bf0977072064ad011f [2023-05-24T18:31:35.219Z] $ docker rm -f --volumes 150402c81548373f4ee0bed767ce326fade0df20816fc5bf0977072064ad011f [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T18:31:35.616Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-24T18:31:35.889Z] Stashed 1 file(s) [Pipeline] echo [2023-05-24T18:31:35.909Z] [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-24T18:31:36.514Z] provisioning config files... [2023-05-24T18:31:36.527Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp/config9999344351959408088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:31:36.872Z] ---> docker-login.sh [2023-05-24T18:31:36.872Z] nexus3.edgexfoundry.org:10001 [2023-05-24T18:31:36.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:31:36.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:31:36.872Z] Configure a credential helper to remove this warning. See [2023-05-24T18:31:36.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:31:36.872Z] [2023-05-24T18:31:36.872Z] Login Succeeded [2023-05-24T18:31:36.872Z] nexus3.edgexfoundry.org:10002 [2023-05-24T18:31:36.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:31:36.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:31:36.872Z] Configure a credential helper to remove this warning. See [2023-05-24T18:31:36.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:31:36.872Z] [2023-05-24T18:31:36.872Z] Login Succeeded [2023-05-24T18:31:36.872Z] nexus3.edgexfoundry.org:10003 [2023-05-24T18:31:37.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:31:37.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:31:37.132Z] Configure a credential helper to remove this warning. See [2023-05-24T18:31:37.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:31:37.132Z] [2023-05-24T18:31:37.132Z] Login Succeeded [2023-05-24T18:31:37.132Z] nexus3.edgexfoundry.org:10004 [2023-05-24T18:31:37.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:31:37.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:31:37.132Z] Configure a credential helper to remove this warning. See [2023-05-24T18:31:37.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:31:37.132Z] [2023-05-24T18:31:37.132Z] Login Succeeded [2023-05-24T18:31:37.132Z] docker.io [2023-05-24T18:31:37.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:31:37.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:31:37.392Z] Configure a credential helper to remove this warning. See [2023-05-24T18:31:37.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:31:37.392Z] [2023-05-24T18:31:37.392Z] Login Succeeded [2023-05-24T18:31:37.392Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T18:31:37.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T18:31:37.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T18:31:37.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T18:31:37.691Z] ========================================================= [2023-05-24T18:31:37.691Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-24T18:31:37.691Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:31:38.134Z] + 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-24T18:31:38.134Z] Sending build context to Docker daemon 11.22MB [2023-05-24T18:31:38.134Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T18:31:38.134Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-24T18:31:38.134Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-24T18:31:38.134Z] f56be85fc22e: Pulling fs layer [2023-05-24T18:31:38.134Z] 85791d961cd3: Pulling fs layer [2023-05-24T18:31:38.134Z] d694b5ae8c79: Pulling fs layer [2023-05-24T18:31:38.134Z] 9f32a84ed3da: Pulling fs layer [2023-05-24T18:31:38.134Z] 4d19c01a9841: Pulling fs layer [2023-05-24T18:31:38.134Z] 9325e15d5711: Pulling fs layer [2023-05-24T18:31:38.134Z] 556b6ee489ea: Pulling fs layer [2023-05-24T18:31:38.134Z] c5a4b2cf53e6: Pulling fs layer [2023-05-24T18:31:38.134Z] 9f32a84ed3da: Waiting [2023-05-24T18:31:38.134Z] 4d19c01a9841: Waiting [2023-05-24T18:31:38.134Z] 9325e15d5711: Waiting [2023-05-24T18:31:38.134Z] 556b6ee489ea: Waiting [2023-05-24T18:31:38.134Z] c5a4b2cf53e6: Waiting [2023-05-24T18:31:38.393Z] 85791d961cd3: Download complete [2023-05-24T18:31:38.393Z] 9f32a84ed3da: Download complete [2023-05-24T18:31:38.393Z] 4d19c01a9841: Verifying Checksum [2023-05-24T18:31:38.393Z] 4d19c01a9841: Download complete [2023-05-24T18:31:38.393Z] f56be85fc22e: Verifying Checksum [2023-05-24T18:31:38.393Z] f56be85fc22e: Download complete [2023-05-24T18:31:38.393Z] 9325e15d5711: Verifying Checksum [2023-05-24T18:31:38.393Z] 9325e15d5711: Download complete [2023-05-24T18:31:38.393Z] f56be85fc22e: Pull complete [2023-05-24T18:31:38.653Z] 85791d961cd3: Pull complete [2023-05-24T18:31:38.912Z] c5a4b2cf53e6: Verifying Checksum [2023-05-24T18:31:38.912Z] c5a4b2cf53e6: Download complete [2023-05-24T18:31:38.912Z] d694b5ae8c79: Verifying Checksum [2023-05-24T18:31:38.912Z] d694b5ae8c79: Download complete [2023-05-24T18:31:39.171Z] 556b6ee489ea: Verifying Checksum [2023-05-24T18:31:39.171Z] 556b6ee489ea: Download complete [2023-05-24T18:31:41.706Z] d694b5ae8c79: Pull complete [2023-05-24T18:31:41.965Z] 9f32a84ed3da: Pull complete [2023-05-24T18:31:41.965Z] 4d19c01a9841: Pull complete [2023-05-24T18:31:41.965Z] 9325e15d5711: Pull complete [2023-05-24T18:31:44.494Z] 556b6ee489ea: Pull complete [2023-05-24T18:31:45.427Z] c5a4b2cf53e6: Pull complete [2023-05-24T18:31:45.427Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-24T18:31:45.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-24T18:31:45.427Z] ---> c4be618373d6 [2023-05-24T18:31:45.427Z] Step 3/10 : ARG MAKE=make build [2023-05-24T18:31:48.717Z] ---> Running in 37877534ae6d [2023-05-24T18:31:48.717Z] Removing intermediate container 37877534ae6d [2023-05-24T18:31:48.717Z] ---> ee95fa2461d9 [2023-05-24T18:31:48.717Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-24T18:31:48.717Z] ---> Running in 4f341a2ac013 [2023-05-24T18:31:48.977Z] Removing intermediate container 4f341a2ac013 [2023-05-24T18:31:48.977Z] ---> 0946a2107914 [2023-05-24T18:31:48.977Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-24T18:31:48.977Z] ---> Running in 99b969658083 [2023-05-24T18:31:48.977Z] Removing intermediate container 99b969658083 [2023-05-24T18:31:48.977Z] ---> fd1a9af39290 [2023-05-24T18:31:48.977Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-24T18:31:48.977Z] ---> Running in 4c8f5b18d0c9 [2023-05-24T18:31:49.236Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-24T18:31:49.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-24T18:31:49.495Z] OK: 265 MiB in 53 packages [2023-05-24T18:31:50.060Z] Removing intermediate container 4c8f5b18d0c9 [2023-05-24T18:31:50.060Z] ---> 2baf9329486e [2023-05-24T18:31:50.060Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-24T18:31:50.060Z] ---> d6c9ab3f8cb8 [2023-05-24T18:31:50.060Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T18:31:50.060Z] ---> Running in 3135e075500c [2023-05-24T18:31:51.335Z] Still waiting to schedule task [2023-05-24T18:31:51.335Z] ‘prd-ubuntu20.04-docker-8c-8g-16750’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-24T18:31:51.335Z] ‘prd-ubuntu20.04-docker-8c-8g-16751’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-24T18:31:51.336Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16752’ is offline [2023-05-24T18:31:51.336Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16753’ is offline [2023-05-24T18:31:51.336Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16758’ is offline [2023-05-24T18:31:51.336Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16760’ is offline [2023-05-24T18:32:22.135Z] Removing intermediate container 3135e075500c [2023-05-24T18:32:22.135Z] ---> 368bdc8cc631 [2023-05-24T18:32:22.135Z] Step 9/10 : COPY . . [2023-05-24T18:32:23.069Z] ---> 533b4fefc39c [2023-05-24T18:32:23.069Z] Step 10/10 : RUN ${MAKE} [2023-05-24T18:32:23.069Z] ---> Running in 8e585c9f7caf [2023-05-24T18:32:23.069Z] noop [2023-05-24T18:32:23.330Z] Removing intermediate container 8e585c9f7caf [2023-05-24T18:32:23.330Z] ---> 61d9230aad8e [2023-05-24T18:32:23.330Z] Successfully built 61d9230aad8e [2023-05-24T18:32:23.330Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:32:23.771Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-24T18:32:23.771Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:32:23.919Z] prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container [2023-05-24T18:32:23.945Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1464 -v /w/workspace/gexfoundry_device-sdk-go_PR-1464:/w/workspace/gexfoundry_device-sdk-go_PR-1464:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-24T18:32:24.268Z] $ docker top 1753e23c4730fb152eaed96d5347e0a1da2117bb7b64db1b0a34ae3b779b76d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T18:32:24.660Z] + go version [2023-05-24T18:32:24.660Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-24T18:32:24.696Z] $ docker stop --time=1 1753e23c4730fb152eaed96d5347e0a1da2117bb7b64db1b0a34ae3b779b76d4 [2023-05-24T18:32:25.960Z] $ docker rm -f --volumes 1753e23c4730fb152eaed96d5347e0a1da2117bb7b64db1b0a34ae3b779b76d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:32:26.681Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-24T18:32:26.681Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:32:26.847Z] prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container [2023-05-24T18:32:26.882Z] $ 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-1464 -v /w/workspace/gexfoundry_device-sdk-go_PR-1464:/w/workspace/gexfoundry_device-sdk-go_PR-1464:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-24T18:32:27.192Z] $ docker top 8914e0bd3e659ad23035c5c7d43da5c9980adc1f260014f497b25ad9311a331f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T18:32:27.578Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1464 [Pipeline] fileExists [Pipeline] sh [2023-05-24T18:32:27.935Z] + make test [2023-05-24T18:32:27.935Z] go test -race -coverprofile=coverage.out ./... [2023-05-24T18:32:34.495Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-24T18:32:49.361Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-24T18:32:49.361Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-24T18:32:49.361Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-24T18:32:49.361Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-24T18:32:49.361Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-24T18:32:49.361Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.066s coverage: 27.6% of statements [2023-05-24T18:32:49.361Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-24T18:32:49.361Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-24T18:32:49.361Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.064s coverage: 80.2% of statements [2023-05-24T18:32:49.361Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.084s coverage: 86.0% of statements [2023-05-24T18:32:49.361Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-24T18:32:49.361Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-24T18:32:49.361Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.112s coverage: 77.5% of statements [2023-05-24T18:32:49.361Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-24T18:32:49.361Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-24T18:32:50.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-24T18:32:52.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.065s coverage: 14.3% of statements [2023-05-24T18:32:52.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.082s coverage: 68.5% of statements [2023-05-24T18:32:52.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.108s coverage: 89.2% of statements [2023-05-24T18:32:52.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 5.7% of statements [2023-05-24T18:33:14.108Z] GO111MODULE=on go vet ./... [2023-05-24T18:33:14.703Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-24T18:33:14.962Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-24T18:33:14.962Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-24T18:33:14.998Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-24T18:33:15.028Z] $ docker stop --time=1 8914e0bd3e659ad23035c5c7d43da5c9980adc1f260014f497b25ad9311a331f [2023-05-24T18:33:17.903Z] $ docker rm -f --volumes 8914e0bd3e659ad23035c5c7d43da5c9980adc1f260014f497b25ad9311a331f [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T18:33:18.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-24T18:33:18.621Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-24T18:33:19.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T18:33:19.543Z] + ls -al . [2023-05-24T18:33:19.544Z] total 284 [2023-05-24T18:33:19.544Z] drwxrwxr-x 11 jenkins jenkins 4096 May 24 18:32 . [2023-05-24T18:33:19.544Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:31 .. [2023-05-24T18:33:19.544Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 18:31 .dockerignore [2023-05-24T18:33:19.544Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 18:31 .git [2023-05-24T18:33:19.544Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:31 .github [2023-05-24T18:33:19.544Z] -rw-rw-r-- 1 jenkins jenkins 137 May 24 18:31 .gitignore [2023-05-24T18:33:19.544Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 18:31 .golangci.yml [2023-05-24T18:33:19.544Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 18:31 .semver [2023-05-24T18:33:19.544Z] -rw-rw-r-- 1 jenkins jenkins 44874 May 24 18:31 CHANGELOG.md [2023-05-24T18:33:19.544Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 18:31 GOVERNANCE.md [2023-05-24T18:33:19.544Z] -rw-rw-r-- 1 jenkins jenkins 885 May 24 18:31 Jenkinsfile [2023-05-24T18:33:19.544Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 24 18:31 LICENSE [2023-05-24T18:33:19.544Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 24 18:31 Makefile [2023-05-24T18:33:19.544Z] -rw-rw-r-- 1 jenkins jenkins 619 May 24 18:31 OWNERS.md [2023-05-24T18:33:19.544Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 24 18:31 README.md [2023-05-24T18:33:19.544Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 18:31 VERSION [2023-05-24T18:33:19.544Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:31 bin [2023-05-24T18:33:19.544Z] -rw-r--r-- 1 jenkins jenkins 106152 May 24 18:32 coverage.out [2023-05-24T18:33:19.544Z] drwxrwxr-x 5 jenkins jenkins 4096 May 24 18:31 example [2023-05-24T18:33:19.544Z] -rw-rw-r-- 1 jenkins jenkins 3193 May 24 18:31 go.mod [2023-05-24T18:33:19.544Z] -rw-rw-r-- 1 jenkins jenkins 30699 May 24 18:31 go.sum [2023-05-24T18:33:19.544Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 18:31 internal [2023-05-24T18:33:19.544Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 18:31 openapi [2023-05-24T18:33:19.544Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 18:31 pkg [2023-05-24T18:33:19.544Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:31 snap [2023-05-24T18:33:19.544Z] -rw-rw-r-- 1 jenkins jenkins 222 May 24 18:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:33:19.955Z] + 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=9a3c478e2b4eeb1a50e4964926da395764f7c8b3 --label arch=amd64 --label version=0.0.0 . [2023-05-24T18:33:19.955Z] Sending build context to Docker daemon 11.32MB [2023-05-24T18:33:19.955Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T18:33:19.955Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-24T18:33:19.955Z] ---> 61d9230aad8e [2023-05-24T18:33:19.955Z] Step 3/23 : ARG MAKE=make build [2023-05-24T18:33:20.214Z] ---> Running in a6f2447dd77d [2023-05-24T18:33:20.214Z] Removing intermediate container a6f2447dd77d [2023-05-24T18:33:20.214Z] ---> 6acb6bb21726 [2023-05-24T18:33:20.214Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-24T18:33:20.214Z] ---> Running in 220db1e861f6 [2023-05-24T18:33:20.214Z] Removing intermediate container 220db1e861f6 [2023-05-24T18:33:20.214Z] ---> acc6b69912dd [2023-05-24T18:33:20.214Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-24T18:33:20.214Z] ---> Running in 580a795138b0 [2023-05-24T18:33:20.472Z] Removing intermediate container 580a795138b0 [2023-05-24T18:33:20.472Z] ---> f8c0ce0d7f8b [2023-05-24T18:33:20.472Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-24T18:33:20.472Z] ---> Running in e31c6653adde [2023-05-24T18:33:20.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-24T18:33:20.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-24T18:33:20.989Z] OK: 265 MiB in 53 packages [2023-05-24T18:33:21.248Z] Removing intermediate container e31c6653adde [2023-05-24T18:33:21.248Z] ---> e8a8cfd46d53 [2023-05-24T18:33:21.248Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-24T18:33:21.248Z] ---> 3284ae1a5035 [2023-05-24T18:33:21.248Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T18:33:21.248Z] ---> Running in 6df658931552 [2023-05-24T18:33:22.183Z] Removing intermediate container 6df658931552 [2023-05-24T18:33:22.183Z] ---> 3dbc796ff536 [2023-05-24T18:33:22.183Z] Step 9/23 : COPY . . [2023-05-24T18:33:22.751Z] ---> b7f1e02b5c94 [2023-05-24T18:33:22.751Z] Step 10/23 : RUN ${MAKE} [2023-05-24T18:33:22.751Z] ---> Running in d4098bde0daa [2023-05-24T18:33:23.010Z] 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:33:41.079Z] Removing intermediate container d4098bde0daa [2023-05-24T18:33:41.079Z] ---> a2d1f789c299 [2023-05-24T18:33:41.079Z] Step 11/23 : FROM alpine:3.17 [2023-05-24T18:33:41.336Z] 3.17: Pulling from library/alpine [2023-05-24T18:33:41.594Z] f56be85fc22e: Already exists [2023-05-24T18:33:41.594Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-24T18:33:41.594Z] Status: Downloaded newer image for alpine:3.17 [2023-05-24T18:33:41.594Z] ---> 9ed4aefc74f6 [2023-05-24T18:33:41.594Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-24T18:33:41.594Z] ---> Running in cf0ef0624680 [2023-05-24T18:33:41.852Z] Removing intermediate container cf0ef0624680 [2023-05-24T18:33:41.852Z] ---> b28811f0a3f9 [2023-05-24T18:33:41.852Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-24T18:33:41.852Z] ---> Running in 0641e3d6c20d [2023-05-24T18:33:42.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-24T18:33:42.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-24T18:33:42.368Z] OK: 7 MiB in 15 packages [2023-05-24T18:33:42.628Z] Removing intermediate container 0641e3d6c20d [2023-05-24T18:33:42.628Z] ---> 934a26925d73 [2023-05-24T18:33:42.628Z] Step 14/23 : WORKDIR / [2023-05-24T18:33:42.628Z] ---> Running in 7487451fafc3 [2023-05-24T18:33:42.628Z] Removing intermediate container 7487451fafc3 [2023-05-24T18:33:42.628Z] ---> 552b8ddb32d2 [2023-05-24T18:33:42.628Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-24T18:33:42.887Z] ---> db3af01663fc [2023-05-24T18:33:42.887Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-24T18:33:43.514Z] ---> c6e2dddcc1c1 [2023-05-24T18:33:43.514Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-24T18:33:43.773Z] ---> 00926b043e22 [2023-05-24T18:33:43.773Z] Step 18/23 : EXPOSE 59999 [2023-05-24T18:33:43.773Z] ---> Running in 0b7aa265313d [2023-05-24T18:33:43.773Z] Removing intermediate container 0b7aa265313d [2023-05-24T18:33:43.773Z] ---> ccda4aaa41ed [2023-05-24T18:33:43.773Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-24T18:33:43.773Z] ---> Running in 0754f8ffa862 [2023-05-24T18:33:44.032Z] Removing intermediate container 0754f8ffa862 [2023-05-24T18:33:44.032Z] ---> 635ec5f69b16 [2023-05-24T18:33:44.032Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-24T18:33:44.032Z] ---> Running in 8b50a3b0caf3 [2023-05-24T18:33:44.032Z] Removing intermediate container 8b50a3b0caf3 [2023-05-24T18:33:44.032Z] ---> 15719c25e901 [2023-05-24T18:33:44.032Z] Step 21/23 : LABEL arch=amd64 [2023-05-24T18:33:44.032Z] ---> Running in 6a49eca9f77f [2023-05-24T18:33:44.032Z] Removing intermediate container 6a49eca9f77f [2023-05-24T18:33:44.033Z] ---> fbc4f5e5d253 [2023-05-24T18:33:44.033Z] Step 22/23 : LABEL git_sha=9a3c478e2b4eeb1a50e4964926da395764f7c8b3 [2023-05-24T18:33:44.033Z] ---> Running in f09ff06fbbe3 [2023-05-24T18:33:44.291Z] Removing intermediate container f09ff06fbbe3 [2023-05-24T18:33:44.291Z] ---> a0620c961fa7 [2023-05-24T18:33:44.291Z] Step 23/23 : LABEL version=0.0.0 [2023-05-24T18:33:44.291Z] ---> Running in faf3ac682ec3 [2023-05-24T18:33:44.291Z] Removing intermediate container faf3ac682ec3 [2023-05-24T18:33:44.291Z] ---> 1ab98a81676a [2023-05-24T18:33:44.291Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-24T18:33:44.291Z] Successfully built 1ab98a81676a [2023-05-24T18:33:44.291Z] 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-24T18:33:45.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T18:33:45.143Z] [2023-05-24T18:33:45.143Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:33:45.512Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T18:33:45.512Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-24T18:33:45.512Z] 5eb5b503b376: Pulling fs layer [2023-05-24T18:33:45.512Z] 5c69ac0246d0: Pulling fs layer [2023-05-24T18:33:45.512Z] ec43610c2a17: Pulling fs layer [2023-05-24T18:33:45.512Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-24T18:33:45.512Z] 33b1e0a273af: Pulling fs layer [2023-05-24T18:33:45.512Z] 5d3b04190fa2: Pulling fs layer [2023-05-24T18:33:45.512Z] 2f39f015ded8: Pulling fs layer [2023-05-24T18:33:45.512Z] 33b1e0a273af: Waiting [2023-05-24T18:33:45.512Z] 5d3b04190fa2: Waiting [2023-05-24T18:33:45.512Z] 2f39f015ded8: Waiting [2023-05-24T18:33:45.512Z] 3a2ae6a8a46f: Waiting [2023-05-24T18:33:45.512Z] 5c69ac0246d0: Verifying Checksum [2023-05-24T18:33:45.512Z] 5c69ac0246d0: Download complete [2023-05-24T18:33:45.512Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-24T18:33:45.512Z] 3a2ae6a8a46f: Download complete [2023-05-24T18:33:45.513Z] ec43610c2a17: Verifying Checksum [2023-05-24T18:33:45.513Z] ec43610c2a17: Download complete [2023-05-24T18:33:45.513Z] 33b1e0a273af: Verifying Checksum [2023-05-24T18:33:45.513Z] 33b1e0a273af: Download complete [2023-05-24T18:33:45.513Z] 5d3b04190fa2: Verifying Checksum [2023-05-24T18:33:45.513Z] 5d3b04190fa2: Download complete [2023-05-24T18:33:45.773Z] 5eb5b503b376: Verifying Checksum [2023-05-24T18:33:45.773Z] 5eb5b503b376: Download complete [2023-05-24T18:33:46.341Z] 2f39f015ded8: Verifying Checksum [2023-05-24T18:33:46.341Z] 2f39f015ded8: Download complete [2023-05-24T18:33:46.906Z] 5eb5b503b376: Pull complete [2023-05-24T18:33:47.164Z] 5c69ac0246d0: Pull complete [2023-05-24T18:33:47.730Z] ec43610c2a17: Pull complete [2023-05-24T18:33:47.730Z] 3a2ae6a8a46f: Pull complete [2023-05-24T18:33:47.730Z] 33b1e0a273af: Pull complete [2023-05-24T18:33:47.988Z] 5d3b04190fa2: Pull complete [2023-05-24T18:33:49.136Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16761 in /w/workspace/gexfoundry_device-sdk-go_PR-1464 [Pipeline] { [Pipeline] ws [2023-05-24T18:33:49.188Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-05-24T18:33:49.263Z] The recommended git tool is: git [2023-05-24T18:33:52.175Z] 2f39f015ded8: Pull complete [2023-05-24T18:33:52.175Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-24T18:33:52.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T18:33:52.175Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:33:52.401Z] prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container [2023-05-24T18:33:52.438Z] $ 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-1464 -v /w/workspace/gexfoundry_device-sdk-go_PR-1464:/w/workspace/gexfoundry_device-sdk-go_PR-1464:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-24T18:33:55.445Z] using credential edgex-jenkins-ssh [2023-05-24T18:33:55.466Z] Cloning the remote Git repository [2023-05-24T18:33:55.528Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-24T18:33:55.645Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-05-24T18:33:55.819Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-24T18:33:55.820Z] > git --version # timeout=10 [2023-05-24T18:33:55.847Z] > git --version # 'git version 2.25.1' [2023-05-24T18:33:55.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T18:33:56.029Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-24T18:33:57.829Z] $ docker top f54d86abe64f488a00909e2a167afdc8e375796164c71dec163600e6a5761dcc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [2023-05-24T18:33:57.817Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-24T18:33:57.843Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh [2023-05-24T18:33:58.271Z] ---> job-cost.sh [2023-05-24T18:33:58.271Z] lf-activate-venv: SKIPPING [2023-05-24T18:33:58.271Z] INFO: No Stack... [2023-05-24T18:33:58.530Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-24T18:33:59.097Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T18:33:58.837Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-24T18:33:58.891Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-24T18:33:58.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T18:33:58.910Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1464/head:refs/remotes/origin/PR-1464 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-24T18:33:59.414Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1464/archives/cost.csv [2023-05-24T18:33:59.414Z] + cut -d, -f6 [Pipeline] lock [2023-05-24T18:33:59.456Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1464-1-stack-cost] [2023-05-24T18:33:59.461Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1464-1-stack-cost] did not exist. Created. [2023-05-24T18:33:59.461Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1464-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-24T18:33:59.644Z] Merging remotes/origin/main commit 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 into PR head commit da108bdfedf3254c4deeaeb4d803e7e42dfcbe7c [2023-05-24T18:33:59.862Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-24T18:33:59.917Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T18:33:59.949Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1464-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T18:34:00.030Z] $ docker stop --time=1 f54d86abe64f488a00909e2a167afdc8e375796164c71dec163600e6a5761dcc [2023-05-24T18:34:00.075Z] Merge succeeded, producing 2c5d3fe46b57ae3d1d22231c786fe5e263313e29 [2023-05-24T18:34:00.075Z] Checking out Revision 2c5d3fe46b57ae3d1d22231c786fe5e263313e29 (PR-1464) [2023-05-24T18:33:59.668Z] > git config core.sparsecheckout # timeout=10 [2023-05-24T18:33:59.759Z] > git checkout -f da108bdfedf3254c4deeaeb4d803e7e42dfcbe7c # timeout=10 [2023-05-24T18:33:59.880Z] > git remote # timeout=10 [2023-05-24T18:33:59.900Z] > git config --get remote.origin.url # timeout=10 [2023-05-24T18:33:59.922Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T18:33:59.938Z] > git merge 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 # timeout=10 [2023-05-24T18:34:00.047Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-24T18:34:00.086Z] > git config core.sparsecheckout # timeout=10 [2023-05-24T18:34:00.111Z] > git checkout -f 2c5d3fe46b57ae3d1d22231c786fe5e263313e29 # timeout=10 [2023-05-24T18:34:01.212Z] $ docker rm -f --volumes f54d86abe64f488a00909e2a167afdc8e375796164c71dec163600e6a5761dcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-24T18:34:03.696Z] Commit message: "Merge commit '5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1' into HEAD" [2023-05-24T18:34:03.697Z] First time build. Skipping changelog. [2023-05-24T18:34:03.762Z] > git --version # timeout=10 [2023-05-24T18:34:03.777Z] > git --version # 'git version 2.25.1' [2023-05-24T18:34:03.795Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T18:34:04.913Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-24T18:34:04.913Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-24T18:34:04.913Z] Dload Upload Total Spent Left Speed [2023-05-24T18:34:04.913Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2023-05-24T18:34:05.835Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-24T18:34:06.195Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-24T18:34:06.195Z] + sudo tee /etc/docker/daemon.new [2023-05-24T18:34:06.196Z] { [2023-05-24T18:34:06.196Z] "registry-mirrors": [ [2023-05-24T18:34:06.196Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-24T18:34:06.196Z] ], [2023-05-24T18:34:06.196Z] "bip": "10.250.0.254/24", [2023-05-24T18:34:06.196Z] "hosts": [ [2023-05-24T18:34:06.196Z] "tcp://0.0.0.0:5555", [2023-05-24T18:34:06.196Z] "unix:///var/run/docker.sock" [2023-05-24T18:34:06.196Z] ], [2023-05-24T18:34:06.196Z] "mtu": 1458, [2023-05-24T18:34:06.196Z] "selinux-enabled": true, [2023-05-24T18:34:06.196Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-24T18:34:06.196Z] } [Pipeline] sh [2023-05-24T18:34:06.581Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-24T18:34:06.975Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T18:34:25.367Z] provisioning config files... [2023-05-24T18:34:25.403Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14584782028348259056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:34:25.811Z] ---> docker-login.sh [2023-05-24T18:34:25.811Z] nexus3.edgexfoundry.org:10001 [2023-05-24T18:34:26.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:34:26.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:34:26.403Z] Configure a credential helper to remove this warning. See [2023-05-24T18:34:26.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:34:26.403Z] [2023-05-24T18:34:26.403Z] Login Succeeded [2023-05-24T18:34:26.403Z] nexus3.edgexfoundry.org:10002 [2023-05-24T18:34:26.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:34:26.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:34:26.949Z] Configure a credential helper to remove this warning. See [2023-05-24T18:34:26.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:34:26.949Z] [2023-05-24T18:34:26.949Z] Login Succeeded [2023-05-24T18:34:26.949Z] nexus3.edgexfoundry.org:10003 [2023-05-24T18:34:27.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:34:27.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:34:27.494Z] Configure a credential helper to remove this warning. See [2023-05-24T18:34:27.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:34:27.494Z] [2023-05-24T18:34:27.494Z] Login Succeeded [2023-05-24T18:34:27.494Z] nexus3.edgexfoundry.org:10004 [2023-05-24T18:34:27.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:34:27.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:34:27.766Z] Configure a credential helper to remove this warning. See [2023-05-24T18:34:27.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:34:27.766Z] [2023-05-24T18:34:27.766Z] Login Succeeded [2023-05-24T18:34:27.766Z] docker.io [2023-05-24T18:34:28.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T18:34:28.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T18:34:28.308Z] Configure a credential helper to remove this warning. See [2023-05-24T18:34:28.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T18:34:28.308Z] [2023-05-24T18:34:28.308Z] Login Succeeded [2023-05-24T18:34:28.308Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T18:34:28.352Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T18:34:28.837Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T18:34:28.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T18:34:28.917Z] ========================================================= [2023-05-24T18:34:28.917Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-24T18:34:28.917Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:34:29.419Z] + 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-24T18:34:30.012Z] Sending build context to Docker daemon 6.042MB [2023-05-24T18:34:30.012Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T18:34:30.012Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-24T18:34:30.012Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-24T18:34:30.012Z] c41833b44d91: Pulling fs layer [2023-05-24T18:34:30.012Z] ed15518f5707: Pulling fs layer [2023-05-24T18:34:30.012Z] feae8fd75edb: Pulling fs layer [2023-05-24T18:34:30.012Z] 242c74f7c9fa: Pulling fs layer [2023-05-24T18:34:30.012Z] 3cdef696dda3: Pulling fs layer [2023-05-24T18:34:30.012Z] 2ced38df9373: Pulling fs layer [2023-05-24T18:34:30.012Z] 58f1dce35555: Pulling fs layer [2023-05-24T18:34:30.012Z] 3cdef696dda3: Waiting [2023-05-24T18:34:30.012Z] 2ced38df9373: Waiting [2023-05-24T18:34:30.012Z] 242c74f7c9fa: Waiting [2023-05-24T18:34:30.012Z] 58f1dce35555: Waiting [2023-05-24T18:34:30.286Z] ed15518f5707: Verifying Checksum [2023-05-24T18:34:30.286Z] ed15518f5707: Download complete [2023-05-24T18:34:30.286Z] 242c74f7c9fa: Verifying Checksum [2023-05-24T18:34:30.286Z] 242c74f7c9fa: Download complete [2023-05-24T18:34:30.286Z] 3cdef696dda3: Verifying Checksum [2023-05-24T18:34:30.286Z] 3cdef696dda3: Download complete [2023-05-24T18:34:30.286Z] c41833b44d91: Verifying Checksum [2023-05-24T18:34:30.286Z] c41833b44d91: Download complete [2023-05-24T18:34:31.268Z] c41833b44d91: Pull complete [2023-05-24T18:34:31.865Z] 58f1dce35555: Verifying Checksum [2023-05-24T18:34:31.865Z] 58f1dce35555: Download complete [2023-05-24T18:34:31.865Z] ed15518f5707: Pull complete [2023-05-24T18:34:32.848Z] feae8fd75edb: Verifying Checksum [2023-05-24T18:34:32.848Z] feae8fd75edb: Download complete [2023-05-24T18:34:33.120Z] 2ced38df9373: Download complete [2023-05-24T18:34:43.226Z] feae8fd75edb: Pull complete [2023-05-24T18:34:43.497Z] 242c74f7c9fa: Pull complete [2023-05-24T18:34:43.768Z] 3cdef696dda3: Pull complete [2023-05-24T18:34:50.441Z] 2ced38df9373: Pull complete [2023-05-24T18:34:51.861Z] 58f1dce35555: Pull complete [2023-05-24T18:34:52.135Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-24T18:34:52.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-24T18:34:52.135Z] ---> fadd8f120f05 [2023-05-24T18:34:52.135Z] Step 3/10 : ARG MAKE=make build [2023-05-24T18:34:54.091Z] ---> Running in 1096b69fb82d [2023-05-24T18:34:54.362Z] Removing intermediate container 1096b69fb82d [2023-05-24T18:34:54.362Z] ---> 774511728b3d [2023-05-24T18:34:54.362Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-24T18:34:54.362Z] ---> Running in eb2df3b48b1d [2023-05-24T18:34:54.632Z] Removing intermediate container eb2df3b48b1d [2023-05-24T18:34:54.632Z] ---> 54095d6fdb4d [2023-05-24T18:34:54.632Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-24T18:34:54.902Z] ---> Running in d43d4dbafaa3 [2023-05-24T18:34:55.173Z] Removing intermediate container d43d4dbafaa3 [2023-05-24T18:34:55.173Z] ---> da06ad1fdbbd [2023-05-24T18:34:55.173Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-24T18:34:55.173Z] ---> Running in e8715a5ae0bf [2023-05-24T18:34:56.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-24T18:34:57.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-24T18:34:58.139Z] OK: 263 MiB in 53 packages [2023-05-24T18:35:01.503Z] Removing intermediate container e8715a5ae0bf [2023-05-24T18:35:01.503Z] ---> 9cdf3d8b487a [2023-05-24T18:35:01.503Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-24T18:35:01.503Z] ---> ef8de058c0ca [2023-05-24T18:35:01.503Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T18:35:01.503Z] ---> Running in df760e5ec222 [2023-05-24T18:36:09.447Z] Removing intermediate container df760e5ec222 [2023-05-24T18:36:09.447Z] ---> 7f519df1ef78 [2023-05-24T18:36:09.447Z] Step 9/10 : COPY . . [2023-05-24T18:36:09.447Z] ---> 1ceccf9a32ff [2023-05-24T18:36:09.447Z] Step 10/10 : RUN ${MAKE} [2023-05-24T18:36:09.447Z] ---> Running in 7f7baac9ca42 [2023-05-24T18:36:09.447Z] noop [2023-05-24T18:36:09.447Z] Removing intermediate container 7f7baac9ca42 [2023-05-24T18:36:09.447Z] ---> 0b3d484bc943 [2023-05-24T18:36:09.447Z] Successfully built 0b3d484bc943 [2023-05-24T18:36:09.447Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:36:09.939Z] + docker inspect -f . ci-base-image-arm64 [2023-05-24T18:36:09.939Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:36:10.256Z] prd-ubuntu20.04-docker-arm64-4c-16g-16761 does not seem to be running inside a container [2023-05-24T18:36:10.333Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-24T18:36:11.667Z] $ docker top 6bc162f64d51ba35563a80a7465119dd8e0ada7b02282b928a8e89606c9d21ab -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T18:36:12.584Z] + go version [2023-05-24T18:36:12.584Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-24T18:36:12.626Z] $ docker stop --time=1 6bc162f64d51ba35563a80a7465119dd8e0ada7b02282b928a8e89606c9d21ab [2023-05-24T18:36:14.297Z] $ docker rm -f --volumes 6bc162f64d51ba35563a80a7465119dd8e0ada7b02282b928a8e89606c9d21ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:36:15.183Z] + docker inspect -f . ci-base-image-arm64 [2023-05-24T18:36:15.183Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:36:15.467Z] prd-ubuntu20.04-docker-arm64-4c-16g-16761 does not seem to be running inside a container [2023-05-24T18:36:15.540Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-24T18:36:16.774Z] $ docker top d7e881e28579b3fa717aa21bf3a447801b85081897cd335d04c7e55041dcef8b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T18:36:17.684Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-24T18:36:18.406Z] + make test [2023-05-24T18:36:18.406Z] go test -race -coverprofile=coverage.out ./... [2023-05-24T18:37:14.866Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-24T18:39:37.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-24T18:39:37.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-24T18:39:37.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-24T18:39:37.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-24T18:39:37.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-24T18:39:49.734Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.244s coverage: 27.6% of statements [2023-05-24T18:39:54.008Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.286s coverage: 80.2% of statements [2023-05-24T18:40:09.019Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-24T18:40:09.019Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-24T18:40:09.019Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.368s coverage: 86.0% of statements [2023-05-24T18:40:17.247Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-24T18:40:17.247Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.480s coverage: 77.5% of statements [2023-05-24T18:40:21.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-24T18:40:22.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-24T18:40:22.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-24T18:40:24.358Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.286s coverage: 14.3% of statements [2023-05-24T18:40:24.358Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.440s coverage: 68.5% of statements [2023-05-24T18:40:26.953Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.484s coverage: 89.2% of statements [2023-05-24T18:40:28.912Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-24T18:40:28.912Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.265s coverage: 5.7% of statements [2023-05-24T18:40:29.878Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-24T18:40:29.878Z] GO111MODULE=on go vet ./... [2023-05-24T18:43:07.123Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-24T18:43:07.123Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-24T18:43:07.123Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-24T18:43:07.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-24T18:43:07.198Z] $ docker stop --time=1 d7e881e28579b3fa717aa21bf3a447801b85081897cd335d04c7e55041dcef8b [2023-05-24T18:43:09.119Z] $ docker rm -f --volumes d7e881e28579b3fa717aa21bf3a447801b85081897cd335d04c7e55041dcef8b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T18:43:10.745Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-24T18:43:10.782Z] Warning: overwriting stash ‘coverage-report’ [2023-05-24T18:43:11.394Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T18:43:12.056Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T18:43:12.405Z] + ls -al . [2023-05-24T18:43:12.405Z] total 280 [2023-05-24T18:43:12.405Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 18:36 . [2023-05-24T18:43:12.405Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:33 .. [2023-05-24T18:43:12.405Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 18:33 .dockerignore [2023-05-24T18:43:12.405Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 18:34 .git [2023-05-24T18:43:12.405Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:33 .github [2023-05-24T18:43:12.405Z] -rw-rw-r-- 1 jenkins jenkins 137 May 24 18:33 .gitignore [2023-05-24T18:43:12.405Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 18:33 .golangci.yml [2023-05-24T18:43:12.405Z] -rw-rw-r-- 1 jenkins jenkins 44874 May 24 18:33 CHANGELOG.md [2023-05-24T18:43:12.405Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 18:33 GOVERNANCE.md [2023-05-24T18:43:12.405Z] -rw-rw-r-- 1 jenkins jenkins 885 May 24 18:33 Jenkinsfile [2023-05-24T18:43:12.405Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 24 18:33 LICENSE [2023-05-24T18:43:12.405Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 24 18:33 Makefile [2023-05-24T18:43:12.405Z] -rw-rw-r-- 1 jenkins jenkins 619 May 24 18:33 OWNERS.md [2023-05-24T18:43:12.405Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 24 18:33 README.md [2023-05-24T18:43:12.405Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 18:31 VERSION [2023-05-24T18:43:12.405Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:33 bin [2023-05-24T18:43:12.405Z] -rw-r--r-- 1 jenkins jenkins 106151 May 24 18:40 coverage.out [2023-05-24T18:43:12.405Z] drwxrwxr-x 5 jenkins jenkins 4096 May 24 18:33 example [2023-05-24T18:43:12.405Z] -rw-rw-r-- 1 jenkins jenkins 3193 May 24 18:33 go.mod [2023-05-24T18:43:12.405Z] -rw-rw-r-- 1 jenkins jenkins 30699 May 24 18:33 go.sum [2023-05-24T18:43:12.405Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 18:33 internal [2023-05-24T18:43:12.405Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 18:33 openapi [2023-05-24T18:43:12.405Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 18:33 pkg [2023-05-24T18:43:12.405Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:33 snap [2023-05-24T18:43:12.405Z] -rw-rw-r-- 1 jenkins jenkins 222 May 24 18:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:43:12.827Z] + 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=2c5d3fe46b57ae3d1d22231c786fe5e263313e29 --label arch=arm64 --label version=0.0.0 . [2023-05-24T18:43:13.413Z] Sending build context to Docker daemon 6.149MB [2023-05-24T18:43:13.413Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T18:43:13.413Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-24T18:43:13.413Z] ---> 0b3d484bc943 [2023-05-24T18:43:13.413Z] Step 3/23 : ARG MAKE=make build [2023-05-24T18:43:13.413Z] ---> Running in 520c95d13c6b [2023-05-24T18:43:13.680Z] Removing intermediate container 520c95d13c6b [2023-05-24T18:43:13.680Z] ---> 5d3652ae7039 [2023-05-24T18:43:13.680Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-24T18:43:13.680Z] ---> Running in 1c3aa9053f57 [2023-05-24T18:43:14.269Z] Removing intermediate container 1c3aa9053f57 [2023-05-24T18:43:14.269Z] ---> a8493637ec50 [2023-05-24T18:43:14.269Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-24T18:43:14.269Z] ---> Running in fcf82dd16653 [2023-05-24T18:43:14.536Z] Removing intermediate container fcf82dd16653 [2023-05-24T18:43:14.536Z] ---> c34e5f9a08f1 [2023-05-24T18:43:14.536Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-24T18:43:14.536Z] ---> Running in 8e8be91a0aed [2023-05-24T18:43:15.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-24T18:43:16.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-24T18:43:17.888Z] OK: 263 MiB in 53 packages [2023-05-24T18:43:18.486Z] Removing intermediate container 8e8be91a0aed [2023-05-24T18:43:18.486Z] ---> ba0d2c0b6c9c [2023-05-24T18:43:18.486Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-24T18:43:19.073Z] ---> 082db564fef1 [2023-05-24T18:43:19.073Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T18:43:19.073Z] ---> Running in 412054a838e5 [2023-05-24T18:43:22.433Z] Removing intermediate container 412054a838e5 [2023-05-24T18:43:22.433Z] ---> 747532c7eb3f [2023-05-24T18:43:22.433Z] Step 9/23 : COPY . . [2023-05-24T18:43:25.801Z] ---> 00ff2e9779db [2023-05-24T18:43:25.801Z] Step 10/23 : RUN ${MAKE} [2023-05-24T18:43:25.801Z] ---> Running in cf77c89b0b37 [2023-05-24T18:43:26.388Z] 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:45:48.108Z] Removing intermediate container cf77c89b0b37 [2023-05-24T18:45:48.108Z] ---> da24568f43c7 [2023-05-24T18:45:48.108Z] Step 11/23 : FROM alpine:3.17 [2023-05-24T18:45:48.108Z] 3.17: Pulling from library/alpine [2023-05-24T18:45:48.108Z] c41833b44d91: Already exists [2023-05-24T18:45:48.108Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-24T18:45:48.108Z] Status: Downloaded newer image for alpine:3.17 [2023-05-24T18:45:48.108Z] ---> 51e60588ff2c [2023-05-24T18:45:48.108Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-24T18:45:48.108Z] ---> Running in 9bc7ca5eab53 [2023-05-24T18:45:48.108Z] Removing intermediate container 9bc7ca5eab53 [2023-05-24T18:45:48.108Z] ---> d45a6cb9f669 [2023-05-24T18:45:48.108Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-24T18:45:48.108Z] ---> Running in 864e495c0c35 [2023-05-24T18:45:48.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-24T18:45:48.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-24T18:45:48.108Z] OK: 7 MiB in 15 packages [2023-05-24T18:45:48.108Z] Removing intermediate container 864e495c0c35 [2023-05-24T18:45:48.108Z] ---> df8d68979b36 [2023-05-24T18:45:48.108Z] Step 14/23 : WORKDIR / [2023-05-24T18:45:48.108Z] ---> Running in be8d5f7578dd [2023-05-24T18:45:48.108Z] Removing intermediate container be8d5f7578dd [2023-05-24T18:45:48.108Z] ---> b090c4cf6632 [2023-05-24T18:45:48.108Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-24T18:45:48.109Z] ---> 0c32929d7ebb [2023-05-24T18:45:48.109Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-24T18:45:49.066Z] ---> ed1e36409dac [2023-05-24T18:45:49.066Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-24T18:45:49.650Z] ---> 019b76676e53 [2023-05-24T18:45:49.650Z] Step 18/23 : EXPOSE 59999 [2023-05-24T18:45:49.650Z] ---> Running in b5f3c3b480d8 [2023-05-24T18:45:49.918Z] Removing intermediate container b5f3c3b480d8 [2023-05-24T18:45:49.918Z] ---> 82ebde9b21bb [2023-05-24T18:45:49.918Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-24T18:45:49.918Z] ---> Running in 08dadc9412d0 [2023-05-24T18:45:50.185Z] Removing intermediate container 08dadc9412d0 [2023-05-24T18:45:50.185Z] ---> 3e095794b71a [2023-05-24T18:45:50.185Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-24T18:45:50.453Z] ---> Running in 82034cce388d [2023-05-24T18:45:50.723Z] Removing intermediate container 82034cce388d [2023-05-24T18:45:50.723Z] ---> 6aa69fd5b6b6 [2023-05-24T18:45:50.723Z] Step 21/23 : LABEL arch=arm64 [2023-05-24T18:45:50.723Z] ---> Running in e7f909a35176 [2023-05-24T18:45:50.991Z] Removing intermediate container e7f909a35176 [2023-05-24T18:45:50.991Z] ---> e2c4abcdf0eb [2023-05-24T18:45:50.991Z] Step 22/23 : LABEL git_sha=2c5d3fe46b57ae3d1d22231c786fe5e263313e29 [2023-05-24T18:45:50.991Z] ---> Running in fc39cd2a555b [2023-05-24T18:45:51.259Z] Removing intermediate container fc39cd2a555b [2023-05-24T18:45:51.259Z] ---> 2ec98011ba02 [2023-05-24T18:45:51.259Z] Step 23/23 : LABEL version=0.0.0 [2023-05-24T18:45:51.259Z] ---> Running in f25286582449 [2023-05-24T18:45:51.529Z] Removing intermediate container f25286582449 [2023-05-24T18:45:51.529Z] ---> 5def260d672b [2023-05-24T18:45:51.529Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-24T18:45:51.796Z] Successfully built 5def260d672b [2023-05-24T18:45:51.797Z] 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:45:52.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T18:45:52.620Z] [2023-05-24T18:45:52.620Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:45:53.029Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T18:45:53.029Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-24T18:45:53.029Z] 8998bd30e6a1: Pulling fs layer [2023-05-24T18:45:53.029Z] 04944245beec: Pulling fs layer [2023-05-24T18:45:53.029Z] 699f458cf7ca: Pulling fs layer [2023-05-24T18:45:53.029Z] 765212b225bb: Pulling fs layer [2023-05-24T18:45:53.029Z] f23df028b6ca: Pulling fs layer [2023-05-24T18:45:53.029Z] d65c8cfc05b1: Pulling fs layer [2023-05-24T18:45:53.029Z] 2437ff75d9bd: Pulling fs layer [2023-05-24T18:45:53.029Z] 765212b225bb: Waiting [2023-05-24T18:45:53.029Z] d65c8cfc05b1: Waiting [2023-05-24T18:45:53.029Z] 2437ff75d9bd: Waiting [2023-05-24T18:45:53.302Z] 04944245beec: Verifying Checksum [2023-05-24T18:45:53.302Z] 04944245beec: Download complete [2023-05-24T18:45:53.302Z] 765212b225bb: Verifying Checksum [2023-05-24T18:45:53.302Z] 765212b225bb: Download complete [2023-05-24T18:45:53.302Z] f23df028b6ca: Download complete [2023-05-24T18:45:53.302Z] d65c8cfc05b1: Verifying Checksum [2023-05-24T18:45:53.302Z] d65c8cfc05b1: Download complete [2023-05-24T18:45:53.573Z] 699f458cf7ca: Download complete [2023-05-24T18:45:53.842Z] 8998bd30e6a1: Verifying Checksum [2023-05-24T18:45:53.842Z] 8998bd30e6a1: Download complete [2023-05-24T18:45:55.791Z] 2437ff75d9bd: Verifying Checksum [2023-05-24T18:45:55.791Z] 2437ff75d9bd: Download complete [2023-05-24T18:45:57.731Z] 8998bd30e6a1: Pull complete [2023-05-24T18:45:58.000Z] 04944245beec: Pull complete [2023-05-24T18:45:58.958Z] 699f458cf7ca: Pull complete [2023-05-24T18:45:59.227Z] 765212b225bb: Pull complete [2023-05-24T18:46:00.189Z] f23df028b6ca: Pull complete [2023-05-24T18:46:00.189Z] d65c8cfc05b1: Pull complete [2023-05-24T18:46:15.168Z] 2437ff75d9bd: Pull complete [2023-05-24T18:46:15.168Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-24T18:46:15.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T18:46:15.168Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:46:15.521Z] prd-ubuntu20.04-docker-arm64-4c-16g-16761 does not seem to be running inside a container [2023-05-24T18:46:15.590Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-24T18:46:18.310Z] $ docker top eda0cce4fcb4f956e885070f69fa4aceb412b5046f5e4a1d01ff5b30cb0d19e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:46:19.226Z] ---> job-cost.sh [2023-05-24T18:46:19.226Z] lf-activate-venv: SKIPPING [2023-05-24T18:46:19.226Z] INFO: No Stack... [2023-05-24T18:46:19.493Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-24T18:46:20.453Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T18:46:21.111Z] + cut -d, -f6 [2023-05-24T18:46:21.111Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-05-24T18:46:21.201Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1464-1-stack-cost] [2023-05-24T18:46:21.206Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1464-1-stack-cost] did not exist. Created. [2023-05-24T18:46:21.206Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1464-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-24T18:46:21.933Z] /w/workspace/device-sdk-go/1@tmp/durable-c9cf4940/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-24T18:46:22.288Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-24T18:46:22.322Z] Warning: overwriting stash ‘stack-cost’ [2023-05-24T18:46:22.386Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T18:46:22.402Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1464-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T18:46:22.492Z] $ docker stop --time=1 eda0cce4fcb4f956e885070f69fa4aceb412b5046f5e4a1d01ff5b30cb0d19e3 [2023-05-24T18:46:24.036Z] $ docker rm -f --volumes eda0cce4fcb4f956e885070f69fa4aceb412b5046f5e4a1d01ff5b30cb0d19e3 [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:46:25.006Z] provisioning config files... [2023-05-24T18:46:25.013Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp/config16814886112496999278tmp [Pipeline] { [Pipeline] sh [2023-05-24T18:46:25.362Z] + set +x [2023-05-24T18:46:25.362Z] + curl -s https://codecov.io/bash [2023-05-24T18:46:25.362Z] + bash -s -- [2023-05-24T18:46:25.362Z] [2023-05-24T18:46:25.362Z] _____ _ [2023-05-24T18:46:25.362Z] / ____| | | [2023-05-24T18:46:25.362Z] | | ___ __| | ___ ___ _____ __ [2023-05-24T18:46:25.362Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-24T18:46:25.362Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-24T18:46:25.362Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-24T18:46:25.362Z] Bash-1.0.6 [2023-05-24T18:46:25.362Z] [2023-05-24T18:46:25.362Z] [2023-05-24T18:46:25.362Z] ==> git version 2.25.1 found [2023-05-24T18:46:25.362Z] ==> 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:46:25.362Z] Release-Date: 2020-01-08 [2023-05-24T18:46:25.362Z] 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:46:25.362Z] 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:46:25.362Z] ==> Jenkins CI detected. [2023-05-24T18:46:25.362Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1464 [2023-05-24T18:46:25.362Z] project root: . [2023-05-24T18:46:25.362Z] --> token set from env [2023-05-24T18:46:25.362Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-24T18:46:25.362Z] ==> Running gcov in . (disable via -X gcov) [2023-05-24T18:46:25.362Z] ==> Python coveragepy not found [2023-05-24T18:46:25.362Z] ==> Searching for coverage reports in: [2023-05-24T18:46:25.362Z] + . [2023-05-24T18:46:25.362Z] -> Found 1 reports [2023-05-24T18:46:25.362Z] ==> Detecting git/mercurial file structure [2023-05-24T18:46:25.362Z] ==> Reading reports [2023-05-24T18:46:25.362Z] + ./coverage.out bytes=106151 [2023-05-24T18:46:25.362Z] ==> Appending adjustments [2023-05-24T18:46:25.362Z] https://docs.codecov.io/docs/fixing-reports [2023-05-24T18:46:25.620Z] + Found adjustments [2023-05-24T18:46:25.620Z] ==> Gzipping contents [2023-05-24T18:46:25.879Z] 16K /tmp/codecov.CGEylO.gz [2023-05-24T18:46:25.879Z] ==> Uploading reports [2023-05-24T18:46:25.879Z] url: https://codecov.io [2023-05-24T18:46:25.879Z] query: branch=PR-1464&commit=9a3c478e2b4eeb1a50e4964926da395764f7c8b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1464%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1464&job=&cmd_args= [2023-05-24T18:46:25.879Z] -> Pinging Codecov [2023-05-24T18:46:25.879Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1464&commit=9a3c478e2b4eeb1a50e4964926da395764f7c8b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1464%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1464&job=&cmd_args= [2023-05-24T18:46:25.879Z] -> Uploading to [2023-05-24T18:46:25.879Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-24/7E55EF52A471D76F132DFD9A03CDDE97/9a3c478e2b4eeb1a50e4964926da395764f7c8b3/fbf76712-9232-4618-8b5c-f274f55f2610.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230524T184625Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=92f627a81a86d2f4ad7955c4d455f15211ff088136e4f5f2c857654ad1918d03 [2023-05-24T18:46:25.879Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-24T18:46:25.879Z] Dload Upload Total Spent Left Speed [2023-05-24T18:46:26.139Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15157 0 0 100 15157 0 65614 --:--:-- --:--:-- --:--:-- 65331 100 15157 0 0 100 15157 0 65331 --:--:-- --:--:-- --:--:-- 65331 [2023-05-24T18:46:26.139Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/9a3c478e2b4eeb1a50e4964926da395764f7c8b3 [Pipeline] } [2023-05-24T18:46:26.165Z] 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:46:27.909Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1464/archives ] [2023-05-24T18:46:27.909Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1464/archives [2023-05-24T18:46:27.909Z] total 16 [2023-05-24T18:46:27.909Z] drwxr-xr-x 3 root root 4096 May 24 18:33 . [2023-05-24T18:46:27.909Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 18:33 .. [2023-05-24T18:46:27.909Z] drwxr-xr-x 2 root root 4096 May 24 18:33 cost [2023-05-24T18:46:27.909Z] -rw-r--r-- 1 root root 86 May 24 18:33 cost.csv [2023-05-24T18:46:27.909Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1464/archives [2023-05-24T18:46:27.909Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1464/archives [2023-05-24T18:46:27.909Z] total 16 [2023-05-24T18:46:27.909Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 18:33 . [2023-05-24T18:46:27.909Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 18:33 .. [2023-05-24T18:46:27.909Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 18:33 cost [2023-05-24T18:46:27.909Z] -rw-r--r-- 1 jenkins jenkins 86 May 24 18:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:46:28.234Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:46:29.120Z] ---> package-listing.sh [2023-05-24T18:46:29.120Z] ++ facter osfamily [2023-05-24T18:46:29.120Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-24T18:46:29.378Z] + OS_FAMILY=debian [2023-05-24T18:46:29.378Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1464 [2023-05-24T18:46:29.378Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-24T18:46:29.378Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-24T18:46:29.378Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-24T18:46:29.378Z] + PACKAGES=/tmp/packages_start.txt [2023-05-24T18:46:29.378Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1464 ']' [2023-05-24T18:46:29.378Z] + PACKAGES=/tmp/packages_end.txt [2023-05-24T18:46:29.378Z] + case "${OS_FAMILY}" in [2023-05-24T18:46:29.378Z] + dpkg -l [2023-05-24T18:46:29.378Z] + grep '^ii' [2023-05-24T18:46:29.378Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-24T18:46:29.378Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-24T18:46:29.378Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-24T18:46:29.378Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1464 ']' [2023-05-24T18:46:29.378Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1464/archives/ [2023-05-24T18:46:29.378Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1464/archives/ [Pipeline] echo [2023-05-24T18:46:29.423Z] 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-1464/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:46:29.715Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T18:46:30.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T18:46:30.348Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T18:46:30.515Z] prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container [2023-05-24T18:46:30.549Z] $ 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-1464/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-1464 -v /w/workspace/gexfoundry_device-sdk-go_PR-1464:/w/workspace/gexfoundry_device-sdk-go_PR-1464:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-24T18:46:30.884Z] $ docker top 02da64e252c70999289464b1038820e81b4c960325bd86cc14ebfe226f36140b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T18:46:31.283Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-24T18:46:31.587Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-24T18:46:31.900Z] + ls /var/log/sa-host [2023-05-24T18:46:31.900Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T18:46:32.027Z] provisioning config files... [2023-05-24T18:46:32.036Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1464@tmp/config1910024112456480809tmp [Pipeline] { [Pipeline] echo [2023-05-24T18:46:32.089Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:46:32.407Z] ---> create-netrc.sh [Pipeline] } [2023-05-24T18:46:32.440Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:46:32.836Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-24T18:46:32.873Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:46:33.198Z] ---> sudo-logs.sh [2023-05-24T18:46:33.198Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-24T18:46:33.288Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:46:33.601Z] ---> job-cost.sh [2023-05-24T18:46:33.601Z] lf-activate-venv: SKIPPING [2023-05-24T18:46:33.601Z] DEBUG: total: 0.2199999988079071 [2023-05-24T18:46:33.601Z] INFO: Retrieving Stack Cost... [2023-05-24T18:46:34.173Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-24T18:46:34.432Z] INFO: Archiving Costs [Pipeline] echo [2023-05-24T18:46:34.469Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T18:46:34.775Z] ---> logs-deploy.sh [2023-05-24T18:46:34.775Z] lf-activate-venv: SKIPPING [2023-05-24T18:46:34.775Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1464/1 [2023-05-24T18:46:34.775Z] INFO: archiving workspace using pattern(s): [2023-05-24T18:46:35.711Z] Archives upload complete. [2023-05-24T18:46:35.711Z] INFO: archiving logs to Nexus