Pull request #1137 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jenmwms for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 49643132f6b9e95e3a0d289ddc01900e940e8eba rather than 4aeb8444fb09e0bf394da8c2409c28ce111f0d62 Obtained Jenkinsfile from 49643132f6b9e95e3a0d289ddc01900e940e8eba 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-ssh4476224075223436073.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh5964546261544238212.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-1137/workspace@libs/edgex-global-pipelines # 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-1137/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10059790681595730431.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-1137/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12293039885111660047.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh11535788664555556284.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-1137/workspace@libs/lf-pipelines # 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-1137/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12461621894095332693.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-20989 in /w/workspace/gexfoundry_device-sdk-go_PR-1137 [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-1137 # 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 Merging remotes/origin/main commit 49643132f6b9e95e3a0d289ddc01900e940e8eba into PR head commit 4aeb8444fb09e0bf394da8c2409c28ce111f0d62 Merge succeeded, producing 4aeb8444fb09e0bf394da8c2409c28ce111f0d62 Checking out Revision 4aeb8444fb09e0bf394da8c2409c28ce111f0d62 (PR-1137) > 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/1137/head:refs/remotes/origin/PR-1137 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4aeb8444fb09e0bf394da8c2409c28ce111f0d62 # 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 49643132f6b9e95e3a0d289ddc01900e940e8eba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4aeb8444fb09e0bf394da8c2409c28ce111f0d62 # timeout=10 Commit message: "fix(configuration): add handling for custom config on /config endpoint" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-14T23:31:11.718Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-14T23:31:11.878Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-14T23:31:11.972Z] ========================================================= [2022-04-14T23:31:11.972Z] EdgeX Global Pipelines Version Info [2022-04-14T23:31:11.972Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-14T23:31:12.768Z] ------------------- [2022-04-14T23:31:12.768Z] stable info: [2022-04-14T23:31:12.768Z] ------------------- [2022-04-14T23:31:12.768Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-14T23:31:12.768Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-14T23:31:12.768Z] Message: update stable to v1.0.221 [2022-04-14T23:31:13.340Z] ------------------- [2022-04-14T23:31:13.340Z] experimental info: [2022-04-14T23:31:13.340Z] ------------------- [2022-04-14T23:31:13.340Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-14T23:31:13.340Z] Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d [2022-04-14T23:31:13.340Z] Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-14T23:31:13.667Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-14T23:31:13.703Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-14T23:31:13.740Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-14T23:31:13.776Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-14T23:31:13.815Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-14T23:31:13.856Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-14T23:31:13.891Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-14T23:31:13.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-14T23:31:13.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-14T23:31:14.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-14T23:31:14.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-14T23:31:14.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-14T23:31:14.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-14T23:31:14.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-14T23:31:14.230Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-14T23:31:14.268Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-14T23:31:14.308Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-14T23:31:14.348Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-14T23:31:14.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-14T23:31:14.433Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-14T23:31:14.475Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-14T23:31:14.513Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-14T23:31:14.555Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-14T23:31:14.595Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-14T23:31:14.640Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-14T23:31:14.679Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-14T23:31:14.718Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1137 [Pipeline] echo [2022-04-14T23:31:14.756Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1137 [Pipeline] echo [2022-04-14T23:31:14.801Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1137 [Pipeline] echo [2022-04-14T23:31:14.844Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4aeb8444fb09e0bf394da8c2409c28ce111f0d62 [Pipeline] echo [2022-04-14T23:31:14.888Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4aeb844 [Pipeline] echo [2022-04-14T23:31:14.932Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-14T23:31:15.040Z] provisioning config files... [2022-04-14T23:31:15.058Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp/config7753961996224301746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-14T23:31:15.432Z] ---> docker-login.sh [2022-04-14T23:31:15.432Z] nexus3.edgexfoundry.org:10001 [2022-04-14T23:31:15.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T23:31:15.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T23:31:15.694Z] Configure a credential helper to remove this warning. See [2022-04-14T23:31:15.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T23:31:15.694Z] [2022-04-14T23:31:15.694Z] Login Succeeded [2022-04-14T23:31:15.694Z] nexus3.edgexfoundry.org:10002 [2022-04-14T23:31:15.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T23:31:15.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T23:31:15.956Z] Configure a credential helper to remove this warning. See [2022-04-14T23:31:15.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T23:31:15.956Z] [2022-04-14T23:31:15.956Z] Login Succeeded [2022-04-14T23:31:15.956Z] nexus3.edgexfoundry.org:10003 [2022-04-14T23:31:15.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T23:31:15.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T23:31:15.956Z] Configure a credential helper to remove this warning. See [2022-04-14T23:31:15.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T23:31:15.956Z] [2022-04-14T23:31:15.956Z] Login Succeeded [2022-04-14T23:31:15.956Z] nexus3.edgexfoundry.org:10004 [2022-04-14T23:31:16.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T23:31:16.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T23:31:16.217Z] Configure a credential helper to remove this warning. See [2022-04-14T23:31:16.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T23:31:16.217Z] [2022-04-14T23:31:16.217Z] Login Succeeded [2022-04-14T23:31:16.217Z] docker.io [2022-04-14T23:31:16.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T23:31:16.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T23:31:16.792Z] Configure a credential helper to remove this warning. See [2022-04-14T23:31:16.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T23:31:16.792Z] [2022-04-14T23:31:16.792Z] Login Succeeded [2022-04-14T23:31:16.792Z] ---> docker-login.sh ends [Pipeline] } [2022-04-14T23:31:16.820Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-14T23:31:17.463Z] + git rev-list -1 --merges 4aeb8444fb09e0bf394da8c2409c28ce111f0d62~1..4aeb8444fb09e0bf394da8c2409c28ce111f0d62 [Pipeline] echo [2022-04-14T23:31:17.517Z] -----------> git rev-list -1 --merges 4aeb8444fb09e0bf394da8c2409c28ce111f0d62~1..4aeb8444fb09e0bf394da8c2409c28ce111f0d62 4aeb8444fb09e0bf394da8c2409c28ce111f0d62 [false] [Pipeline] sh [2022-04-14T23:31:17.836Z] + git log --format=format:%s -1 4aeb8444fb09e0bf394da8c2409c28ce111f0d62 [Pipeline] echo [2022-04-14T23:31:17.878Z] ========================================================= [2022-04-14T23:31:17.878Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-14T23:31:17.878Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-14T23:31:18.310Z] + git log --format=format:%s -1 4aeb8444fb09e0bf394da8c2409c28ce111f0d62 [Pipeline] echo [2022-04-14T23:31:18.340Z] [semverPrep] GIT_COMMIT: 4aeb8444fb09e0bf394da8c2409c28ce111f0d62, Commit Message: fix(configuration): add handling for custom config on /config endpoint [Pipeline] echo [2022-04-14T23:31:18.371Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-14T23:31:18.847Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-14T23:31:18.847Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-14T23:31:18.847Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-14T23:31:18.847Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-14T23:31:18.847Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-14T23:31:18.847Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-14T23:31:18.847Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-14T23:31:19.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-14T23:31:19.315Z] [2022-04-14T23:31:19.315Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-14T23:31:19.666Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-14T23:31:19.666Z] latest: Pulling from edgex-devops/git-semver [2022-04-14T23:31:19.666Z] a0d0a0d46f8b: Pulling fs layer [2022-04-14T23:31:19.666Z] 3e5f54012d9b: Pulling fs layer [2022-04-14T23:31:19.666Z] 4c7163046ea9: Pulling fs layer [2022-04-14T23:31:19.666Z] 0c2d73faf560: Pulling fs layer [2022-04-14T23:31:19.666Z] 0c2d73faf560: Waiting [2022-04-14T23:31:19.666Z] 3e5f54012d9b: Verifying Checksum [2022-04-14T23:31:19.666Z] 3e5f54012d9b: Download complete [2022-04-14T23:31:19.666Z] a0d0a0d46f8b: Download complete [2022-04-14T23:31:19.666Z] 4c7163046ea9: Verifying Checksum [2022-04-14T23:31:19.666Z] 4c7163046ea9: Download complete [2022-04-14T23:31:19.666Z] 0c2d73faf560: Verifying Checksum [2022-04-14T23:31:19.666Z] 0c2d73faf560: Download complete [2022-04-14T23:31:19.927Z] a0d0a0d46f8b: Pull complete [2022-04-14T23:31:19.927Z] 3e5f54012d9b: Pull complete [2022-04-14T23:31:20.188Z] 4c7163046ea9: Pull complete [2022-04-14T23:31:20.450Z] 0c2d73faf560: Pull complete [2022-04-14T23:31:20.450Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-14T23:31:20.450Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-14T23:31:20.450Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-14T23:31:20.555Z] prd-ubuntu20.04-docker-8c-8g-20989 does not seem to be running inside a container [2022-04-14T23:31:20.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1137 -v /w/workspace/gexfoundry_device-sdk-go_PR-1137:/w/workspace/gexfoundry_device-sdk-go_PR-1137:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1137@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:10004/edgex-devops/git-semver:latest cat [2022-04-14T23:31:21.345Z] $ docker top 4f9cebbff8b4001974a1492f5269988facd374e42cde5fd9a53364cf11f40096 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-14T23:31:21.543Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-14T23:31:21.543Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-14T23:31:21.689Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-14T23:31:21.699Z] $ docker exec 4f9cebbff8b4001974a1492f5269988facd374e42cde5fd9a53364cf11f40096 ssh-agent [2022-04-14T23:31:21.825Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMfmgFl/agent.13 [2022-04-14T23:31:21.825Z] SSH_AGENT_PID=19 [2022-04-14T23:31:21.834Z] Running ssh-add (command line suppressed) [2022-04-14T23:31:21.974Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp/private_key_4934476927055070547.key (/w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp/private_key_4934476927055070547.key) [2022-04-14T23:31:21.986Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-14T23:31:22.318Z] + git tag --points-at HEAD [Pipeline] } [2022-04-14T23:31:22.351Z] $ docker exec --env ******** --env ******** 4f9cebbff8b4001974a1492f5269988facd374e42cde5fd9a53364cf11f40096 ssh-agent -k [2022-04-14T23:31:22.477Z] unset SSH_AUTH_SOCK; [2022-04-14T23:31:22.478Z] unset SSH_AGENT_PID; [2022-04-14T23:31:22.478Z] echo Agent pid 19 killed; [2022-04-14T23:31:22.484Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-14T23:31:22.565Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-14T23:31:22.565Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-14T23:31:22.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-14T23:31:22.716Z] $ docker exec 4f9cebbff8b4001974a1492f5269988facd374e42cde5fd9a53364cf11f40096 ssh-agent [2022-04-14T23:31:22.832Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkcOPPn/agent.52 [2022-04-14T23:31:22.832Z] SSH_AGENT_PID=58 [2022-04-14T23:31:22.837Z] Running ssh-add (command line suppressed) [2022-04-14T23:31:22.969Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp/private_key_5073681490030416882.key (/w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp/private_key_5073681490030416882.key) [2022-04-14T23:31:22.977Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-14T23:31:23.308Z] + git semver init [2022-04-14T23:31:23.308Z] # -> Open(): unable to determine branch for HEAD [2022-04-14T23:31:23.308Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1137/.git [2022-04-14T23:31:23.308Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1137 [2022-04-14T23:31:23.308Z] # $SEMVER_REMOTE_NAME = origin [2022-04-14T23:31:23.308Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-14T23:31:23.308Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-14T23:31:23.308Z] # $SEMVER_BRANCH = PR-1137 [2022-04-14T23:31:23.308Z] # $SEMVER_TEMP = /tmp/semver-571650387 [2022-04-14T23:31:23.308Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-14T23:31:24.699Z] # '/tmp/semver-571650387' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1137/.semver' [2022-04-14T23:31:24.699Z] # -> Force: false [2022-04-14T23:31:24.699Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1137/.semver [Pipeline] } [2022-04-14T23:31:24.737Z] $ docker exec --env ******** --env ******** 4f9cebbff8b4001974a1492f5269988facd374e42cde5fd9a53364cf11f40096 ssh-agent -k [2022-04-14T23:31:24.854Z] unset SSH_AUTH_SOCK; [2022-04-14T23:31:24.854Z] unset SSH_AGENT_PID; [2022-04-14T23:31:24.854Z] echo Agent pid 58 killed; [2022-04-14T23:31:24.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-14T23:31:25.292Z] + git semver [Pipeline] } [2022-04-14T23:31:25.333Z] $ docker stop --time=1 4f9cebbff8b4001974a1492f5269988facd374e42cde5fd9a53364cf11f40096 [2022-04-14T23:31:26.749Z] $ docker rm -f 4f9cebbff8b4001974a1492f5269988facd374e42cde5fd9a53364cf11f40096 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-14T23:31:27.157Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-14T23:31:27.494Z] Stashed 1 file(s) [Pipeline] echo [2022-04-14T23:31:27.512Z] [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-04-14T23:31:28.097Z] provisioning config files... [2022-04-14T23:31:28.109Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp/config401065010400226037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-14T23:31:28.531Z] ---> docker-login.sh [2022-04-14T23:31:28.531Z] nexus3.edgexfoundry.org:10001 [2022-04-14T23:31:28.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T23:31:28.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T23:31:28.531Z] Configure a credential helper to remove this warning. See [2022-04-14T23:31:28.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T23:31:28.531Z] [2022-04-14T23:31:28.531Z] Login Succeeded [2022-04-14T23:31:28.531Z] nexus3.edgexfoundry.org:10002 [2022-04-14T23:31:28.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T23:31:28.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T23:31:28.792Z] Configure a credential helper to remove this warning. See [2022-04-14T23:31:28.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T23:31:28.792Z] [2022-04-14T23:31:28.792Z] Login Succeeded [2022-04-14T23:31:28.792Z] nexus3.edgexfoundry.org:10003 [2022-04-14T23:31:28.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T23:31:28.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T23:31:28.792Z] Configure a credential helper to remove this warning. See [2022-04-14T23:31:28.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T23:31:28.792Z] [2022-04-14T23:31:28.792Z] Login Succeeded [2022-04-14T23:31:28.792Z] nexus3.edgexfoundry.org:10004 [2022-04-14T23:31:29.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T23:31:29.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T23:31:29.053Z] Configure a credential helper to remove this warning. See [2022-04-14T23:31:29.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T23:31:29.053Z] [2022-04-14T23:31:29.053Z] Login Succeeded [2022-04-14T23:31:29.053Z] docker.io [2022-04-14T23:31:29.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T23:31:29.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T23:31:29.316Z] Configure a credential helper to remove this warning. See [2022-04-14T23:31:29.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T23:31:29.316Z] [2022-04-14T23:31:29.316Z] Login Succeeded [2022-04-14T23:31:29.316Z] ---> docker-login.sh ends [Pipeline] } [2022-04-14T23:31:29.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-14T23:31:29.539Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-14T23:31:29.570Z] ========================================================= [2022-04-14T23:31:29.570Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-14T23:31:29.570Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-14T23:31:29.977Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-14T23:31:29.977Z] Sending build context to Docker daemon 9.638MB [2022-04-14T23:31:29.977Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-14T23:31:29.977Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-14T23:31:29.977Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-14T23:31:29.977Z] 59bf1c3509f3: Pulling fs layer [2022-04-14T23:31:29.977Z] 666ba61612fd: Pulling fs layer [2022-04-14T23:31:29.977Z] 8ed8ca486205: Pulling fs layer [2022-04-14T23:31:29.977Z] 4fe6c5a15a65: Pulling fs layer [2022-04-14T23:31:29.977Z] 22a0e8bec74d: Pulling fs layer [2022-04-14T23:31:29.977Z] 640e595b4fbd: Pulling fs layer [2022-04-14T23:31:29.977Z] 763cafe07f6e: Pulling fs layer [2022-04-14T23:31:29.977Z] 0c0b528cf693: Pulling fs layer [2022-04-14T23:31:29.977Z] 10935f4eaf8b: Pulling fs layer [2022-04-14T23:31:29.977Z] 4fe6c5a15a65: Waiting [2022-04-14T23:31:29.977Z] 640e595b4fbd: Waiting [2022-04-14T23:31:29.977Z] 763cafe07f6e: Waiting [2022-04-14T23:31:29.977Z] 0c0b528cf693: Waiting [2022-04-14T23:31:29.977Z] 10935f4eaf8b: Waiting [2022-04-14T23:31:29.977Z] 22a0e8bec74d: Waiting [2022-04-14T23:31:30.239Z] 8ed8ca486205: Verifying Checksum [2022-04-14T23:31:30.239Z] 8ed8ca486205: Download complete [2022-04-14T23:31:30.239Z] 666ba61612fd: Verifying Checksum [2022-04-14T23:31:30.239Z] 666ba61612fd: Download complete [2022-04-14T23:31:30.239Z] 22a0e8bec74d: Verifying Checksum [2022-04-14T23:31:30.239Z] 22a0e8bec74d: Download complete [2022-04-14T23:31:30.239Z] 640e595b4fbd: Verifying Checksum [2022-04-14T23:31:30.239Z] 640e595b4fbd: Download complete [2022-04-14T23:31:30.239Z] 59bf1c3509f3: Verifying Checksum [2022-04-14T23:31:30.239Z] 59bf1c3509f3: Download complete [2022-04-14T23:31:30.239Z] 763cafe07f6e: Download complete [2022-04-14T23:31:30.239Z] 0c0b528cf693: Verifying Checksum [2022-04-14T23:31:30.239Z] 0c0b528cf693: Download complete [2022-04-14T23:31:30.239Z] 59bf1c3509f3: Pull complete [2022-04-14T23:31:30.500Z] 666ba61612fd: Pull complete [2022-04-14T23:31:30.500Z] 8ed8ca486205: Pull complete [2022-04-14T23:31:30.761Z] 10935f4eaf8b: Verifying Checksum [2022-04-14T23:31:30.761Z] 10935f4eaf8b: Download complete [2022-04-14T23:31:31.020Z] 4fe6c5a15a65: Verifying Checksum [2022-04-14T23:31:31.020Z] 4fe6c5a15a65: Download complete [2022-04-14T23:31:35.221Z] 4fe6c5a15a65: Pull complete [2022-04-14T23:31:35.221Z] 22a0e8bec74d: Pull complete [2022-04-14T23:31:35.221Z] 640e595b4fbd: Pull complete [2022-04-14T23:31:35.221Z] 763cafe07f6e: Pull complete [2022-04-14T23:31:35.481Z] 0c0b528cf693: Pull complete [2022-04-14T23:31:38.041Z] 10935f4eaf8b: Pull complete [2022-04-14T23:31:38.041Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-14T23:31:38.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-14T23:31:38.041Z] ---> 99d49a6021b9 [2022-04-14T23:31:38.041Z] Step 3/11 : ARG MAKE=make build [2022-04-14T23:31:38.983Z] ---> Running in 6a16cafddcda [2022-04-14T23:31:38.983Z] Removing intermediate container 6a16cafddcda [2022-04-14T23:31:38.983Z] ---> 44c831b7ed67 [2022-04-14T23:31:38.983Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-14T23:31:38.983Z] ---> Running in f22c52db366f [2022-04-14T23:31:39.248Z] Removing intermediate container f22c52db366f [2022-04-14T23:31:39.248Z] ---> 246930c7a381 [2022-04-14T23:31:39.248Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-14T23:31:39.248Z] ---> Running in f7293a055e60 [2022-04-14T23:31:39.248Z] Removing intermediate container f7293a055e60 [2022-04-14T23:31:39.248Z] ---> b2296f59a4c4 [2022-04-14T23:31:39.248Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-14T23:31:39.509Z] ---> Running in f88d3c98145f [2022-04-14T23:31:40.081Z] Removing intermediate container f88d3c98145f [2022-04-14T23:31:40.081Z] ---> dade7dcab36c [2022-04-14T23:31:40.081Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-14T23:31:40.081Z] ---> Running in 5257f1c357c9 [2022-04-14T23:31:40.341Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-14T23:31:41.282Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-14T23:31:41.543Z] OK: 221 MiB in 52 packages [2022-04-14T23:31:42.114Z] Removing intermediate container 5257f1c357c9 [2022-04-14T23:31:42.114Z] ---> af76b2ca82f5 [2022-04-14T23:31:42.114Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-14T23:31:42.114Z] ---> e931da7e8b5d [2022-04-14T23:31:42.114Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-14T23:31:42.114Z] ---> Running in 54e8b499ad42 [2022-04-14T23:31:42.923Z] Still waiting to schedule task [2022-04-14T23:31:42.924Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-14T23:32:04.094Z] Removing intermediate container 54e8b499ad42 [2022-04-14T23:32:04.094Z] ---> 07419619f7fd [2022-04-14T23:32:04.094Z] Step 10/11 : COPY . . [2022-04-14T23:32:04.094Z] ---> d7899936ac5c [2022-04-14T23:32:04.094Z] Step 11/11 : RUN ${MAKE} [2022-04-14T23:32:04.094Z] ---> Running in 5f56c8aa6cea [2022-04-14T23:32:04.094Z] noop [2022-04-14T23:32:04.094Z] Removing intermediate container 5f56c8aa6cea [2022-04-14T23:32:04.094Z] ---> c4e315b60cdf [2022-04-14T23:32:04.094Z] Successfully built c4e315b60cdf [2022-04-14T23:32:04.094Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-14T23:32:04.425Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-14T23:32:04.425Z] . [Pipeline] withDockerContainer [2022-04-14T23:32:04.519Z] prd-ubuntu20.04-docker-8c-8g-20989 does not seem to be running inside a container [2022-04-14T23:32:04.567Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1137 -v /w/workspace/gexfoundry_device-sdk-go_PR-1137:/w/workspace/gexfoundry_device-sdk-go_PR-1137:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-14T23:32:04.962Z] $ docker top 0aa4371de3be5f25d143210caf86f81cd20015b6e856299e2fb822f0e5b9bce7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-14T23:32:05.375Z] + go version [2022-04-14T23:32:05.375Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-14T23:32:05.412Z] $ docker stop --time=1 0aa4371de3be5f25d143210caf86f81cd20015b6e856299e2fb822f0e5b9bce7 [2022-04-14T23:32:06.754Z] $ docker rm -f 0aa4371de3be5f25d143210caf86f81cd20015b6e856299e2fb822f0e5b9bce7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-14T23:32:07.407Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-14T23:32:07.407Z] . [Pipeline] withDockerContainer [2022-04-14T23:32:07.503Z] prd-ubuntu20.04-docker-8c-8g-20989 does not seem to be running inside a container [2022-04-14T23:32:07.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1137 -v /w/workspace/gexfoundry_device-sdk-go_PR-1137:/w/workspace/gexfoundry_device-sdk-go_PR-1137:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-14T23:32:07.944Z] $ docker top 031fcb1fe86715d7a23042b901c89fc6d7ce72131314b2a46edee8b23c853da8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-14T23:32:08.436Z] + make test [2022-04-14T23:32:08.436Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-14T23:32:15.017Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-14T23:32:27.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-14T23:32:27.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-14T23:32:27.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-14T23:32:27.233Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.083s coverage: 23.3% of statements [2022-04-14T23:32:27.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-14T23:32:27.233Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.063s coverage: 27.6% of statements [2022-04-14T23:32:27.233Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.088s coverage: 78.9% of statements [2022-04-14T23:32:27.233Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.058s coverage: 10.8% of statements [2022-04-14T23:32:27.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-14T23:32:27.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-14T23:32:27.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-14T23:32:27.233Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 34.7% of statements [2022-04-14T23:32:27.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-14T23:32:27.233Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.065s coverage: 86.1% of statements [2022-04-14T23:32:27.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-14T23:32:27.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-14T23:32:27.233Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 65.1% of statements [2022-04-14T23:32:27.233Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.806s coverage: 89.2% of statements [2022-04-14T23:32:27.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-14T23:32:27.233Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2022-04-14T23:32:27.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-14T23:32:45.330Z] GO111MODULE=on go vet ./... [2022-04-14T23:32:47.257Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-14T23:32:47.257Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-14T23:32:47.521Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-14T23:32:48.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-14T23:32:48.158Z] $ docker stop --time=1 031fcb1fe86715d7a23042b901c89fc6d7ce72131314b2a46edee8b23c853da8 [2022-04-14T23:32:49.967Z] $ docker rm -f 031fcb1fe86715d7a23042b901c89fc6d7ce72131314b2a46edee8b23c853da8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-14T23:32:50.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-14T23:32:50.589Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-14T23:32:51.700Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-14T23:32:52.009Z] + ls -al . [2022-04-14T23:32:52.009Z] total 296 [2022-04-14T23:32:52.009Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 14 23:32 . [2022-04-14T23:32:52.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 23:31 .. [2022-04-14T23:32:52.010Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 23:31 .dockerignore [2022-04-14T23:32:52.010Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 23:31 .git [2022-04-14T23:32:52.010Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 23:31 .github [2022-04-14T23:32:52.010Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 14 23:31 .gitignore [2022-04-14T23:32:52.010Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 14 23:31 .golangci.yml [2022-04-14T23:32:52.010Z] drwx------ 3 jenkins jenkins 4096 Apr 14 23:31 .semver [2022-04-14T23:32:52.010Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 14 23:31 CHANGELOG.md [2022-04-14T23:32:52.010Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 14 23:31 GOVERNANCE.md [2022-04-14T23:32:52.010Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 14 23:31 Jenkinsfile [2022-04-14T23:32:52.010Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 23:31 LICENSE [2022-04-14T23:32:52.010Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 14 23:31 Makefile [2022-04-14T23:32:52.010Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 14 23:31 OWNERS.md [2022-04-14T23:32:52.010Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 14 23:31 README.md [2022-04-14T23:32:52.010Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 23:31 VERSION [2022-04-14T23:32:52.010Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 23:31 bin [2022-04-14T23:32:52.010Z] -rw-r--r-- 1 jenkins jenkins 129788 Apr 14 23:32 coverage.out [2022-04-14T23:32:52.010Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 23:31 example [2022-04-14T23:32:52.010Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 14 23:31 go.mod [2022-04-14T23:32:52.010Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 14 23:31 go.sum [2022-04-14T23:32:52.010Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 14 23:31 internal [2022-04-14T23:32:52.010Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 23:31 openapi [2022-04-14T23:32:52.010Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 23:31 pkg [2022-04-14T23:32:52.010Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 23:31 snap [2022-04-14T23:32:52.010Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 23:31 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-14T23:32:52.335Z] + 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=4aeb8444fb09e0bf394da8c2409c28ce111f0d62 --label arch=amd64 --label version=0.0.0 . [2022-04-14T23:32:52.335Z] Sending build context to Docker daemon 9.768MB [2022-04-14T23:32:52.335Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-14T23:32:52.335Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-14T23:32:52.335Z] ---> c4e315b60cdf [2022-04-14T23:32:52.335Z] Step 3/25 : ARG MAKE=make build [2022-04-14T23:32:52.335Z] ---> Running in 5cbe1a7e33a4 [2022-04-14T23:32:52.595Z] Removing intermediate container 5cbe1a7e33a4 [2022-04-14T23:32:52.595Z] ---> f41234b2d05a [2022-04-14T23:32:52.595Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-14T23:32:52.595Z] ---> Running in d77f52cdc3e6 [2022-04-14T23:32:52.595Z] Removing intermediate container d77f52cdc3e6 [2022-04-14T23:32:52.595Z] ---> b4e372d9904e [2022-04-14T23:32:52.595Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-14T23:32:52.595Z] ---> Running in 85b3081334c5 [2022-04-14T23:32:52.854Z] Removing intermediate container 85b3081334c5 [2022-04-14T23:32:52.854Z] ---> 08c810e96d42 [2022-04-14T23:32:52.854Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-14T23:32:52.854Z] ---> Running in 927fabf9ff5f [2022-04-14T23:32:53.423Z] Removing intermediate container 927fabf9ff5f [2022-04-14T23:32:53.423Z] ---> affd8f63eae6 [2022-04-14T23:32:53.423Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-14T23:32:53.423Z] ---> Running in 49168349be2c [2022-04-14T23:32:53.683Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-14T23:32:54.621Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-14T23:32:54.880Z] OK: 221 MiB in 52 packages [2022-04-14T23:32:55.139Z] Removing intermediate container 49168349be2c [2022-04-14T23:32:55.139Z] ---> 68b2435a2f7c [2022-04-14T23:32:55.139Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-14T23:32:55.398Z] ---> b9c76e127469 [2022-04-14T23:32:55.398Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-14T23:32:55.398Z] ---> Running in 0b21853f8468 [2022-04-14T23:32:55.967Z] Removing intermediate container 0b21853f8468 [2022-04-14T23:32:55.967Z] ---> d713fb5e36bd [2022-04-14T23:32:55.967Z] Step 10/25 : COPY . . [2022-04-14T23:32:56.536Z] ---> eff2b8514259 [2022-04-14T23:32:56.536Z] Step 11/25 : RUN ${MAKE} [2022-04-14T23:32:56.536Z] ---> Running in cfdba1d07043 [2022-04-14T23:32:56.796Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-14T23:33:14.900Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-14T23:33:15.842Z] Removing intermediate container cfdba1d07043 [2022-04-14T23:33:15.842Z] ---> 4ea811311608 [2022-04-14T23:33:15.842Z] Step 12/25 : FROM alpine:3.14 [2022-04-14T23:33:16.102Z] 3.14: Pulling from library/alpine [2022-04-14T23:33:16.363Z] 8663204ce13b: Pulling fs layer [2022-04-14T23:33:16.624Z] 8663204ce13b: Download complete [2022-04-14T23:33:16.624Z] 8663204ce13b: Pull complete [2022-04-14T23:33:16.624Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-14T23:33:16.624Z] Status: Downloaded newer image for alpine:3.14 [2022-04-14T23:33:16.624Z] ---> e04c818066af [2022-04-14T23:33:16.624Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-14T23:33:16.624Z] ---> Running in af5f4fd4f1a9 [2022-04-14T23:33:16.884Z] Removing intermediate container af5f4fd4f1a9 [2022-04-14T23:33:16.884Z] ---> eac96166825e [2022-04-14T23:33:16.884Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-14T23:33:16.884Z] ---> Running in fe9ed523b5b2 [2022-04-14T23:33:17.454Z] Removing intermediate container fe9ed523b5b2 [2022-04-14T23:33:17.454Z] ---> b5a1d0c9f703 [2022-04-14T23:33:17.454Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-14T23:33:17.454Z] ---> Running in b1e7cf827c42 [2022-04-14T23:33:17.713Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-14T23:33:18.652Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-14T23:33:18.911Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-14T23:33:18.911Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-14T23:33:18.911Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-14T23:33:19.171Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-14T23:33:19.171Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-14T23:33:19.433Z] Executing busybox-1.33.1-r7.trigger [2022-04-14T23:33:19.433Z] OK: 8 MiB in 19 packages [2022-04-14T23:33:19.460Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20990 in /w/workspace/gexfoundry_device-sdk-go_PR-1137 [Pipeline] { [Pipeline] ws [2022-04-14T23:33:19.509Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-04-14T23:33:19.693Z] Removing intermediate container b1e7cf827c42 [2022-04-14T23:33:19.694Z] ---> 28eb7a624ee7 [2022-04-14T23:33:19.694Z] Step 16/25 : WORKDIR / [2022-04-14T23:33:19.694Z] ---> Running in 84f15e7be5cb [2022-04-14T23:33:19.694Z] Removing intermediate container 84f15e7be5cb [2022-04-14T23:33:19.694Z] ---> 6e3603fe6dc9 [2022-04-14T23:33:19.694Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-14T23:33:19.754Z] The recommended git tool is: git [2022-04-14T23:33:19.955Z] ---> 0450dcc51cbe [2022-04-14T23:33:19.955Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-14T23:33:20.524Z] ---> 468e3da83d84 [2022-04-14T23:33:20.524Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-14T23:33:20.524Z] ---> 5117d3bf0830 [2022-04-14T23:33:20.524Z] Step 20/25 : EXPOSE 59999 [2022-04-14T23:33:20.783Z] ---> Running in 6a12c6dda3b9 [2022-04-14T23:33:20.783Z] Removing intermediate container 6a12c6dda3b9 [2022-04-14T23:33:20.783Z] ---> c33aa51accd2 [2022-04-14T23:33:20.783Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-14T23:33:20.783Z] ---> Running in 7ef057bdfd74 [2022-04-14T23:33:20.783Z] Removing intermediate container 7ef057bdfd74 [2022-04-14T23:33:20.783Z] ---> b1befb41264a [2022-04-14T23:33:20.783Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-14T23:33:20.783Z] ---> Running in c9611ae2f681 [2022-04-14T23:33:21.041Z] Removing intermediate container c9611ae2f681 [2022-04-14T23:33:21.041Z] ---> 938589bc4f08 [2022-04-14T23:33:21.041Z] Step 23/25 : LABEL arch=amd64 [2022-04-14T23:33:21.041Z] ---> Running in 9449e2c97d57 [2022-04-14T23:33:21.041Z] Removing intermediate container 9449e2c97d57 [2022-04-14T23:33:21.041Z] ---> 94ff3680b884 [2022-04-14T23:33:21.041Z] Step 24/25 : LABEL git_sha=4aeb8444fb09e0bf394da8c2409c28ce111f0d62 [2022-04-14T23:33:21.041Z] ---> Running in 09ee65db7605 [2022-04-14T23:33:21.303Z] Removing intermediate container 09ee65db7605 [2022-04-14T23:33:21.303Z] ---> 5d3985764720 [2022-04-14T23:33:21.303Z] Step 25/25 : LABEL version=0.0.0 [2022-04-14T23:33:21.303Z] ---> Running in 7b14b81a7c25 [2022-04-14T23:33:21.303Z] Removing intermediate container 7b14b81a7c25 [2022-04-14T23:33:21.303Z] ---> 1d46d44cf958 [2022-04-14T23:33:21.303Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-14T23:33:21.303Z] Successfully built 1d46d44cf958 [2022-04-14T23:33:21.303Z] Successfully tagged device-sdk-simple:latest [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] sh [2022-04-14T23:33:21.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-14T23:33:21.991Z] [2022-04-14T23:33:21.991Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-14T23:33:22.328Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-14T23:33:22.328Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-14T23:33:22.328Z] 5eb5b503b376: Pulling fs layer [2022-04-14T23:33:22.328Z] 5c69ac0246d0: Pulling fs layer [2022-04-14T23:33:22.328Z] ec43610c2a17: Pulling fs layer [2022-04-14T23:33:22.328Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-14T23:33:22.328Z] 33b1e0a273af: Pulling fs layer [2022-04-14T23:33:22.328Z] 5d3b04190fa2: Pulling fs layer [2022-04-14T23:33:22.328Z] 2f39f015ded8: Pulling fs layer [2022-04-14T23:33:22.328Z] 33b1e0a273af: Waiting [2022-04-14T23:33:22.328Z] 5d3b04190fa2: Waiting [2022-04-14T23:33:22.328Z] 2f39f015ded8: Waiting [2022-04-14T23:33:22.328Z] 3a2ae6a8a46f: Waiting [2022-04-14T23:33:22.328Z] 5c69ac0246d0: Verifying Checksum [2022-04-14T23:33:22.328Z] 5c69ac0246d0: Download complete [2022-04-14T23:33:22.328Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-14T23:33:22.328Z] 3a2ae6a8a46f: Download complete [2022-04-14T23:33:22.328Z] 33b1e0a273af: Verifying Checksum [2022-04-14T23:33:22.328Z] 33b1e0a273af: Download complete [2022-04-14T23:33:22.328Z] 5d3b04190fa2: Download complete [2022-04-14T23:33:22.328Z] ec43610c2a17: Verifying Checksum [2022-04-14T23:33:22.328Z] ec43610c2a17: Download complete [2022-04-14T23:33:22.588Z] 5eb5b503b376: Verifying Checksum [2022-04-14T23:33:22.588Z] 5eb5b503b376: Download complete [2022-04-14T23:33:23.155Z] 2f39f015ded8: Download complete [2022-04-14T23:33:23.723Z] 5eb5b503b376: Pull complete [2022-04-14T23:33:23.983Z] 5c69ac0246d0: Pull complete [2022-04-14T23:33:24.551Z] ec43610c2a17: Pull complete [2022-04-14T23:33:24.551Z] 3a2ae6a8a46f: Pull complete [2022-04-14T23:33:24.636Z] using credential edgex-jenkins-ssh [2022-04-14T23:33:24.652Z] Cloning the remote Git repository [2022-04-14T23:33:24.812Z] 33b1e0a273af: Pull complete [2022-04-14T23:33:24.812Z] 5d3b04190fa2: Pull complete [2022-04-14T23:33:24.809Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-14T23:33:24.893Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-04-14T23:33:25.000Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-14T23:33:25.001Z] > git --version # timeout=10 [2022-04-14T23:33:25.020Z] > git --version # 'git version 2.25.1' [2022-04-14T23:33:25.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-14T23:33:25.105Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-14T23:33:26.751Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-14T23:33:26.767Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-14T23:33:26.801Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-14T23:33:26.836Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-14T23:33:26.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-14T23:33:26.849Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1137/head:refs/remotes/origin/PR-1137 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-14T23:33:27.381Z] Merging remotes/origin/main commit 49643132f6b9e95e3a0d289ddc01900e940e8eba into PR head commit 4aeb8444fb09e0bf394da8c2409c28ce111f0d62 [2022-04-14T23:33:27.642Z] Merge succeeded, producing 4aeb8444fb09e0bf394da8c2409c28ce111f0d62 [2022-04-14T23:33:27.643Z] Checking out Revision 4aeb8444fb09e0bf394da8c2409c28ce111f0d62 (PR-1137) [2022-04-14T23:33:27.518Z] > git config core.sparsecheckout # timeout=10 [2022-04-14T23:33:27.549Z] > git checkout -f 4aeb8444fb09e0bf394da8c2409c28ce111f0d62 # timeout=10 [2022-04-14T23:33:27.658Z] > git remote # timeout=10 [2022-04-14T23:33:27.677Z] > git config --get remote.origin.url # timeout=10 [2022-04-14T23:33:27.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-14T23:33:27.709Z] > git merge 49643132f6b9e95e3a0d289ddc01900e940e8eba # timeout=10 [2022-04-14T23:33:27.740Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-14T23:33:27.769Z] > git config core.sparsecheckout # timeout=10 [2022-04-14T23:33:27.790Z] > git checkout -f 4aeb8444fb09e0bf394da8c2409c28ce111f0d62 # timeout=10 [2022-04-14T23:33:29.008Z] 2f39f015ded8: Pull complete [2022-04-14T23:33:29.008Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-14T23:33:29.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-14T23:33:29.008Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-14T23:33:29.097Z] prd-ubuntu20.04-docker-8c-8g-20989 does not seem to be running inside a container [2022-04-14T23:33:29.138Z] $ 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-1137 -v /w/workspace/gexfoundry_device-sdk-go_PR-1137:/w/workspace/gexfoundry_device-sdk-go_PR-1137:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-14T23:33:30.473Z] $ docker top 0ac0f2615310c2f0ce90119f9a6685db20b06315fc84991d5831bb59f122f3b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-14T23:33:30.957Z] ---> job-cost.sh [2022-04-14T23:33:30.957Z] lf-activate-venv: SKIPPING [2022-04-14T23:33:30.957Z] INFO: No Stack... [2022-04-14T23:33:31.528Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-14T23:33:31.774Z] Commit message: "fix(configuration): add handling for custom config on /config endpoint" [2022-04-14T23:33:31.964Z] > git --version # timeout=10 [2022-04-14T23:33:31.976Z] > git --version # 'git version 2.25.1' [2022-04-14T23:33:31.990Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-14T23:33:32.100Z] INFO: Archiving Costs [Pipeline] sh [2022-04-14T23:33:32.214Z] [2022-04-14T23:33:32.214Z] GitHub has been notified of this commit’s build result [2022-04-14T23:33:32.214Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2022-04-14T23:33:32.417Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1137/archives/cost.csv [2022-04-14T23:33:32.417Z] + cut -d, -f6 [Pipeline] lock [2022-04-14T23:33:32.465Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1137-1-stack-cost] [2022-04-14T23:33:32.470Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1137-1-stack-cost] did not exist. Created. [2022-04-14T23:33:32.470Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1137-1-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2022-04-14T23:33:32.982Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-14T23:33:32.982Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-14T23:33:32.982Z] Dload Upload Total Spent Left Speed [2022-04-14T23:33:33.007Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-14T23:33:33.059Z] Stashed 1 file(s) [Pipeline] } [2022-04-14T23:33:33.096Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1137-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-14T23:33:33.186Z] $ docker stop --time=1 0ac0f2615310c2f0ce90119f9a6685db20b06315fc84991d5831bb59f122f3b4 [2022-04-14T23:33:33.257Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 39741 0 --:--:-- --:--:-- --:--:-- 39608 [2022-04-14T23:33:34.347Z] $ docker rm -f 0ac0f2615310c2f0ce90119f9a6685db20b06315fc84991d5831bb59f122f3b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-14T23:33:34.815Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-14T23:33:35.205Z] + sudo tee /etc/docker/daemon.new [2022-04-14T23:33:35.205Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-14T23:33:35.205Z] { [2022-04-14T23:33:35.205Z] "registry-mirrors": [ [2022-04-14T23:33:35.205Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-14T23:33:35.205Z] ], [2022-04-14T23:33:35.205Z] "bip": "10.250.0.254/24", [2022-04-14T23:33:35.205Z] "hosts": [ [2022-04-14T23:33:35.205Z] "tcp://0.0.0.0:5555", [2022-04-14T23:33:35.205Z] "unix:///var/run/docker.sock" [2022-04-14T23:33:35.205Z] ], [2022-04-14T23:33:35.205Z] "mtu": 1458, [2022-04-14T23:33:35.205Z] "selinux-enabled": true, [2022-04-14T23:33:35.205Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-14T23:33:35.205Z] } [Pipeline] sh [2022-04-14T23:33:35.564Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-14T23:33:35.938Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-14T23:33:54.403Z] provisioning config files... [2022-04-14T23:33:54.426Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4712671222325270088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-14T23:33:54.991Z] ---> docker-login.sh [2022-04-14T23:33:54.991Z] nexus3.edgexfoundry.org:10001 [2022-04-14T23:33:55.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T23:33:55.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T23:33:55.863Z] Configure a credential helper to remove this warning. See [2022-04-14T23:33:55.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T23:33:55.863Z] [2022-04-14T23:33:55.863Z] Login Succeeded [2022-04-14T23:33:55.863Z] nexus3.edgexfoundry.org:10002 [2022-04-14T23:33:56.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T23:33:56.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T23:33:56.138Z] Configure a credential helper to remove this warning. See [2022-04-14T23:33:56.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T23:33:56.138Z] [2022-04-14T23:33:56.138Z] Login Succeeded [2022-04-14T23:33:56.138Z] nexus3.edgexfoundry.org:10003 [2022-04-14T23:33:56.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T23:33:56.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T23:33:56.739Z] Configure a credential helper to remove this warning. See [2022-04-14T23:33:56.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T23:33:56.739Z] [2022-04-14T23:33:56.739Z] Login Succeeded [2022-04-14T23:33:56.739Z] nexus3.edgexfoundry.org:10004 [2022-04-14T23:33:57.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T23:33:57.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T23:33:57.290Z] Configure a credential helper to remove this warning. See [2022-04-14T23:33:57.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T23:33:57.290Z] [2022-04-14T23:33:57.290Z] Login Succeeded [2022-04-14T23:33:57.290Z] docker.io [2022-04-14T23:33:57.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T23:33:57.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T23:33:57.837Z] Configure a credential helper to remove this warning. See [2022-04-14T23:33:57.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T23:33:57.837Z] [2022-04-14T23:33:57.837Z] Login Succeeded [2022-04-14T23:33:57.837Z] ---> docker-login.sh ends [Pipeline] } [2022-04-14T23:33:57.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-14T23:33:58.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-14T23:33:58.262Z] ========================================================= [2022-04-14T23:33:58.262Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-14T23:33:58.262Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-14T23:33:58.703Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-14T23:33:59.309Z] Sending build context to Docker daemon 5.224MB [2022-04-14T23:33:59.310Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-14T23:33:59.310Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-14T23:33:59.310Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-14T23:33:59.310Z] 9b3977197b4f: Pulling fs layer [2022-04-14T23:33:59.310Z] 1a89e8eeedd5: Pulling fs layer [2022-04-14T23:33:59.310Z] 94645a83ff95: Pulling fs layer [2022-04-14T23:33:59.310Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-14T23:33:59.310Z] 0c92f367c5e7: Pulling fs layer [2022-04-14T23:33:59.310Z] f7c0051592d6: Pulling fs layer [2022-04-14T23:33:59.310Z] a227ed2f7395: Pulling fs layer [2022-04-14T23:33:59.310Z] 7b1c46037f91: Pulling fs layer [2022-04-14T23:33:59.310Z] 3f3a8bcf1eab: Waiting [2022-04-14T23:33:59.310Z] 0c92f367c5e7: Waiting [2022-04-14T23:33:59.310Z] f7c0051592d6: Waiting [2022-04-14T23:33:59.310Z] a227ed2f7395: Waiting [2022-04-14T23:33:59.310Z] 7b1c46037f91: Waiting [2022-04-14T23:33:59.310Z] 94645a83ff95: Verifying Checksum [2022-04-14T23:33:59.310Z] 94645a83ff95: Download complete [2022-04-14T23:33:59.310Z] 1a89e8eeedd5: Verifying Checksum [2022-04-14T23:33:59.310Z] 1a89e8eeedd5: Download complete [2022-04-14T23:33:59.310Z] 0c92f367c5e7: Verifying Checksum [2022-04-14T23:33:59.310Z] 0c92f367c5e7: Download complete [2022-04-14T23:33:59.310Z] f7c0051592d6: Verifying Checksum [2022-04-14T23:33:59.310Z] f7c0051592d6: Download complete [2022-04-14T23:33:59.310Z] 9b3977197b4f: Verifying Checksum [2022-04-14T23:33:59.310Z] 9b3977197b4f: Download complete [2022-04-14T23:33:59.588Z] a227ed2f7395: Verifying Checksum [2022-04-14T23:33:59.588Z] a227ed2f7395: Download complete [2022-04-14T23:34:00.192Z] 9b3977197b4f: Pull complete [2022-04-14T23:34:00.793Z] 1a89e8eeedd5: Pull complete [2022-04-14T23:34:01.069Z] 94645a83ff95: Pull complete [2022-04-14T23:34:01.345Z] 7b1c46037f91: Download complete [2022-04-14T23:34:01.946Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-14T23:34:01.946Z] 3f3a8bcf1eab: Download complete [2022-04-14T23:34:14.354Z] 3f3a8bcf1eab: Pull complete [2022-04-14T23:34:14.354Z] 0c92f367c5e7: Pull complete [2022-04-14T23:34:14.354Z] f7c0051592d6: Pull complete [2022-04-14T23:34:14.354Z] a227ed2f7395: Pull complete [2022-04-14T23:34:21.161Z] 7b1c46037f91: Pull complete [2022-04-14T23:34:21.161Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-14T23:34:21.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-14T23:34:21.161Z] ---> f79e39bc4007 [2022-04-14T23:34:21.161Z] Step 3/11 : ARG MAKE=make build [2022-04-14T23:34:21.438Z] ---> Running in 27386c6e8704 [2022-04-14T23:34:21.719Z] Removing intermediate container 27386c6e8704 [2022-04-14T23:34:21.719Z] ---> a73e1d7e9498 [2022-04-14T23:34:21.719Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-14T23:34:21.719Z] ---> Running in 710aea0a71bc [2022-04-14T23:34:22.321Z] Removing intermediate container 710aea0a71bc [2022-04-14T23:34:22.321Z] ---> 413882c784c9 [2022-04-14T23:34:22.321Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-14T23:34:22.321Z] ---> Running in 25f5c1d0d008 [2022-04-14T23:34:22.600Z] Removing intermediate container 25f5c1d0d008 [2022-04-14T23:34:22.600Z] ---> 96076a523749 [2022-04-14T23:34:22.600Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-14T23:34:22.600Z] ---> Running in 5825380f154c [2022-04-14T23:34:24.607Z] Removing intermediate container 5825380f154c [2022-04-14T23:34:24.607Z] ---> ece5a0673bf4 [2022-04-14T23:34:24.607Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-14T23:34:24.607Z] ---> Running in bb809d78b9be [2022-04-14T23:34:25.597Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-14T23:34:26.581Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-14T23:34:27.180Z] OK: 220 MiB in 52 packages [2022-04-14T23:34:28.184Z] Removing intermediate container bb809d78b9be [2022-04-14T23:34:28.184Z] ---> 6b2cadada9b8 [2022-04-14T23:34:28.184Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-14T23:34:28.797Z] ---> 4a325a822d01 [2022-04-14T23:34:28.797Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-14T23:34:28.797Z] ---> Running in 099388a5aa53 [2022-04-14T23:35:15.805Z] Removing intermediate container 099388a5aa53 [2022-04-14T23:35:15.805Z] ---> 864168582972 [2022-04-14T23:35:15.805Z] Step 10/11 : COPY . . [2022-04-14T23:35:15.805Z] ---> a66fa0ffd107 [2022-04-14T23:35:15.805Z] Step 11/11 : RUN ${MAKE} [2022-04-14T23:35:15.805Z] ---> Running in f68012023bad [2022-04-14T23:35:15.805Z] noop [2022-04-14T23:35:15.805Z] Removing intermediate container f68012023bad [2022-04-14T23:35:15.805Z] ---> 5756c6b663d6 [2022-04-14T23:35:15.805Z] Successfully built 5756c6b663d6 [2022-04-14T23:35:15.805Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-14T23:35:16.176Z] + docker inspect -f . ci-base-image-arm64 [2022-04-14T23:35:16.176Z] . [Pipeline] withDockerContainer [2022-04-14T23:35:16.439Z] prd-ubuntu20.04-docker-arm64-4c-16g-20990 does not seem to be running inside a container [2022-04-14T23:35:16.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-14T23:35:17.785Z] $ docker top a9b598cbfdf1358adbfa92a622cff4b6e39a369e24eee06363851bc7181059a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-14T23:35:18.755Z] + go version [2022-04-14T23:35:18.756Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-14T23:35:18.774Z] $ docker stop --time=1 a9b598cbfdf1358adbfa92a622cff4b6e39a369e24eee06363851bc7181059a0 [2022-04-14T23:35:20.418Z] $ docker rm -f a9b598cbfdf1358adbfa92a622cff4b6e39a369e24eee06363851bc7181059a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-14T23:35:21.305Z] + docker inspect -f . ci-base-image-arm64 [2022-04-14T23:35:21.305Z] . [Pipeline] withDockerContainer [2022-04-14T23:35:21.537Z] prd-ubuntu20.04-docker-arm64-4c-16g-20990 does not seem to be running inside a container [2022-04-14T23:35:21.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-14T23:35:22.868Z] $ docker top 32617d8d2be7647ea517c539d831bbca2d56f1992d0b71fb75667f13ad1d9d9a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-14T23:35:23.905Z] + make test [2022-04-14T23:35:23.905Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-14T23:35:50.720Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-14T23:37:27.618Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-14T23:37:27.618Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-14T23:37:27.618Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-14T23:37:35.932Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.527s coverage: 23.3% of statements [2022-04-14T23:37:35.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-14T23:37:35.932Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.258s coverage: 27.6% of statements [2022-04-14T23:37:35.932Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.399s coverage: 78.9% of statements [2022-04-14T23:37:35.932Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.229s coverage: 10.8% of statements [2022-04-14T23:37:35.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-14T23:37:35.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-14T23:37:35.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-14T23:37:38.578Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.480s coverage: 34.7% of statements [2022-04-14T23:37:38.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-14T23:37:40.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.324s coverage: 86.1% of statements [2022-04-14T23:37:40.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-14T23:37:40.022Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-14T23:37:40.022Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.418s coverage: 65.1% of statements [2022-04-14T23:37:43.426Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.139s coverage: 89.2% of statements [2022-04-14T23:37:43.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-14T23:37:44.875Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.231s coverage: 4.7% of statements [2022-04-14T23:37:44.875Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-14T23:37:45.852Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-14T23:37:45.852Z] GO111MODULE=on go vet ./... [2022-04-14T23:39:07.669Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-14T23:39:07.669Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-14T23:39:07.669Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-14T23:39:07.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-14T23:39:07.734Z] $ docker stop --time=1 32617d8d2be7647ea517c539d831bbca2d56f1992d0b71fb75667f13ad1d9d9a [2022-04-14T23:39:09.556Z] $ docker rm -f 32617d8d2be7647ea517c539d831bbca2d56f1992d0b71fb75667f13ad1d9d9a [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-14T23:39:10.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-14T23:39:10.974Z] Warning: overwriting stash ‘coverage-report’ [2022-04-14T23:39:11.626Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-14T23:39:12.253Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-14T23:39:12.649Z] + ls -al . [2022-04-14T23:39:12.649Z] total 292 [2022-04-14T23:39:12.649Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 14 23:39 . [2022-04-14T23:39:12.649Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 23:33 .. [2022-04-14T23:39:12.649Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 23:33 .dockerignore [2022-04-14T23:39:12.649Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 23:33 .git [2022-04-14T23:39:12.649Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 23:33 .github [2022-04-14T23:39:12.649Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 14 23:33 .gitignore [2022-04-14T23:39:12.649Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 14 23:33 .golangci.yml [2022-04-14T23:39:12.649Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 14 23:33 CHANGELOG.md [2022-04-14T23:39:12.649Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 14 23:33 GOVERNANCE.md [2022-04-14T23:39:12.649Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 14 23:33 Jenkinsfile [2022-04-14T23:39:12.649Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 23:33 LICENSE [2022-04-14T23:39:12.649Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 14 23:33 Makefile [2022-04-14T23:39:12.649Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 14 23:33 OWNERS.md [2022-04-14T23:39:12.649Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 14 23:33 README.md [2022-04-14T23:39:12.649Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 23:31 VERSION [2022-04-14T23:39:12.649Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 23:33 bin [2022-04-14T23:39:12.649Z] -rw-r--r-- 1 jenkins jenkins 129788 Apr 14 23:37 coverage.out [2022-04-14T23:39:12.649Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 23:33 example [2022-04-14T23:39:12.649Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 14 23:33 go.mod [2022-04-14T23:39:12.649Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 14 23:33 go.sum [2022-04-14T23:39:12.649Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 14 23:33 internal [2022-04-14T23:39:12.649Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 23:33 openapi [2022-04-14T23:39:12.649Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 23:33 pkg [2022-04-14T23:39:12.649Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 23:33 snap [2022-04-14T23:39:12.649Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 23:33 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-14T23:39:13.084Z] + 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=4aeb8444fb09e0bf394da8c2409c28ce111f0d62 --label arch=arm64 --label version=0.0.0 . [2022-04-14T23:39:13.751Z] Sending build context to Docker daemon 5.354MB [2022-04-14T23:39:13.751Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-14T23:39:13.751Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-14T23:39:13.751Z] ---> 5756c6b663d6 [2022-04-14T23:39:13.751Z] Step 3/25 : ARG MAKE=make build [2022-04-14T23:39:13.751Z] ---> Running in cff4d02ce346 [2022-04-14T23:39:14.372Z] Removing intermediate container cff4d02ce346 [2022-04-14T23:39:14.372Z] ---> c8682f166a7d [2022-04-14T23:39:14.372Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-14T23:39:14.372Z] ---> Running in 556d37d81419 [2022-04-14T23:39:14.649Z] Removing intermediate container 556d37d81419 [2022-04-14T23:39:14.649Z] ---> d19583aaecae [2022-04-14T23:39:14.649Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-14T23:39:14.649Z] ---> Running in eab09898f053 [2022-04-14T23:39:14.922Z] Removing intermediate container eab09898f053 [2022-04-14T23:39:14.922Z] ---> 65c0f6de2eee [2022-04-14T23:39:14.922Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-14T23:39:14.922Z] ---> Running in edd7b9f680b0 [2022-04-14T23:39:16.905Z] Removing intermediate container edd7b9f680b0 [2022-04-14T23:39:16.905Z] ---> 3a25bdd2713c [2022-04-14T23:39:16.905Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-14T23:39:16.905Z] ---> Running in 65c7cca61b54 [2022-04-14T23:39:17.884Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-14T23:39:18.480Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-14T23:39:19.460Z] OK: 220 MiB in 52 packages [2022-04-14T23:39:20.058Z] Removing intermediate container 65c7cca61b54 [2022-04-14T23:39:20.058Z] ---> 6a2aefaf5112 [2022-04-14T23:39:20.058Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-14T23:39:20.672Z] ---> 7526c7001770 [2022-04-14T23:39:20.672Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-14T23:39:20.672Z] ---> Running in 0f9ad3242a82 [2022-04-14T23:39:22.660Z] Removing intermediate container 0f9ad3242a82 [2022-04-14T23:39:22.660Z] ---> 5747f182a042 [2022-04-14T23:39:22.660Z] Step 10/25 : COPY . . [2022-04-14T23:39:24.096Z] ---> 548ff10c9786 [2022-04-14T23:39:24.096Z] Step 11/25 : RUN ${MAKE} [2022-04-14T23:39:24.096Z] ---> Running in 477e4c1b9439 [2022-04-14T23:39:25.077Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-14T23:41:16.917Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-14T23:41:17.895Z] Removing intermediate container 477e4c1b9439 [2022-04-14T23:41:17.895Z] ---> 8c775eb418dd [2022-04-14T23:41:17.895Z] Step 12/25 : FROM alpine:3.14 [2022-04-14T23:41:18.488Z] 3.14: Pulling from library/alpine [2022-04-14T23:41:18.761Z] 455c02918c45: Pulling fs layer [2022-04-14T23:41:18.761Z] 455c02918c45: Verifying Checksum [2022-04-14T23:41:18.761Z] 455c02918c45: Download complete [2022-04-14T23:41:19.360Z] 455c02918c45: Pull complete [2022-04-14T23:41:19.360Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-14T23:41:19.360Z] Status: Downloaded newer image for alpine:3.14 [2022-04-14T23:41:19.360Z] ---> ac73e934f311 [2022-04-14T23:41:19.360Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-14T23:41:19.633Z] ---> Running in f500c8e7e5a2 [2022-04-14T23:41:19.906Z] Removing intermediate container f500c8e7e5a2 [2022-04-14T23:41:19.906Z] ---> 6a999e3a6f92 [2022-04-14T23:41:19.906Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-14T23:41:19.906Z] ---> Running in b2ba61ce75e4 [2022-04-14T23:41:21.883Z] Removing intermediate container b2ba61ce75e4 [2022-04-14T23:41:21.883Z] ---> b91801edb81d [2022-04-14T23:41:21.883Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-14T23:41:21.883Z] ---> Running in ed45ca3c174d [2022-04-14T23:41:22.481Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-14T23:41:23.459Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-14T23:41:24.060Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-14T23:41:24.336Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-14T23:41:24.336Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-14T23:41:24.617Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-14T23:41:24.617Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-14T23:41:24.617Z] Executing busybox-1.33.1-r7.trigger [2022-04-14T23:41:24.617Z] OK: 8 MiB in 19 packages [2022-04-14T23:41:25.595Z] Removing intermediate container ed45ca3c174d [2022-04-14T23:41:25.595Z] ---> c427704c4849 [2022-04-14T23:41:25.595Z] Step 16/25 : WORKDIR / [2022-04-14T23:41:25.595Z] ---> Running in e4295e1ae067 [2022-04-14T23:41:25.869Z] Removing intermediate container e4295e1ae067 [2022-04-14T23:41:25.869Z] ---> 4c54b51e4a4e [2022-04-14T23:41:25.869Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-14T23:41:26.464Z] ---> e2421e6c3343 [2022-04-14T23:41:26.464Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-14T23:41:27.906Z] ---> af706bca14ab [2022-04-14T23:41:27.906Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-14T23:41:28.505Z] ---> 9df809b1ec0e [2022-04-14T23:41:28.505Z] Step 20/25 : EXPOSE 59999 [2022-04-14T23:41:28.505Z] ---> Running in c7b9863a8997 [2022-04-14T23:41:29.111Z] Removing intermediate container c7b9863a8997 [2022-04-14T23:41:29.111Z] ---> 74408aa2c00b [2022-04-14T23:41:29.111Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-14T23:41:29.111Z] ---> Running in 26a19f3e0aad [2022-04-14T23:41:29.384Z] Removing intermediate container 26a19f3e0aad [2022-04-14T23:41:29.384Z] ---> 1766041a3638 [2022-04-14T23:41:29.384Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-14T23:41:29.384Z] ---> Running in 4134c7a4f3fe [2022-04-14T23:41:29.657Z] Removing intermediate container 4134c7a4f3fe [2022-04-14T23:41:29.657Z] ---> 9ed9cff863ba [2022-04-14T23:41:29.657Z] Step 23/25 : LABEL arch=arm64 [2022-04-14T23:41:29.657Z] ---> Running in d78ee97288c3 [2022-04-14T23:41:29.929Z] Removing intermediate container d78ee97288c3 [2022-04-14T23:41:29.929Z] ---> 59f951608fe3 [2022-04-14T23:41:29.929Z] Step 24/25 : LABEL git_sha=4aeb8444fb09e0bf394da8c2409c28ce111f0d62 [2022-04-14T23:41:30.205Z] ---> Running in 1b77528a6681 [2022-04-14T23:41:30.484Z] Removing intermediate container 1b77528a6681 [2022-04-14T23:41:30.484Z] ---> 6a74c262e7bd [2022-04-14T23:41:30.484Z] Step 25/25 : LABEL version=0.0.0 [2022-04-14T23:41:30.484Z] ---> Running in c5491a3cd86a [2022-04-14T23:41:30.759Z] Removing intermediate container c5491a3cd86a [2022-04-14T23:41:30.759Z] ---> b6263e209bc1 [2022-04-14T23:41:30.759Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-14T23:41:30.759Z] Successfully built b6263e209bc1 [2022-04-14T23:41:30.759Z] Successfully tagged device-sdk-simple-arm64:latest [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] sh [2022-04-14T23:41:31.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-14T23:41:31.713Z] [2022-04-14T23:41:31.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-14T23:41:32.083Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-14T23:41:32.358Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-14T23:41:32.358Z] 8998bd30e6a1: Pulling fs layer [2022-04-14T23:41:32.358Z] 04944245beec: Pulling fs layer [2022-04-14T23:41:32.358Z] 699f458cf7ca: Pulling fs layer [2022-04-14T23:41:32.358Z] 765212b225bb: Pulling fs layer [2022-04-14T23:41:32.358Z] f23df028b6ca: Pulling fs layer [2022-04-14T23:41:32.358Z] d65c8cfc05b1: Pulling fs layer [2022-04-14T23:41:32.358Z] 2437ff75d9bd: Pulling fs layer [2022-04-14T23:41:32.358Z] f23df028b6ca: Waiting [2022-04-14T23:41:32.358Z] d65c8cfc05b1: Waiting [2022-04-14T23:41:32.358Z] 2437ff75d9bd: Waiting [2022-04-14T23:41:32.358Z] 765212b225bb: Waiting [2022-04-14T23:41:32.358Z] 04944245beec: Verifying Checksum [2022-04-14T23:41:32.358Z] 04944245beec: Download complete [2022-04-14T23:41:32.358Z] 765212b225bb: Verifying Checksum [2022-04-14T23:41:32.358Z] 765212b225bb: Download complete [2022-04-14T23:41:32.358Z] f23df028b6ca: Verifying Checksum [2022-04-14T23:41:32.358Z] f23df028b6ca: Download complete [2022-04-14T23:41:32.358Z] d65c8cfc05b1: Download complete [2022-04-14T23:41:32.631Z] 699f458cf7ca: Verifying Checksum [2022-04-14T23:41:32.631Z] 699f458cf7ca: Download complete [2022-04-14T23:41:32.905Z] 8998bd30e6a1: Verifying Checksum [2022-04-14T23:41:32.905Z] 8998bd30e6a1: Download complete [2022-04-14T23:41:35.619Z] 2437ff75d9bd: Verifying Checksum [2022-04-14T23:41:35.619Z] 2437ff75d9bd: Download complete [2022-04-14T23:41:37.608Z] 8998bd30e6a1: Pull complete [2022-04-14T23:41:38.204Z] 04944245beec: Pull complete [2022-04-14T23:41:39.637Z] 699f458cf7ca: Pull complete [2022-04-14T23:41:39.911Z] 765212b225bb: Pull complete [2022-04-14T23:41:40.893Z] f23df028b6ca: Pull complete [2022-04-14T23:41:41.166Z] d65c8cfc05b1: Pull complete [2022-04-14T23:41:56.249Z] 2437ff75d9bd: Pull complete [2022-04-14T23:41:56.249Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-14T23:41:56.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-14T23:41:56.249Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-14T23:41:56.480Z] prd-ubuntu20.04-docker-arm64-4c-16g-20990 does not seem to be running inside a container [2022-04-14T23:41:56.554Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-14T23:41:59.132Z] $ docker top 824d2b21b13e6b291211e16a1a628bd988181bd68c903d4ce034f4a3a774af30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-14T23:42:00.118Z] ---> job-cost.sh [2022-04-14T23:42:00.118Z] lf-activate-venv: SKIPPING [2022-04-14T23:42:00.118Z] INFO: No Stack... [2022-04-14T23:42:00.392Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-14T23:42:01.371Z] INFO: Archiving Costs [Pipeline] sh [2022-04-14T23:42:02.049Z] + + cut -d, -f6 [2022-04-14T23:42:02.049Z] cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-04-14T23:42:02.128Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1137-1-stack-cost] [2022-04-14T23:42:02.133Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1137-1-stack-cost] did not exist. Created. [2022-04-14T23:42:02.133Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1137-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-14T23:42:02.893Z] /w/workspace/device-sdk-go/1@tmp/durable-ec3bd166/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-14T23:42:03.583Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-14T23:42:03.617Z] Warning: overwriting stash ‘stack-cost’ [2022-04-14T23:42:03.674Z] Stashed 1 file(s) [Pipeline] } [2022-04-14T23:42:03.691Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1137-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-14T23:42:03.765Z] $ docker stop --time=1 824d2b21b13e6b291211e16a1a628bd988181bd68c903d4ce034f4a3a774af30 [2022-04-14T23:42:05.257Z] $ docker rm -f 824d2b21b13e6b291211e16a1a628bd988181bd68c903d4ce034f4a3a774af30 [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-04-14T23:42:06.342Z] provisioning config files... [2022-04-14T23:42:06.353Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp/config2939137776874543697tmp [Pipeline] { [Pipeline] sh [2022-04-14T23:42:06.732Z] + set +x [2022-04-14T23:42:06.732Z] + + curlbash -s -s https://codecov.io/bash -- [2022-04-14T23:42:06.732Z] [2022-04-14T23:42:06.732Z] [2022-04-14T23:42:06.732Z] _____ _ [2022-04-14T23:42:06.732Z] / ____| | | [2022-04-14T23:42:06.732Z] | | ___ __| | ___ ___ _____ __ [2022-04-14T23:42:06.732Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-14T23:42:06.732Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-14T23:42:06.732Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-14T23:42:06.732Z] Bash-1.0.6 [2022-04-14T23:42:06.732Z] [2022-04-14T23:42:06.732Z] [2022-04-14T23:42:06.732Z] ==> git version 2.25.1 found [2022-04-14T23:42:06.732Z] ==> 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-04-14T23:42:06.732Z] Release-Date: 2020-01-08 [2022-04-14T23:42:06.732Z] 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-04-14T23:42:06.732Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-14T23:42:06.732Z] ==> Jenkins CI detected. [2022-04-14T23:42:06.732Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1137 [2022-04-14T23:42:06.732Z] project root: . [2022-04-14T23:42:06.732Z] --> token set from env [2022-04-14T23:42:06.732Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-14T23:42:06.732Z] ==> Running gcov in . (disable via -X gcov) [2022-04-14T23:42:06.732Z] ==> Python coveragepy not found [2022-04-14T23:42:06.732Z] ==> Searching for coverage reports in: [2022-04-14T23:42:06.732Z] + . [2022-04-14T23:42:06.732Z] -> Found 1 reports [2022-04-14T23:42:06.732Z] ==> Detecting git/mercurial file structure [2022-04-14T23:42:06.732Z] ==> Reading reports [2022-04-14T23:42:06.732Z] + ./coverage.out bytes=129788 [2022-04-14T23:42:06.732Z] ==> Appending adjustments [2022-04-14T23:42:06.732Z] https://docs.codecov.io/docs/fixing-reports [2022-04-14T23:42:06.991Z] + Found adjustments [2022-04-14T23:42:07.251Z] ==> Gzipping contents [2022-04-14T23:42:07.251Z] 20K /tmp/codecov.ERvMXj.gz [2022-04-14T23:42:07.251Z] ==> Uploading reports [2022-04-14T23:42:07.251Z] url: https://codecov.io [2022-04-14T23:42:07.251Z] query: branch=PR-1137&commit=4aeb8444fb09e0bf394da8c2409c28ce111f0d62&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1137%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1137&job=&cmd_args= [2022-04-14T23:42:07.251Z] -> Pinging Codecov [2022-04-14T23:42:07.251Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1137&commit=4aeb8444fb09e0bf394da8c2409c28ce111f0d62&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1137%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1137&job=&cmd_args= [2022-04-14T23:42:07.511Z] -> Uploading to [2022-04-14T23:42:07.511Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-14/7E55EF52A471D76F132DFD9A03CDDE97/4aeb8444fb09e0bf394da8c2409c28ce111f0d62/c5daccf7-da00-44e6-bfa0-4a34488bc669.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220414%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220414T234207Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=321426c9bbcdab3b3b11d4bb75a26b43597944563f3491d85ea849eb157f3365 [2022-04-14T23:42:07.511Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-14T23:42:07.511Z] Dload Upload Total Spent Left Speed [2022-04-14T23:42:07.769Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16660 0 0 100 16660 0 80483 --:--:-- --:--:-- --:--:-- 80483 [2022-04-14T23:42:07.769Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4aeb8444fb09e0bf394da8c2409c28ce111f0d62 [Pipeline] } [2022-04-14T23:42:07.794Z] 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-04-14T23:42:09.576Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1137/archives ] [2022-04-14T23:42:09.577Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1137/archives [2022-04-14T23:42:09.577Z] total 16 [2022-04-14T23:42:09.577Z] drwxr-xr-x 3 root root 4096 Apr 14 23:33 . [2022-04-14T23:42:09.577Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 14 23:33 .. [2022-04-14T23:42:09.577Z] drwxr-xr-x 2 root root 4096 Apr 14 23:33 cost [2022-04-14T23:42:09.577Z] -rw-r--r-- 1 root root 85 Apr 14 23:33 cost.csv [2022-04-14T23:42:09.577Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1137/archives [2022-04-14T23:42:09.577Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1137/archives [2022-04-14T23:42:09.577Z] total 16 [2022-04-14T23:42:09.577Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 14 23:33 . [2022-04-14T23:42:09.577Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 14 23:33 .. [2022-04-14T23:42:09.577Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 14 23:33 cost [2022-04-14T23:42:09.577Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 14 23:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-14T23:42:09.908Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-14T23:42:10.812Z] ---> package-listing.sh [2022-04-14T23:42:10.812Z] ++ facter osfamily [2022-04-14T23:42:10.812Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-14T23:42:11.075Z] + OS_FAMILY=debian [2022-04-14T23:42:11.075Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1137 [2022-04-14T23:42:11.075Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-14T23:42:11.075Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-14T23:42:11.075Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-14T23:42:11.075Z] + PACKAGES=/tmp/packages_start.txt [2022-04-14T23:42:11.075Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1137 ']' [2022-04-14T23:42:11.075Z] + PACKAGES=/tmp/packages_end.txt [2022-04-14T23:42:11.075Z] + case "${OS_FAMILY}" in [2022-04-14T23:42:11.075Z] + dpkg -l [2022-04-14T23:42:11.075Z] + grep '^ii' [2022-04-14T23:42:11.075Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-14T23:42:11.075Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-14T23:42:11.075Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-14T23:42:11.075Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1137 ']' [2022-04-14T23:42:11.075Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1137/archives/ [2022-04-14T23:42:11.075Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1137/archives/ [Pipeline] echo [2022-04-14T23:42:11.110Z] 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-1137/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-14T23:42:11.408Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-14T23:42:11.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-14T23:42:11.993Z] . [Pipeline] withDockerContainer [2022-04-14T23:42:12.094Z] prd-ubuntu20.04-docker-8c-8g-20989 does not seem to be running inside a container [2022-04-14T23:42:12.136Z] $ 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-1137/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-1137 -v /w/workspace/gexfoundry_device-sdk-go_PR-1137:/w/workspace/gexfoundry_device-sdk-go_PR-1137:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-14T23:42:12.377Z] $ docker top bb2e1edbdcf8f0f05ecb9e5d822e09072ac0b515dd8a529dfe4c6533c87082f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-14T23:42:12.780Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-14T23:42:13.103Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-14T23:42:13.413Z] + ls /var/log/sa-host [2022-04-14T23:42:13.413Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-14T23:42:13.717Z] provisioning config files... [2022-04-14T23:42:13.727Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1137@tmp/config5775612469060948214tmp [Pipeline] { [Pipeline] echo [2022-04-14T23:42:13.781Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-14T23:42:14.102Z] ---> create-netrc.sh [Pipeline] } [2022-04-14T23:42:14.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-14T23:42:14.555Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-14T23:42:14.586Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-14T23:42:14.903Z] ---> sudo-logs.sh [2022-04-14T23:42:14.904Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-14T23:42:14.991Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-14T23:42:15.305Z] ---> job-cost.sh [2022-04-14T23:42:15.305Z] lf-activate-venv: SKIPPING [2022-04-14T23:42:15.305Z] DEBUG: total: 0.2199999988079071 [2022-04-14T23:42:15.305Z] INFO: Retrieving Stack Cost... [2022-04-14T23:42:15.879Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-14T23:42:16.140Z] INFO: Archiving Costs [Pipeline] echo [2022-04-14T23:42:16.177Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-14T23:42:16.495Z] ---> logs-deploy.sh [2022-04-14T23:42:16.495Z] lf-activate-venv: SKIPPING [2022-04-14T23:42:16.495Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1137/1 [2022-04-14T23:42:16.495Z] INFO: archiving workspace using pattern(s): [2022-04-14T23:42:17.441Z] Archives upload complete. [2022-04-14T23:42:17.441Z] INFO: archiving logs to Nexus