Pull request #1267 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0527474e17203f9e61d9e194c6b68b30972d11a0+75403564eeb8af1d0f1f8ff2eb4e718373552573 (6c3d62a7c09c4f28f53aea637edafa692c3ed16a) 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-ssh18240400598928657915.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-ssh6629913567541483441.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-1267/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-1267/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2615916691666414676.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-1267/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13894853216779450840.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-ssh5730127156098939617.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-1267/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-1267/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15273955447957023642.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-511 in /w/workspace/gexfoundry_device-sdk-go_PR-1267 [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-1267 # 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/1267/head:refs/remotes/origin/PR-1267 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 75403564eeb8af1d0f1f8ff2eb4e718373552573 into PR head commit 0527474e17203f9e61d9e194c6b68b30972d11a0 Merge succeeded, producing 0527474e17203f9e61d9e194c6b68b30972d11a0 Checking out Revision 0527474e17203f9e61d9e194c6b68b30972d11a0 (PR-1267) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-26T04:05:01.689Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 0527474e17203f9e61d9e194c6b68b30972d11a0 # 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 0527474e17203f9e61d9e194c6b68b30972d11a0 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-26T04:05:01.877Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-26T04:05:01.973Z] ========================================================= [2022-12-26T04:05:01.973Z] EdgeX Global Pipelines Version Info [2022-12-26T04:05:01.973Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-26T04:05:02.733Z] ------------------- [2022-12-26T04:05:02.733Z] stable info: [2022-12-26T04:05:02.733Z] ------------------- [2022-12-26T04:05:02.733Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-26T04:05:02.733Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-26T04:05:02.733Z] Message: update stable to v1.0.244 [2022-12-26T04:05:03.306Z] ------------------- [2022-12-26T04:05:03.306Z] experimental info: [2022-12-26T04:05:03.306Z] ------------------- [2022-12-26T04:05:03.306Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-26T04:05:03.306Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-26T04:05:03.306Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-26T04:05:03.591Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-12-26T04:05:03.631Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-12-26T04:05:03.671Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-26T04:05:03.712Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-26T04:05:03.750Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-26T04:05:03.791Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-26T04:05:03.829Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-26T04:05:03.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-12-26T04:05:03.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-26T04:05:03.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-26T04:05:03.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-26T04:05:04.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-12-26T04:05:04.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-26T04:05:04.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-26T04:05:04.160Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-26T04:05:04.201Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-12-26T04:05:04.243Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-26T04:05:04.284Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-26T04:05:04.322Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-26T04:05:04.362Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-26T04:05:04.401Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-12-26T04:05:04.441Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-12-26T04:05:04.479Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-26T04:05:04.515Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-26T04:05:04.553Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-26T04:05:04.593Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-26T04:05:04.635Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-26T04:05:04.682Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1267 [Pipeline] echo [2022-12-26T04:05:04.727Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1267 [Pipeline] echo [2022-12-26T04:05:04.770Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1267 [Pipeline] echo [2022-12-26T04:05:04.808Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0527474e17203f9e61d9e194c6b68b30972d11a0 [Pipeline] echo [2022-12-26T04:05:04.846Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0527474 [Pipeline] echo [2022-12-26T04:05:04.883Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-26T04:05:04.988Z] provisioning config files... [2022-12-26T04:05:05.009Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/config4556404677258539680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-26T04:05:05.362Z] ---> docker-login.sh [2022-12-26T04:05:05.362Z] nexus3.edgexfoundry.org:10001 [2022-12-26T04:05:05.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T04:05:05.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T04:05:05.624Z] Configure a credential helper to remove this warning. See [2022-12-26T04:05:05.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T04:05:05.624Z] [2022-12-26T04:05:05.624Z] Login Succeeded [2022-12-26T04:05:05.624Z] nexus3.edgexfoundry.org:10002 [2022-12-26T04:05:05.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T04:05:05.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T04:05:05.624Z] Configure a credential helper to remove this warning. See [2022-12-26T04:05:05.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T04:05:05.624Z] [2022-12-26T04:05:05.624Z] Login Succeeded [2022-12-26T04:05:05.624Z] nexus3.edgexfoundry.org:10003 [2022-12-26T04:05:05.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T04:05:05.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T04:05:05.883Z] Configure a credential helper to remove this warning. See [2022-12-26T04:05:05.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T04:05:05.883Z] [2022-12-26T04:05:05.883Z] Login Succeeded [2022-12-26T04:05:05.883Z] nexus3.edgexfoundry.org:10004 [2022-12-26T04:05:05.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T04:05:05.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T04:05:05.883Z] Configure a credential helper to remove this warning. See [2022-12-26T04:05:05.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T04:05:05.883Z] [2022-12-26T04:05:05.883Z] Login Succeeded [2022-12-26T04:05:05.883Z] docker.io [2022-12-26T04:05:06.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T04:05:06.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T04:05:06.402Z] Configure a credential helper to remove this warning. See [2022-12-26T04:05:06.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T04:05:06.402Z] [2022-12-26T04:05:06.402Z] Login Succeeded [2022-12-26T04:05:06.402Z] ---> docker-login.sh ends [Pipeline] } [2022-12-26T04:05:06.431Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-26T04:05:07.009Z] + git rev-list -1 --merges 0527474e17203f9e61d9e194c6b68b30972d11a0~1..0527474e17203f9e61d9e194c6b68b30972d11a0 [Pipeline] echo [2022-12-26T04:05:07.070Z] -----------> git rev-list -1 --merges 0527474e17203f9e61d9e194c6b68b30972d11a0~1..0527474e17203f9e61d9e194c6b68b30972d11a0 0527474e17203f9e61d9e194c6b68b30972d11a0 [false] [Pipeline] sh [2022-12-26T04:05:07.382Z] + git log --format=format:%s -1 0527474e17203f9e61d9e194c6b68b30972d11a0 [Pipeline] echo [2022-12-26T04:05:07.418Z] ========================================================= [2022-12-26T04:05:07.418Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-26T04:05:07.418Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-26T04:05:07.861Z] + git log --format=format:%s -1 0527474e17203f9e61d9e194c6b68b30972d11a0 [Pipeline] echo [2022-12-26T04:05:07.893Z] [semverPrep] GIT_COMMIT: 0527474e17203f9e61d9e194c6b68b30972d11a0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2022-12-26T04:05:07.924Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-26T04:05:08.295Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-26T04:05:08.295Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-26T04:05:08.295Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-26T04:05:08.295Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-26T04:05:08.295Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-26T04:05:08.295Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-26T04:05:08.295Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T04:05:08.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-26T04:05:08.722Z] [2022-12-26T04:05:08.722Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T04:05:09.076Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-26T04:05:09.076Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-26T04:05:09.076Z] b85a868b505f: Pulling fs layer [2022-12-26T04:05:09.076Z] e2be974225ed: Pulling fs layer [2022-12-26T04:05:09.076Z] 339a4e72a1f5: Pulling fs layer [2022-12-26T04:05:09.076Z] 988bab9f4d93: Pulling fs layer [2022-12-26T04:05:09.076Z] 1469e6f7b9e6: Pulling fs layer [2022-12-26T04:05:09.076Z] eaf3925da568: Pulling fs layer [2022-12-26T04:05:09.076Z] bab4dde63d76: Pulling fs layer [2022-12-26T04:05:09.076Z] bde34c3a00c8: Pulling fs layer [2022-12-26T04:05:09.076Z] b352a97aabf1: Pulling fs layer [2022-12-26T04:05:09.076Z] 4872d77fe225: Pulling fs layer [2022-12-26T04:05:09.076Z] 5851b861e8e6: Pulling fs layer [2022-12-26T04:05:09.076Z] bab4dde63d76: Waiting [2022-12-26T04:05:09.076Z] bde34c3a00c8: Waiting [2022-12-26T04:05:09.076Z] 988bab9f4d93: Waiting [2022-12-26T04:05:09.076Z] 1469e6f7b9e6: Waiting [2022-12-26T04:05:09.076Z] 5851b861e8e6: Waiting [2022-12-26T04:05:09.076Z] 4872d77fe225: Waiting [2022-12-26T04:05:09.076Z] b352a97aabf1: Waiting [2022-12-26T04:05:09.076Z] e2be974225ed: Download complete [2022-12-26T04:05:09.076Z] 988bab9f4d93: Verifying Checksum [2022-12-26T04:05:09.076Z] 988bab9f4d93: Download complete [2022-12-26T04:05:09.337Z] 1469e6f7b9e6: Verifying Checksum [2022-12-26T04:05:09.337Z] 1469e6f7b9e6: Download complete [2022-12-26T04:05:09.337Z] eaf3925da568: Verifying Checksum [2022-12-26T04:05:09.337Z] eaf3925da568: Download complete [2022-12-26T04:05:09.337Z] 339a4e72a1f5: Verifying Checksum [2022-12-26T04:05:09.337Z] 339a4e72a1f5: Download complete [2022-12-26T04:05:09.337Z] bde34c3a00c8: Download complete [2022-12-26T04:05:09.337Z] b352a97aabf1: Download complete [2022-12-26T04:05:09.337Z] 4872d77fe225: Verifying Checksum [2022-12-26T04:05:09.337Z] 4872d77fe225: Download complete [2022-12-26T04:05:09.337Z] 5851b861e8e6: Download complete [2022-12-26T04:05:09.337Z] b85a868b505f: Verifying Checksum [2022-12-26T04:05:09.337Z] b85a868b505f: Download complete [2022-12-26T04:05:09.597Z] bab4dde63d76: Verifying Checksum [2022-12-26T04:05:10.985Z] b85a868b505f: Pull complete [2022-12-26T04:05:10.985Z] e2be974225ed: Pull complete [2022-12-26T04:05:11.244Z] 339a4e72a1f5: Pull complete [2022-12-26T04:05:11.504Z] 988bab9f4d93: Pull complete [2022-12-26T04:05:11.761Z] 1469e6f7b9e6: Pull complete [2022-12-26T04:05:11.761Z] eaf3925da568: Pull complete [2022-12-26T04:05:13.665Z] bab4dde63d76: Pull complete [2022-12-26T04:05:13.665Z] bde34c3a00c8: Pull complete [2022-12-26T04:05:13.665Z] b352a97aabf1: Pull complete [2022-12-26T04:05:13.665Z] 4872d77fe225: Pull complete [2022-12-26T04:05:13.665Z] 5851b861e8e6: Pull complete [2022-12-26T04:05:13.665Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-26T04:05:13.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-26T04:05:13.924Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T04:05:14.173Z] prd-ubuntu20.04-docker-8c-8g-511 does not seem to be running inside a container [2022-12-26T04:05:14.213Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1267 -v /w/workspace/gexfoundry_device-sdk-go_PR-1267:/w/workspace/gexfoundry_device-sdk-go_PR-1267:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-26T04:05:16.313Z] $ docker top 7f4ebdba048fea2da039d830eba8840fe3a050e560acb778bd3af698bb501762 -eo pid,comm [2022-12-26T04:05:16.366Z] 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). [2022-12-26T04:05:16.366Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-26T04:05:16.490Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-26T04:05:16.491Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-26T04:05:16.613Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-26T04:05:16.621Z] $ docker exec 7f4ebdba048fea2da039d830eba8840fe3a050e560acb778bd3af698bb501762 ssh-agent [2022-12-26T04:05:16.720Z] SSH_AUTH_SOCK=/tmp/ssh-o7iG5vn96KPY/agent.32 [2022-12-26T04:05:16.720Z] SSH_AGENT_PID=38 [2022-12-26T04:05:16.728Z] Running ssh-add (command line suppressed) [2022-12-26T04:05:16.832Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/private_key_2786827723604950547.key (/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/private_key_2786827723604950547.key) [2022-12-26T04:05:16.843Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-26T04:05:17.170Z] + git tag --points-at HEAD [Pipeline] } [2022-12-26T04:05:17.202Z] $ docker exec --env ******** --env ******** 7f4ebdba048fea2da039d830eba8840fe3a050e560acb778bd3af698bb501762 ssh-agent -k [2022-12-26T04:05:17.317Z] unset SSH_AUTH_SOCK; [2022-12-26T04:05:17.317Z] unset SSH_AGENT_PID; [2022-12-26T04:05:17.318Z] echo Agent pid 38 killed; [2022-12-26T04:05:17.325Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-26T04:05:17.422Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-26T04:05:17.423Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-26T04:05:17.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-26T04:05:17.574Z] $ docker exec 7f4ebdba048fea2da039d830eba8840fe3a050e560acb778bd3af698bb501762 ssh-agent [2022-12-26T04:05:17.684Z] SSH_AUTH_SOCK=/tmp/ssh-hRqvNtUO1VbO/agent.70 [2022-12-26T04:05:17.684Z] SSH_AGENT_PID=76 [2022-12-26T04:05:17.690Z] Running ssh-add (command line suppressed) [2022-12-26T04:05:17.810Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/private_key_5720561225687863218.key (/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/private_key_5720561225687863218.key) [2022-12-26T04:05:17.821Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-26T04:05:18.147Z] + git semver init [2022-12-26T04:05:18.408Z] 2022-12-26 04:05:18,357 [run_init] DEBUG init version:0.0.0 force:False [2022-12-26T04:05:18.408Z] 2022-12-26 04:05:18,358 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver [2022-12-26T04:05:18.408Z] 2022-12-26 04:05:18,358 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver [2022-12-26T04:05:18.408Z] 2022-12-26 04:05:18,359 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1267, universal_newlines=False, shell=None, istream=None) [2022-12-26T04:05:19.791Z] 2022-12-26 04:05:19,403 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1267/.git/info/exclude [2022-12-26T04:05:19.792Z] 2022-12-26 04:05:19,404 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver/PR-1267 with force:False [2022-12-26T04:05:19.792Z] 2022-12-26 04:05:19,404 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver/PR-1267 [2022-12-26T04:05:19.792Z] 2022-12-26 04:05:19,409 [execute] INFO git cat-file --batch-check [2022-12-26T04:05:19.792Z] 2022-12-26 04:05:19,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver, universal_newlines=False, shell=None, istream=) [2022-12-26T04:05:19.792Z] 2022-12-26 04:05:19,417 [execute] INFO git cat-file --batch [2022-12-26T04:05:19.792Z] 2022-12-26 04:05:19,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver, universal_newlines=False, shell=None, istream=) [2022-12-26T04:05:19.792Z] 2022-12-26 04:05:19,423 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver/PR-1267 [2022-12-26T04:05:19.792Z] 0.0.0 [Pipeline] } [2022-12-26T04:05:19.825Z] $ docker exec --env ******** --env ******** 7f4ebdba048fea2da039d830eba8840fe3a050e560acb778bd3af698bb501762 ssh-agent -k [2022-12-26T04:05:19.928Z] unset SSH_AUTH_SOCK; [2022-12-26T04:05:19.929Z] unset SSH_AGENT_PID; [2022-12-26T04:05:19.929Z] echo Agent pid 76 killed; [2022-12-26T04:05:19.942Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-26T04:05:20.380Z] + git semver [Pipeline] } [2022-12-26T04:05:20.672Z] $ docker stop --time=1 7f4ebdba048fea2da039d830eba8840fe3a050e560acb778bd3af698bb501762 [2022-12-26T04:05:21.971Z] $ docker rm -f --volumes 7f4ebdba048fea2da039d830eba8840fe3a050e560acb778bd3af698bb501762 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-26T04:05:22.377Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-26T04:05:22.670Z] Stashed 1 file(s) [Pipeline] echo [2022-12-26T04:05:22.693Z] [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 [2022-12-26T04:05:23.268Z] provisioning config files... [2022-12-26T04:05:23.280Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/config1703637878388992280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-26T04:05:23.629Z] ---> docker-login.sh [2022-12-26T04:05:23.629Z] nexus3.edgexfoundry.org:10001 [2022-12-26T04:05:23.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T04:05:23.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T04:05:23.629Z] Configure a credential helper to remove this warning. See [2022-12-26T04:05:23.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T04:05:23.629Z] [2022-12-26T04:05:23.629Z] Login Succeeded [2022-12-26T04:05:23.629Z] nexus3.edgexfoundry.org:10002 [2022-12-26T04:05:23.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T04:05:23.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T04:05:23.629Z] Configure a credential helper to remove this warning. See [2022-12-26T04:05:23.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T04:05:23.629Z] [2022-12-26T04:05:23.629Z] Login Succeeded [2022-12-26T04:05:23.629Z] nexus3.edgexfoundry.org:10003 [2022-12-26T04:05:23.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T04:05:23.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T04:05:23.889Z] Configure a credential helper to remove this warning. See [2022-12-26T04:05:23.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T04:05:23.889Z] [2022-12-26T04:05:23.889Z] Login Succeeded [2022-12-26T04:05:23.889Z] nexus3.edgexfoundry.org:10004 [2022-12-26T04:05:23.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T04:05:23.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T04:05:23.889Z] Configure a credential helper to remove this warning. See [2022-12-26T04:05:23.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T04:05:23.889Z] [2022-12-26T04:05:23.889Z] Login Succeeded [2022-12-26T04:05:23.889Z] docker.io [2022-12-26T04:05:24.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T04:05:24.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T04:05:24.149Z] Configure a credential helper to remove this warning. See [2022-12-26T04:05:24.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T04:05:24.149Z] [2022-12-26T04:05:24.149Z] Login Succeeded [2022-12-26T04:05:24.149Z] ---> docker-login.sh ends [Pipeline] } [2022-12-26T04:05:24.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-26T04:05:24.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-26T04:05:24.399Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-26T04:05:24.431Z] ========================================================= [2022-12-26T04:05:24.431Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-26T04:05:24.431Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T04:05:24.895Z] + 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 . [2022-12-26T04:05:24.895Z] Sending build context to Docker daemon 10.36MB [2022-12-26T04:05:24.895Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-12-26T04:05:24.895Z] Step 2/10 : FROM ${BASE} AS builder [2022-12-26T04:05:24.895Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-26T04:05:24.895Z] 213ec9aee27d: Pulling fs layer [2022-12-26T04:05:24.895Z] 4583459ba037: Pulling fs layer [2022-12-26T04:05:24.895Z] 93c1e223e6f2: Pulling fs layer [2022-12-26T04:05:24.895Z] 53926ce57604: Pulling fs layer [2022-12-26T04:05:24.895Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-26T04:05:24.895Z] 22ff95d597cd: Pulling fs layer [2022-12-26T04:05:24.895Z] 12d6caf4c0d1: Pulling fs layer [2022-12-26T04:05:24.895Z] 96b7cbca73a9: Pulling fs layer [2022-12-26T04:05:24.895Z] a7acece74701: Pulling fs layer [2022-12-26T04:05:24.895Z] 21b2b0c7a3f4: Waiting [2022-12-26T04:05:24.895Z] 22ff95d597cd: Waiting [2022-12-26T04:05:24.895Z] 12d6caf4c0d1: Waiting [2022-12-26T04:05:24.895Z] 96b7cbca73a9: Waiting [2022-12-26T04:05:24.895Z] a7acece74701: Waiting [2022-12-26T04:05:24.895Z] 53926ce57604: Waiting [2022-12-26T04:05:25.158Z] 93c1e223e6f2: Verifying Checksum [2022-12-26T04:05:25.158Z] 93c1e223e6f2: Download complete [2022-12-26T04:05:25.158Z] 4583459ba037: Download complete [2022-12-26T04:05:25.158Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-26T04:05:25.158Z] 21b2b0c7a3f4: Download complete [2022-12-26T04:05:25.158Z] 22ff95d597cd: Verifying Checksum [2022-12-26T04:05:25.158Z] 22ff95d597cd: Download complete [2022-12-26T04:05:25.158Z] 213ec9aee27d: Verifying Checksum [2022-12-26T04:05:25.158Z] 213ec9aee27d: Download complete [2022-12-26T04:05:25.158Z] 12d6caf4c0d1: Download complete [2022-12-26T04:05:25.158Z] 213ec9aee27d: Pull complete [2022-12-26T04:05:25.430Z] 4583459ba037: Pull complete [2022-12-26T04:05:25.430Z] 93c1e223e6f2: Pull complete [2022-12-26T04:05:25.430Z] a7acece74701: Verifying Checksum [2022-12-26T04:05:25.430Z] a7acece74701: Download complete [2022-12-26T04:05:26.019Z] 53926ce57604: Verifying Checksum [2022-12-26T04:05:26.019Z] 53926ce57604: Download complete [2022-12-26T04:05:26.019Z] 96b7cbca73a9: Verifying Checksum [2022-12-26T04:05:30.204Z] 53926ce57604: Pull complete [2022-12-26T04:05:30.204Z] 21b2b0c7a3f4: Pull complete [2022-12-26T04:05:30.204Z] 22ff95d597cd: Pull complete [2022-12-26T04:05:30.204Z] 12d6caf4c0d1: Pull complete [2022-12-26T04:05:32.728Z] 96b7cbca73a9: Pull complete [2022-12-26T04:05:33.295Z] a7acece74701: Pull complete [2022-12-26T04:05:33.295Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-26T04:05:33.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-26T04:05:33.295Z] ---> db6d94c90886 [2022-12-26T04:05:33.295Z] Step 3/10 : ARG MAKE=make build [2022-12-26T04:05:36.594Z] ---> Running in ba4ef01966eb [2022-12-26T04:05:36.594Z] Removing intermediate container ba4ef01966eb [2022-12-26T04:05:36.594Z] ---> 9af805f5f89a [2022-12-26T04:05:36.594Z] Step 4/10 : WORKDIR /device-sdk-go [2022-12-26T04:05:36.594Z] ---> Running in 665d78786793 [2022-12-26T04:05:36.594Z] Removing intermediate container 665d78786793 [2022-12-26T04:05:36.594Z] ---> cde4b05fc7a3 [2022-12-26T04:05:36.594Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-26T04:05:36.594Z] ---> Running in 29919922716d [2022-12-26T04:05:36.853Z] Removing intermediate container 29919922716d [2022-12-26T04:05:36.853Z] ---> 22071325b95b [2022-12-26T04:05:36.853Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-12-26T04:05:36.853Z] ---> Running in 761fcd5e05c2 [2022-12-26T04:05:37.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-26T04:05:37.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-26T04:05:37.369Z] OK: 211 MiB in 51 packages [2022-12-26T04:05:37.937Z] Removing intermediate container 761fcd5e05c2 [2022-12-26T04:05:37.937Z] ---> 477185855ee5 [2022-12-26T04:05:37.937Z] Step 7/10 : COPY go.mod vendor* ./ [2022-12-26T04:05:37.937Z] ---> a5f274e95f78 [2022-12-26T04:05:37.937Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-26T04:05:37.937Z] ---> Running in 8cd5d02adb02 [2022-12-26T04:05:38.090Z] Still waiting to schedule task [2022-12-26T04:05:38.090Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-512’ [2022-12-26T04:05:59.894Z] Removing intermediate container 8cd5d02adb02 [2022-12-26T04:05:59.894Z] ---> c67057f24dd2 [2022-12-26T04:05:59.894Z] Step 9/10 : COPY . . [2022-12-26T04:05:59.894Z] ---> 4147f049ac5c [2022-12-26T04:05:59.894Z] Step 10/10 : RUN ${MAKE} [2022-12-26T04:05:59.894Z] ---> Running in e5d1bcdf0e4d [2022-12-26T04:05:59.894Z] noop [2022-12-26T04:05:59.894Z] Removing intermediate container e5d1bcdf0e4d [2022-12-26T04:05:59.894Z] ---> a2e73cc7ad0e [2022-12-26T04:05:59.894Z] Successfully built a2e73cc7ad0e [2022-12-26T04:05:59.894Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T04:06:00.339Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-26T04:06:00.339Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T04:06:00.486Z] prd-ubuntu20.04-docker-8c-8g-511 does not seem to be running inside a container [2022-12-26T04:06:00.517Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1267 -v /w/workspace/gexfoundry_device-sdk-go_PR-1267:/w/workspace/gexfoundry_device-sdk-go_PR-1267:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-26T04:06:00.884Z] $ docker top 569035642ec1a3d529a9bee9dfbf6e8cd5556a5414d79353c9ae0c927cf26375 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-26T04:06:01.283Z] + go version [2022-12-26T04:06:01.283Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-26T04:06:01.325Z] $ docker stop --time=1 569035642ec1a3d529a9bee9dfbf6e8cd5556a5414d79353c9ae0c927cf26375 [2022-12-26T04:06:02.610Z] $ docker rm -f --volumes 569035642ec1a3d529a9bee9dfbf6e8cd5556a5414d79353c9ae0c927cf26375 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T04:06:03.282Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-26T04:06:03.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T04:06:03.432Z] prd-ubuntu20.04-docker-8c-8g-511 does not seem to be running inside a container [2022-12-26T04:06:03.467Z] $ 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-1267 -v /w/workspace/gexfoundry_device-sdk-go_PR-1267:/w/workspace/gexfoundry_device-sdk-go_PR-1267:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-26T04:06:03.824Z] $ docker top 7939a3a75b3f2e5c032efd968d489f33ab584e5ab488fff648bdb056b347057d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-26T04:06:04.207Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1267 [Pipeline] fileExists [Pipeline] sh [2022-12-26T04:06:04.559Z] + make test [2022-12-26T04:06:04.559Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-12-26T04:06:11.125Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2022-12-26T04:06:26.001Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2022-12-26T04:06:26.001Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2022-12-26T04:06:26.001Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2022-12-26T04:06:26.001Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2022-12-26T04:06:26.001Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2022-12-26T04:06:26.001Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.063s coverage: 27.6% of statements [2022-12-26T04:06:26.001Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.076s coverage: 78.9% of statements [2022-12-26T04:06:26.001Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2022-12-26T04:06:26.001Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.105s coverage: 73.1% of statements [2022-12-26T04:06:26.001Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2022-12-26T04:06:26.001Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2022-12-26T04:06:26.565Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.111s coverage: 54.4% of statements [2022-12-26T04:06:26.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2022-12-26T04:06:26.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2022-12-26T04:06:26.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2022-12-26T04:06:26.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2022-12-26T04:06:26.565Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.098s coverage: 65.1% of statements [2022-12-26T04:06:26.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2022-12-26T04:06:26.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2022-12-26T04:06:26.565Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.747s coverage: 89.2% of statements [2022-12-26T04:06:26.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2022-12-26T04:06:26.565Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.7% of statements [2022-12-26T04:06:26.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2022-12-26T04:06:44.653Z] 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." [2022-12-26T04:06:44.653Z] GO111MODULE=on go vet ./... [2022-12-26T04:06:47.215Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-26T04:06:47.215Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-26T04:06:47.215Z] ./bin/test-attribution-txt.sh [2022-12-26T04:06:47.215Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-12-26T04:06:47.215Z] An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add [2022-12-26T04:06:47.215Z] An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add [2022-12-26T04:06:47.215Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-12-26T04:06:47.215Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-12-26T04:06:47.215Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-12-26T04:06:47.253Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-26T04:06:47.285Z] $ docker stop --time=1 7939a3a75b3f2e5c032efd968d489f33ab584e5ab488fff648bdb056b347057d [2022-12-26T04:06:50.540Z] $ docker rm -f --volumes 7939a3a75b3f2e5c032efd968d489f33ab584e5ab488fff648bdb056b347057d [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-26T04:06:51.109Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-26T04:06:51.198Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-26T04:06:51.869Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-26T04:06:52.182Z] + ls -al . [2022-12-26T04:06:52.182Z] total 280 [2022-12-26T04:06:52.182Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 26 04:06 . [2022-12-26T04:06:52.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 26 04:04 .. [2022-12-26T04:06:52.182Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 26 04:05 .dockerignore [2022-12-26T04:06:52.182Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 26 04:06 .git [2022-12-26T04:06:52.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 26 04:05 .github [2022-12-26T04:06:52.182Z] -rw-rw-r-- 1 jenkins jenkins 131 Dec 26 04:05 .gitignore [2022-12-26T04:06:52.182Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 26 04:05 .golangci.yml [2022-12-26T04:06:52.182Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 26 04:05 .semver [2022-12-26T04:06:52.182Z] -rw-rw-r-- 1 jenkins jenkins 31677 Dec 26 04:05 CHANGELOG.md [2022-12-26T04:06:52.182Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 26 04:05 GOVERNANCE.md [2022-12-26T04:06:52.182Z] -rw-rw-r-- 1 jenkins jenkins 880 Dec 26 04:05 Jenkinsfile [2022-12-26T04:06:52.182Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 26 04:05 LICENSE [2022-12-26T04:06:52.182Z] -rw-rw-r-- 1 jenkins jenkins 2003 Dec 26 04:05 Makefile [2022-12-26T04:06:52.182Z] -rw-rw-r-- 1 jenkins jenkins 619 Dec 26 04:05 OWNERS.md [2022-12-26T04:06:52.182Z] -rw-rw-r-- 1 jenkins jenkins 4881 Dec 26 04:05 README.md [2022-12-26T04:06:52.182Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 26 04:05 VERSION [2022-12-26T04:06:52.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 26 04:05 bin [2022-12-26T04:06:52.182Z] -rw-r--r-- 1 jenkins jenkins 101760 Dec 26 04:06 coverage.out [2022-12-26T04:06:52.182Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 26 04:05 example [2022-12-26T04:06:52.182Z] -rw-rw-r-- 1 jenkins jenkins 3342 Dec 26 04:05 go.mod [2022-12-26T04:06:52.182Z] -rw-rw-r-- 1 jenkins jenkins 44555 Dec 26 04:05 go.sum [2022-12-26T04:06:52.182Z] drwxrwxr-x 14 jenkins jenkins 4096 Dec 26 04:05 internal [2022-12-26T04:06:52.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 26 04:05 openapi [2022-12-26T04:06:52.182Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 26 04:05 pkg [2022-12-26T04:06:52.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 26 04:05 snap [2022-12-26T04:06:52.182Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 26 04:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T04:06:52.584Z] + 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=0527474e17203f9e61d9e194c6b68b30972d11a0 --label arch=amd64 --label version=0.0.0 . [2022-12-26T04:06:52.584Z] Sending build context to Docker daemon 10.47MB [2022-12-26T04:06:52.584Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-12-26T04:06:52.584Z] Step 2/23 : FROM ${BASE} AS builder [2022-12-26T04:06:52.584Z] ---> a2e73cc7ad0e [2022-12-26T04:06:52.584Z] Step 3/23 : ARG MAKE=make build [2022-12-26T04:06:52.844Z] ---> Running in 9cb0b48ab99f [2022-12-26T04:06:52.844Z] Removing intermediate container 9cb0b48ab99f [2022-12-26T04:06:52.844Z] ---> cd251aa02b1c [2022-12-26T04:06:52.844Z] Step 4/23 : WORKDIR /device-sdk-go [2022-12-26T04:06:52.844Z] ---> Running in 8c9c504ab009 [2022-12-26T04:06:52.844Z] Removing intermediate container 8c9c504ab009 [2022-12-26T04:06:52.844Z] ---> 54001d24efe8 [2022-12-26T04:06:52.844Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-26T04:06:52.844Z] ---> Running in 541125a04804 [2022-12-26T04:06:53.104Z] Removing intermediate container 541125a04804 [2022-12-26T04:06:53.104Z] ---> ac030d036d46 [2022-12-26T04:06:53.104Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-12-26T04:06:53.104Z] ---> Running in 6cae1db8f1bf [2022-12-26T04:06:53.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-26T04:06:53.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-26T04:06:53.623Z] OK: 211 MiB in 51 packages [2022-12-26T04:06:53.884Z] Removing intermediate container 6cae1db8f1bf [2022-12-26T04:06:53.884Z] ---> 2968480e525f [2022-12-26T04:06:53.884Z] Step 7/23 : COPY go.mod vendor* ./ [2022-12-26T04:06:54.143Z] ---> 99d519899255 [2022-12-26T04:06:54.143Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-26T04:06:54.143Z] ---> Running in 983c56c4d792 [2022-12-26T04:06:54.712Z] Removing intermediate container 983c56c4d792 [2022-12-26T04:06:54.712Z] ---> 21b8a996fbc3 [2022-12-26T04:06:54.712Z] Step 9/23 : COPY . . [2022-12-26T04:06:55.280Z] ---> e06b03f43605 [2022-12-26T04:06:55.280Z] Step 10/23 : RUN ${MAKE} [2022-12-26T04:06:55.280Z] ---> Running in 92c3c6a733af [2022-12-26T04:06:55.540Z] 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 [2022-12-26T04:07:13.822Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-12-26T04:07:17.120Z] Removing intermediate container 92c3c6a733af [2022-12-26T04:07:17.120Z] ---> 46786eab7fec [2022-12-26T04:07:17.120Z] Step 11/23 : FROM alpine:3.16 [2022-12-26T04:07:17.120Z] 3.16: Pulling from library/alpine [2022-12-26T04:07:17.120Z] ca7dd9ec2225: Pulling fs layer [2022-12-26T04:07:17.379Z] ca7dd9ec2225: Verifying Checksum [2022-12-26T04:07:17.379Z] ca7dd9ec2225: Download complete [2022-12-26T04:07:17.638Z] ca7dd9ec2225: Pull complete [2022-12-26T04:07:17.638Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-26T04:07:17.638Z] Status: Downloaded newer image for alpine:3.16 [2022-12-26T04:07:17.638Z] ---> bfe296a52501 [2022-12-26T04:07:17.638Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-26T04:07:17.638Z] ---> Running in 74af80289488 [2022-12-26T04:07:17.638Z] Removing intermediate container 74af80289488 [2022-12-26T04:07:17.638Z] ---> 3396d9c07b1e [2022-12-26T04:07:17.638Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-12-26T04:07:17.638Z] ---> Running in 4c85273bcf1a [2022-12-26T04:07:17.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-26T04:07:18.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-26T04:07:18.158Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-12-26T04:07:18.417Z] (2/5) Installing libsodium (1.0.18-r0) [2022-12-26T04:07:18.417Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-26T04:07:18.417Z] (4/5) Installing libzmq (4.3.4-r0) [2022-12-26T04:07:18.417Z] (5/5) Installing zeromq (4.3.4-r0) [2022-12-26T04:07:18.417Z] Executing busybox-1.35.0-r17.trigger [2022-12-26T04:07:18.417Z] OK: 8 MiB in 19 packages [2022-12-26T04:07:18.676Z] Removing intermediate container 4c85273bcf1a [2022-12-26T04:07:18.676Z] ---> efa9e4047bb5 [2022-12-26T04:07:18.676Z] Step 14/23 : WORKDIR / [2022-12-26T04:07:18.676Z] ---> Running in 5147315cc553 [2022-12-26T04:07:18.936Z] Removing intermediate container 5147315cc553 [2022-12-26T04:07:18.936Z] ---> d33dd314df6b [2022-12-26T04:07:18.936Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-12-26T04:07:18.936Z] ---> a65242356408 [2022-12-26T04:07:18.936Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-12-26T04:07:19.900Z] ---> d0f0c0e48b77 [2022-12-26T04:07:19.900Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-12-26T04:07:19.900Z] ---> f61c864c9e3f [2022-12-26T04:07:19.900Z] Step 18/23 : EXPOSE 59999 [2022-12-26T04:07:19.900Z] ---> Running in 33e62126b596 [2022-12-26T04:07:19.900Z] Removing intermediate container 33e62126b596 [2022-12-26T04:07:19.900Z] ---> 1ec767fbdfd9 [2022-12-26T04:07:19.900Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-12-26T04:07:19.900Z] ---> Running in e85d470ef6a4 [2022-12-26T04:07:19.900Z] Removing intermediate container e85d470ef6a4 [2022-12-26T04:07:19.900Z] ---> 37ea8e0cb30c [2022-12-26T04:07:19.900Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-26T04:07:19.900Z] ---> Running in f4d7d7601a2b [2022-12-26T04:07:20.160Z] Removing intermediate container f4d7d7601a2b [2022-12-26T04:07:20.160Z] ---> 02e33572127e [2022-12-26T04:07:20.160Z] Step 21/23 : LABEL arch=amd64 [2022-12-26T04:07:20.160Z] ---> Running in 99a5635e9963 [2022-12-26T04:07:20.160Z] Removing intermediate container 99a5635e9963 [2022-12-26T04:07:20.160Z] ---> e02ed57a2c94 [2022-12-26T04:07:20.160Z] Step 22/23 : LABEL git_sha=0527474e17203f9e61d9e194c6b68b30972d11a0 [2022-12-26T04:07:20.160Z] ---> Running in 7d4248ba58bd [2022-12-26T04:07:20.160Z] Removing intermediate container 7d4248ba58bd [2022-12-26T04:07:20.160Z] ---> de6855b274ba [2022-12-26T04:07:20.160Z] Step 23/23 : LABEL version=0.0.0 [2022-12-26T04:07:20.420Z] ---> Running in 97386f33fcb8 [2022-12-26T04:07:20.420Z] Removing intermediate container 97386f33fcb8 [2022-12-26T04:07:20.420Z] ---> 90ea819e03dd [2022-12-26T04:07:20.420Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-26T04:07:20.420Z] Successfully built 90ea819e03dd [2022-12-26T04:07:20.420Z] 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 [2022-12-26T04:07:21.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-26T04:07:21.333Z] [2022-12-26T04:07:21.333Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T04:07:21.707Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-26T04:07:21.707Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-26T04:07:21.707Z] 5eb5b503b376: Pulling fs layer [2022-12-26T04:07:21.707Z] 5c69ac0246d0: Pulling fs layer [2022-12-26T04:07:21.707Z] ec43610c2a17: Pulling fs layer [2022-12-26T04:07:21.707Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-26T04:07:21.707Z] 33b1e0a273af: Pulling fs layer [2022-12-26T04:07:21.707Z] 5d3b04190fa2: Pulling fs layer [2022-12-26T04:07:21.707Z] 2f39f015ded8: Pulling fs layer [2022-12-26T04:07:21.707Z] 5d3b04190fa2: Waiting [2022-12-26T04:07:21.707Z] 3a2ae6a8a46f: Waiting [2022-12-26T04:07:21.707Z] 33b1e0a273af: Waiting [2022-12-26T04:07:21.707Z] 2f39f015ded8: Waiting [2022-12-26T04:07:21.707Z] 5c69ac0246d0: Verifying Checksum [2022-12-26T04:07:21.707Z] 5c69ac0246d0: Download complete [2022-12-26T04:07:21.707Z] 3a2ae6a8a46f: Download complete [2022-12-26T04:07:21.970Z] ec43610c2a17: Verifying Checksum [2022-12-26T04:07:21.970Z] ec43610c2a17: Download complete [2022-12-26T04:07:21.970Z] 33b1e0a273af: Verifying Checksum [2022-12-26T04:07:21.970Z] 33b1e0a273af: Download complete [2022-12-26T04:07:21.970Z] 5d3b04190fa2: Download complete [2022-12-26T04:07:21.970Z] 5eb5b503b376: Verifying Checksum [2022-12-26T04:07:21.970Z] 5eb5b503b376: Download complete [2022-12-26T04:07:22.537Z] 2f39f015ded8: Download complete [2022-12-26T04:07:23.104Z] 5eb5b503b376: Pull complete [2022-12-26T04:07:23.362Z] 5c69ac0246d0: Pull complete [2022-12-26T04:07:23.937Z] ec43610c2a17: Pull complete [2022-12-26T04:07:23.937Z] 3a2ae6a8a46f: Pull complete [2022-12-26T04:07:23.937Z] 33b1e0a273af: Pull complete [2022-12-26T04:07:24.194Z] 5d3b04190fa2: Pull complete [2022-12-26T04:07:29.466Z] 2f39f015ded8: Pull complete [2022-12-26T04:07:29.466Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-26T04:07:29.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-26T04:07:29.466Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T04:07:29.689Z] prd-ubuntu20.04-docker-8c-8g-511 does not seem to be running inside a container [2022-12-26T04:07:29.719Z] $ 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-1267 -v /w/workspace/gexfoundry_device-sdk-go_PR-1267:/w/workspace/gexfoundry_device-sdk-go_PR-1267:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-26T04:07:32.778Z] $ docker top c0a5b05cb510898584d2425b230fbb1153779010ced52d9d8a95b74db2ea43f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-26T04:07:33.208Z] ---> job-cost.sh [2022-12-26T04:07:33.208Z] lf-activate-venv: SKIPPING [2022-12-26T04:07:33.208Z] INFO: No Stack... [2022-12-26T04:07:33.469Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-26T04:07:33.727Z] INFO: Archiving Costs [Pipeline] sh [2022-12-26T04:07:34.046Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1267/archives/cost.csv [2022-12-26T04:07:34.046Z] + cut -d, -f6 [Pipeline] lock [2022-12-26T04:07:34.087Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] [2022-12-26T04:07:34.092Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] did not exist. Created. [2022-12-26T04:07:34.092Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-26T04:07:34.481Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-26T04:07:34.536Z] Stashed 1 file(s) [Pipeline] } [2022-12-26T04:07:34.561Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-26T04:07:34.645Z] $ docker stop --time=1 c0a5b05cb510898584d2425b230fbb1153779010ced52d9d8a95b74db2ea43f5 [2022-12-26T04:07:35.801Z] $ docker rm -f --volumes c0a5b05cb510898584d2425b230fbb1153779010ced52d9d8a95b74db2ea43f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-26T04:07:56.577Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-513 in /w/workspace/gexfoundry_device-sdk-go_PR-1267 [Pipeline] { [Pipeline] ws [2022-12-26T04:07:56.635Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-12-26T04:07:56.714Z] The recommended git tool is: git [2022-12-26T04:08:03.779Z] using credential edgex-jenkins-ssh [2022-12-26T04:08:03.796Z] Cloning the remote Git repository [2022-12-26T04:08:03.852Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-12-26T04:08:03.933Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-12-26T04:08:04.101Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-12-26T04:08:04.102Z] > git --version # timeout=10 [2022-12-26T04:08:04.122Z] > git --version # 'git version 2.25.1' [2022-12-26T04:08:04.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-26T04:08:04.199Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-26T04:08:05.779Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-12-26T04:08:05.802Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-26T04:08:07.229Z] Merging remotes/origin/main commit 75403564eeb8af1d0f1f8ff2eb4e718373552573 into PR head commit 0527474e17203f9e61d9e194c6b68b30972d11a0 [2022-12-26T04:08:06.657Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-12-26T04:08:06.705Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-12-26T04:08:06.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-26T04:08:06.722Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1267/head:refs/remotes/origin/PR-1267 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-26T04:08:07.250Z] > git config core.sparsecheckout # timeout=10 [2022-12-26T04:08:07.271Z] > git checkout -f 0527474e17203f9e61d9e194c6b68b30972d11a0 # timeout=10 [2022-12-26T04:08:07.466Z] Merge succeeded, producing 0527474e17203f9e61d9e194c6b68b30972d11a0 [2022-12-26T04:08:07.467Z] Checking out Revision 0527474e17203f9e61d9e194c6b68b30972d11a0 (PR-1267) [2022-12-26T04:08:07.963Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2022-12-26T04:08:08.013Z] > git --version # timeout=10 [2022-12-26T04:08:08.023Z] > git --version # 'git version 2.25.1' [2022-12-26T04:08:08.040Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-26T04:08:07.376Z] > git remote # timeout=10 [2022-12-26T04:08:07.394Z] > git config --get remote.origin.url # timeout=10 [2022-12-26T04:08:07.407Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-26T04:08:07.420Z] > git merge 75403564eeb8af1d0f1f8ff2eb4e718373552573 # timeout=10 [2022-12-26T04:08:07.444Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-26T04:08:07.475Z] > git config core.sparsecheckout # timeout=10 [2022-12-26T04:08:07.490Z] > git checkout -f 0527474e17203f9e61d9e194c6b68b30972d11a0 # timeout=10 [2022-12-26T04:08:09.172Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-26T04:08:09.172Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-26T04:08:09.172Z] Dload Upload Total Spent Left Speed [2022-12-26T04:08:09.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh [2022-12-26T04:08:09.770Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-26T04:08:10.117Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-26T04:08:10.117Z] + sudo tee /etc/docker/daemon.new [2022-12-26T04:08:10.117Z] { [2022-12-26T04:08:10.117Z] "registry-mirrors": [ [2022-12-26T04:08:10.117Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-26T04:08:10.117Z] ], [2022-12-26T04:08:10.117Z] "bip": "10.250.0.254/24", [2022-12-26T04:08:10.117Z] "hosts": [ [2022-12-26T04:08:10.117Z] "tcp://0.0.0.0:5555", [2022-12-26T04:08:10.117Z] "unix:///var/run/docker.sock" [2022-12-26T04:08:10.117Z] ], [2022-12-26T04:08:10.117Z] "mtu": 1458, [2022-12-26T04:08:10.117Z] "selinux-enabled": true, [2022-12-26T04:08:10.117Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-26T04:08:10.117Z] } [Pipeline] sh [2022-12-26T04:08:10.478Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-26T04:08:10.827Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-26T04:08:29.177Z] provisioning config files... [2022-12-26T04:08:29.210Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11108748957715740040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-26T04:08:29.620Z] ---> docker-login.sh [2022-12-26T04:08:29.620Z] nexus3.edgexfoundry.org:10001 [2022-12-26T04:08:30.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T04:08:30.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T04:08:30.216Z] Configure a credential helper to remove this warning. See [2022-12-26T04:08:30.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T04:08:30.216Z] [2022-12-26T04:08:30.216Z] Login Succeeded [2022-12-26T04:08:30.216Z] nexus3.edgexfoundry.org:10002 [2022-12-26T04:08:30.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T04:08:30.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T04:08:30.758Z] Configure a credential helper to remove this warning. See [2022-12-26T04:08:30.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T04:08:30.758Z] [2022-12-26T04:08:30.758Z] Login Succeeded [2022-12-26T04:08:30.758Z] nexus3.edgexfoundry.org:10003 [2022-12-26T04:08:31.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T04:08:31.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T04:08:31.029Z] Configure a credential helper to remove this warning. See [2022-12-26T04:08:31.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T04:08:31.029Z] [2022-12-26T04:08:31.029Z] Login Succeeded [2022-12-26T04:08:31.029Z] nexus3.edgexfoundry.org:10004 [2022-12-26T04:08:31.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T04:08:31.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T04:08:31.302Z] Configure a credential helper to remove this warning. See [2022-12-26T04:08:31.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T04:08:31.302Z] [2022-12-26T04:08:31.302Z] Login Succeeded [2022-12-26T04:08:31.302Z] docker.io [2022-12-26T04:08:31.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T04:08:31.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T04:08:31.843Z] Configure a credential helper to remove this warning. See [2022-12-26T04:08:31.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T04:08:31.843Z] [2022-12-26T04:08:31.843Z] Login Succeeded [2022-12-26T04:08:31.843Z] ---> docker-login.sh ends [Pipeline] } [2022-12-26T04:08:31.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-26T04:08:32.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-26T04:08:32.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-26T04:08:32.370Z] ========================================================= [2022-12-26T04:08:32.370Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-26T04:08:32.370Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T04:08:32.877Z] + 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 . [2022-12-26T04:08:33.151Z] Sending build context to Docker daemon 5.57MB [2022-12-26T04:08:33.423Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-12-26T04:08:33.423Z] Step 2/10 : FROM ${BASE} AS builder [2022-12-26T04:08:33.423Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-26T04:08:33.423Z] 9b18e9b68314: Pulling fs layer [2022-12-26T04:08:33.423Z] 35d82f9e3411: Pulling fs layer [2022-12-26T04:08:33.423Z] e16973657156: Pulling fs layer [2022-12-26T04:08:33.423Z] fc693d55d65f: Pulling fs layer [2022-12-26T04:08:33.423Z] 7e9fc2657dce: Pulling fs layer [2022-12-26T04:08:33.423Z] dda99020689f: Pulling fs layer [2022-12-26T04:08:33.423Z] db1c61fa0a46: Pulling fs layer [2022-12-26T04:08:33.423Z] 891c053d2c06: Pulling fs layer [2022-12-26T04:08:33.423Z] fc693d55d65f: Waiting [2022-12-26T04:08:33.423Z] 7e9fc2657dce: Waiting [2022-12-26T04:08:33.423Z] dda99020689f: Waiting [2022-12-26T04:08:33.423Z] db1c61fa0a46: Waiting [2022-12-26T04:08:33.423Z] 891c053d2c06: Waiting [2022-12-26T04:08:33.423Z] e16973657156: Verifying Checksum [2022-12-26T04:08:33.423Z] e16973657156: Download complete [2022-12-26T04:08:33.423Z] 35d82f9e3411: Verifying Checksum [2022-12-26T04:08:33.423Z] 35d82f9e3411: Download complete [2022-12-26T04:08:33.693Z] 7e9fc2657dce: Verifying Checksum [2022-12-26T04:08:33.693Z] 7e9fc2657dce: Download complete [2022-12-26T04:08:33.693Z] dda99020689f: Verifying Checksum [2022-12-26T04:08:33.693Z] dda99020689f: Download complete [2022-12-26T04:08:33.693Z] 9b18e9b68314: Verifying Checksum [2022-12-26T04:08:33.693Z] 9b18e9b68314: Download complete [2022-12-26T04:08:34.666Z] 9b18e9b68314: Pull complete [2022-12-26T04:08:34.666Z] 891c053d2c06: Verifying Checksum [2022-12-26T04:08:34.666Z] 891c053d2c06: Download complete [2022-12-26T04:08:35.273Z] 35d82f9e3411: Pull complete [2022-12-26T04:08:35.551Z] e16973657156: Pull complete [2022-12-26T04:08:35.821Z] db1c61fa0a46: Verifying Checksum [2022-12-26T04:08:35.821Z] db1c61fa0a46: Download complete [2022-12-26T04:08:36.410Z] fc693d55d65f: Verifying Checksum [2022-12-26T04:08:36.410Z] fc693d55d65f: Download complete [2022-12-26T04:08:48.777Z] fc693d55d65f: Pull complete [2022-12-26T04:08:48.777Z] 7e9fc2657dce: Pull complete [2022-12-26T04:08:48.777Z] dda99020689f: Pull complete [2022-12-26T04:08:54.143Z] db1c61fa0a46: Pull complete [2022-12-26T04:08:56.909Z] 891c053d2c06: Pull complete [2022-12-26T04:08:56.909Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-26T04:08:56.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-26T04:08:56.909Z] ---> f96f9c87975a [2022-12-26T04:08:56.909Z] Step 3/10 : ARG MAKE=make build [2022-12-26T04:08:58.871Z] ---> Running in 837557a598b7 [2022-12-26T04:08:58.871Z] Removing intermediate container 837557a598b7 [2022-12-26T04:08:58.871Z] ---> bc58450fad42 [2022-12-26T04:08:58.871Z] Step 4/10 : WORKDIR /device-sdk-go [2022-12-26T04:08:58.871Z] ---> Running in cad2ceeffdd2 [2022-12-26T04:08:59.140Z] Removing intermediate container cad2ceeffdd2 [2022-12-26T04:08:59.140Z] ---> 319ad3cb306d [2022-12-26T04:08:59.140Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-26T04:08:59.410Z] ---> Running in 8a74461fdac1 [2022-12-26T04:08:59.681Z] Removing intermediate container 8a74461fdac1 [2022-12-26T04:08:59.681Z] ---> a9056b77dbe0 [2022-12-26T04:08:59.681Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-12-26T04:08:59.681Z] ---> Running in 5de12e18f109 [2022-12-26T04:09:01.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-26T04:09:01.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-26T04:09:02.068Z] OK: 221 MiB in 51 packages [2022-12-26T04:09:03.040Z] Removing intermediate container 5de12e18f109 [2022-12-26T04:09:03.040Z] ---> 864eea87b978 [2022-12-26T04:09:03.040Z] Step 7/10 : COPY go.mod vendor* ./ [2022-12-26T04:09:04.985Z] ---> 9f0e137132c3 [2022-12-26T04:09:04.985Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-26T04:09:05.256Z] ---> Running in b62e4df4bad7 [2022-12-26T04:10:01.705Z] Removing intermediate container b62e4df4bad7 [2022-12-26T04:10:01.705Z] ---> ebe281059e24 [2022-12-26T04:10:01.705Z] Step 9/10 : COPY . . [2022-12-26T04:10:01.705Z] ---> 9fbd578d1ed0 [2022-12-26T04:10:01.705Z] Step 10/10 : RUN ${MAKE} [2022-12-26T04:10:01.705Z] ---> Running in 47f27264a82b [2022-12-26T04:10:01.705Z] noop [2022-12-26T04:10:01.705Z] Removing intermediate container 47f27264a82b [2022-12-26T04:10:01.705Z] ---> 99118559bcf2 [2022-12-26T04:10:01.705Z] Successfully built 99118559bcf2 [2022-12-26T04:10:01.705Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T04:10:02.188Z] + docker inspect -f . ci-base-image-arm64 [2022-12-26T04:10:02.188Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T04:10:02.465Z] prd-ubuntu20.04-docker-arm64-4c-16g-513 does not seem to be running inside a container [2022-12-26T04:10:02.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-26T04:10:03.865Z] $ docker top ffa7455ba6ddfa08b2229fada9534b3bef61c3f399ded23ebfb188798f3ca024 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-26T04:10:04.763Z] + go version [2022-12-26T04:10:04.763Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-26T04:10:04.807Z] $ docker stop --time=1 ffa7455ba6ddfa08b2229fada9534b3bef61c3f399ded23ebfb188798f3ca024 [2022-12-26T04:10:08.523Z] $ docker rm -f --volumes ffa7455ba6ddfa08b2229fada9534b3bef61c3f399ded23ebfb188798f3ca024 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T04:10:09.394Z] + docker inspect -f . ci-base-image-arm64 [2022-12-26T04:10:09.394Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T04:10:09.649Z] prd-ubuntu20.04-docker-arm64-4c-16g-513 does not seem to be running inside a container [2022-12-26T04:10:09.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-26T04:10:10.903Z] $ docker top 7bc3ff066dc1d6c4c9f304e35cdbf3b9f5515d948c36c8afb05905c0d0fd4748 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-26T04:10:11.812Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-12-26T04:10:12.529Z] + make test [2022-12-26T04:10:12.529Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-12-26T04:10:51.461Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2022-12-26T04:12:43.169Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2022-12-26T04:12:43.169Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2022-12-26T04:12:43.169Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2022-12-26T04:12:43.169Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2022-12-26T04:12:43.169Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2022-12-26T04:12:53.249Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.319s coverage: 27.6% of statements [2022-12-26T04:12:54.665Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.339s coverage: 78.9% of statements [2022-12-26T04:12:54.665Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2022-12-26T04:13:01.332Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.761s coverage: 73.1% of statements [2022-12-26T04:13:01.332Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2022-12-26T04:13:01.332Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2022-12-26T04:13:05.606Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.616s coverage: 54.4% of statements [2022-12-26T04:13:05.606Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2022-12-26T04:13:05.606Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2022-12-26T04:13:05.606Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2022-12-26T04:13:05.606Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2022-12-26T04:13:05.606Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.508s coverage: 65.1% of statements [2022-12-26T04:13:05.606Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2022-12-26T04:13:05.606Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2022-12-26T04:13:05.606Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.888s coverage: 89.2% of statements [2022-12-26T04:13:05.606Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2022-12-26T04:13:05.606Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.329s coverage: 4.7% of statements [2022-12-26T04:13:05.606Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2022-12-26T04:13:05.873Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-26T04:13:05.873Z] GO111MODULE=on go vet ./... [2022-12-26T04:14:43.623Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-26T04:14:43.623Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-26T04:14:43.623Z] ./bin/test-attribution-txt.sh [2022-12-26T04:14:43.623Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-12-26T04:14:43.623Z] An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add [2022-12-26T04:14:43.623Z] An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add [2022-12-26T04:14:43.623Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-12-26T04:14:43.623Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-12-26T04:14:43.623Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-12-26T04:14:43.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-26T04:14:43.710Z] $ docker stop --time=1 7bc3ff066dc1d6c4c9f304e35cdbf3b9f5515d948c36c8afb05905c0d0fd4748 [2022-12-26T04:14:45.561Z] $ docker rm -f --volumes 7bc3ff066dc1d6c4c9f304e35cdbf3b9f5515d948c36c8afb05905c0d0fd4748 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-26T04:14:47.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-26T04:14:47.058Z] Warning: overwriting stash ‘coverage-report’ [2022-12-26T04:14:47.619Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-26T04:14:48.228Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-26T04:14:48.563Z] + ls -al . [2022-12-26T04:14:48.563Z] total 276 [2022-12-26T04:14:48.563Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 26 04:10 . [2022-12-26T04:14:48.563Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 26 04:08 .. [2022-12-26T04:14:48.563Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 26 04:08 .dockerignore [2022-12-26T04:14:48.563Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 26 04:08 .git [2022-12-26T04:14:48.563Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 26 04:08 .github [2022-12-26T04:14:48.563Z] -rw-rw-r-- 1 jenkins jenkins 131 Dec 26 04:08 .gitignore [2022-12-26T04:14:48.563Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 26 04:08 .golangci.yml [2022-12-26T04:14:48.563Z] -rw-rw-r-- 1 jenkins jenkins 31677 Dec 26 04:08 CHANGELOG.md [2022-12-26T04:14:48.563Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 26 04:08 GOVERNANCE.md [2022-12-26T04:14:48.563Z] -rw-rw-r-- 1 jenkins jenkins 880 Dec 26 04:08 Jenkinsfile [2022-12-26T04:14:48.563Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 26 04:08 LICENSE [2022-12-26T04:14:48.563Z] -rw-rw-r-- 1 jenkins jenkins 2003 Dec 26 04:08 Makefile [2022-12-26T04:14:48.563Z] -rw-rw-r-- 1 jenkins jenkins 619 Dec 26 04:08 OWNERS.md [2022-12-26T04:14:48.563Z] -rw-rw-r-- 1 jenkins jenkins 4881 Dec 26 04:08 README.md [2022-12-26T04:14:48.563Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 26 04:05 VERSION [2022-12-26T04:14:48.563Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 26 04:08 bin [2022-12-26T04:14:48.563Z] -rw-r--r-- 1 jenkins jenkins 101759 Dec 26 04:13 coverage.out [2022-12-26T04:14:48.563Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 26 04:08 example [2022-12-26T04:14:48.563Z] -rw-rw-r-- 1 jenkins jenkins 3342 Dec 26 04:08 go.mod [2022-12-26T04:14:48.563Z] -rw-rw-r-- 1 jenkins jenkins 44555 Dec 26 04:08 go.sum [2022-12-26T04:14:48.563Z] drwxrwxr-x 14 jenkins jenkins 4096 Dec 26 04:08 internal [2022-12-26T04:14:48.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 26 04:08 openapi [2022-12-26T04:14:48.563Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 26 04:08 pkg [2022-12-26T04:14:48.563Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 26 04:08 snap [2022-12-26T04:14:48.563Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 26 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T04:14:48.973Z] + 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=0527474e17203f9e61d9e194c6b68b30972d11a0 --label arch=arm64 --label version=0.0.0 . [2022-12-26T04:14:49.571Z] Sending build context to Docker daemon 5.672MB [2022-12-26T04:14:49.571Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-12-26T04:14:49.571Z] Step 2/23 : FROM ${BASE} AS builder [2022-12-26T04:14:49.571Z] ---> 99118559bcf2 [2022-12-26T04:14:49.571Z] Step 3/23 : ARG MAKE=make build [2022-12-26T04:14:49.571Z] ---> Running in 15bb33c221bf [2022-12-26T04:14:49.839Z] Removing intermediate container 15bb33c221bf [2022-12-26T04:14:49.839Z] ---> 0b8b01b3c789 [2022-12-26T04:14:49.839Z] Step 4/23 : WORKDIR /device-sdk-go [2022-12-26T04:14:50.109Z] ---> Running in 72c8257b1bea [2022-12-26T04:14:50.380Z] Removing intermediate container 72c8257b1bea [2022-12-26T04:14:50.380Z] ---> 9bc01b44961b [2022-12-26T04:14:50.380Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-26T04:14:50.380Z] ---> Running in 921ac28dd86a [2022-12-26T04:14:50.649Z] Removing intermediate container 921ac28dd86a [2022-12-26T04:14:50.649Z] ---> 4bfd5359be3b [2022-12-26T04:14:50.649Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-12-26T04:14:50.649Z] ---> Running in 9dd737ee3097 [2022-12-26T04:14:51.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-26T04:14:52.192Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-26T04:14:53.151Z] OK: 221 MiB in 51 packages [2022-12-26T04:14:54.562Z] Removing intermediate container 9dd737ee3097 [2022-12-26T04:14:54.562Z] ---> ebeda80cd5e7 [2022-12-26T04:14:54.562Z] Step 7/23 : COPY go.mod vendor* ./ [2022-12-26T04:14:54.836Z] ---> 5c0bbb9c9e76 [2022-12-26T04:14:54.836Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-26T04:14:54.836Z] ---> Running in d186edcd633c [2022-12-26T04:14:57.426Z] Removing intermediate container d186edcd633c [2022-12-26T04:14:57.426Z] ---> 7481ae569d5a [2022-12-26T04:14:57.426Z] Step 9/23 : COPY . . [2022-12-26T04:14:58.390Z] ---> e3cf43f3123d [2022-12-26T04:14:58.390Z] Step 10/23 : RUN ${MAKE} [2022-12-26T04:14:58.390Z] ---> Running in 5d6556e6cb83 [2022-12-26T04:14:59.351Z] 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 [2022-12-26T04:17:06.032Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-12-26T04:17:06.032Z] Removing intermediate container 5d6556e6cb83 [2022-12-26T04:17:06.032Z] ---> 5d7e1ac77fd7 [2022-12-26T04:17:06.032Z] Step 11/23 : FROM alpine:3.16 [2022-12-26T04:17:06.032Z] 3.16: Pulling from library/alpine [2022-12-26T04:17:06.032Z] 6875df1f5354: Pulling fs layer [2022-12-26T04:17:06.032Z] 6875df1f5354: Verifying Checksum [2022-12-26T04:17:06.032Z] 6875df1f5354: Download complete [2022-12-26T04:17:06.032Z] 6875df1f5354: Pull complete [2022-12-26T04:17:06.032Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-26T04:17:06.032Z] Status: Downloaded newer image for alpine:3.16 [2022-12-26T04:17:06.032Z] ---> 2b4661558fb8 [2022-12-26T04:17:06.032Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-26T04:17:06.032Z] ---> Running in a35e440933ad [2022-12-26T04:17:06.032Z] Removing intermediate container a35e440933ad [2022-12-26T04:17:06.032Z] ---> de62460b7834 [2022-12-26T04:17:06.032Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-12-26T04:17:06.032Z] ---> Running in 9e6874fe6708 [2022-12-26T04:17:06.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-26T04:17:06.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-26T04:17:07.255Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-12-26T04:17:07.255Z] (2/5) Installing libsodium (1.0.18-r0) [2022-12-26T04:17:07.525Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-26T04:17:07.525Z] (4/5) Installing libzmq (4.3.4-r0) [2022-12-26T04:17:07.525Z] (5/5) Installing zeromq (4.3.4-r0) [2022-12-26T04:17:07.525Z] Executing busybox-1.35.0-r17.trigger [2022-12-26T04:17:07.525Z] OK: 8 MiB in 19 packages [2022-12-26T04:17:08.487Z] Removing intermediate container 9e6874fe6708 [2022-12-26T04:17:08.487Z] ---> 6be6de0f04bf [2022-12-26T04:17:08.487Z] Step 14/23 : WORKDIR / [2022-12-26T04:17:08.487Z] ---> Running in 0c30894a2f64 [2022-12-26T04:17:08.754Z] Removing intermediate container 0c30894a2f64 [2022-12-26T04:17:08.754Z] ---> 6dfa13ce827b [2022-12-26T04:17:08.754Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-12-26T04:17:09.340Z] ---> 0e62b3dd2297 [2022-12-26T04:17:09.340Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-12-26T04:17:10.752Z] ---> ad17b8d09879 [2022-12-26T04:17:10.752Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-12-26T04:17:11.343Z] ---> 432dd2faba62 [2022-12-26T04:17:11.343Z] Step 18/23 : EXPOSE 59999 [2022-12-26T04:17:11.343Z] ---> Running in c221bbefd326 [2022-12-26T04:17:11.928Z] Removing intermediate container c221bbefd326 [2022-12-26T04:17:11.928Z] ---> f530a4d6dfaa [2022-12-26T04:17:11.928Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-12-26T04:17:11.928Z] ---> Running in cc24f7e02924 [2022-12-26T04:17:12.196Z] Removing intermediate container cc24f7e02924 [2022-12-26T04:17:12.196Z] ---> 56332232a056 [2022-12-26T04:17:12.196Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-26T04:17:12.196Z] ---> Running in 10e4a37c5d01 [2022-12-26T04:17:12.463Z] Removing intermediate container 10e4a37c5d01 [2022-12-26T04:17:12.463Z] ---> 81db0f1f24ca [2022-12-26T04:17:12.463Z] Step 21/23 : LABEL arch=arm64 [2022-12-26T04:17:12.463Z] ---> Running in 25debe237c9c [2022-12-26T04:17:12.732Z] Removing intermediate container 25debe237c9c [2022-12-26T04:17:12.732Z] ---> 0e992a3c93d1 [2022-12-26T04:17:12.732Z] Step 22/23 : LABEL git_sha=0527474e17203f9e61d9e194c6b68b30972d11a0 [2022-12-26T04:17:12.732Z] ---> Running in 2d271aa97d34 [2022-12-26T04:17:12.999Z] Removing intermediate container 2d271aa97d34 [2022-12-26T04:17:12.999Z] ---> 4998a4196012 [2022-12-26T04:17:12.999Z] Step 23/23 : LABEL version=0.0.0 [2022-12-26T04:17:13.270Z] ---> Running in 2c6de7c50846 [2022-12-26T04:17:13.537Z] Removing intermediate container 2c6de7c50846 [2022-12-26T04:17:13.537Z] ---> af891310d393 [2022-12-26T04:17:13.537Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-26T04:17:13.537Z] Successfully built af891310d393 [2022-12-26T04:17:13.537Z] 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 [2022-12-26T04:17:14.526Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-26T04:17:14.526Z] [2022-12-26T04:17:14.526Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T04:17:15.006Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-26T04:17:15.006Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-26T04:17:15.006Z] 8998bd30e6a1: Pulling fs layer [2022-12-26T04:17:15.006Z] 04944245beec: Pulling fs layer [2022-12-26T04:17:15.006Z] 699f458cf7ca: Pulling fs layer [2022-12-26T04:17:15.006Z] 765212b225bb: Pulling fs layer [2022-12-26T04:17:15.006Z] f23df028b6ca: Pulling fs layer [2022-12-26T04:17:15.006Z] d65c8cfc05b1: Pulling fs layer [2022-12-26T04:17:15.006Z] 2437ff75d9bd: Pulling fs layer [2022-12-26T04:17:15.006Z] f23df028b6ca: Waiting [2022-12-26T04:17:15.006Z] d65c8cfc05b1: Waiting [2022-12-26T04:17:15.006Z] 765212b225bb: Waiting [2022-12-26T04:17:15.006Z] 2437ff75d9bd: Waiting [2022-12-26T04:17:15.278Z] 04944245beec: Verifying Checksum [2022-12-26T04:17:15.278Z] 04944245beec: Download complete [2022-12-26T04:17:15.278Z] 765212b225bb: Verifying Checksum [2022-12-26T04:17:15.278Z] 765212b225bb: Download complete [2022-12-26T04:17:15.278Z] f23df028b6ca: Verifying Checksum [2022-12-26T04:17:15.278Z] f23df028b6ca: Download complete [2022-12-26T04:17:15.278Z] d65c8cfc05b1: Verifying Checksum [2022-12-26T04:17:15.278Z] d65c8cfc05b1: Download complete [2022-12-26T04:17:15.566Z] 699f458cf7ca: Verifying Checksum [2022-12-26T04:17:15.566Z] 699f458cf7ca: Download complete [2022-12-26T04:17:15.847Z] 8998bd30e6a1: Verifying Checksum [2022-12-26T04:17:15.847Z] 8998bd30e6a1: Download complete [2022-12-26T04:17:18.542Z] 2437ff75d9bd: Verifying Checksum [2022-12-26T04:17:18.542Z] 2437ff75d9bd: Download complete [2022-12-26T04:17:19.957Z] 8998bd30e6a1: Pull complete [2022-12-26T04:17:20.539Z] 04944245beec: Pull complete [2022-12-26T04:17:21.951Z] 699f458cf7ca: Pull complete [2022-12-26T04:17:21.951Z] 765212b225bb: Pull complete [2022-12-26T04:17:22.535Z] f23df028b6ca: Pull complete [2022-12-26T04:17:22.803Z] d65c8cfc05b1: Pull complete [2022-12-26T04:17:36.392Z] 2437ff75d9bd: Pull complete [2022-12-26T04:17:36.392Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-26T04:17:36.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-26T04:17:36.392Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T04:17:36.715Z] prd-ubuntu20.04-docker-arm64-4c-16g-513 does not seem to be running inside a container [2022-12-26T04:17:36.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-12-26T04:17:39.339Z] $ docker top 72a16be84681003b054ad68c1fa90916bc084614ffaa8e2619c9602e24fb74d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-26T04:17:39.924Z] ---> job-cost.sh [2022-12-26T04:17:40.192Z] lf-activate-venv: SKIPPING [2022-12-26T04:17:40.192Z] INFO: No Stack... [2022-12-26T04:17:40.772Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-26T04:17:41.727Z] INFO: Archiving Costs [Pipeline] sh [2022-12-26T04:17:42.070Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-12-26T04:17:42.070Z] + cut -d, -f6 [Pipeline] lock [2022-12-26T04:17:42.415Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] [2022-12-26T04:17:42.420Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] did not exist. Created. [2022-12-26T04:17:42.420Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-26T04:17:43.143Z] /w/workspace/device-sdk-go/1@tmp/durable-3991b2ed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-26T04:17:43.497Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-26T04:17:43.794Z] Warning: overwriting stash ‘stack-cost’ [2022-12-26T04:17:43.865Z] Stashed 1 file(s) [Pipeline] } [2022-12-26T04:17:43.881Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-26T04:17:43.961Z] $ docker stop --time=1 72a16be84681003b054ad68c1fa90916bc084614ffaa8e2619c9602e24fb74d7 [2022-12-26T04:17:45.457Z] $ docker rm -f --volumes 72a16be84681003b054ad68c1fa90916bc084614ffaa8e2619c9602e24fb74d7 [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 [2022-12-26T04:17:46.448Z] provisioning config files... [2022-12-26T04:17:46.456Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/config18112680954278678583tmp [Pipeline] { [Pipeline] sh [2022-12-26T04:17:46.791Z] + set +x [2022-12-26T04:17:46.791Z] + curl -s https://codecov.io/bash [2022-12-26T04:17:46.791Z] + bash -s -- [2022-12-26T04:17:46.791Z] [2022-12-26T04:17:46.791Z] _____ _ [2022-12-26T04:17:46.791Z] / ____| | | [2022-12-26T04:17:46.791Z] | | ___ __| | ___ ___ _____ __ [2022-12-26T04:17:46.791Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-26T04:17:46.791Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-26T04:17:46.791Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-26T04:17:46.791Z] Bash-1.0.6 [2022-12-26T04:17:46.791Z] [2022-12-26T04:17:46.791Z] [2022-12-26T04:17:46.791Z] ==> git version 2.25.1 found [2022-12-26T04:17:46.791Z] ==> 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 [2022-12-26T04:17:46.791Z] Release-Date: 2020-01-08 [2022-12-26T04:17:46.791Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-12-26T04:17:46.791Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-26T04:17:46.791Z] ==> Jenkins CI detected. [2022-12-26T04:17:46.791Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1267 [2022-12-26T04:17:46.791Z] project root: . [2022-12-26T04:17:46.791Z] --> token set from env [2022-12-26T04:17:46.791Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-26T04:17:46.791Z] ==> Running gcov in . (disable via -X gcov) [2022-12-26T04:17:46.791Z] ==> Python coveragepy not found [2022-12-26T04:17:46.791Z] ==> Searching for coverage reports in: [2022-12-26T04:17:46.791Z] + . [2022-12-26T04:17:46.791Z] -> Found 1 reports [2022-12-26T04:17:46.791Z] ==> Detecting git/mercurial file structure [2022-12-26T04:17:46.791Z] ==> Reading reports [2022-12-26T04:17:46.791Z] + ./coverage.out bytes=101759 [2022-12-26T04:17:46.791Z] ==> Appending adjustments [2022-12-26T04:17:46.791Z] https://docs.codecov.io/docs/fixing-reports [2022-12-26T04:17:47.053Z] + Found adjustments [2022-12-26T04:17:47.053Z] ==> Gzipping contents [2022-12-26T04:17:47.311Z] 16K /tmp/codecov.fvGtoc.gz [2022-12-26T04:17:47.311Z] ==> Uploading reports [2022-12-26T04:17:47.311Z] url: https://codecov.io [2022-12-26T04:17:47.311Z] query: branch=PR-1267&commit=0527474e17203f9e61d9e194c6b68b30972d11a0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1267%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1267&job=&cmd_args= [2022-12-26T04:17:47.311Z] -> Pinging Codecov [2022-12-26T04:17:47.311Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1267&commit=0527474e17203f9e61d9e194c6b68b30972d11a0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1267%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1267&job=&cmd_args= [2022-12-26T04:17:47.570Z] -> Uploading to [2022-12-26T04:17:47.570Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-26/7E55EF52A471D76F132DFD9A03CDDE97/0527474e17203f9e61d9e194c6b68b30972d11a0/023a95df-4dc2-4e11-8852-7fb90893f166.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221226%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221226T041747Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d00a4bda94e3c49d6786032f8a1cceced76885768b5cb15fdf73999cb164dcc [2022-12-26T04:17:47.570Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-26T04:17:47.570Z] Dload Upload Total Spent Left Speed [2022-12-26T04:17:47.829Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14755 0 0 100 14755 0 59495 --:--:-- --:--:-- --:--:-- 59495 [2022-12-26T04:17:47.829Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0527474e17203f9e61d9e194c6b68b30972d11a0 [Pipeline] } [2022-12-26T04:17:47.857Z] 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 [2022-12-26T04:17:49.668Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1267/archives ] [2022-12-26T04:17:49.668Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1267/archives [2022-12-26T04:17:49.668Z] total 16 [2022-12-26T04:17:49.668Z] drwxr-xr-x 3 root root 4096 Dec 26 04:07 . [2022-12-26T04:17:49.668Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 26 04:07 .. [2022-12-26T04:17:49.668Z] drwxr-xr-x 2 root root 4096 Dec 26 04:07 cost [2022-12-26T04:17:49.668Z] -rw-r--r-- 1 root root 86 Dec 26 04:07 cost.csv [2022-12-26T04:17:49.668Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1267/archives [2022-12-26T04:17:49.668Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1267/archives [2022-12-26T04:17:49.668Z] total 16 [2022-12-26T04:17:49.668Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 26 04:07 . [2022-12-26T04:17:49.668Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 26 04:07 .. [2022-12-26T04:17:49.668Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 26 04:07 cost [2022-12-26T04:17:49.668Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 26 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-26T04:17:49.999Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-26T04:17:50.893Z] ---> package-listing.sh [2022-12-26T04:17:50.894Z] ++ facter osfamily [2022-12-26T04:17:50.894Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-26T04:17:51.154Z] + OS_FAMILY=debian [2022-12-26T04:17:51.154Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1267 [2022-12-26T04:17:51.154Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-26T04:17:51.154Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-26T04:17:51.154Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-26T04:17:51.154Z] + PACKAGES=/tmp/packages_start.txt [2022-12-26T04:17:51.154Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1267 ']' [2022-12-26T04:17:51.154Z] + PACKAGES=/tmp/packages_end.txt [2022-12-26T04:17:51.154Z] + case "${OS_FAMILY}" in [2022-12-26T04:17:51.154Z] + dpkg -l [2022-12-26T04:17:51.154Z] + grep '^ii' [2022-12-26T04:17:51.154Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-26T04:17:51.154Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-26T04:17:51.154Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-26T04:17:51.154Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1267 ']' [2022-12-26T04:17:51.154Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1267/archives/ [2022-12-26T04:17:51.154Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1267/archives/ [Pipeline] echo [2022-12-26T04:17:51.191Z] 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-1267/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-26T04:17:51.487Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T04:17:52.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-26T04:17:52.114Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T04:17:52.253Z] prd-ubuntu20.04-docker-8c-8g-511 does not seem to be running inside a container [2022-12-26T04:17:52.294Z] $ 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-1267/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-1267 -v /w/workspace/gexfoundry_device-sdk-go_PR-1267:/w/workspace/gexfoundry_device-sdk-go_PR-1267:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-26T04:17:52.492Z] $ docker top d5e4c0e93e3fe8ddc618c47972aab0c26d3a172aea2d71c0d563ddf6d12a4bf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-26T04:17:52.874Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-26T04:17:53.183Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-26T04:17:53.495Z] + ls /var/log/sa-host [2022-12-26T04:17:53.495Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-26T04:17:53.633Z] provisioning config files... [2022-12-26T04:17:53.642Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/config2527161729281809542tmp [Pipeline] { [Pipeline] echo [2022-12-26T04:17:53.692Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-26T04:17:54.001Z] ---> create-netrc.sh [Pipeline] } [2022-12-26T04:17:54.030Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-26T04:17:54.429Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-26T04:17:54.460Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-26T04:17:54.773Z] ---> sudo-logs.sh [2022-12-26T04:17:54.773Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-26T04:17:54.858Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-26T04:17:55.170Z] ---> job-cost.sh [2022-12-26T04:17:55.170Z] lf-activate-venv: SKIPPING [2022-12-26T04:17:55.170Z] DEBUG: total: 0.2199999988079071 [2022-12-26T04:17:55.170Z] INFO: Retrieving Stack Cost... [2022-12-26T04:17:55.428Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-26T04:17:55.995Z] INFO: Archiving Costs [Pipeline] echo [2022-12-26T04:17:56.034Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-26T04:17:56.350Z] ---> logs-deploy.sh [2022-12-26T04:17:56.350Z] lf-activate-venv: SKIPPING [2022-12-26T04:17:56.350Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1267/1 [2022-12-26T04:17:56.350Z] INFO: archiving workspace using pattern(s): [2022-12-26T04:17:57.287Z] Archives upload complete. [2022-12-26T04:17:57.287Z] INFO: archiving logs to Nexus