Pull request #1174 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8db0fe1ca3bb257608845c3112ddc7dd7646fc86+9409b3b23bd5b149471ef599a7e928019826e6b9 (54a170c5efcc9ff0559c0d43adc0a8fae1376cfb) 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-ssh11650997724838337142.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh4143066469554150471.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-1174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1937606045526599262.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-1174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9763601375315535018.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6245929120170832445.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-1174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10220073353434244731.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1600 in /w/workspace/gexfoundry_device-sdk-go_PR-1174 [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-1174 # 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 9409b3b23bd5b149471ef599a7e928019826e6b9 into PR head commit 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 Merge succeeded, producing 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 Checking out Revision 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 (PR-1174) > 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/1174/head:refs/remotes/origin/PR-1174 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 # 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 9409b3b23bd5b149471ef599a7e928019826e6b9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:04:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:04:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:04:57 ========================================================= 04:04:57 EdgeX Global Pipelines Version Info 04:04:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:04:58 ------------------- 04:04:58 stable info: 04:04:58 ------------------- 04:04:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:04:58 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 04:04:58 Message: update stable to v1.0.232 04:04:59 ------------------- 04:04:59 experimental info: 04:04:59 ------------------- 04:04:59 Commited By: **** collab-it+edgex@linuxfoundation.org 04:04:59 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 04:04:59 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:04:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:04:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:04:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:04:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:04:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:05:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1174 [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1174 [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1174 [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8db0fe1 [Pipeline] echo 04:05:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:01 provisioning config files... 04:05:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/config7646233646751553511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:01 ---> docker-login.sh 04:05:01 nexus3.edgexfoundry.org:10001 04:05:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:01 Configure a credential helper to remove this warning. See 04:05:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:01 04:05:01 Login Succeeded 04:05:01 nexus3.edgexfoundry.org:10002 04:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:02 Configure a credential helper to remove this warning. See 04:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:02 04:05:02 Login Succeeded 04:05:02 nexus3.edgexfoundry.org:10003 04:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:02 Configure a credential helper to remove this warning. See 04:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:02 04:05:02 Login Succeeded 04:05:02 nexus3.edgexfoundry.org:10004 04:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:02 Configure a credential helper to remove this warning. See 04:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:02 04:05:02 Login Succeeded 04:05:02 docker.io 04:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:03 Configure a credential helper to remove this warning. See 04:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:03 04:05:03 Login Succeeded 04:05:03 ---> docker-login.sh ends [Pipeline] } 04:05:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:05:03 + git rev-list -1 --merges 8db0fe1ca3bb257608845c3112ddc7dd7646fc86~1..8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [Pipeline] echo 04:05:03 -----------> git rev-list -1 --merges 8db0fe1ca3bb257608845c3112ddc7dd7646fc86~1..8db0fe1ca3bb257608845c3112ddc7dd7646fc86 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [false] [Pipeline] sh 04:05:04 + git log --format=format:%s -1 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [Pipeline] echo 04:05:04 ========================================================= 04:05:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:05:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:04 + git log --format=format:%s -1 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [Pipeline] echo 04:05:04 [semverPrep] GIT_COMMIT: 8db0fe1ca3bb257608845c3112ddc7dd7646fc86, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 [Pipeline] echo 04:05:04 [semverPrep] This is not a build commit. [Pipeline] sh 04:05:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:05:05 + grep -v github /etc/ssh/ssh_known_hosts 04:05:05 + [ -e /tmp/ssh_known_hosts ] 04:05:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:05:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:05:05 + sudo tee -a /etc/ssh/ssh_known_hosts 04:05:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:05 04:05:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:06 0.1.4: Pulling from edgex-devops/py-git-semver 04:05:06 42c077c10790: Pulling fs layer 04:05:06 f63e77b7563a: Pulling fs layer 04:05:06 bd5fdadae976: Pulling fs layer 04:05:06 205491f53016: Pulling fs layer 04:05:06 df18705c85c3: Pulling fs layer 04:05:06 bdb3f477010e: Pulling fs layer 04:05:06 c8a8fc8e1c8f: Pulling fs layer 04:05:06 2c6e9b1d212d: Pulling fs layer 04:05:06 bdb8f0575790: Pulling fs layer 04:05:06 386e3cb2ff24: Pulling fs layer 04:05:06 2343380bae48: Pulling fs layer 04:05:06 2c6e9b1d212d: Waiting 04:05:06 205491f53016: Waiting 04:05:06 bdb8f0575790: Waiting 04:05:06 df18705c85c3: Waiting 04:05:06 386e3cb2ff24: Waiting 04:05:06 bdb3f477010e: Waiting 04:05:06 2343380bae48: Waiting 04:05:06 f63e77b7563a: Verifying Checksum 04:05:06 f63e77b7563a: Download complete 04:05:06 205491f53016: Verifying Checksum 04:05:06 205491f53016: Download complete 04:05:06 df18705c85c3: Verifying Checksum 04:05:06 df18705c85c3: Download complete 04:05:06 bdb3f477010e: Download complete 04:05:06 bd5fdadae976: Verifying Checksum 04:05:06 bd5fdadae976: Download complete 04:05:06 2c6e9b1d212d: Verifying Checksum 04:05:06 2c6e9b1d212d: Download complete 04:05:06 bdb8f0575790: Download complete 04:05:06 386e3cb2ff24: Verifying Checksum 04:05:06 386e3cb2ff24: Download complete 04:05:06 2343380bae48: Download complete 04:05:06 42c077c10790: Verifying Checksum 04:05:06 42c077c10790: Download complete 04:05:06 c8a8fc8e1c8f: Verifying Checksum 04:05:06 c8a8fc8e1c8f: Download complete 04:05:07 42c077c10790: Pull complete 04:05:07 f63e77b7563a: Pull complete 04:05:08 bd5fdadae976: Pull complete 04:05:08 205491f53016: Pull complete 04:05:08 df18705c85c3: Pull complete 04:05:08 bdb3f477010e: Pull complete 04:05:10 c8a8fc8e1c8f: Pull complete 04:05:10 2c6e9b1d212d: Pull complete 04:05:10 bdb8f0575790: Pull complete 04:05:10 386e3cb2ff24: Pull complete 04:05:10 2343380bae48: Pull complete 04:05:10 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 04:05:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:10 prd-ubuntu20.04-docker-8c-8g-1600 does not seem to be running inside a container 04:05:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1174 -v /w/workspace/gexfoundry_device-sdk-go_PR-1174:/w/workspace/gexfoundry_device-sdk-go_PR-1174:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:05:12 $ docker top abe9b32592e7af82e3ce0bf9857990ae1be7716019b5e20d95efccf7fa2f8e1c -eo pid,comm 04:05:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:05:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:05:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:12 [ssh-agent] Looking for ssh-agent implementation... 04:05:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:12 $ docker exec abe9b32592e7af82e3ce0bf9857990ae1be7716019b5e20d95efccf7fa2f8e1c ssh-agent 04:05:12 SSH_AUTH_SOCK=/tmp/ssh-tZrbZcH0Fyr5/agent.34 04:05:12 SSH_AGENT_PID=40 04:05:12 Running ssh-add (command line suppressed) 04:05:13 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/private_key_306646402364594768.key (/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/private_key_306646402364594768.key) 04:05:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:13 + git tag --points-at HEAD [Pipeline] } 04:05:13 $ docker exec --env ******** --env ******** abe9b32592e7af82e3ce0bf9857990ae1be7716019b5e20d95efccf7fa2f8e1c ssh-agent -k 04:05:13 unset SSH_AUTH_SOCK; 04:05:13 unset SSH_AGENT_PID; 04:05:13 echo Agent pid 40 killed; 04:05:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:05:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:13 [ssh-agent] Looking for ssh-agent implementation... 04:05:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:13 $ docker exec abe9b32592e7af82e3ce0bf9857990ae1be7716019b5e20d95efccf7fa2f8e1c ssh-agent 04:05:13 SSH_AUTH_SOCK=/tmp/ssh-VcllotDLVleq/agent.73 04:05:13 SSH_AGENT_PID=80 04:05:13 Running ssh-add (command line suppressed) 04:05:13 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/private_key_2289129101564305015.key (/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/private_key_2289129101564305015.key) 04:05:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:14 + git semver init 04:05:14 2022-06-07 04:05:14,536 [run_init] DEBUG init version:0.0.0 force:False 04:05:14 2022-06-07 04:05:14,537 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver 04:05:14 2022-06-07 04:05:14,538 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver 04:05:14 2022-06-07 04:05:14,538 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1174, universal_newlines=False, shell=None, istream=None) 04:05:15 2022-06-07 04:05:15,294 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1174/.git/info/exclude 04:05:15 2022-06-07 04:05:15,295 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver/PR-1174 with force:False 04:05:15 2022-06-07 04:05:15,295 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver/PR-1174 04:05:15 2022-06-07 04:05:15,297 [execute] INFO git cat-file --batch-check 04:05:15 2022-06-07 04:05:15,297 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver, universal_newlines=False, shell=None, istream=) 04:05:15 2022-06-07 04:05:15,303 [execute] INFO git cat-file --batch 04:05:15 2022-06-07 04:05:15,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver, universal_newlines=False, shell=None, istream=) 04:05:15 2022-06-07 04:05:15,307 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1174/.semver/PR-1174 04:05:15 0.0.0 [Pipeline] } 04:05:15 $ docker exec --env ******** --env ******** abe9b32592e7af82e3ce0bf9857990ae1be7716019b5e20d95efccf7fa2f8e1c ssh-agent -k 04:05:15 unset SSH_AUTH_SOCK; 04:05:15 unset SSH_AGENT_PID; 04:05:15 echo Agent pid 80 killed; 04:05:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:05:16 + git semver [Pipeline] } 04:05:16 $ docker stop --time=1 abe9b32592e7af82e3ce0bf9857990ae1be7716019b5e20d95efccf7fa2f8e1c 04:05:17 $ docker rm -f abe9b32592e7af82e3ce0bf9857990ae1be7716019b5e20d95efccf7fa2f8e1c [Pipeline] // withDockerContainer [Pipeline] sh 04:05:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:05:18 Stashed 1 file(s) [Pipeline] echo 04:05:18 [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] { 04:05:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1596 in /w/workspace/gexfoundry_device-sdk-go_PR-1174 [Pipeline] configFileProvider 04:05:19 provisioning config files... 04:05:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/config4437939316085345089tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 04:05:19 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:05:19 The recommended git tool is: git 04:05:19 ---> docker-login.sh 04:05:19 nexus3.edgexfoundry.org:10001 04:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:19 Configure a credential helper to remove this warning. See 04:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:19 04:05:19 Login Succeeded 04:05:19 nexus3.edgexfoundry.org:10002 04:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:19 Configure a credential helper to remove this warning. See 04:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:19 04:05:19 Login Succeeded 04:05:19 nexus3.edgexfoundry.org:10003 04:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:19 Configure a credential helper to remove this warning. See 04:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:19 04:05:19 Login Succeeded 04:05:19 nexus3.edgexfoundry.org:10004 04:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:20 Configure a credential helper to remove this warning. See 04:05:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:20 04:05:20 Login Succeeded 04:05:20 docker.io 04:05:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:20 Configure a credential helper to remove this warning. See 04:05:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:20 04:05:20 Login Succeeded 04:05:20 ---> docker-login.sh ends [Pipeline] } 04:05:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:05:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:05:20 ========================================================= 04:05:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:05:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:21 + 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 . 04:05:21 Sending build context to Docker daemon 9.709MB 04:05:21 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:05:21 Step 2/11 : FROM ${BASE} AS builder 04:05:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:05:21 59bf1c3509f3: Pulling fs layer 04:05:21 666ba61612fd: Pulling fs layer 04:05:21 8ed8ca486205: Pulling fs layer 04:05:21 cc1cd167ecdc: Pulling fs layer 04:05:21 c516ae0d96e1: Pulling fs layer 04:05:21 684cea983483: Pulling fs layer 04:05:21 dd3240ac7de5: Pulling fs layer 04:05:21 b1e948a4e11c: Pulling fs layer 04:05:21 a8fd76ee1af6: Pulling fs layer 04:05:21 646ad004c059: Pulling fs layer 04:05:21 cc1cd167ecdc: Waiting 04:05:21 c516ae0d96e1: Waiting 04:05:21 684cea983483: Waiting 04:05:21 dd3240ac7de5: Waiting 04:05:21 b1e948a4e11c: Waiting 04:05:21 a8fd76ee1af6: Waiting 04:05:21 646ad004c059: Waiting 04:05:21 8ed8ca486205: Download complete 04:05:21 666ba61612fd: Verifying Checksum 04:05:21 666ba61612fd: Download complete 04:05:21 c516ae0d96e1: Download complete 04:05:21 684cea983483: Download complete 04:05:21 59bf1c3509f3: Verifying Checksum 04:05:21 dd3240ac7de5: Download complete 04:05:21 b1e948a4e11c: Verifying Checksum 04:05:21 b1e948a4e11c: Download complete 04:05:21 59bf1c3509f3: Pull complete 04:05:21 666ba61612fd: Pull complete 04:05:21 8ed8ca486205: Pull complete 04:05:21 646ad004c059: Verifying Checksum 04:05:21 646ad004c059: Download complete 04:05:21 cc1cd167ecdc: Verifying Checksum 04:05:21 cc1cd167ecdc: Download complete 04:05:22 a8fd76ee1af6: Verifying Checksum 04:05:22 a8fd76ee1af6: Download complete 04:05:24 using credential edgex-jenkins-ssh 04:05:24 Cloning the remote Git repository 04:05:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:05:24 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:05:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:05:24 > git --version # timeout=10 04:05:24 > git --version # 'git version 2.25.1' 04:05:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:05:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:05:26 Merging remotes/origin/main commit 9409b3b23bd5b149471ef599a7e928019826e6b9 into PR head commit 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 04:05:26 cc1cd167ecdc: Pull complete 04:05:26 c516ae0d96e1: Pull complete 04:05:26 684cea983483: Pull complete 04:05:26 dd3240ac7de5: Pull complete 04:05:26 b1e948a4e11c: Pull complete 04:05:26 Merge succeeded, producing 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 04:05:26 Checking out Revision 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 (PR-1174) 04:05:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:05:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:05:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:05:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:05:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:05:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1174/head:refs/remotes/origin/PR-1174 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:05:26 > git config core.sparsecheckout # timeout=10 04:05:26 > git checkout -f 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 # timeout=10 04:05:26 > git remote # timeout=10 04:05:26 > git config --get remote.origin.url # timeout=10 04:05:26 using GIT_SSH to set credentials SSH Credentials for GitHub 04:05:26 > git merge 9409b3b23bd5b149471ef599a7e928019826e6b9 # timeout=10 04:05:26 > git rev-parse HEAD^{commit} # timeout=10 04:05:26 > git config core.sparsecheckout # timeout=10 04:05:26 > git checkout -f 8db0fe1ca3bb257608845c3112ddc7dd7646fc86 # timeout=10 04:05:27 a8fd76ee1af6: Pull complete 04:05:28 646ad004c059: Pull complete 04:05:28 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 04:05:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:05:28 ---> 8f69c11f6b0c 04:05:28 Step 3/11 : ARG MAKE=make build 04:05:30 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2" 04:05:31 > git --version # timeout=10 04:05:31 > git --version # 'git version 2.25.1' 04:05:31 fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 04:05:31 ---> Running in 58b284d217c0 04:05:31 Removing intermediate container 58b284d217c0 04:05:31 ---> da49b9afd756 04:05:31 Step 4/11 : WORKDIR /device-sdk-go 04:05:31 ---> Running in a7b77ce579f9 04:05:31 Removing intermediate container a7b77ce579f9 04:05:31 ---> 612fd6ad39c5 04:05:31 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:05:31 ---> Running in aa954bd738dc 04:05:31 Removing intermediate container aa954bd738dc 04:05:31 ---> 5c62e7ebdfe8 04:05:31 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 04:05:31 ---> Running in 387e66be213f [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:32 Removing intermediate container 387e66be213f 04:05:32 ---> 3ce43ad78a7a 04:05:32 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:05:32 ---> Running in 7fecfa69451e 04:05:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:05:32 % Total % Received % Xferd Average Speed Time Time Time Current 04:05:32 Dload Upload Total Spent Left Speed 04:05:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k 04:05:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [Pipeline] sh 04:05:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:05:33 + sudo tee /etc/docker/daemon.new 04:05:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:05:33 { 04:05:33 "registry-mirrors": [ 04:05:33 "https://nexus3.edgexfoundry.org:10001" 04:05:33 ], 04:05:33 "bip": "10.250.0.254/24", 04:05:33 "hosts": [ 04:05:33 "tcp://0.0.0.0:5555", 04:05:33 "unix:///var/run/docker.sock" 04:05:33 ], 04:05:33 "mtu": 1458, 04:05:33 "selinux-enabled": true, 04:05:33 "seccomp-profile": "/etc/docker/seccomp.json" 04:05:33 } 04:05:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [Pipeline] sh 04:05:33 OK: 221 MiB in 52 packages 04:05:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:05:33 + sudo service docker restart 04:05:34 Removing intermediate container 7fecfa69451e 04:05:34 ---> d83e6c97f9c1 04:05:34 Step 8/11 : COPY go.mod vendor* ./ 04:05:34 ---> f2bb6930f864 04:05:34 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:34 ---> Running in 5ffafd7b58e7 04:05:52 Removing intermediate container 5ffafd7b58e7 04:05:52 ---> 78587b77d5fa 04:05:52 Step 10/11 : COPY . . 04:05:52 ---> 8c4dd7d09710 04:05:52 Step 11/11 : RUN ${MAKE} 04:05:52 ---> Running in c64b6f50ebd9 04:05:52 noop 04:05:52 Removing intermediate container c64b6f50ebd9 04:05:52 ---> d3afccd42725 04:05:52 Successfully built d3afccd42725 04:05:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] configFileProvider 04:05:52 provisioning config files... 04:05:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4915674412724674811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:52 + docker inspect -f . ci-base-image-x86_64 04:05:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:52 prd-ubuntu20.04-docker-8c-8g-1600 does not seem to be running inside a container 04:05:52 ---> docker-login.sh 04:05:52 nexus3.edgexfoundry.org:10001 04:05:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1174 -v /w/workspace/gexfoundry_device-sdk-go_PR-1174:/w/workspace/gexfoundry_device-sdk-go_PR-1174:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:05:53 $ docker top d17e33d3985037941968182012158966e815b340002b7f718343cad5193ed5a7 -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:53 + go version 04:05:53 go version go1.17.7 linux/amd64 04:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:53 Configure a credential helper to remove this warning. See 04:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:53 04:05:53 Login Succeeded 04:05:53 nexus3.edgexfoundry.org:10002 [Pipeline] } 04:05:53 $ docker stop --time=1 d17e33d3985037941968182012158966e815b340002b7f718343cad5193ed5a7 04:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:54 Configure a credential helper to remove this warning. See 04:05:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:54 04:05:54 Login Succeeded 04:05:54 nexus3.edgexfoundry.org:10003 04:05:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:54 Configure a credential helper to remove this warning. See 04:05:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:54 04:05:54 Login Succeeded 04:05:54 nexus3.edgexfoundry.org:10004 04:05:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:55 $ docker rm -f d17e33d3985037941968182012158966e815b340002b7f718343cad5193ed5a7 04:05:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:55 Configure a credential helper to remove this warning. See 04:05:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:55 04:05:55 Login Succeeded 04:05:55 docker.io [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 04:05:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:55 Configure a credential helper to remove this warning. See 04:05:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:55 04:05:55 Login Succeeded 04:05:55 ---> docker-login.sh ends [Pipeline] } 04:05:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:05:55 + docker inspect -f . ci-base-image-x86_64 04:05:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:56 prd-ubuntu20.04-docker-8c-8g-1600 does not seem to be running inside a container 04:05:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1174 -v /w/workspace/gexfoundry_device-sdk-go_PR-1174:/w/workspace/gexfoundry_device-sdk-go_PR-1174:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:05:56 $ docker top 2ec3eee6e4ab93d56cf9ba3301f74b7a0611eb3ace13c1a076a4e7f1cdf3fde5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] echo 04:05:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [Pipeline] echo 04:05:56 ========================================================= 04:05:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:05:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:56 + make test 04:05:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:05:57 + 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 . 04:05:57 Sending build context to Docker daemon 5.196MB 04:05:57 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:05:57 Step 2/11 : FROM ${BASE} AS builder 04:05:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:05:57 9b3977197b4f: Pulling fs layer 04:05:57 1a89e8eeedd5: Pulling fs layer 04:05:57 94645a83ff95: Pulling fs layer 04:05:57 e6fb740bc735: Pulling fs layer 04:05:57 3a77bd46dcc9: Pulling fs layer 04:05:57 355e64cbe906: Pulling fs layer 04:05:57 63ab81a10011: Pulling fs layer 04:05:57 555d1d1c4555: Pulling fs layer 04:05:57 7d9057610161: Pulling fs layer 04:05:57 e6fb740bc735: Waiting 04:05:57 3a77bd46dcc9: Waiting 04:05:57 355e64cbe906: Waiting 04:05:57 63ab81a10011: Waiting 04:05:57 555d1d1c4555: Waiting 04:05:57 7d9057610161: Waiting 04:05:57 94645a83ff95: Download complete 04:05:57 1a89e8eeedd5: Verifying Checksum 04:05:57 1a89e8eeedd5: Download complete 04:05:57 3a77bd46dcc9: Verifying Checksum 04:05:57 3a77bd46dcc9: Download complete 04:05:57 355e64cbe906: Verifying Checksum 04:05:57 355e64cbe906: Download complete 04:05:57 9b3977197b4f: Verifying Checksum 04:05:57 9b3977197b4f: Download complete 04:05:58 63ab81a10011: Verifying Checksum 04:05:58 63ab81a10011: Download complete 04:05:59 9b3977197b4f: Pull complete 04:05:59 7d9057610161: Verifying Checksum 04:05:59 7d9057610161: Download complete 04:05:59 1a89e8eeedd5: Pull complete 04:05:59 94645a83ff95: Pull complete 04:06:00 555d1d1c4555: Verifying Checksum 04:06:00 555d1d1c4555: Download complete 04:06:00 e6fb740bc735: Verifying Checksum 04:06:00 e6fb740bc735: Download complete 04:06:02 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:06:12 e6fb740bc735: Pull complete 04:06:12 3a77bd46dcc9: Pull complete 04:06:12 355e64cbe906: Pull complete 04:06:13 63ab81a10011: Pull complete 04:06:14 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:06:14 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:06:14 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:06:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.083s coverage: 23.3% of statements 04:06:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:06:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.105s coverage: 27.6% of statements 04:06:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.077s coverage: 78.9% of statements 04:06:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.076s coverage: 10.8% of statements 04:06:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.098s coverage: 60.0% of statements 04:06:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:06:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:06:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.082s coverage: 34.8% of statements 04:06:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:06:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.080s coverage: 85.4% of statements 04:06:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:06:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:06:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.114s coverage: 65.1% of statements 04:06:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.752s coverage: 89.2% of statements 04:06:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:06:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 04:06:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:06:19 555d1d1c4555: Pull complete 04:06:21 7d9057610161: Pull complete 04:06:21 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 04:06:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:06:21 ---> 819e984ddca1 04:06:21 Step 3/11 : ARG MAKE=make build 04:06:23 ---> Running in 623f192ea279 04:06:23 Removing intermediate container 623f192ea279 04:06:23 ---> ccbb9f836ff9 04:06:23 Step 4/11 : WORKDIR /device-sdk-go 04:06:23 ---> Running in c045176f95eb 04:06:23 Removing intermediate container c045176f95eb 04:06:23 ---> a66102f03786 04:06:23 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:06:23 ---> Running in ff2644889ec7 04:06:23 Removing intermediate container ff2644889ec7 04:06:23 ---> f59c0656085a 04:06:23 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:24 ---> Running in fc709fa81e0f 04:06:25 Removing intermediate container fc709fa81e0f 04:06:25 ---> f3bd8bfb3b6f 04:06:25 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:06:25 ---> Running in 3e60b89565b4 04:06:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:06:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:06:28 OK: 220 MiB in 52 packages 04:06:29 Removing intermediate container 3e60b89565b4 04:06:29 ---> b0323fd7028f 04:06:29 Step 8/11 : COPY go.mod vendor* ./ 04:06:29 ---> 8f6225b58a3a 04:06:29 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:29 ---> Running in 011e34cb6116 04:06:30 GO111MODULE=on go vet ./... 04:06:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:06:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:06:33 ./bin/test-attribution-txt.sh [Pipeline] echo 04:06:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:06:33 $ docker stop --time=1 2ec3eee6e4ab93d56cf9ba3301f74b7a0611eb3ace13c1a076a4e7f1cdf3fde5 04:06:36 $ docker rm -f 2ec3eee6e4ab93d56cf9ba3301f74b7a0611eb3ace13c1a076a4e7f1cdf3fde5 [Pipeline] // withDockerContainer [Pipeline] sh 04:06:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:06:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:06:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:06:38 + ls -al . 04:06:38 total 300 04:06:38 drwxrwxr-x 11 jenkins jenkins 4096 Jun 7 04:06 . 04:06:38 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:04 .. 04:06:38 -rw-rw-r-- 1 jenkins jenkins 140 Jun 7 04:04 .dockerignore 04:06:38 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 04:05 .git 04:06:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:04 .github 04:06:38 -rw-rw-r-- 1 jenkins jenkins 131 Jun 7 04:04 .gitignore 04:06:38 -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 04:04 .golangci.yml 04:06:38 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 04:05 .semver 04:06:38 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 7 04:04 CHANGELOG.md 04:06:38 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 04:04 GOVERNANCE.md 04:06:38 -rw-rw-r-- 1 jenkins jenkins 880 Jun 7 04:04 Jenkinsfile 04:06:38 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 7 04:04 LICENSE 04:06:38 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 7 04:04 Makefile 04:06:38 -rw-rw-r-- 1 jenkins jenkins 619 Jun 7 04:04 OWNERS.md 04:06:38 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 7 04:04 README.md 04:06:38 -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 04:05 VERSION 04:06:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:04 bin 04:06:38 -rw-r--r-- 1 jenkins jenkins 131010 Jun 7 04:06 coverage.out 04:06:38 drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:04 example 04:06:38 -rw-rw-r-- 1 jenkins jenkins 3131 Jun 7 04:04 go.mod 04:06:38 -rw-rw-r-- 1 jenkins jenkins 35039 Jun 7 04:04 go.sum 04:06:38 drwxrwxr-x 15 jenkins jenkins 4096 Jun 7 04:04 internal 04:06:38 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 04:04 openapi 04:06:38 drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:04 pkg 04:06:38 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:04 snap 04:06:38 -rw-rw-r-- 1 jenkins jenkins 222 Jun 7 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:38 + 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=8db0fe1ca3bb257608845c3112ddc7dd7646fc86 --label arch=amd64 --label version=0.0.0 . 04:06:38 Sending build context to Docker daemon 9.84MB 04:06:38 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:06:38 Step 2/25 : FROM ${BASE} AS builder 04:06:38 ---> d3afccd42725 04:06:38 Step 3/25 : ARG MAKE=make build 04:06:38 ---> Running in 8f1dc64cf2e9 04:06:38 Removing intermediate container 8f1dc64cf2e9 04:06:38 ---> efa16663b54c 04:06:38 Step 4/25 : WORKDIR /device-sdk-go 04:06:38 ---> Running in 493f6d14110b 04:06:39 Removing intermediate container 493f6d14110b 04:06:39 ---> 096dc0bcfc00 04:06:39 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:06:39 ---> Running in c3ce915ac31c 04:06:39 Removing intermediate container c3ce915ac31c 04:06:39 ---> 205369fa714e 04:06:39 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:39 ---> Running in 599f26b11d73 04:06:39 Removing intermediate container 599f26b11d73 04:06:39 ---> 9e650ef8d709 04:06:39 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:06:39 ---> Running in 42e30160af06 04:06:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:06:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:06:41 OK: 221 MiB in 52 packages 04:06:41 Removing intermediate container 42e30160af06 04:06:41 ---> d669c8c684cc 04:06:41 Step 8/25 : COPY go.mod vendor* ./ 04:06:41 ---> 1dc679071699 04:06:41 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:41 ---> Running in bb2cec8c3ce0 04:06:42 Removing intermediate container bb2cec8c3ce0 04:06:42 ---> 23e656594324 04:06:42 Step 10/25 : COPY . . 04:06:42 ---> 24eb163cb181 04:06:42 Step 11/25 : RUN ${MAKE} 04:06:42 ---> Running in 5c8586d2b146 04:06:43 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 04:07:01 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:07:02 Removing intermediate container 5c8586d2b146 04:07:02 ---> 428b40742374 04:07:02 Step 12/25 : FROM alpine:3.14 04:07:02 3.14: Pulling from library/alpine 04:07:02 8663204ce13b: Pulling fs layer 04:07:02 8663204ce13b: Verifying Checksum 04:07:02 8663204ce13b: Download complete 04:07:02 8663204ce13b: Pull complete 04:07:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:07:03 Status: Downloaded newer image for alpine:3.14 04:07:03 ---> e04c818066af 04:07:03 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:07:03 ---> Running in 6cdf51c18cef 04:07:03 Removing intermediate container 6cdf51c18cef 04:07:03 ---> 8343548f1ae1 04:07:03 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:07:03 ---> Running in 09938fc2a0e7 04:07:04 Removing intermediate container 09938fc2a0e7 04:07:04 ---> 6a12a64d2b85 04:07:04 Step 15/25 : RUN apk add --update --no-cache zeromq 04:07:04 ---> Running in feb85d68b86e 04:07:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:07:04 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:07:05 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:07:05 (2/5) Installing libsodium (1.0.18-r0) 04:07:05 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:07:05 (4/5) Installing libzmq (4.3.4-r0) 04:07:05 (5/5) Installing zeromq (4.3.4-r0) 04:07:05 Executing busybox-1.33.1-r7.trigger 04:07:05 OK: 8 MiB in 19 packages 04:07:06 Removing intermediate container feb85d68b86e 04:07:06 ---> 5cb0d0e1d4da 04:07:06 Step 16/25 : WORKDIR / 04:07:06 ---> Running in a4b84fa2bd44 04:07:06 Removing intermediate container a4b84fa2bd44 04:07:06 ---> 88446a656983 04:07:06 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:07:06 ---> a14b727a36a6 04:07:06 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:07:07 ---> a782d2ff4791 04:07:07 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:07:07 ---> 714fdeb43202 04:07:07 Step 20/25 : EXPOSE 59999 04:07:07 ---> Running in 705cad9f74a1 04:07:07 Removing intermediate container 705cad9f74a1 04:07:07 ---> 491522742636 04:07:07 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:07:07 ---> Running in 505dae8d6b05 04:07:07 Removing intermediate container 505dae8d6b05 04:07:07 ---> 3f60b72bd4d5 04:07:07 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:07:07 ---> Running in b1d382ec850b 04:07:07 Removing intermediate container b1d382ec850b 04:07:07 ---> 98f527c98a8c 04:07:07 Step 23/25 : LABEL arch=amd64 04:07:07 ---> Running in ae5bde16fe96 04:07:07 Removing intermediate container ae5bde16fe96 04:07:07 ---> ca10c3f693b5 04:07:07 Step 24/25 : LABEL git_sha=8db0fe1ca3bb257608845c3112ddc7dd7646fc86 04:07:07 ---> Running in df0ed73df3f7 04:07:07 Removing intermediate container df0ed73df3f7 04:07:07 ---> e8d204db2f34 04:07:07 Step 25/25 : LABEL version=0.0.0 04:07:07 ---> Running in 157e767d09c1 04:07:08 Removing intermediate container 157e767d09c1 04:07:08 ---> c3993c50dee2 04:07:08 [Warning] One or more build-args [ARCH] were not consumed 04:07:08 Successfully built c3993c50dee2 04:07:08 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:09 04:07:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:09 latest: Pulling from edgex-lftools-log-publisher 04:07:09 5eb5b503b376: Pulling fs layer 04:07:09 5c69ac0246d0: Pulling fs layer 04:07:09 ec43610c2a17: Pulling fs layer 04:07:09 3a2ae6a8a46f: Pulling fs layer 04:07:09 33b1e0a273af: Pulling fs layer 04:07:09 5d3b04190fa2: Pulling fs layer 04:07:09 2f39f015ded8: Pulling fs layer 04:07:09 3a2ae6a8a46f: Waiting 04:07:09 33b1e0a273af: Waiting 04:07:09 5d3b04190fa2: Waiting 04:07:09 2f39f015ded8: Waiting 04:07:09 5c69ac0246d0: Download complete 04:07:09 3a2ae6a8a46f: Download complete 04:07:09 33b1e0a273af: Verifying Checksum 04:07:09 33b1e0a273af: Download complete 04:07:09 ec43610c2a17: Verifying Checksum 04:07:09 ec43610c2a17: Download complete 04:07:09 5d3b04190fa2: Verifying Checksum 04:07:09 5d3b04190fa2: Download complete 04:07:09 5eb5b503b376: Verifying Checksum 04:07:09 5eb5b503b376: Download complete 04:07:10 2f39f015ded8: Verifying Checksum 04:07:10 2f39f015ded8: Download complete 04:07:10 5eb5b503b376: Pull complete 04:07:11 5c69ac0246d0: Pull complete 04:07:11 ec43610c2a17: Pull complete 04:07:11 3a2ae6a8a46f: Pull complete 04:07:11 33b1e0a273af: Pull complete 04:07:12 5d3b04190fa2: Pull complete 04:07:16 2f39f015ded8: Pull complete 04:07:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:07:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:16 prd-ubuntu20.04-docker-8c-8g-1600 does not seem to be running inside a container 04:07:16 $ 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-1174 -v /w/workspace/gexfoundry_device-sdk-go_PR-1174:/w/workspace/gexfoundry_device-sdk-go_PR-1174:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:07:16 Removing intermediate container 011e34cb6116 04:07:16 ---> 329548acefb3 04:07:16 Step 10/11 : COPY . . 04:07:16 ---> 5abd17794ce3 04:07:16 Step 11/11 : RUN ${MAKE} 04:07:16 ---> Running in 898923b336ba 04:07:16 noop 04:07:16 Removing intermediate container 898923b336ba 04:07:16 ---> a8b73220f497 04:07:16 Successfully built a8b73220f497 04:07:16 Successfully tagged ci-base-image-arm64:latest 04:07:18 $ docker top a518a719eb7ab00c135f10ea0afbcebd4076bed9f08887c2dcba821300fc3ec8 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:19 ---> job-cost.sh 04:07:19 lf-activate-venv: SKIPPING 04:07:19 INFO: No Stack... 04:07:19 + docker inspect -f . ci-base-image-arm64 04:07:19 . [Pipeline] } 04:07:19 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:19 prd-ubuntu20.04-docker-arm64-4c-16g-1596 does not seem to be running inside a container 04:07:19 $ 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 ******** ci-base-image-arm64 cat 04:07:20 INFO: Archiving Costs 04:07:21 $ docker top e7ab5f655f0d21896fa9bcfcd1e358a5187512b59584ea1774463b01216a4fa6 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 04:07:22 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1174/archives/cost.csv 04:07:22 + cut -d, -f6 [Pipeline] lock 04:07:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] 04:07:22 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] did not exist. Created. 04:07:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:07:22 + go version 04:07:22 go version go1.17.7 linux/arm64 [Pipeline] } 04:07:22 $ docker stop --time=1 e7ab5f655f0d21896fa9bcfcd1e358a5187512b59584ea1774463b01216a4fa6 04:07:22 + echo total: 0.2199999988079071 04:07:24 $ docker rm -f e7ab5f655f0d21896fa9bcfcd1e358a5187512b59584ea1774463b01216a4fa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash 04:07:24 Stashed 1 file(s) [Pipeline] // script [Pipeline] } [Pipeline] } 04:07:24 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] [Pipeline] // stage [Pipeline] // lock [Pipeline] } 04:07:24 $ docker stop --time=1 a518a719eb7ab00c135f10ea0afbcebd4076bed9f08887c2dcba821300fc3ec8 04:07:25 $ docker rm -f a518a719eb7ab00c135f10ea0afbcebd4076bed9f08887c2dcba821300fc3ec8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:26 + docker inspect -f . ci-base-image-arm64 04:07:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:26 prd-ubuntu20.04-docker-arm64-4c-16g-1596 does not seem to be running inside a container 04:07:26 $ 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 ******** ci-base-image-arm64 cat 04:07:28 $ docker top 1abcdb57ccce9dc9931bd7307f20ab26794149f47f9a77bf283c6361f45804f4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:07:29 + make test 04:07:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:07:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:09:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:09:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:09:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:09:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.366s coverage: 23.3% of statements 04:09:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:09:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.279s coverage: 27.6% of statements 04:09:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.324s coverage: 78.9% of statements 04:09:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.357s coverage: 10.8% of statements 04:09:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.490s coverage: 60.0% of statements 04:09:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:09:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:09:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.431s coverage: 34.8% of statements 04:09:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:09:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.298s coverage: 85.4% of statements 04:09:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:09:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:09:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.536s coverage: 65.1% of statements 04:09:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.225s coverage: 89.2% of statements 04:09:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:09:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.240s coverage: 4.7% of statements 04:09:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:09:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:09:55 GO111MODULE=on go vet ./... 04:11:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:11:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:11:32 ./bin/test-attribution-txt.sh [Pipeline] echo 04:11:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:11:32 $ docker stop --time=1 1abcdb57ccce9dc9931bd7307f20ab26794149f47f9a77bf283c6361f45804f4 04:11:34 $ docker rm -f 1abcdb57ccce9dc9931bd7307f20ab26794149f47f9a77bf283c6361f45804f4 [Pipeline] // withDockerContainer [Pipeline] sh 04:11:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:11:35 Warning: overwriting stash ‘coverage-report’ 04:11:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:11:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:11:37 + ls -al . 04:11:37 total 296 04:11:37 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 04:11 . 04:11:37 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:05 .. 04:11:37 -rw-rw-r-- 1 jenkins jenkins 140 Jun 7 04:05 .dockerignore 04:11:37 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 04:05 .git 04:11:37 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:05 .github 04:11:37 -rw-rw-r-- 1 jenkins jenkins 131 Jun 7 04:05 .gitignore 04:11:37 -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 04:05 .golangci.yml 04:11:37 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 7 04:05 CHANGELOG.md 04:11:37 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 04:05 GOVERNANCE.md 04:11:37 -rw-rw-r-- 1 jenkins jenkins 880 Jun 7 04:05 Jenkinsfile 04:11:37 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 7 04:05 LICENSE 04:11:37 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 7 04:05 Makefile 04:11:37 -rw-rw-r-- 1 jenkins jenkins 619 Jun 7 04:05 OWNERS.md 04:11:37 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 7 04:05 README.md 04:11:37 -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 04:05 VERSION 04:11:37 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 04:05 bin 04:11:37 -rw-r--r-- 1 jenkins jenkins 131011 Jun 7 04:09 coverage.out 04:11:37 drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:05 example 04:11:37 -rw-rw-r-- 1 jenkins jenkins 3131 Jun 7 04:05 go.mod 04:11:37 -rw-rw-r-- 1 jenkins jenkins 35039 Jun 7 04:05 go.sum 04:11:37 drwxrwxr-x 15 jenkins jenkins 4096 Jun 7 04:05 internal 04:11:37 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 04:05 openapi 04:11:37 drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 04:05 pkg 04:11:37 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 04:05 snap 04:11:37 -rw-rw-r-- 1 jenkins jenkins 222 Jun 7 04:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:37 + 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=8db0fe1ca3bb257608845c3112ddc7dd7646fc86 --label arch=arm64 --label version=0.0.0 . 04:11:38 Sending build context to Docker daemon 5.328MB 04:11:38 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:11:38 Step 2/25 : FROM ${BASE} AS builder 04:11:38 ---> a8b73220f497 04:11:38 Step 3/25 : ARG MAKE=make build 04:11:38 ---> Running in 734b65139ac7 04:11:38 Removing intermediate container 734b65139ac7 04:11:38 ---> 2286f5ac816f 04:11:38 Step 4/25 : WORKDIR /device-sdk-go 04:11:38 ---> Running in 71633035b2a4 04:11:38 Removing intermediate container 71633035b2a4 04:11:38 ---> 4a590fcf661e 04:11:38 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:11:38 ---> Running in 73fa18ac374c 04:11:39 Removing intermediate container 73fa18ac374c 04:11:39 ---> 88de1782b798 04:11:39 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:11:39 ---> Running in 0b21bd73033e 04:11:41 Removing intermediate container 0b21bd73033e 04:11:41 ---> 756b5acfbc2f 04:11:41 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:11:41 ---> Running in 997a5ecdfb8b 04:11:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:11:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:11:43 OK: 220 MiB in 52 packages 04:11:44 Removing intermediate container 997a5ecdfb8b 04:11:44 ---> bff30c98eb70 04:11:44 Step 8/25 : COPY go.mod vendor* ./ 04:11:44 ---> 5413124ada7f 04:11:44 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:44 ---> Running in 5941543a6611 04:11:46 Removing intermediate container 5941543a6611 04:11:46 ---> e4ff843088af 04:11:46 Step 10/25 : COPY . . 04:11:48 ---> 7f732671a4c4 04:11:48 Step 11/25 : RUN ${MAKE} 04:11:48 ---> Running in 156bf6a1951f 04:11:49 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 04:13:56 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:13:56 Removing intermediate container 156bf6a1951f 04:13:56 ---> a708adfea715 04:13:56 Step 12/25 : FROM alpine:3.14 04:13:56 3.14: Pulling from library/alpine 04:13:56 455c02918c45: Pulling fs layer 04:13:56 455c02918c45: Verifying Checksum 04:13:56 455c02918c45: Download complete 04:13:56 455c02918c45: Pull complete 04:13:56 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:13:56 Status: Downloaded newer image for alpine:3.14 04:13:56 ---> ac73e934f311 04:13:56 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:13:56 ---> Running in a171bf2463c1 04:13:56 Removing intermediate container a171bf2463c1 04:13:56 ---> 2c59342267cc 04:13:56 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:13:56 ---> Running in a4406bf15a6a 04:13:56 Removing intermediate container a4406bf15a6a 04:13:56 ---> 33511be2ec42 04:13:56 Step 15/25 : RUN apk add --update --no-cache zeromq 04:13:56 ---> Running in dcf43bc6bd01 04:13:57 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:13:58 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:13:58 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:13:59 (2/5) Installing libsodium (1.0.18-r0) 04:13:59 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:13:59 (4/5) Installing libzmq (4.3.4-r0) 04:13:59 (5/5) Installing zeromq (4.3.4-r0) 04:13:59 Executing busybox-1.33.1-r7.trigger 04:13:59 OK: 8 MiB in 19 packages 04:14:00 Removing intermediate container dcf43bc6bd01 04:14:00 ---> 204bc8b97fe4 04:14:00 Step 16/25 : WORKDIR / 04:14:00 ---> Running in 056b991d9c98 04:14:00 Removing intermediate container 056b991d9c98 04:14:00 ---> 31d463bf67af 04:14:00 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:14:01 ---> 51687ba4ea4f 04:14:01 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:14:02 ---> 2217ca219c67 04:14:02 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:14:03 ---> 4c7536aa5b0b 04:14:03 Step 20/25 : EXPOSE 59999 04:14:03 ---> Running in 9168d505ca8f 04:14:03 Removing intermediate container 9168d505ca8f 04:14:03 ---> d82b0defcfc1 04:14:03 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:14:03 ---> Running in 9b8471d58db9 04:14:04 Removing intermediate container 9b8471d58db9 04:14:04 ---> b7eea5baeca3 04:14:04 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:14:04 ---> Running in a19faf769f8f 04:14:04 Removing intermediate container a19faf769f8f 04:14:04 ---> 5c511f608554 04:14:04 Step 23/25 : LABEL arch=arm64 04:14:04 ---> Running in 6d0a4788a610 04:14:04 Removing intermediate container 6d0a4788a610 04:14:04 ---> ad22646b1f4f 04:14:04 Step 24/25 : LABEL git_sha=8db0fe1ca3bb257608845c3112ddc7dd7646fc86 04:14:04 ---> Running in 24b77299f2d9 04:14:05 Removing intermediate container 24b77299f2d9 04:14:05 ---> adfaafc90051 04:14:05 Step 25/25 : LABEL version=0.0.0 04:14:05 ---> Running in 6577dc9758e4 04:14:05 Removing intermediate container 6577dc9758e4 04:14:05 ---> 03a26bddd33a 04:14:05 [Warning] One or more build-args [ARCH] were not consumed 04:14:05 Successfully built 03a26bddd33a 04:14:05 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:14:06 04:14:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:14:07 arm64: Pulling from edgex-lftools-log-publisher 04:14:07 8998bd30e6a1: Pulling fs layer 04:14:07 04944245beec: Pulling fs layer 04:14:07 699f458cf7ca: Pulling fs layer 04:14:07 765212b225bb: Pulling fs layer 04:14:07 f23df028b6ca: Pulling fs layer 04:14:07 d65c8cfc05b1: Pulling fs layer 04:14:07 2437ff75d9bd: Pulling fs layer 04:14:07 765212b225bb: Waiting 04:14:07 f23df028b6ca: Waiting 04:14:07 d65c8cfc05b1: Waiting 04:14:07 2437ff75d9bd: Waiting 04:14:07 04944245beec: Verifying Checksum 04:14:07 04944245beec: Download complete 04:14:07 765212b225bb: Verifying Checksum 04:14:07 765212b225bb: Download complete 04:14:07 f23df028b6ca: Verifying Checksum 04:14:07 f23df028b6ca: Download complete 04:14:07 d65c8cfc05b1: Verifying Checksum 04:14:07 d65c8cfc05b1: Download complete 04:14:07 699f458cf7ca: Verifying Checksum 04:14:07 699f458cf7ca: Download complete 04:14:07 8998bd30e6a1: Download complete 04:14:10 2437ff75d9bd: Verifying Checksum 04:14:10 2437ff75d9bd: Download complete 04:14:12 8998bd30e6a1: Pull complete 04:14:12 04944245beec: Pull complete 04:14:14 699f458cf7ca: Pull complete 04:14:14 765212b225bb: Pull complete 04:14:14 f23df028b6ca: Pull complete 04:14:15 d65c8cfc05b1: Pull complete 04:14:30 2437ff75d9bd: Pull complete 04:14:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:14:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:14:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:14:30 prd-ubuntu20.04-docker-arm64-4c-16g-1596 does not seem to be running inside a container 04:14:30 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:14:33 $ docker top 189c8dc688007d9cdd46dccecd674678cacf3241e1896a43b3c6bf32e2258fc0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:14:34 ---> job-cost.sh 04:14:34 lf-activate-venv: SKIPPING 04:14:34 INFO: No Stack... 04:14:34 INFO: Retrieving Pricing Info for: v3-standard-4 04:14:35 INFO: Archiving Costs [Pipeline] sh 04:14:36 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:14:36 + cut -d, -f6 [Pipeline] lock 04:14:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] 04:14:36 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] did not exist. Created. 04:14:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:14:36 /w/workspace/device-sdk-go/1@tmp/durable-efd86c91/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:14:37 + echo total: 0.2199999988079071 [Pipeline] stash 04:14:37 Warning: overwriting stash ‘stack-cost’ 04:14:37 Stashed 1 file(s) [Pipeline] } 04:14:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1174-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:14:37 $ docker stop --time=1 189c8dc688007d9cdd46dccecd674678cacf3241e1896a43b3c6bf32e2258fc0 04:14:39 $ docker rm -f 189c8dc688007d9cdd46dccecd674678cacf3241e1896a43b3c6bf32e2258fc0 [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 04:14:40 provisioning config files... 04:14:40 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/config6085984368532233650tmp [Pipeline] { [Pipeline] sh 04:14:40 + set +x 04:14:40 + curl -s https://codecov.io/bash 04:14:40 + bash -s -- 04:14:40 04:14:40 _____ _ 04:14:40 / ____| | | 04:14:40 | | ___ __| | ___ ___ _____ __ 04:14:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:14:40 | |___| (_) | (_| | __/ (_| (_) \ V / 04:14:40 \_____\___/ \__,_|\___|\___\___/ \_/ 04:14:40 Bash-1.0.6 04:14:40 04:14:40 04:14:40 ==> git version 2.25.1 found 04:14:40 ==> 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 04:14:40 Release-Date: 2020-01-08 04:14:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:14:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:14:40 ==> Jenkins CI detected. 04:14:40 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1174 04:14:40 project root: . 04:14:40 --> token set from env 04:14:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:14:40 ==> Running gcov in . (disable via -X gcov) 04:14:40 ==> Python coveragepy not found 04:14:40 ==> Searching for coverage reports in: 04:14:40 + . 04:14:40 -> Found 1 reports 04:14:40 ==> Detecting git/mercurial file structure 04:14:40 ==> Reading reports 04:14:40 + ./coverage.out bytes=131011 04:14:40 ==> Appending adjustments 04:14:40 https://docs.codecov.io/docs/fixing-reports 04:14:41 + Found adjustments 04:14:41 ==> Gzipping contents 04:14:41 20K /tmp/codecov.TIFrYQ.gz 04:14:41 ==> Uploading reports 04:14:41 url: https://codecov.io 04:14:41 query: branch=PR-1174&commit=8db0fe1ca3bb257608845c3112ddc7dd7646fc86&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1174%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1174&job=&cmd_args= 04:14:41 -> Pinging Codecov 04:14:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1174&commit=8db0fe1ca3bb257608845c3112ddc7dd7646fc86&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1174%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1174&job=&cmd_args= 04:14:41 -> Uploading to 04:14:41 https://storage.googleapis.com/codecov/v4/raw/2022-06-07/7E55EF52A471D76F132DFD9A03CDDE97/8db0fe1ca3bb257608845c3112ddc7dd7646fc86/5fe1049b-f942-46c2-9f86-43b518d3163b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T041441Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=41ba0b7cae0f7a674273662e87f4174ca078a7477f326c3cc4266c1eb83bf97b 04:14:41 % Total % Received % Xferd Average Speed Time Time Time Current 04:14:41 Dload Upload Total Spent Left Speed 04:14:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16849 0 0 100 16849 0 78733 --:--:-- --:--:-- --:--:-- 78733 04:14:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8db0fe1ca3bb257608845c3112ddc7dd7646fc86 [Pipeline] } 04:14:41 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 04:14:43 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1174/archives ] 04:14:43 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1174/archives 04:14:43 total 16 04:14:43 drwxr-xr-x 3 root root 4096 Jun 7 04:07 . 04:14:43 drwxrwxr-x 12 jenkins jenkins 4096 Jun 7 04:07 .. 04:14:43 drwxr-xr-x 2 root root 4096 Jun 7 04:07 cost 04:14:43 -rw-r--r-- 1 root root 85 Jun 7 04:07 cost.csv 04:14:43 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1174/archives 04:14:43 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1174/archives 04:14:43 total 16 04:14:43 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 04:07 . 04:14:43 drwxrwxr-x 12 jenkins jenkins 4096 Jun 7 04:07 .. 04:14:43 drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 04:07 cost 04:14:43 -rw-r--r-- 1 jenkins jenkins 85 Jun 7 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:14:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:14:44 ---> package-listing.sh 04:14:44 ++ facter osfamily 04:14:44 ++ tr '[:upper:]' '[:lower:]' 04:14:44 + OS_FAMILY=debian 04:14:44 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1174 04:14:44 + START_PACKAGES=/tmp/packages_start.txt 04:14:44 + END_PACKAGES=/tmp/packages_end.txt 04:14:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:14:44 + PACKAGES=/tmp/packages_start.txt 04:14:44 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1174 ']' 04:14:44 + PACKAGES=/tmp/packages_end.txt 04:14:44 + case "${OS_FAMILY}" in 04:14:44 + grep '^ii' 04:14:44 + dpkg -l 04:14:44 + '[' -f /tmp/packages_start.txt ']' 04:14:44 + '[' -f /tmp/packages_end.txt ']' 04:14:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:14:44 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1174 ']' 04:14:44 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1174/archives/ 04:14:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1174/archives/ [Pipeline] echo 04:14:44 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-1174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:14:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:14:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:14:45 prd-ubuntu20.04-docker-8c-8g-1600 does not seem to be running inside a container 04:14:45 $ 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-1174/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-1174 -v /w/workspace/gexfoundry_device-sdk-go_PR-1174:/w/workspace/gexfoundry_device-sdk-go_PR-1174:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:14:45 $ docker top 114ca5f316861279f942ae09a3de6ec77667a5f7f2c2c356325c06aff3492944 -eo pid,comm [Pipeline] { [Pipeline] sh 04:14:46 + touch /tmp/pre-build-complete [Pipeline] sh 04:14:46 + mkdir -p /var/log/sysstat [Pipeline] sh 04:14:47 + ls /var/log/sa-host 04:14:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:14:47 provisioning config files... 04:14:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1174@tmp/config2812602962650440385tmp [Pipeline] { [Pipeline] echo 04:14:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:14:47 ---> create-netrc.sh [Pipeline] } 04:14:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:14:48 ---> python-tools-install.sh [Pipeline] echo 04:14:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:14:48 ---> sudo-logs.sh 04:14:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:14:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:14:48 ---> job-cost.sh 04:14:48 lf-activate-venv: SKIPPING 04:14:48 DEBUG: total: 0.2199999988079071 04:14:48 INFO: Retrieving Stack Cost... 04:14:49 INFO: Retrieving Pricing Info for: v3-standard-8 04:14:49 INFO: Archiving Costs [Pipeline] echo 04:14:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:14:49 ---> logs-deploy.sh 04:14:49 lf-activate-venv: SKIPPING 04:14:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1174/1 04:14:49 INFO: archiving workspace using pattern(s): 04:14:50 Archives upload complete. 04:14:50 INFO: archiving logs to Nexus