Pull request #1268 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 75403564eeb8af1d0f1f8ff2eb4e718373552573 rather than 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee Obtained Jenkinsfile from 75403564eeb8af1d0f1f8ff2eb4e718373552573 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-ssh1119565330495855525.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5741959405606822953.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1268/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-1268/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10859099595678129959.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-1268/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2201356481940717705.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh533087490665218707.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-1268/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-1268/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2225668633045446354.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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.18 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-861 in /w/workspace/gexfoundry_device-sdk-go_PR-1268 [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-1268 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1268/head:refs/remotes/origin/PR-1268 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 75403564eeb8af1d0f1f8ff2eb4e718373552573 into PR head commit 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee Merge succeeded, producing 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee Checking out Revision 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee (PR-1268) > git config core.sparsecheckout # timeout=10 > git checkout -f 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee # 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 75403564eeb8af1d0f1f8ff2eb4e718373552573 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee # timeout=10 Commit message: "refactor!: Rename command line flags for the sake of consistency" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-03T05:32:08.220Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-03T05:32:08.375Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-03T05:32:08.464Z] ========================================================= [2023-01-03T05:32:08.465Z] EdgeX Global Pipelines Version Info [2023-01-03T05:32:08.465Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-03T05:32:09.211Z] ------------------- [2023-01-03T05:32:09.211Z] stable info: [2023-01-03T05:32:09.211Z] ------------------- [2023-01-03T05:32:09.211Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-03T05:32:09.211Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T05:32:09.211Z] Message: update stable to v1.0.244 [2023-01-03T05:32:09.782Z] ------------------- [2023-01-03T05:32:09.782Z] experimental info: [2023-01-03T05:32:09.782Z] ------------------- [2023-01-03T05:32:09.782Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-03T05:32:09.782Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T05:32:09.782Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-03T05:32:10.082Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-03T05:32:10.125Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-03T05:32:10.165Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-03T05:32:10.205Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-03T05:32:10.242Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-03T05:32:10.278Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-03T05:32:10.320Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-03T05:32:10.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-03T05:32:10.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-03T05:32:10.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-03T05:32:10.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-03T05:32:10.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-03T05:32:10.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-03T05:32:10.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-03T05:32:10.643Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T05:32:10.682Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T05:32:10.724Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T05:32:10.764Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T05:32:10.804Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-03T05:32:10.845Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-03T05:32:10.885Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-03T05:32:10.928Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-03T05:32:10.974Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-03T05:32:11.015Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-03T05:32:11.052Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-03T05:32:11.092Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-03T05:32:11.136Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-03T05:32:11.172Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1268 [Pipeline] echo [2023-01-03T05:32:11.312Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1268 [Pipeline] echo [2023-01-03T05:32:11.352Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1268 [Pipeline] echo [2023-01-03T05:32:11.390Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee [Pipeline] echo [2023-01-03T05:32:11.426Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4aa2fae [Pipeline] echo [2023-01-03T05:32:11.462Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T05:32:11.570Z] provisioning config files... [2023-01-03T05:32:11.586Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1268@tmp/config18268449429907857653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T05:32:11.921Z] ---> docker-login.sh [2023-01-03T05:32:11.921Z] nexus3.edgexfoundry.org:10001 [2023-01-03T05:32:12.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T05:32:12.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T05:32:12.439Z] Configure a credential helper to remove this warning. See [2023-01-03T05:32:12.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T05:32:12.439Z] [2023-01-03T05:32:12.439Z] Login Succeeded [2023-01-03T05:32:12.439Z] nexus3.edgexfoundry.org:10002 [2023-01-03T05:32:12.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T05:32:12.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T05:32:12.439Z] Configure a credential helper to remove this warning. See [2023-01-03T05:32:12.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T05:32:12.439Z] [2023-01-03T05:32:12.439Z] Login Succeeded [2023-01-03T05:32:12.439Z] nexus3.edgexfoundry.org:10003 [2023-01-03T05:32:12.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T05:32:12.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T05:32:12.700Z] Configure a credential helper to remove this warning. See [2023-01-03T05:32:12.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T05:32:12.700Z] [2023-01-03T05:32:12.700Z] Login Succeeded [2023-01-03T05:32:12.700Z] nexus3.edgexfoundry.org:10004 [2023-01-03T05:32:12.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T05:32:12.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T05:32:12.700Z] Configure a credential helper to remove this warning. See [2023-01-03T05:32:12.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T05:32:12.700Z] [2023-01-03T05:32:12.700Z] Login Succeeded [2023-01-03T05:32:12.700Z] docker.io [2023-01-03T05:32:12.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T05:32:12.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T05:32:12.961Z] Configure a credential helper to remove this warning. See [2023-01-03T05:32:12.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T05:32:12.961Z] [2023-01-03T05:32:12.961Z] Login Succeeded [2023-01-03T05:32:12.961Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T05:32:12.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-03T05:32:13.621Z] + git rev-list -1 --merges 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee~1..4aa2fae2e06829cc5012bd5c306ed57b362ce7ee [Pipeline] echo [2023-01-03T05:32:13.687Z] -----------> git rev-list -1 --merges 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee~1..4aa2fae2e06829cc5012bd5c306ed57b362ce7ee 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee [false] [Pipeline] sh [2023-01-03T05:32:14.002Z] + git log --format=format:%s -1 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee [Pipeline] echo [2023-01-03T05:32:14.037Z] ========================================================= [2023-01-03T05:32:14.037Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-03T05:32:14.037Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T05:32:14.460Z] + git log --format=format:%s -1 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee [Pipeline] echo [2023-01-03T05:32:14.490Z] [semverPrep] GIT_COMMIT: 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee, Commit Message: refactor!: Rename command line flags for the sake of consistency [Pipeline] echo [2023-01-03T05:32:14.517Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-03T05:32:14.905Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T05:32:14.905Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-03T05:32:14.905Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-03T05:32:14.905Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-03T05:32:14.905Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-03T05:32:14.905Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-03T05:32:14.905Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T05:32:15.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T05:32:15.325Z] [2023-01-03T05:32:15.325Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T05:32:15.704Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T05:32:15.704Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-03T05:32:15.704Z] b85a868b505f: Pulling fs layer [2023-01-03T05:32:15.704Z] e2be974225ed: Pulling fs layer [2023-01-03T05:32:15.704Z] 339a4e72a1f5: Pulling fs layer [2023-01-03T05:32:15.704Z] 988bab9f4d93: Pulling fs layer [2023-01-03T05:32:15.704Z] 1469e6f7b9e6: Pulling fs layer [2023-01-03T05:32:15.704Z] eaf3925da568: Pulling fs layer [2023-01-03T05:32:15.704Z] bab4dde63d76: Pulling fs layer [2023-01-03T05:32:15.704Z] bde34c3a00c8: Pulling fs layer [2023-01-03T05:32:15.704Z] b352a97aabf1: Pulling fs layer [2023-01-03T05:32:15.704Z] 4872d77fe225: Pulling fs layer [2023-01-03T05:32:15.704Z] 5851b861e8e6: Pulling fs layer [2023-01-03T05:32:15.704Z] 988bab9f4d93: Waiting [2023-01-03T05:32:15.704Z] bde34c3a00c8: Waiting [2023-01-03T05:32:15.704Z] b352a97aabf1: Waiting [2023-01-03T05:32:15.704Z] 4872d77fe225: Waiting [2023-01-03T05:32:15.704Z] eaf3925da568: Waiting [2023-01-03T05:32:15.704Z] 1469e6f7b9e6: Waiting [2023-01-03T05:32:15.704Z] bab4dde63d76: Waiting [2023-01-03T05:32:15.704Z] e2be974225ed: Download complete [2023-01-03T05:32:15.704Z] 988bab9f4d93: Download complete [2023-01-03T05:32:15.967Z] 1469e6f7b9e6: Verifying Checksum [2023-01-03T05:32:15.967Z] 1469e6f7b9e6: Download complete [2023-01-03T05:32:15.967Z] eaf3925da568: Download complete [2023-01-03T05:32:15.967Z] 339a4e72a1f5: Verifying Checksum [2023-01-03T05:32:15.967Z] 339a4e72a1f5: Download complete [2023-01-03T05:32:15.967Z] bde34c3a00c8: Verifying Checksum [2023-01-03T05:32:15.967Z] bde34c3a00c8: Download complete [2023-01-03T05:32:15.967Z] b352a97aabf1: Download complete [2023-01-03T05:32:15.967Z] 4872d77fe225: Download complete [2023-01-03T05:32:15.967Z] 5851b861e8e6: Verifying Checksum [2023-01-03T05:32:15.967Z] 5851b861e8e6: Download complete [2023-01-03T05:32:15.967Z] b85a868b505f: Download complete [2023-01-03T05:32:16.230Z] bab4dde63d76: Verifying Checksum [2023-01-03T05:32:16.230Z] bab4dde63d76: Download complete [2023-01-03T05:32:17.622Z] b85a868b505f: Pull complete [2023-01-03T05:32:17.622Z] e2be974225ed: Pull complete [2023-01-03T05:32:17.885Z] 339a4e72a1f5: Pull complete [2023-01-03T05:32:18.147Z] 988bab9f4d93: Pull complete [2023-01-03T05:32:18.406Z] 1469e6f7b9e6: Pull complete [2023-01-03T05:32:18.407Z] eaf3925da568: Pull complete [2023-01-03T05:32:20.314Z] bab4dde63d76: Pull complete [2023-01-03T05:32:20.314Z] bde34c3a00c8: Pull complete [2023-01-03T05:32:20.314Z] b352a97aabf1: Pull complete [2023-01-03T05:32:20.314Z] 4872d77fe225: Pull complete [2023-01-03T05:32:20.314Z] 5851b861e8e6: Pull complete [2023-01-03T05:32:20.314Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-03T05:32:20.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T05:32:20.314Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T05:32:20.524Z] prd-ubuntu20.04-docker-8c-8g-861 does not seem to be running inside a container [2023-01-03T05:32:20.555Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1268 -v /w/workspace/gexfoundry_device-sdk-go_PR-1268:/w/workspace/gexfoundry_device-sdk-go_PR-1268:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1268@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1268@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-01-03T05:32:21.793Z] $ docker top 6fd39b50c735a02cfd4763c50d5510995d7dc6b46207bc2447c66ac3537f1c1b -eo pid,comm [2023-01-03T05:32:21.852Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-03T05:32:21.852Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T05:32:21.977Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T05:32:21.977Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T05:32:22.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T05:32:22.098Z] $ docker exec 6fd39b50c735a02cfd4763c50d5510995d7dc6b46207bc2447c66ac3537f1c1b ssh-agent [2023-01-03T05:32:22.207Z] SSH_AUTH_SOCK=/tmp/ssh-n3IipMsA1Q2c/agent.31 [2023-01-03T05:32:22.207Z] SSH_AGENT_PID=37 [2023-01-03T05:32:22.216Z] Running ssh-add (command line suppressed) [2023-01-03T05:32:22.327Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1268@tmp/private_key_950429001803116339.key (/w/workspace/gexfoundry_device-sdk-go_PR-1268@tmp/private_key_950429001803116339.key) [2023-01-03T05:32:22.339Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T05:32:22.670Z] + git tag --points-at HEAD [Pipeline] } [2023-01-03T05:32:22.699Z] $ docker exec --env ******** --env ******** 6fd39b50c735a02cfd4763c50d5510995d7dc6b46207bc2447c66ac3537f1c1b ssh-agent -k [2023-01-03T05:32:22.818Z] unset SSH_AUTH_SOCK; [2023-01-03T05:32:22.818Z] unset SSH_AGENT_PID; [2023-01-03T05:32:22.819Z] echo Agent pid 37 killed; [2023-01-03T05:32:22.830Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-03T05:32:22.918Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T05:32:22.918Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T05:32:23.040Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T05:32:23.045Z] $ docker exec 6fd39b50c735a02cfd4763c50d5510995d7dc6b46207bc2447c66ac3537f1c1b ssh-agent [2023-01-03T05:32:23.150Z] SSH_AUTH_SOCK=/tmp/ssh-iQdUiekiXMHX/agent.69 [2023-01-03T05:32:23.150Z] SSH_AGENT_PID=75 [2023-01-03T05:32:23.155Z] Running ssh-add (command line suppressed) [2023-01-03T05:32:23.267Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1268@tmp/private_key_8070016270552875935.key (/w/workspace/gexfoundry_device-sdk-go_PR-1268@tmp/private_key_8070016270552875935.key) [2023-01-03T05:32:23.279Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T05:32:23.605Z] + git semver init [2023-01-03T05:32:23.868Z] 2023-01-03 05:32:23,827 [run_init] DEBUG init version:0.0.0 force:False [2023-01-03T05:32:23.868Z] 2023-01-03 05:32:23,828 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1268/.semver [2023-01-03T05:32:23.868Z] 2023-01-03 05:32:23,828 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1268/.semver [2023-01-03T05:32:23.868Z] 2023-01-03 05:32:23,829 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1268/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1268, universal_newlines=False, shell=None, istream=None) [2023-01-03T05:32:24.811Z] 2023-01-03 05:32:24,777 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1268/.git/info/exclude [2023-01-03T05:32:24.811Z] 2023-01-03 05:32:24,777 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1268/.semver/PR-1268 with force:False [2023-01-03T05:32:24.811Z] 2023-01-03 05:32:24,777 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1268/.semver/PR-1268 [2023-01-03T05:32:24.811Z] 2023-01-03 05:32:24,780 [execute] INFO git cat-file --batch-check [2023-01-03T05:32:24.811Z] 2023-01-03 05:32:24,780 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1268/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T05:32:24.811Z] 2023-01-03 05:32:24,787 [execute] INFO git cat-file --batch [2023-01-03T05:32:24.811Z] 2023-01-03 05:32:24,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1268/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T05:32:24.811Z] 2023-01-03 05:32:24,792 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1268/.semver/PR-1268 [2023-01-03T05:32:24.811Z] 0.0.0 [Pipeline] } [2023-01-03T05:32:24.841Z] $ docker exec --env ******** --env ******** 6fd39b50c735a02cfd4763c50d5510995d7dc6b46207bc2447c66ac3537f1c1b ssh-agent -k [2023-01-03T05:32:24.963Z] unset SSH_AUTH_SOCK; [2023-01-03T05:32:24.963Z] unset SSH_AGENT_PID; [2023-01-03T05:32:24.964Z] echo Agent pid 75 killed; [2023-01-03T05:32:24.974Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T05:32:25.398Z] + git semver [Pipeline] } [2023-01-03T05:32:25.685Z] $ docker stop --time=1 6fd39b50c735a02cfd4763c50d5510995d7dc6b46207bc2447c66ac3537f1c1b [2023-01-03T05:32:26.957Z] $ docker rm -f --volumes 6fd39b50c735a02cfd4763c50d5510995d7dc6b46207bc2447c66ac3537f1c1b [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T05:32:27.360Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-03T05:32:27.624Z] Stashed 1 file(s) [Pipeline] echo [2023-01-03T05:32:27.645Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T05:32:28.223Z] provisioning config files... [2023-01-03T05:32:28.234Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1268@tmp/config13536256998132475847tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T05:32:28.687Z] ---> docker-login.sh [2023-01-03T05:32:28.687Z] nexus3.edgexfoundry.org:10001 [2023-01-03T05:32:28.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T05:32:28.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T05:32:28.687Z] Configure a credential helper to remove this warning. See [2023-01-03T05:32:28.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T05:32:28.687Z] [2023-01-03T05:32:28.687Z] Login Succeeded [2023-01-03T05:32:28.687Z] nexus3.edgexfoundry.org:10002 [2023-01-03T05:32:28.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T05:32:28.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T05:32:28.687Z] Configure a credential helper to remove this warning. See [2023-01-03T05:32:28.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T05:32:28.687Z] [2023-01-03T05:32:28.687Z] Login Succeeded [2023-01-03T05:32:28.687Z] nexus3.edgexfoundry.org:10003 [2023-01-03T05:32:28.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T05:32:28.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T05:32:28.946Z] Configure a credential helper to remove this warning. See [2023-01-03T05:32:28.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T05:32:28.946Z] [2023-01-03T05:32:28.946Z] Login Succeeded [2023-01-03T05:32:28.946Z] nexus3.edgexfoundry.org:10004 [2023-01-03T05:32:28.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T05:32:28.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T05:32:28.946Z] Configure a credential helper to remove this warning. See [2023-01-03T05:32:28.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T05:32:28.946Z] [2023-01-03T05:32:28.946Z] Login Succeeded [2023-01-03T05:32:28.946Z] docker.io [2023-01-03T05:32:29.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T05:32:29.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T05:32:29.207Z] Configure a credential helper to remove this warning. See [2023-01-03T05:32:29.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T05:32:29.207Z] [2023-01-03T05:32:29.207Z] Login Succeeded [2023-01-03T05:32:29.207Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T05:32:29.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T05:32:29.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T05:32:29.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T05:32:29.504Z] ========================================================= [2023-01-03T05:32:29.504Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-03T05:32:29.504Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T05:32:29.975Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-03T05:32:29.975Z] Sending build context to Docker daemon 10.39MB [2023-01-03T05:32:29.975Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T05:32:29.975Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-03T05:32:29.975Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-03T05:32:29.975Z] 213ec9aee27d: Pulling fs layer [2023-01-03T05:32:29.975Z] 4583459ba037: Pulling fs layer [2023-01-03T05:32:29.975Z] 93c1e223e6f2: Pulling fs layer [2023-01-03T05:32:29.975Z] 53926ce57604: Pulling fs layer [2023-01-03T05:32:29.975Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-03T05:32:29.975Z] 22ff95d597cd: Pulling fs layer [2023-01-03T05:32:29.975Z] 12d6caf4c0d1: Pulling fs layer [2023-01-03T05:32:29.975Z] 96b7cbca73a9: Pulling fs layer [2023-01-03T05:32:29.975Z] a7acece74701: Pulling fs layer [2023-01-03T05:32:29.975Z] 53926ce57604: Waiting [2023-01-03T05:32:29.975Z] 22ff95d597cd: Waiting [2023-01-03T05:32:29.975Z] 12d6caf4c0d1: Waiting [2023-01-03T05:32:29.975Z] 96b7cbca73a9: Waiting [2023-01-03T05:32:29.975Z] a7acece74701: Waiting [2023-01-03T05:32:29.975Z] 4583459ba037: Verifying Checksum [2023-01-03T05:32:29.975Z] 4583459ba037: Download complete [2023-01-03T05:32:29.975Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-03T05:32:29.975Z] 21b2b0c7a3f4: Download complete [2023-01-03T05:32:30.241Z] 22ff95d597cd: Verifying Checksum [2023-01-03T05:32:30.241Z] 22ff95d597cd: Download complete [2023-01-03T05:32:30.241Z] 213ec9aee27d: Verifying Checksum [2023-01-03T05:32:30.241Z] 213ec9aee27d: Download complete [2023-01-03T05:32:30.241Z] 12d6caf4c0d1: Verifying Checksum [2023-01-03T05:32:30.241Z] 12d6caf4c0d1: Download complete [2023-01-03T05:32:30.241Z] 213ec9aee27d: Pull complete [2023-01-03T05:32:30.515Z] 4583459ba037: Pull complete [2023-01-03T05:32:30.515Z] 93c1e223e6f2: Pull complete [2023-01-03T05:32:31.107Z] a7acece74701: Verifying Checksum [2023-01-03T05:32:31.107Z] a7acece74701: Download complete [2023-01-03T05:32:31.107Z] 53926ce57604: Verifying Checksum [2023-01-03T05:32:31.107Z] 53926ce57604: Download complete [2023-01-03T05:32:31.366Z] 96b7cbca73a9: Verifying Checksum [2023-01-03T05:32:31.366Z] 96b7cbca73a9: Download complete [2023-01-03T05:32:35.559Z] 53926ce57604: Pull complete [2023-01-03T05:32:35.559Z] 21b2b0c7a3f4: Pull complete [2023-01-03T05:32:35.559Z] 22ff95d597cd: Pull complete [2023-01-03T05:32:35.559Z] 12d6caf4c0d1: Pull complete [2023-01-03T05:32:37.463Z] 96b7cbca73a9: Pull complete [2023-01-03T05:32:38.031Z] a7acece74701: Pull complete [2023-01-03T05:32:38.031Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-03T05:32:38.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-03T05:32:38.031Z] ---> db6d94c90886 [2023-01-03T05:32:38.031Z] Step 3/10 : ARG MAKE=make build [2023-01-03T05:32:39.935Z] ---> Running in 5ec3a535e459 [2023-01-03T05:32:39.935Z] Removing intermediate container 5ec3a535e459 [2023-01-03T05:32:39.935Z] ---> 585dead5ba42 [2023-01-03T05:32:39.935Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-03T05:32:39.935Z] ---> Running in 78f971d4b8fd [2023-01-03T05:32:39.935Z] Removing intermediate container 78f971d4b8fd [2023-01-03T05:32:39.935Z] ---> d1197b3a4a5d [2023-01-03T05:32:39.935Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-03T05:32:39.935Z] ---> Running in a1312e07b086 [2023-01-03T05:32:39.935Z] Removing intermediate container a1312e07b086 [2023-01-03T05:32:39.935Z] ---> e65772d5d60c [2023-01-03T05:32:39.935Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-01-03T05:32:39.935Z] ---> Running in f42082acf426 [2023-01-03T05:32:40.194Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T05:32:40.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T05:32:40.712Z] OK: 211 MiB in 51 packages [2023-01-03T05:32:40.972Z] Removing intermediate container f42082acf426 [2023-01-03T05:32:40.972Z] ---> c7e9d022068a [2023-01-03T05:32:40.972Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-03T05:32:41.232Z] ---> a2b68c3d1919 [2023-01-03T05:32:41.232Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T05:32:41.232Z] ---> Running in 7d28ea351f25 [2023-01-03T05:32:43.048Z] Still waiting to schedule task [2023-01-03T05:32:43.048Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-03T05:32:59.328Z] Removing intermediate container 7d28ea351f25 [2023-01-03T05:32:59.328Z] ---> 32c10d0de263 [2023-01-03T05:32:59.328Z] Step 9/10 : COPY . . [2023-01-03T05:32:59.328Z] ---> fcbc1036bc54 [2023-01-03T05:32:59.328Z] Step 10/10 : RUN ${MAKE} [2023-01-03T05:32:59.328Z] ---> Running in c00bbe516027 [2023-01-03T05:32:59.328Z] noop [2023-01-03T05:32:59.328Z] Removing intermediate container c00bbe516027 [2023-01-03T05:32:59.328Z] ---> 86e608ab541a [2023-01-03T05:32:59.328Z] Successfully built 86e608ab541a [2023-01-03T05:32:59.328Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T05:32:59.773Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T05:32:59.773Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T05:32:59.924Z] prd-ubuntu20.04-docker-8c-8g-861 does not seem to be running inside a container [2023-01-03T05:32:59.952Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1268 -v /w/workspace/gexfoundry_device-sdk-go_PR-1268:/w/workspace/gexfoundry_device-sdk-go_PR-1268:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1268@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1268@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-01-03T05:33:00.287Z] $ docker top e16ad395a2d52c2751b7dc00c64188df55f6229c66462d95f71c612b0f3bea16 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T05:33:00.678Z] + go version [2023-01-03T05:33:00.678Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-03T05:33:00.714Z] $ docker stop --time=1 e16ad395a2d52c2751b7dc00c64188df55f6229c66462d95f71c612b0f3bea16 [2023-01-03T05:33:01.986Z] $ docker rm -f --volumes e16ad395a2d52c2751b7dc00c64188df55f6229c66462d95f71c612b0f3bea16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T05:33:02.682Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T05:33:02.682Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T05:33:02.834Z] prd-ubuntu20.04-docker-8c-8g-861 does not seem to be running inside a container [2023-01-03T05:33:02.867Z] $ 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-1268 -v /w/workspace/gexfoundry_device-sdk-go_PR-1268:/w/workspace/gexfoundry_device-sdk-go_PR-1268:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1268@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1268@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-01-03T05:33:03.226Z] $ docker top 11980df16463215fa87898c2131955025e9eda066e95d5bfd4606d29e3a41332 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T05:33:03.626Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1268 [Pipeline] fileExists [Pipeline] sh [2023-01-03T05:33:03.981Z] + make test [2023-01-03T05:33:03.981Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2023-01-03T05:33:10.548Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-03T05:33:25.431Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.057s coverage: 27.6% of statements [2023-01-03T05:33:25.431Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.068s coverage: 78.9% of statements [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-03T05:33:25.431Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.117s coverage: 73.1% of statements [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-03T05:33:25.431Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.102s coverage: 54.4% of statements [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-03T05:33:25.431Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.098s coverage: 65.1% of statements [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-03T05:33:25.431Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.841s coverage: 89.2% of statements [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-03T05:33:25.431Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements [2023-01-03T05:33:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-03T05:33:40.315Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-03T05:33:40.315Z] GO111MODULE=on go vet ./... [2023-01-03T05:33:42.216Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T05:33:42.216Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T05:33:42.216Z] ./bin/test-attribution-txt.sh [2023-01-03T05:33:42.216Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2023-01-03T05:33:42.216Z] An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add [2023-01-03T05:33:42.216Z] An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add [2023-01-03T05:33:42.216Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2023-01-03T05:33:42.216Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2023-01-03T05:33:42.216Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2023-01-03T05:33:42.257Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T05:33:42.287Z] $ docker stop --time=1 11980df16463215fa87898c2131955025e9eda066e95d5bfd4606d29e3a41332 [2023-01-03T05:33:44.377Z] $ docker rm -f --volumes 11980df16463215fa87898c2131955025e9eda066e95d5bfd4606d29e3a41332 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T05:33:44.942Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T05:33:45.035Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-03T05:33:45.692Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T05:33:46.006Z] + ls -al . [2023-01-03T05:33:46.006Z] total 280 [2023-01-03T05:33:46.006Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 05:33 . [2023-01-03T05:33:46.006Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 05:32 .. [2023-01-03T05:33:46.006Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 3 05:32 .dockerignore [2023-01-03T05:33:46.006Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 05:33 .git [2023-01-03T05:33:46.006Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 05:32 .github [2023-01-03T05:33:46.006Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 3 05:32 .gitignore [2023-01-03T05:33:46.006Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 05:32 .golangci.yml [2023-01-03T05:33:46.006Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 05:32 .semver [2023-01-03T05:33:46.006Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 3 05:32 CHANGELOG.md [2023-01-03T05:33:46.006Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 05:32 GOVERNANCE.md [2023-01-03T05:33:46.006Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 3 05:32 Jenkinsfile [2023-01-03T05:33:46.006Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 3 05:32 LICENSE [2023-01-03T05:33:46.006Z] -rw-rw-r-- 1 jenkins jenkins 2003 Jan 3 05:32 Makefile [2023-01-03T05:33:46.006Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 3 05:32 OWNERS.md [2023-01-03T05:33:46.006Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 3 05:32 README.md [2023-01-03T05:33:46.006Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 05:32 VERSION [2023-01-03T05:33:46.006Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 05:32 bin [2023-01-03T05:33:46.006Z] -rw-r--r-- 1 jenkins jenkins 101759 Jan 3 05:33 coverage.out [2023-01-03T05:33:46.006Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 3 05:32 example [2023-01-03T05:33:46.006Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 3 05:32 go.mod [2023-01-03T05:33:46.006Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 3 05:32 go.sum [2023-01-03T05:33:46.006Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 3 05:32 internal [2023-01-03T05:33:46.006Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 05:32 openapi [2023-01-03T05:33:46.006Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 05:32 pkg [2023-01-03T05:33:46.006Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 05:32 snap [2023-01-03T05:33:46.006Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 3 05:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T05:33:46.414Z] + 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=4aa2fae2e06829cc5012bd5c306ed57b362ce7ee --label arch=amd64 --label version=0.0.0 . [2023-01-03T05:33:46.414Z] Sending build context to Docker daemon 10.49MB [2023-01-03T05:33:46.414Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T05:33:46.414Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-03T05:33:46.414Z] ---> 86e608ab541a [2023-01-03T05:33:46.414Z] Step 3/23 : ARG MAKE=make build [2023-01-03T05:33:46.414Z] ---> Running in fa88450fbed4 [2023-01-03T05:33:46.414Z] Removing intermediate container fa88450fbed4 [2023-01-03T05:33:46.414Z] ---> 010ef9ea0ba5 [2023-01-03T05:33:46.414Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-03T05:33:46.673Z] ---> Running in 22639b71c587 [2023-01-03T05:33:46.673Z] Removing intermediate container 22639b71c587 [2023-01-03T05:33:46.673Z] ---> 987a652f786a [2023-01-03T05:33:46.673Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-03T05:33:46.673Z] ---> Running in 80b989ff9bc1 [2023-01-03T05:33:46.673Z] Removing intermediate container 80b989ff9bc1 [2023-01-03T05:33:46.673Z] ---> 651f899b81d7 [2023-01-03T05:33:46.673Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-01-03T05:33:46.673Z] ---> Running in a21a530e7a1a [2023-01-03T05:33:46.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T05:33:47.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T05:33:47.446Z] OK: 211 MiB in 51 packages [2023-01-03T05:33:47.704Z] Removing intermediate container a21a530e7a1a [2023-01-03T05:33:47.704Z] ---> dcb786d927bd [2023-01-03T05:33:47.704Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-03T05:33:47.964Z] ---> 9a17d63bf778 [2023-01-03T05:33:47.964Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T05:33:47.964Z] ---> Running in 9de4869c459b [2023-01-03T05:33:48.533Z] Removing intermediate container 9de4869c459b [2023-01-03T05:33:48.533Z] ---> d61bb631306e [2023-01-03T05:33:48.533Z] Step 9/23 : COPY . . [2023-01-03T05:33:48.791Z] ---> 013b9f649745 [2023-01-03T05:33:48.791Z] Step 10/23 : RUN ${MAKE} [2023-01-03T05:33:48.791Z] ---> Running in e54359aeecce [2023-01-03T05:33:49.050Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-01-03T05:34:07.144Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2023-01-03T05:34:07.144Z] Removing intermediate container e54359aeecce [2023-01-03T05:34:07.144Z] ---> 60b291bbb5fe [2023-01-03T05:34:07.144Z] Step 11/23 : FROM alpine:3.16 [2023-01-03T05:34:07.710Z] 3.16: Pulling from library/alpine [2023-01-03T05:34:07.710Z] ca7dd9ec2225: Pulling fs layer [2023-01-03T05:34:07.969Z] ca7dd9ec2225: Verifying Checksum [2023-01-03T05:34:07.969Z] ca7dd9ec2225: Download complete [2023-01-03T05:34:08.226Z] ca7dd9ec2225: Pull complete [2023-01-03T05:34:08.226Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T05:34:08.226Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T05:34:08.226Z] ---> bfe296a52501 [2023-01-03T05:34:08.226Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-03T05:34:08.226Z] ---> Running in 53f3bd645371 [2023-01-03T05:34:08.226Z] Removing intermediate container 53f3bd645371 [2023-01-03T05:34:08.226Z] ---> fa676cc45145 [2023-01-03T05:34:08.226Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2023-01-03T05:34:08.226Z] ---> Running in a385cc9efe6a [2023-01-03T05:34:08.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T05:34:08.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T05:34:08.999Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T05:34:08.999Z] (2/5) Installing libsodium (1.0.18-r0) [2023-01-03T05:34:08.999Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T05:34:08.999Z] (4/5) Installing libzmq (4.3.4-r0) [2023-01-03T05:34:08.999Z] (5/5) Installing zeromq (4.3.4-r0) [2023-01-03T05:34:08.999Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T05:34:09.258Z] OK: 8 MiB in 19 packages [2023-01-03T05:34:09.523Z] Removing intermediate container a385cc9efe6a [2023-01-03T05:34:09.523Z] ---> c8eb6bb1cd23 [2023-01-03T05:34:09.523Z] Step 14/23 : WORKDIR / [2023-01-03T05:34:09.523Z] ---> Running in f9ad12fb4a59 [2023-01-03T05:34:09.523Z] Removing intermediate container f9ad12fb4a59 [2023-01-03T05:34:09.523Z] ---> 2f212e9ddb8e [2023-01-03T05:34:09.523Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-03T05:34:09.782Z] ---> abaa62bb6a6b [2023-01-03T05:34:09.782Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-03T05:34:10.351Z] ---> f3cdd7e6d875 [2023-01-03T05:34:10.351Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-03T05:34:10.351Z] ---> e7a666e5aea4 [2023-01-03T05:34:10.351Z] Step 18/23 : EXPOSE 59999 [2023-01-03T05:34:10.351Z] ---> Running in 238ccd007897 [2023-01-03T05:34:10.351Z] Removing intermediate container 238ccd007897 [2023-01-03T05:34:10.351Z] ---> 70e04ba0af46 [2023-01-03T05:34:10.351Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-03T05:34:10.351Z] ---> Running in e09edee61a87 [2023-01-03T05:34:10.609Z] Removing intermediate container e09edee61a87 [2023-01-03T05:34:10.609Z] ---> fbcb91db272d [2023-01-03T05:34:10.609Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T05:34:10.609Z] ---> Running in 85e0795a2089 [2023-01-03T05:34:10.609Z] Removing intermediate container 85e0795a2089 [2023-01-03T05:34:10.609Z] ---> c6545d5523df [2023-01-03T05:34:10.609Z] Step 21/23 : LABEL arch=amd64 [2023-01-03T05:34:10.609Z] ---> Running in 24aac9fcb196 [2023-01-03T05:34:10.609Z] Removing intermediate container 24aac9fcb196 [2023-01-03T05:34:10.609Z] ---> bb4d9a0f3fe9 [2023-01-03T05:34:10.609Z] Step 22/23 : LABEL git_sha=4aa2fae2e06829cc5012bd5c306ed57b362ce7ee [2023-01-03T05:34:10.609Z] ---> Running in 1bf1cdc8897d [2023-01-03T05:34:10.867Z] Removing intermediate container 1bf1cdc8897d [2023-01-03T05:34:10.867Z] ---> 0d9ff4bfd56b [2023-01-03T05:34:10.867Z] Step 23/23 : LABEL version=0.0.0 [2023-01-03T05:34:10.867Z] ---> Running in bcdaf3bacf23 [2023-01-03T05:34:10.867Z] Removing intermediate container bcdaf3bacf23 [2023-01-03T05:34:10.867Z] ---> 3e5ed4b6c69d [2023-01-03T05:34:10.867Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T05:34:10.867Z] Successfully built 3e5ed4b6c69d [2023-01-03T05:34:10.867Z] 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-01-03T05:34:11.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T05:34:11.740Z] [2023-01-03T05:34:11.740Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T05:34:12.115Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T05:34:12.115Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-03T05:34:12.115Z] 5eb5b503b376: Pulling fs layer [2023-01-03T05:34:12.115Z] 5c69ac0246d0: Pulling fs layer [2023-01-03T05:34:12.115Z] ec43610c2a17: Pulling fs layer [2023-01-03T05:34:12.115Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-03T05:34:12.115Z] 33b1e0a273af: Pulling fs layer [2023-01-03T05:34:12.115Z] 5d3b04190fa2: Pulling fs layer [2023-01-03T05:34:12.115Z] 2f39f015ded8: Pulling fs layer [2023-01-03T05:34:12.115Z] 33b1e0a273af: Waiting [2023-01-03T05:34:12.115Z] 5d3b04190fa2: Waiting [2023-01-03T05:34:12.115Z] 3a2ae6a8a46f: Waiting [2023-01-03T05:34:12.115Z] 5c69ac0246d0: Verifying Checksum [2023-01-03T05:34:12.115Z] 5c69ac0246d0: Download complete [2023-01-03T05:34:12.115Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-03T05:34:12.115Z] 3a2ae6a8a46f: Download complete [2023-01-03T05:34:12.380Z] 33b1e0a273af: Verifying Checksum [2023-01-03T05:34:12.380Z] 33b1e0a273af: Download complete [2023-01-03T05:34:12.380Z] ec43610c2a17: Verifying Checksum [2023-01-03T05:34:12.380Z] ec43610c2a17: Download complete [2023-01-03T05:34:12.380Z] 5d3b04190fa2: Verifying Checksum [2023-01-03T05:34:12.380Z] 5d3b04190fa2: Download complete [2023-01-03T05:34:12.380Z] 5eb5b503b376: Download complete [2023-01-03T05:34:13.315Z] 2f39f015ded8: Download complete [2023-01-03T05:34:13.575Z] 5eb5b503b376: Pull complete [2023-01-03T05:34:13.588Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-862 in /w/workspace/gexfoundry_device-sdk-go_PR-1268 [Pipeline] { [Pipeline] ws [2023-01-03T05:34:13.643Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-01-03T05:34:13.717Z] The recommended git tool is: git [2023-01-03T05:34:13.833Z] 5c69ac0246d0: Pull complete [2023-01-03T05:34:14.399Z] ec43610c2a17: Pull complete [2023-01-03T05:34:14.399Z] 3a2ae6a8a46f: Pull complete [2023-01-03T05:34:14.657Z] 33b1e0a273af: Pull complete [2023-01-03T05:34:14.657Z] 5d3b04190fa2: Pull complete [2023-01-03T05:34:18.452Z] using credential edgex-jenkins-ssh [2023-01-03T05:34:18.472Z] Cloning the remote Git repository [2023-01-03T05:34:18.515Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-03T05:34:18.585Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-01-03T05:34:19.449Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-03T05:34:19.450Z] > git --version # timeout=10 [2023-01-03T05:34:19.470Z] > git --version # 'git version 2.25.1' [2023-01-03T05:34:19.471Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T05:34:19.534Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T05:34:19.926Z] 2f39f015ded8: Pull complete [2023-01-03T05:34:19.926Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-03T05:34:19.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T05:34:19.926Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T05:34:20.153Z] prd-ubuntu20.04-docker-8c-8g-861 does not seem to be running inside a container [2023-01-03T05:34:20.182Z] $ 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-1268 -v /w/workspace/gexfoundry_device-sdk-go_PR-1268:/w/workspace/gexfoundry_device-sdk-go_PR-1268:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1268@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1268@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T05:34:21.039Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-03T05:34:22.386Z] $ docker top 1e6642d3d344b5b3acc41851f19f8ffc06ca38c4514703dbf05f28eaee7e472c -eo pid,comm [2023-01-03T05:34:21.069Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T05:34:21.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-03T05:34:21.870Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-03T05:34:21.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T05:34:21.888Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1268/head:refs/remotes/origin/PR-1268 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] { [2023-01-03T05:34:22.485Z] Merging remotes/origin/main commit 75403564eeb8af1d0f1f8ff2eb4e718373552573 into PR head commit 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee [Pipeline] libraryResource [Pipeline] sh [2023-01-03T05:34:22.704Z] Merge succeeded, producing 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee [2023-01-03T05:34:22.705Z] Checking out Revision 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee (PR-1268) [2023-01-03T05:34:22.826Z] ---> job-cost.sh [2023-01-03T05:34:22.826Z] lf-activate-venv: SKIPPING [2023-01-03T05:34:22.826Z] INFO: No Stack... [2023-01-03T05:34:23.084Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T05:34:23.344Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T05:34:23.656Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1268/archives/cost.csv [2023-01-03T05:34:23.656Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T05:34:23.699Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1268-1-stack-cost] [2023-01-03T05:34:23.704Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1268-1-stack-cost] did not exist. Created. [2023-01-03T05:34:23.704Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1268-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-01-03T05:34:22.504Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T05:34:22.518Z] > git checkout -f 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee # timeout=10 [2023-01-03T05:34:22.615Z] > git remote # timeout=10 [2023-01-03T05:34:22.630Z] > git config --get remote.origin.url # timeout=10 [2023-01-03T05:34:22.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T05:34:22.665Z] > git merge 75403564eeb8af1d0f1f8ff2eb4e718373552573 # timeout=10 [2023-01-03T05:34:22.689Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-03T05:34:22.716Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T05:34:22.732Z] > git checkout -f 4aa2fae2e06829cc5012bd5c306ed57b362ce7ee # timeout=10 [Pipeline] sh [2023-01-03T05:34:24.099Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-03T05:34:24.155Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T05:34:24.180Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1268-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T05:34:24.263Z] $ docker stop --time=1 1e6642d3d344b5b3acc41851f19f8ffc06ca38c4514703dbf05f28eaee7e472c [2023-01-03T05:34:25.421Z] $ docker rm -f --volumes 1e6642d3d344b5b3acc41851f19f8ffc06ca38c4514703dbf05f28eaee7e472c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-03T05:34:26.200Z] Commit message: "refactor!: Rename command line flags for the sake of consistency" [2023-01-03T05:34:26.247Z] > git --version # timeout=10 [2023-01-03T05:34:26.261Z] > git --version # 'git version 2.25.1' [2023-01-03T05:34:26.280Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T05:34:27.221Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-03T05:34:27.221Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T05:34:27.221Z] Dload Upload Total Spent Left Speed [2023-01-03T05:34:27.221Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 93 12751 93 11879 0 0 91376 0 --:--:-- --:--:-- --:--:-- 91376 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh [2023-01-03T05:34:27.892Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-03T05:34:28.242Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-03T05:34:28.243Z] + sudo tee /etc/docker/daemon.new [2023-01-03T05:34:28.243Z] { [2023-01-03T05:34:28.243Z] "registry-mirrors": [ [2023-01-03T05:34:28.243Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-03T05:34:28.243Z] ], [2023-01-03T05:34:28.243Z] "bip": "10.250.0.254/24", [2023-01-03T05:34:28.243Z] "hosts": [ [2023-01-03T05:34:28.243Z] "tcp://0.0.0.0:5555", [2023-01-03T05:34:28.243Z] "unix:///var/run/docker.sock" [2023-01-03T05:34:28.243Z] ], [2023-01-03T05:34:28.243Z] "mtu": 1458, [2023-01-03T05:34:28.243Z] "selinux-enabled": true, [2023-01-03T05:34:28.243Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-03T05:34:28.243Z] } [Pipeline] sh [2023-01-03T05:34:28.584Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-03T05:34:28.927Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T05:34:47.222Z] provisioning config files... [2023-01-03T05:34:47.245Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10879903994722353798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T05:34:47.625Z] ---> docker-login.sh [2023-01-03T05:34:47.625Z] nexus3.edgexfoundry.org:10001 [2023-01-03T05:34:47.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T05:34:48.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T05:34:48.165Z] Configure a credential helper to remove this warning. See [2023-01-03T05:34:48.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T05:34:48.165Z] [2023-01-03T05:34:48.165Z] Login Succeeded [2023-01-03T05:34:48.165Z] nexus3.edgexfoundry.org:10002 [2023-01-03T05:34:48.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T05:34:48.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T05:34:48.435Z] Configure a credential helper to remove this warning. See [2023-01-03T05:34:48.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T05:34:48.435Z] [2023-01-03T05:34:48.435Z] Login Succeeded [2023-01-03T05:34:48.435Z] nexus3.edgexfoundry.org:10003 [2023-01-03T05:34:48.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T05:34:48.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T05:34:48.973Z] Configure a credential helper to remove this warning. See [2023-01-03T05:34:48.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T05:34:48.973Z] [2023-01-03T05:34:48.973Z] Login Succeeded [2023-01-03T05:34:48.973Z] nexus3.edgexfoundry.org:10004 [2023-01-03T05:34:49.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T05:34:49.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T05:34:49.246Z] Configure a credential helper to remove this warning. See [2023-01-03T05:34:49.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T05:34:49.246Z] [2023-01-03T05:34:49.246Z] Login Succeeded [2023-01-03T05:34:49.246Z] docker.io [2023-01-03T05:34:49.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T05:34:49.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T05:34:49.783Z] Configure a credential helper to remove this warning. See [2023-01-03T05:34:49.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T05:34:49.783Z] [2023-01-03T05:34:49.783Z] Login Succeeded [2023-01-03T05:34:49.783Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T05:34:49.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T05:34:50.156Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T05:34:50.192Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T05:34:50.228Z] ========================================================= [2023-01-03T05:34:50.229Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-03T05:34:50.229Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T05:34:50.730Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-03T05:34:50.995Z] Sending build context to Docker daemon 5.586MB [2023-01-03T05:34:50.995Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T05:34:50.995Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-03T05:34:51.265Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-03T05:34:51.266Z] 9b18e9b68314: Pulling fs layer [2023-01-03T05:34:51.266Z] 35d82f9e3411: Pulling fs layer [2023-01-03T05:34:51.266Z] e16973657156: Pulling fs layer [2023-01-03T05:34:51.266Z] fc693d55d65f: Pulling fs layer [2023-01-03T05:34:51.266Z] 7e9fc2657dce: Pulling fs layer [2023-01-03T05:34:51.266Z] dda99020689f: Pulling fs layer [2023-01-03T05:34:51.266Z] db1c61fa0a46: Pulling fs layer [2023-01-03T05:34:51.266Z] 891c053d2c06: Pulling fs layer [2023-01-03T05:34:51.266Z] dda99020689f: Waiting [2023-01-03T05:34:51.266Z] db1c61fa0a46: Waiting [2023-01-03T05:34:51.266Z] fc693d55d65f: Waiting [2023-01-03T05:34:51.266Z] 7e9fc2657dce: Waiting [2023-01-03T05:34:51.266Z] 891c053d2c06: Waiting [2023-01-03T05:34:51.266Z] e16973657156: Verifying Checksum [2023-01-03T05:34:51.266Z] e16973657156: Download complete [2023-01-03T05:34:51.266Z] 35d82f9e3411: Verifying Checksum [2023-01-03T05:34:51.266Z] 35d82f9e3411: Download complete [2023-01-03T05:34:51.266Z] 7e9fc2657dce: Download complete [2023-01-03T05:34:51.266Z] dda99020689f: Verifying Checksum [2023-01-03T05:34:51.266Z] dda99020689f: Download complete [2023-01-03T05:34:51.266Z] 9b18e9b68314: Verifying Checksum [2023-01-03T05:34:51.266Z] 9b18e9b68314: Download complete [2023-01-03T05:34:52.249Z] 9b18e9b68314: Pull complete [2023-01-03T05:34:52.518Z] 891c053d2c06: Verifying Checksum [2023-01-03T05:34:52.518Z] 891c053d2c06: Download complete [2023-01-03T05:34:52.794Z] 35d82f9e3411: Pull complete [2023-01-03T05:34:53.070Z] e16973657156: Pull complete [2023-01-03T05:34:53.667Z] db1c61fa0a46: Verifying Checksum [2023-01-03T05:34:53.667Z] db1c61fa0a46: Download complete [2023-01-03T05:34:54.254Z] fc693d55d65f: Verifying Checksum [2023-01-03T05:34:54.254Z] fc693d55d65f: Download complete [2023-01-03T05:35:06.578Z] fc693d55d65f: Pull complete [2023-01-03T05:35:06.578Z] 7e9fc2657dce: Pull complete [2023-01-03T05:35:06.578Z] dda99020689f: Pull complete [2023-01-03T05:35:12.194Z] db1c61fa0a46: Pull complete [2023-01-03T05:35:13.612Z] 891c053d2c06: Pull complete [2023-01-03T05:35:13.612Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-03T05:35:13.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-03T05:35:13.612Z] ---> f96f9c87975a [2023-01-03T05:35:13.612Z] Step 3/10 : ARG MAKE=make build [2023-01-03T05:35:15.564Z] ---> Running in a2851767f755 [2023-01-03T05:35:15.834Z] Removing intermediate container a2851767f755 [2023-01-03T05:35:15.834Z] ---> 6c7d3e6fc238 [2023-01-03T05:35:15.834Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-03T05:35:15.834Z] ---> Running in 23df6b92035f [2023-01-03T05:35:16.104Z] Removing intermediate container 23df6b92035f [2023-01-03T05:35:16.104Z] ---> 6cc4bd8da8c5 [2023-01-03T05:35:16.104Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-03T05:35:16.375Z] ---> Running in 253e9d1247a4 [2023-01-03T05:35:16.644Z] Removing intermediate container 253e9d1247a4 [2023-01-03T05:35:16.644Z] ---> b8674371bb82 [2023-01-03T05:35:16.644Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-01-03T05:35:16.644Z] ---> Running in 99a751c95b7a [2023-01-03T05:35:17.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T05:35:18.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T05:35:19.558Z] OK: 221 MiB in 51 packages [2023-01-03T05:35:20.524Z] Removing intermediate container 99a751c95b7a [2023-01-03T05:35:20.524Z] ---> 1acbfeb71ec9 [2023-01-03T05:35:20.524Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-03T05:35:21.113Z] ---> 651e211d2d26 [2023-01-03T05:35:21.113Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T05:35:21.113Z] ---> Running in 5e790dd5527f [2023-01-03T05:36:17.544Z] Removing intermediate container 5e790dd5527f [2023-01-03T05:36:17.544Z] ---> b5eb352b0ac3 [2023-01-03T05:36:17.544Z] Step 9/10 : COPY . . [2023-01-03T05:36:17.544Z] ---> 3a11711f2a80 [2023-01-03T05:36:17.544Z] Step 10/10 : RUN ${MAKE} [2023-01-03T05:36:17.544Z] ---> Running in c8cfafb36787 [2023-01-03T05:36:17.544Z] noop [2023-01-03T05:36:17.544Z] Removing intermediate container c8cfafb36787 [2023-01-03T05:36:17.544Z] ---> ae6ef55da58a [2023-01-03T05:36:17.544Z] Successfully built ae6ef55da58a [2023-01-03T05:36:17.544Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T05:36:18.036Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T05:36:18.036Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T05:36:18.304Z] prd-ubuntu20.04-docker-arm64-4c-16g-862 does not seem to be running inside a container [2023-01-03T05:36:18.373Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-03T05:36:19.629Z] $ docker top f1a8a9949f61fabff22c702b1ab1c937e08cc9bf117bfdad9171c616586ed386 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T05:36:20.510Z] + go version [2023-01-03T05:36:20.510Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-03T05:36:20.547Z] $ docker stop --time=1 f1a8a9949f61fabff22c702b1ab1c937e08cc9bf117bfdad9171c616586ed386 [2023-01-03T05:36:22.473Z] $ docker rm -f --volumes f1a8a9949f61fabff22c702b1ab1c937e08cc9bf117bfdad9171c616586ed386 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T05:36:23.332Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T05:36:23.332Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T05:36:23.603Z] prd-ubuntu20.04-docker-arm64-4c-16g-862 does not seem to be running inside a container [2023-01-03T05:36:23.678Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-03T05:36:24.855Z] $ docker top 529d13fb4b61bd0c2258cbde0421e7c7af6f0b54779f6c467a894351038de45e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T05:36:25.402Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-03T05:36:25.790Z] + make test [2023-01-03T05:36:25.790Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2023-01-03T05:36:58.032Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-03T05:38:34.680Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-03T05:38:34.680Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-03T05:38:34.680Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-03T05:38:34.680Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-03T05:38:34.680Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-03T05:38:40.044Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.497s coverage: 27.6% of statements [2023-01-03T05:38:41.009Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.425s coverage: 78.9% of statements [2023-01-03T05:38:41.009Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-03T05:38:53.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.316s coverage: 73.1% of statements [2023-01-03T05:38:53.331Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-03T05:38:53.331Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-03T05:38:53.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.725s coverage: 54.4% of statements [2023-01-03T05:38:53.331Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-03T05:38:53.331Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-03T05:38:53.331Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-03T05:38:53.331Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-03T05:38:53.602Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.596s coverage: 65.1% of statements [2023-01-03T05:38:53.602Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-03T05:38:53.602Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-03T05:38:53.602Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.495s coverage: 89.2% of statements [2023-01-03T05:38:53.602Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-03T05:38:53.602Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.332s coverage: 4.7% of statements [2023-01-03T05:38:53.602Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-03T05:38:54.567Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-03T05:38:54.567Z] GO111MODULE=on go vet ./... [2023-01-03T05:40:31.225Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T05:40:31.225Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T05:40:31.225Z] ./bin/test-attribution-txt.sh [2023-01-03T05:40:31.225Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2023-01-03T05:40:31.225Z] An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add [2023-01-03T05:40:31.225Z] An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add [2023-01-03T05:40:31.225Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2023-01-03T05:40:31.225Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2023-01-03T05:40:31.225Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2023-01-03T05:40:31.263Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T05:40:31.293Z] $ docker stop --time=1 529d13fb4b61bd0c2258cbde0421e7c7af6f0b54779f6c467a894351038de45e [2023-01-03T05:40:33.070Z] $ docker rm -f --volumes 529d13fb4b61bd0c2258cbde0421e7c7af6f0b54779f6c467a894351038de45e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T05:40:34.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T05:40:34.530Z] Warning: overwriting stash ‘coverage-report’ [2023-01-03T05:40:35.168Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T05:40:35.782Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T05:40:36.170Z] + ls -al . [2023-01-03T05:40:36.170Z] total 276 [2023-01-03T05:40:36.170Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 05:36 . [2023-01-03T05:40:36.170Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 05:34 .. [2023-01-03T05:40:36.170Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 3 05:34 .dockerignore [2023-01-03T05:40:36.170Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 05:34 .git [2023-01-03T05:40:36.170Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 05:34 .github [2023-01-03T05:40:36.170Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 3 05:34 .gitignore [2023-01-03T05:40:36.170Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 05:34 .golangci.yml [2023-01-03T05:40:36.170Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 3 05:34 CHANGELOG.md [2023-01-03T05:40:36.170Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 05:34 GOVERNANCE.md [2023-01-03T05:40:36.170Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 3 05:34 Jenkinsfile [2023-01-03T05:40:36.170Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 3 05:34 LICENSE [2023-01-03T05:40:36.170Z] -rw-rw-r-- 1 jenkins jenkins 2003 Jan 3 05:34 Makefile [2023-01-03T05:40:36.170Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 3 05:34 OWNERS.md [2023-01-03T05:40:36.170Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 3 05:34 README.md [2023-01-03T05:40:36.170Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 05:32 VERSION [2023-01-03T05:40:36.170Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 05:34 bin [2023-01-03T05:40:36.170Z] -rw-r--r-- 1 jenkins jenkins 101759 Jan 3 05:38 coverage.out [2023-01-03T05:40:36.170Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 3 05:34 example [2023-01-03T05:40:36.170Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 3 05:34 go.mod [2023-01-03T05:40:36.170Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 3 05:34 go.sum [2023-01-03T05:40:36.170Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 3 05:34 internal [2023-01-03T05:40:36.170Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 05:34 openapi [2023-01-03T05:40:36.170Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 05:34 pkg [2023-01-03T05:40:36.170Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 05:34 snap [2023-01-03T05:40:36.170Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 3 05:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T05:40:36.622Z] + 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=4aa2fae2e06829cc5012bd5c306ed57b362ce7ee --label arch=arm64 --label version=0.0.0 . [2023-01-03T05:40:36.920Z] Sending build context to Docker daemon 5.689MB [2023-01-03T05:40:36.920Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T05:40:36.920Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-03T05:40:36.920Z] ---> ae6ef55da58a [2023-01-03T05:40:36.920Z] Step 3/23 : ARG MAKE=make build [2023-01-03T05:40:37.198Z] ---> Running in 04d508ea0a3f [2023-01-03T05:40:37.479Z] Removing intermediate container 04d508ea0a3f [2023-01-03T05:40:37.479Z] ---> c70dc4cdf6a0 [2023-01-03T05:40:37.479Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-03T05:40:37.479Z] ---> Running in dadce97d01dc [2023-01-03T05:40:37.750Z] Removing intermediate container dadce97d01dc [2023-01-03T05:40:37.750Z] ---> 2321c178dd62 [2023-01-03T05:40:37.750Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-03T05:40:38.019Z] ---> Running in a605a49dfe01 [2023-01-03T05:40:38.288Z] Removing intermediate container a605a49dfe01 [2023-01-03T05:40:38.288Z] ---> 77db806d2e2c [2023-01-03T05:40:38.288Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-01-03T05:40:38.288Z] ---> Running in f73edb38aeae [2023-01-03T05:40:39.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T05:40:39.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T05:40:40.488Z] OK: 221 MiB in 51 packages [2023-01-03T05:40:41.461Z] Removing intermediate container f73edb38aeae [2023-01-03T05:40:41.461Z] ---> 2838ef0c4bef [2023-01-03T05:40:41.461Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-03T05:40:41.732Z] ---> 13e70277171a [2023-01-03T05:40:41.732Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T05:40:41.732Z] ---> Running in f7248b83a406 [2023-01-03T05:40:43.694Z] Removing intermediate container f7248b83a406 [2023-01-03T05:40:43.694Z] ---> 635920eaf2de [2023-01-03T05:40:43.694Z] Step 9/23 : COPY . . [2023-01-03T05:40:46.285Z] ---> 664ffeb4785d [2023-01-03T05:40:46.285Z] Step 10/23 : RUN ${MAKE} [2023-01-03T05:40:46.285Z] ---> Running in 5effcd495b2a [2023-01-03T05:40:46.866Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-01-03T05:42:53.541Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2023-01-03T05:42:53.541Z] Removing intermediate container 5effcd495b2a [2023-01-03T05:42:53.541Z] ---> a2e4d504a52b [2023-01-03T05:42:53.541Z] Step 11/23 : FROM alpine:3.16 [2023-01-03T05:42:53.541Z] 3.16: Pulling from library/alpine [2023-01-03T05:42:53.541Z] 6875df1f5354: Pulling fs layer [2023-01-03T05:42:53.541Z] 6875df1f5354: Verifying Checksum [2023-01-03T05:42:53.541Z] 6875df1f5354: Download complete [2023-01-03T05:42:53.541Z] 6875df1f5354: Pull complete [2023-01-03T05:42:53.541Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T05:42:53.541Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T05:42:53.541Z] ---> 2b4661558fb8 [2023-01-03T05:42:53.541Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-03T05:42:53.541Z] ---> Running in 653058c3b32a [2023-01-03T05:42:53.541Z] Removing intermediate container 653058c3b32a [2023-01-03T05:42:53.541Z] ---> 08ac0e0cc4ca [2023-01-03T05:42:53.541Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2023-01-03T05:42:53.541Z] ---> Running in 89284216510f [2023-01-03T05:42:53.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T05:42:53.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T05:42:53.541Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T05:42:53.541Z] (2/5) Installing libsodium (1.0.18-r0) [2023-01-03T05:42:53.541Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T05:42:53.541Z] (4/5) Installing libzmq (4.3.4-r0) [2023-01-03T05:42:53.541Z] (5/5) Installing zeromq (4.3.4-r0) [2023-01-03T05:42:53.541Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T05:42:53.541Z] OK: 8 MiB in 19 packages [2023-01-03T05:42:53.541Z] Removing intermediate container 89284216510f [2023-01-03T05:42:53.541Z] ---> a8c0a8ee74b7 [2023-01-03T05:42:53.541Z] Step 14/23 : WORKDIR / [2023-01-03T05:42:53.541Z] ---> Running in 9f300e206b7c [2023-01-03T05:42:53.541Z] Removing intermediate container 9f300e206b7c [2023-01-03T05:42:53.541Z] ---> 2cc7e5f3abc2 [2023-01-03T05:42:53.541Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-03T05:42:53.541Z] ---> 0e60d6d0a664 [2023-01-03T05:42:53.541Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-03T05:42:54.502Z] ---> 581592d4c17d [2023-01-03T05:42:54.503Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-03T05:42:55.086Z] ---> 965fc80f93f1 [2023-01-03T05:42:55.086Z] Step 18/23 : EXPOSE 59999 [2023-01-03T05:42:55.086Z] ---> Running in 2b23262fbb41 [2023-01-03T05:42:55.359Z] Removing intermediate container 2b23262fbb41 [2023-01-03T05:42:55.359Z] ---> 1ffca6b2cf0b [2023-01-03T05:42:55.359Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-03T05:42:55.625Z] ---> Running in 2cd9c52c3192 [2023-01-03T05:42:55.891Z] Removing intermediate container 2cd9c52c3192 [2023-01-03T05:42:55.891Z] ---> 1a9330ef2179 [2023-01-03T05:42:55.891Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T05:42:55.891Z] ---> Running in 98f230ea62b7 [2023-01-03T05:42:56.160Z] Removing intermediate container 98f230ea62b7 [2023-01-03T05:42:56.160Z] ---> ff3ff0b3c3c5 [2023-01-03T05:42:56.160Z] Step 21/23 : LABEL arch=arm64 [2023-01-03T05:42:56.160Z] ---> Running in 5bc0f7ca7b1d [2023-01-03T05:42:56.428Z] Removing intermediate container 5bc0f7ca7b1d [2023-01-03T05:42:56.428Z] ---> 846db824b4e0 [2023-01-03T05:42:56.428Z] Step 22/23 : LABEL git_sha=4aa2fae2e06829cc5012bd5c306ed57b362ce7ee [2023-01-03T05:42:56.428Z] ---> Running in 56aeaecd60aa [2023-01-03T05:42:56.695Z] Removing intermediate container 56aeaecd60aa [2023-01-03T05:42:56.696Z] ---> 15efec0b78ca [2023-01-03T05:42:56.696Z] Step 23/23 : LABEL version=0.0.0 [2023-01-03T05:42:56.963Z] ---> Running in 0626ca6aebbf [2023-01-03T05:42:57.230Z] Removing intermediate container 0626ca6aebbf [2023-01-03T05:42:57.230Z] ---> a2925c68e2c6 [2023-01-03T05:42:57.230Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T05:42:57.230Z] Successfully built a2925c68e2c6 [2023-01-03T05:42:57.230Z] 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-01-03T05:42:58.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T05:42:58.072Z] [2023-01-03T05:42:58.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T05:42:58.486Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T05:42:58.487Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-03T05:42:58.487Z] 8998bd30e6a1: Pulling fs layer [2023-01-03T05:42:58.487Z] 04944245beec: Pulling fs layer [2023-01-03T05:42:58.487Z] 699f458cf7ca: Pulling fs layer [2023-01-03T05:42:58.487Z] 765212b225bb: Pulling fs layer [2023-01-03T05:42:58.487Z] f23df028b6ca: Pulling fs layer [2023-01-03T05:42:58.487Z] d65c8cfc05b1: Pulling fs layer [2023-01-03T05:42:58.487Z] 2437ff75d9bd: Pulling fs layer [2023-01-03T05:42:58.487Z] 765212b225bb: Waiting [2023-01-03T05:42:58.487Z] f23df028b6ca: Waiting [2023-01-03T05:42:58.487Z] d65c8cfc05b1: Waiting [2023-01-03T05:42:58.487Z] 2437ff75d9bd: Waiting [2023-01-03T05:42:58.756Z] 04944245beec: Verifying Checksum [2023-01-03T05:42:58.756Z] 04944245beec: Download complete [2023-01-03T05:42:58.756Z] 765212b225bb: Verifying Checksum [2023-01-03T05:42:58.756Z] 765212b225bb: Download complete [2023-01-03T05:42:58.756Z] f23df028b6ca: Verifying Checksum [2023-01-03T05:42:58.756Z] f23df028b6ca: Download complete [2023-01-03T05:42:58.756Z] d65c8cfc05b1: Verifying Checksum [2023-01-03T05:42:58.756Z] d65c8cfc05b1: Download complete [2023-01-03T05:42:59.030Z] 699f458cf7ca: Verifying Checksum [2023-01-03T05:42:59.030Z] 699f458cf7ca: Download complete [2023-01-03T05:42:59.301Z] 8998bd30e6a1: Download complete [2023-01-03T05:43:01.895Z] 2437ff75d9bd: Verifying Checksum [2023-01-03T05:43:01.895Z] 2437ff75d9bd: Download complete [2023-01-03T05:43:03.307Z] 8998bd30e6a1: Pull complete [2023-01-03T05:43:03.889Z] 04944245beec: Pull complete [2023-01-03T05:43:05.304Z] 699f458cf7ca: Pull complete [2023-01-03T05:43:05.304Z] 765212b225bb: Pull complete [2023-01-03T05:43:05.887Z] f23df028b6ca: Pull complete [2023-01-03T05:43:06.157Z] d65c8cfc05b1: Pull complete [2023-01-03T05:43:21.147Z] 2437ff75d9bd: Pull complete [2023-01-03T05:43:21.147Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-03T05:43:21.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T05:43:21.147Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T05:43:21.474Z] prd-ubuntu20.04-docker-arm64-4c-16g-862 does not seem to be running inside a container [2023-01-03T05:43:21.543Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-03T05:43:24.034Z] $ docker top ee5a8d867f381e5badfed90048dc476d0ae920f8c8a334623c1ce40bbc48bc89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T05:43:24.936Z] ---> job-cost.sh [2023-01-03T05:43:24.936Z] lf-activate-venv: SKIPPING [2023-01-03T05:43:24.936Z] INFO: No Stack... [2023-01-03T05:43:25.518Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-03T05:43:26.098Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T05:43:26.437Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-01-03T05:43:26.437Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T05:43:26.519Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1268-1-stack-cost] [2023-01-03T05:43:26.525Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1268-1-stack-cost] did not exist. Created. [2023-01-03T05:43:26.525Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1268-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T05:43:26.935Z] /w/workspace/device-sdk-go/1@tmp/durable-a782eacb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-03T05:43:27.286Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-03T05:43:27.323Z] Warning: overwriting stash ‘stack-cost’ [2023-01-03T05:43:27.390Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T05:43:27.409Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1268-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T05:43:27.492Z] $ docker stop --time=1 ee5a8d867f381e5badfed90048dc476d0ae920f8c8a334623c1ce40bbc48bc89 [2023-01-03T05:43:28.969Z] $ docker rm -f --volumes ee5a8d867f381e5badfed90048dc476d0ae920f8c8a334623c1ce40bbc48bc89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-03T05:43:29.950Z] provisioning config files... [2023-01-03T05:43:29.961Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1268@tmp/config5837549846094108175tmp [Pipeline] { [Pipeline] sh [2023-01-03T05:43:30.294Z] + set +x [2023-01-03T05:43:30.294Z] + curl -s https://codecov.io/bash [2023-01-03T05:43:30.294Z] + bash -s -- [2023-01-03T05:43:30.294Z] [2023-01-03T05:43:30.294Z] _____ _ [2023-01-03T05:43:30.294Z] / ____| | | [2023-01-03T05:43:30.294Z] | | ___ __| | ___ ___ _____ __ [2023-01-03T05:43:30.294Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-03T05:43:30.294Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-03T05:43:30.294Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-03T05:43:30.294Z] Bash-1.0.6 [2023-01-03T05:43:30.294Z] [2023-01-03T05:43:30.294Z] [2023-01-03T05:43:30.294Z] ==> git version 2.25.1 found [2023-01-03T05:43:30.294Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-03T05:43:30.294Z] Release-Date: 2020-01-08 [2023-01-03T05:43:30.294Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-03T05:43:30.294Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-03T05:43:30.294Z] ==> Jenkins CI detected. [2023-01-03T05:43:30.294Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1268 [2023-01-03T05:43:30.294Z] project root: . [2023-01-03T05:43:30.294Z] --> token set from env [2023-01-03T05:43:30.294Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-03T05:43:30.294Z] ==> Running gcov in . (disable via -X gcov) [2023-01-03T05:43:30.294Z] ==> Python coveragepy not found [2023-01-03T05:43:30.294Z] ==> Searching for coverage reports in: [2023-01-03T05:43:30.294Z] + . [2023-01-03T05:43:30.294Z] -> Found 1 reports [2023-01-03T05:43:30.294Z] ==> Detecting git/mercurial file structure [2023-01-03T05:43:30.559Z] ==> Reading reports [2023-01-03T05:43:30.559Z] + ./coverage.out bytes=101759 [2023-01-03T05:43:30.559Z] ==> Appending adjustments [2023-01-03T05:43:30.559Z] https://docs.codecov.io/docs/fixing-reports [2023-01-03T05:43:30.818Z] + Found adjustments [2023-01-03T05:43:30.818Z] ==> Gzipping contents [2023-01-03T05:43:30.818Z] 16K /tmp/codecov.hOCOZH.gz [2023-01-03T05:43:30.818Z] ==> Uploading reports [2023-01-03T05:43:30.818Z] url: https://codecov.io [2023-01-03T05:43:30.818Z] query: branch=PR-1268&commit=4aa2fae2e06829cc5012bd5c306ed57b362ce7ee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1268%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1268&job=&cmd_args= [2023-01-03T05:43:30.818Z] -> Pinging Codecov [2023-01-03T05:43:30.818Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1268&commit=4aa2fae2e06829cc5012bd5c306ed57b362ce7ee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1268%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1268&job=&cmd_args= [2023-01-03T05:43:31.077Z] -> Uploading to [2023-01-03T05:43:31.077Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-03/7E55EF52A471D76F132DFD9A03CDDE97/4aa2fae2e06829cc5012bd5c306ed57b362ce7ee/37399800-eff5-408a-b94a-b06cc432770e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T054330Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=41cc02735d7c17f0eb2a23aca39e461549dffdc4ebb3e5e6a7784e8a728bf4d3 [2023-01-03T05:43:31.077Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T05:43:31.077Z] Dload Upload Total Spent Left Speed [2023-01-03T05:43:31.337Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14704 0 0 100 14704 0 64491 --:--:-- --:--:-- --:--:-- 64491 [2023-01-03T05:43:31.337Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4aa2fae2e06829cc5012bd5c306ed57b362ce7ee [Pipeline] } [2023-01-03T05:43:31.365Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-03T05:43:33.128Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1268/archives ] [2023-01-03T05:43:33.128Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1268/archives [2023-01-03T05:43:33.128Z] total 16 [2023-01-03T05:43:33.128Z] drwxr-xr-x 3 root root 4096 Jan 3 05:34 . [2023-01-03T05:43:33.128Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 3 05:34 .. [2023-01-03T05:43:33.128Z] drwxr-xr-x 2 root root 4096 Jan 3 05:34 cost [2023-01-03T05:43:33.128Z] -rw-r--r-- 1 root root 86 Jan 3 05:34 cost.csv [2023-01-03T05:43:33.128Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1268/archives [2023-01-03T05:43:33.128Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1268/archives [2023-01-03T05:43:33.128Z] total 16 [2023-01-03T05:43:33.128Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 05:34 . [2023-01-03T05:43:33.128Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 3 05:34 .. [2023-01-03T05:43:33.128Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 05:34 cost [2023-01-03T05:43:33.128Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 3 05:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-03T05:43:33.454Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T05:43:34.347Z] ---> package-listing.sh [2023-01-03T05:43:34.347Z] ++ facter osfamily [2023-01-03T05:43:34.347Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-03T05:43:34.608Z] + OS_FAMILY=debian [2023-01-03T05:43:34.608Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1268 [2023-01-03T05:43:34.608Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-03T05:43:34.608Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-03T05:43:34.608Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-03T05:43:34.608Z] + PACKAGES=/tmp/packages_start.txt [2023-01-03T05:43:34.608Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1268 ']' [2023-01-03T05:43:34.608Z] + PACKAGES=/tmp/packages_end.txt [2023-01-03T05:43:34.608Z] + case "${OS_FAMILY}" in [2023-01-03T05:43:34.608Z] + dpkg -l [2023-01-03T05:43:34.608Z] + grep '^ii' [2023-01-03T05:43:34.608Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-03T05:43:34.608Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-03T05:43:34.608Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-03T05:43:34.608Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1268 ']' [2023-01-03T05:43:34.608Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1268/archives/ [2023-01-03T05:43:34.608Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1268/archives/ [Pipeline] echo [2023-01-03T05:43:34.647Z] 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-1268/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-03T05:43:34.939Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T05:43:35.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T05:43:35.568Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T05:43:35.726Z] prd-ubuntu20.04-docker-8c-8g-861 does not seem to be running inside a container [2023-01-03T05:43:35.757Z] $ 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-1268/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-1268 -v /w/workspace/gexfoundry_device-sdk-go_PR-1268:/w/workspace/gexfoundry_device-sdk-go_PR-1268:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1268@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1268@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-01-03T05:43:35.943Z] $ docker top a64ca4fbaef04cde5598653af8ad40829e022ed49808b903c69c837f8c5dc832 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T05:43:36.341Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-03T05:43:36.651Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-03T05:43:36.963Z] + ls /var/log/sa-host [2023-01-03T05:43:36.963Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T05:43:37.098Z] provisioning config files... [2023-01-03T05:43:37.108Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1268@tmp/config3667787402765931292tmp [Pipeline] { [Pipeline] echo [2023-01-03T05:43:37.163Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T05:43:37.480Z] ---> create-netrc.sh [Pipeline] } [2023-01-03T05:43:37.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-03T05:43:37.931Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-03T05:43:37.967Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T05:43:38.285Z] ---> sudo-logs.sh [2023-01-03T05:43:38.285Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-03T05:43:38.371Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T05:43:38.683Z] ---> job-cost.sh [2023-01-03T05:43:38.683Z] lf-activate-venv: SKIPPING [2023-01-03T05:43:38.683Z] DEBUG: total: 0.2199999988079071 [2023-01-03T05:43:38.683Z] INFO: Retrieving Stack Cost... [2023-01-03T05:43:38.946Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T05:43:39.515Z] INFO: Archiving Costs [Pipeline] echo [2023-01-03T05:43:39.560Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T05:43:39.874Z] ---> logs-deploy.sh [2023-01-03T05:43:39.874Z] lf-activate-venv: SKIPPING [2023-01-03T05:43:39.874Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1268/1 [2023-01-03T05:43:39.874Z] INFO: archiving workspace using pattern(s): [2023-01-03T05:43:40.815Z] Archives upload complete. [2023-01-03T05:43:40.815Z] INFO: archiving logs to Nexus