Pull request #1130 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at c11ae5f9cc83784f65659a881f6412b77a9cc0d8 rather than 828ce9130f6c7761fa5367ae0a92a32ead3670da Obtained Jenkinsfile from c11ae5f9cc83784f65659a881f6412b77a9cc0d8 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-ssh6724455539836796696.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh100590605168044770.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1130/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1130/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4043402963676493775.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-1130/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh198414524262686511.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6814997152504679888.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1130/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1130/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14854942783226862181.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-20602 in /w/workspace/gexfoundry_device-sdk-go_PR-1130 [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-1130 # 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 c11ae5f9cc83784f65659a881f6412b77a9cc0d8 into PR head commit 828ce9130f6c7761fa5367ae0a92a32ead3670da Merge succeeded, producing 828ce9130f6c7761fa5367ae0a92a32ead3670da Checking out Revision 828ce9130f6c7761fa5367ae0a92a32ead3670da (PR-1130) > 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/1130/head:refs/remotes/origin/PR-1130 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 828ce9130f6c7761fa5367ae0a92a32ead3670da # 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 c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 828ce9130f6c7761fa5367ae0a92a32ead3670da # timeout=10 Commit message: "feat: update go-mod-core-contract" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-12T01:57:01.097Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-12T01:57:01.278Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-12T01:57:01.376Z] ========================================================= [2022-04-12T01:57:01.376Z] EdgeX Global Pipelines Version Info [2022-04-12T01:57:01.376Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-12T01:57:02.177Z] ------------------- [2022-04-12T01:57:02.177Z] stable info: [2022-04-12T01:57:02.177Z] ------------------- [2022-04-12T01:57:02.177Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-12T01:57:02.177Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T01:57:02.177Z] Message: update stable to v1.0.221 [2022-04-12T01:57:02.753Z] ------------------- [2022-04-12T01:57:02.753Z] experimental info: [2022-04-12T01:57:02.753Z] ------------------- [2022-04-12T01:57:02.753Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-12T01:57:02.753Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T01:57:02.753Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-12T01:57:03.056Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-12T01:57:03.102Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-12T01:57:03.142Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-12T01:57:03.191Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-12T01:57:03.237Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-12T01:57:03.296Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-12T01:57:03.340Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-12T01:57:03.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-12T01:57:03.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-12T01:57:03.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-12T01:57:03.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-12T01:57:03.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-12T01:57:03.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-12T01:57:03.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-12T01:57:03.676Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-12T01:57:03.714Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T01:57:03.753Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T01:57:03.792Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T01:57:03.836Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-12T01:57:03.877Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-12T01:57:03.917Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-12T01:57:03.965Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-12T01:57:04.006Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-12T01:57:04.046Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-12T01:57:04.092Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-12T01:57:04.131Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-12T01:57:04.174Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1130 [Pipeline] echo [2022-04-12T01:57:04.220Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1130 [Pipeline] echo [2022-04-12T01:57:04.264Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1130 [Pipeline] echo [2022-04-12T01:57:04.307Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 828ce9130f6c7761fa5367ae0a92a32ead3670da [Pipeline] echo [2022-04-12T01:57:04.351Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 828ce91 [Pipeline] echo [2022-04-12T01:57:04.392Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T01:57:04.519Z] provisioning config files... [2022-04-12T01:57:04.538Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config38958980218783137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T01:57:04.915Z] ---> docker-login.sh [2022-04-12T01:57:04.915Z] nexus3.edgexfoundry.org:10001 [2022-04-12T01:57:05.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T01:57:05.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T01:57:05.179Z] Configure a credential helper to remove this warning. See [2022-04-12T01:57:05.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T01:57:05.179Z] [2022-04-12T01:57:05.179Z] Login Succeeded [2022-04-12T01:57:05.179Z] nexus3.edgexfoundry.org:10002 [2022-04-12T01:57:05.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T01:57:05.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T01:57:05.442Z] Configure a credential helper to remove this warning. See [2022-04-12T01:57:05.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T01:57:05.442Z] [2022-04-12T01:57:05.442Z] Login Succeeded [2022-04-12T01:57:05.442Z] nexus3.edgexfoundry.org:10003 [2022-04-12T01:57:05.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T01:57:05.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T01:57:05.442Z] Configure a credential helper to remove this warning. See [2022-04-12T01:57:05.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T01:57:05.442Z] [2022-04-12T01:57:05.442Z] Login Succeeded [2022-04-12T01:57:05.442Z] nexus3.edgexfoundry.org:10004 [2022-04-12T01:57:05.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T01:57:05.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T01:57:05.706Z] Configure a credential helper to remove this warning. See [2022-04-12T01:57:05.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T01:57:05.706Z] [2022-04-12T01:57:05.706Z] Login Succeeded [2022-04-12T01:57:05.706Z] docker.io [2022-04-12T01:57:05.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T01:57:06.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T01:57:06.290Z] Configure a credential helper to remove this warning. See [2022-04-12T01:57:06.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T01:57:06.290Z] [2022-04-12T01:57:06.290Z] Login Succeeded [2022-04-12T01:57:06.290Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T01:57:06.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-12T01:57:07.001Z] + git rev-list -1 --merges 828ce9130f6c7761fa5367ae0a92a32ead3670da~1..828ce9130f6c7761fa5367ae0a92a32ead3670da [Pipeline] echo [2022-04-12T01:57:07.154Z] -----------> git rev-list -1 --merges 828ce9130f6c7761fa5367ae0a92a32ead3670da~1..828ce9130f6c7761fa5367ae0a92a32ead3670da 828ce9130f6c7761fa5367ae0a92a32ead3670da [false] [Pipeline] sh [2022-04-12T01:57:07.472Z] + git log --format=format:%s -1 828ce9130f6c7761fa5367ae0a92a32ead3670da [Pipeline] echo [2022-04-12T01:57:07.509Z] ========================================================= [2022-04-12T01:57:07.509Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-12T01:57:07.509Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T01:57:07.947Z] + git log --format=format:%s -1 828ce9130f6c7761fa5367ae0a92a32ead3670da [Pipeline] echo [2022-04-12T01:57:07.979Z] [semverPrep] GIT_COMMIT: 828ce9130f6c7761fa5367ae0a92a32ead3670da, Commit Message: feat: update go-mod-core-contract [Pipeline] echo [2022-04-12T01:57:08.011Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-12T01:57:08.522Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-12T01:57:08.522Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-12T01:57:08.522Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-12T01:57:08.522Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-12T01:57:08.522Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-12T01:57:08.522Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-12T01:57:08.522Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-12T01:57:09.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T01:57:09.023Z] [2022-04-12T01:57:09.023Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T01:57:09.374Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T01:57:09.374Z] latest: Pulling from edgex-devops/git-semver [2022-04-12T01:57:09.374Z] a0d0a0d46f8b: Pulling fs layer [2022-04-12T01:57:09.374Z] 3e5f54012d9b: Pulling fs layer [2022-04-12T01:57:09.374Z] 4c7163046ea9: Pulling fs layer [2022-04-12T01:57:09.374Z] 0c2d73faf560: Pulling fs layer [2022-04-12T01:57:09.374Z] 0c2d73faf560: Waiting [2022-04-12T01:57:09.374Z] 3e5f54012d9b: Download complete [2022-04-12T01:57:09.374Z] a0d0a0d46f8b: Verifying Checksum [2022-04-12T01:57:09.374Z] a0d0a0d46f8b: Download complete [2022-04-12T01:57:09.374Z] 4c7163046ea9: Verifying Checksum [2022-04-12T01:57:09.374Z] 0c2d73faf560: Verifying Checksum [2022-04-12T01:57:09.374Z] 0c2d73faf560: Download complete [2022-04-12T01:57:09.635Z] a0d0a0d46f8b: Pull complete [2022-04-12T01:57:09.635Z] 3e5f54012d9b: Pull complete [2022-04-12T01:57:10.212Z] 4c7163046ea9: Pull complete [2022-04-12T01:57:10.212Z] 0c2d73faf560: Pull complete [2022-04-12T01:57:10.212Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-12T01:57:10.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T01:57:10.212Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-12T01:57:10.322Z] prd-ubuntu20.04-docker-8c-8g-20602 does not seem to be running inside a container [2022-04-12T01:57:10.372Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@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:10004/edgex-devops/git-semver:latest cat [2022-04-12T01:57:11.097Z] $ docker top f2b87b5b6c0697aafb004320875e8d0e768567a2fdbeea2697327fb3c14c3750 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-12T01:57:11.292Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T01:57:11.292Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T01:57:11.435Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T01:57:11.444Z] $ docker exec f2b87b5b6c0697aafb004320875e8d0e768567a2fdbeea2697327fb3c14c3750 ssh-agent [2022-04-12T01:57:11.577Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeiCpMD/agent.15 [2022-04-12T01:57:11.577Z] SSH_AGENT_PID=22 [2022-04-12T01:57:11.586Z] Running ssh-add (command line suppressed) [2022-04-12T01:57:11.726Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_3117461856730960494.key (/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_3117461856730960494.key) [2022-04-12T01:57:11.741Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T01:57:12.098Z] + git tag --points-at HEAD [Pipeline] } [2022-04-12T01:57:12.133Z] $ docker exec --env ******** --env ******** f2b87b5b6c0697aafb004320875e8d0e768567a2fdbeea2697327fb3c14c3750 ssh-agent -k [2022-04-12T01:57:12.255Z] unset SSH_AUTH_SOCK; [2022-04-12T01:57:12.260Z] unset SSH_AGENT_PID; [2022-04-12T01:57:12.261Z] echo Agent pid 22 killed; [2022-04-12T01:57:12.263Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-12T01:57:12.355Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T01:57:12.356Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T01:57:12.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T01:57:12.509Z] $ docker exec f2b87b5b6c0697aafb004320875e8d0e768567a2fdbeea2697327fb3c14c3750 ssh-agent [2022-04-12T01:57:12.629Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdaBFJp/agent.54 [2022-04-12T01:57:12.629Z] SSH_AGENT_PID=60 [2022-04-12T01:57:12.636Z] Running ssh-add (command line suppressed) [2022-04-12T01:57:12.760Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_3351171691065168993.key (/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_3351171691065168993.key) [2022-04-12T01:57:12.776Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T01:57:13.126Z] + git semver init [2022-04-12T01:57:13.126Z] # -> Open(): unable to determine branch for HEAD [2022-04-12T01:57:13.126Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1130/.git [2022-04-12T01:57:13.126Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1130 [2022-04-12T01:57:13.126Z] # $SEMVER_REMOTE_NAME = origin [2022-04-12T01:57:13.126Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-12T01:57:13.127Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-12T01:57:13.127Z] # $SEMVER_BRANCH = PR-1130 [2022-04-12T01:57:13.127Z] # $SEMVER_TEMP = /tmp/semver-175921451 [2022-04-12T01:57:13.127Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-12T01:57:14.514Z] # '/tmp/semver-175921451' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1130/.semver' [2022-04-12T01:57:14.514Z] # -> Force: false [2022-04-12T01:57:14.514Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1130/.semver [Pipeline] } [2022-04-12T01:57:14.546Z] $ docker exec --env ******** --env ******** f2b87b5b6c0697aafb004320875e8d0e768567a2fdbeea2697327fb3c14c3750 ssh-agent -k [2022-04-12T01:57:14.652Z] unset SSH_AUTH_SOCK; [2022-04-12T01:57:14.653Z] unset SSH_AGENT_PID; [2022-04-12T01:57:14.653Z] echo Agent pid 60 killed; [2022-04-12T01:57:14.658Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-12T01:57:15.100Z] + git semver [Pipeline] } [2022-04-12T01:57:15.140Z] $ docker stop --time=1 f2b87b5b6c0697aafb004320875e8d0e768567a2fdbeea2697327fb3c14c3750 [2022-04-12T01:57:16.527Z] $ docker rm -f f2b87b5b6c0697aafb004320875e8d0e768567a2fdbeea2697327fb3c14c3750 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T01:57:17.018Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-12T01:57:17.341Z] Stashed 1 file(s) [Pipeline] echo [2022-04-12T01:57:17.362Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T01:57:18.085Z] provisioning config files... [2022-04-12T01:57:18.096Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config5414318732478699683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T01:57:18.455Z] ---> docker-login.sh [2022-04-12T01:57:18.455Z] nexus3.edgexfoundry.org:10001 [2022-04-12T01:57:18.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T01:57:18.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T01:57:18.455Z] Configure a credential helper to remove this warning. See [2022-04-12T01:57:18.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T01:57:18.455Z] [2022-04-12T01:57:18.455Z] Login Succeeded [2022-04-12T01:57:18.455Z] nexus3.edgexfoundry.org:10002 [2022-04-12T01:57:18.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T01:57:18.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T01:57:18.716Z] Configure a credential helper to remove this warning. See [2022-04-12T01:57:18.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T01:57:18.716Z] [2022-04-12T01:57:18.716Z] Login Succeeded [2022-04-12T01:57:18.716Z] nexus3.edgexfoundry.org:10003 [2022-04-12T01:57:18.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T01:57:18.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T01:57:18.716Z] Configure a credential helper to remove this warning. See [2022-04-12T01:57:18.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T01:57:18.716Z] [2022-04-12T01:57:18.716Z] Login Succeeded [2022-04-12T01:57:18.716Z] nexus3.edgexfoundry.org:10004 [2022-04-12T01:57:18.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T01:57:18.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T01:57:18.979Z] Configure a credential helper to remove this warning. See [2022-04-12T01:57:18.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T01:57:18.979Z] [2022-04-12T01:57:18.979Z] Login Succeeded [2022-04-12T01:57:18.979Z] docker.io [2022-04-12T01:57:18.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T01:57:19.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T01:57:19.244Z] Configure a credential helper to remove this warning. See [2022-04-12T01:57:19.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T01:57:19.244Z] [2022-04-12T01:57:19.244Z] Login Succeeded [2022-04-12T01:57:19.244Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T01:57:19.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T01:57:19.467Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T01:57:19.495Z] ========================================================= [2022-04-12T01:57:19.495Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-12T01:57:19.495Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T01:57:19.922Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-12T01:57:19.922Z] Sending build context to Docker daemon 9.62MB [2022-04-12T01:57:19.922Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T01:57:19.922Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-12T01:57:20.186Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-12T01:57:20.186Z] 59bf1c3509f3: Pulling fs layer [2022-04-12T01:57:20.186Z] 666ba61612fd: Pulling fs layer [2022-04-12T01:57:20.186Z] 8ed8ca486205: Pulling fs layer [2022-04-12T01:57:20.186Z] 4fe6c5a15a65: Pulling fs layer [2022-04-12T01:57:20.186Z] 22a0e8bec74d: Pulling fs layer [2022-04-12T01:57:20.186Z] 640e595b4fbd: Pulling fs layer [2022-04-12T01:57:20.186Z] 763cafe07f6e: Pulling fs layer [2022-04-12T01:57:20.186Z] 0c0b528cf693: Pulling fs layer [2022-04-12T01:57:20.186Z] 10935f4eaf8b: Pulling fs layer [2022-04-12T01:57:20.186Z] 640e595b4fbd: Waiting [2022-04-12T01:57:20.186Z] 763cafe07f6e: Waiting [2022-04-12T01:57:20.186Z] 0c0b528cf693: Waiting [2022-04-12T01:57:20.186Z] 10935f4eaf8b: Waiting [2022-04-12T01:57:20.186Z] 4fe6c5a15a65: Waiting [2022-04-12T01:57:20.186Z] 22a0e8bec74d: Waiting [2022-04-12T01:57:20.186Z] 8ed8ca486205: Download complete [2022-04-12T01:57:20.186Z] 666ba61612fd: Download complete [2022-04-12T01:57:20.186Z] 22a0e8bec74d: Verifying Checksum [2022-04-12T01:57:20.186Z] 22a0e8bec74d: Download complete [2022-04-12T01:57:20.186Z] 640e595b4fbd: Download complete [2022-04-12T01:57:20.186Z] 59bf1c3509f3: Verifying Checksum [2022-04-12T01:57:20.186Z] 59bf1c3509f3: Download complete [2022-04-12T01:57:20.186Z] 763cafe07f6e: Download complete [2022-04-12T01:57:20.186Z] 0c0b528cf693: Verifying Checksum [2022-04-12T01:57:20.186Z] 0c0b528cf693: Download complete [2022-04-12T01:57:20.186Z] 59bf1c3509f3: Pull complete [2022-04-12T01:57:20.983Z] 666ba61612fd: Pull complete [2022-04-12T01:57:20.983Z] 8ed8ca486205: Pull complete [2022-04-12T01:57:20.983Z] 10935f4eaf8b: Verifying Checksum [2022-04-12T01:57:20.983Z] 10935f4eaf8b: Download complete [2022-04-12T01:57:20.983Z] 4fe6c5a15a65: Verifying Checksum [2022-04-12T01:57:20.983Z] 4fe6c5a15a65: Download complete [2022-04-12T01:57:25.184Z] 4fe6c5a15a65: Pull complete [2022-04-12T01:57:25.184Z] 22a0e8bec74d: Pull complete [2022-04-12T01:57:25.184Z] 640e595b4fbd: Pull complete [2022-04-12T01:57:25.184Z] 763cafe07f6e: Pull complete [2022-04-12T01:57:25.184Z] 0c0b528cf693: Pull complete [2022-04-12T01:57:27.097Z] 10935f4eaf8b: Pull complete [2022-04-12T01:57:27.098Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-12T01:57:27.367Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-12T01:57:27.367Z] ---> 99d49a6021b9 [2022-04-12T01:57:27.367Z] Step 3/11 : ARG MAKE=make build [2022-04-12T01:57:28.761Z] ---> Running in e7a430bbaf59 [2022-04-12T01:57:28.761Z] Removing intermediate container e7a430bbaf59 [2022-04-12T01:57:28.761Z] ---> 1eb7d542b043 [2022-04-12T01:57:28.761Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-12T01:57:28.761Z] ---> Running in 39847077d281 [2022-04-12T01:57:29.022Z] Removing intermediate container 39847077d281 [2022-04-12T01:57:29.022Z] ---> 033006c79ebe [2022-04-12T01:57:29.023Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T01:57:29.023Z] ---> Running in 5bb03544f95b [2022-04-12T01:57:29.023Z] Removing intermediate container 5bb03544f95b [2022-04-12T01:57:29.023Z] ---> 9e0305987dca [2022-04-12T01:57:29.023Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T01:57:29.023Z] ---> Running in 175f8431a6f3 [2022-04-12T01:57:29.593Z] Removing intermediate container 175f8431a6f3 [2022-04-12T01:57:29.593Z] ---> ac7f97775715 [2022-04-12T01:57:29.593Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T01:57:29.853Z] ---> Running in 197d64ce4367 [2022-04-12T01:57:30.116Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T01:57:31.061Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T01:57:31.323Z] OK: 221 MiB in 52 packages [2022-04-12T01:57:31.585Z] Removing intermediate container 197d64ce4367 [2022-04-12T01:57:31.585Z] ---> 352695a101e1 [2022-04-12T01:57:31.585Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-12T01:57:31.585Z] ---> 09c3d68b88c8 [2022-04-12T01:57:31.585Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T01:57:31.845Z] ---> Running in 5bd13d58e179 [2022-04-12T01:57:32.905Z] Still waiting to schedule task [2022-04-12T01:57:32.906Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20601’ [2022-04-12T01:57:46.837Z] Removing intermediate container 5bd13d58e179 [2022-04-12T01:57:46.837Z] ---> 2c48bcd0aa89 [2022-04-12T01:57:46.837Z] Step 10/11 : COPY . . [2022-04-12T01:57:46.837Z] ---> a727506e5af2 [2022-04-12T01:57:46.837Z] Step 11/11 : RUN ${MAKE} [2022-04-12T01:57:46.837Z] ---> Running in 9dead42eaa08 [2022-04-12T01:57:46.837Z] noop [2022-04-12T01:57:47.099Z] Removing intermediate container 9dead42eaa08 [2022-04-12T01:57:47.099Z] ---> 01ce15047679 [2022-04-12T01:57:47.099Z] Successfully built 01ce15047679 [2022-04-12T01:57:47.099Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T01:57:47.428Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T01:57:47.428Z] . [Pipeline] withDockerContainer [2022-04-12T01:57:47.525Z] prd-ubuntu20.04-docker-8c-8g-20602 does not seem to be running inside a container [2022-04-12T01:57:47.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-12T01:57:47.977Z] $ docker top 27f8cef2b11e8ecabd3059ec6fc6756ac0248ce86ca312ad110aa5e5e5538322 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T01:57:48.385Z] + go version [2022-04-12T01:57:48.385Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-12T01:57:48.428Z] $ docker stop --time=1 27f8cef2b11e8ecabd3059ec6fc6756ac0248ce86ca312ad110aa5e5e5538322 [2022-04-12T01:57:49.723Z] $ docker rm -f 27f8cef2b11e8ecabd3059ec6fc6756ac0248ce86ca312ad110aa5e5e5538322 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T01:57:50.374Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T01:57:50.374Z] . [Pipeline] withDockerContainer [2022-04-12T01:57:50.463Z] prd-ubuntu20.04-docker-8c-8g-20602 does not seem to be running inside a container [2022-04-12T01:57:50.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-12T01:57:50.871Z] $ docker top b3787375edc81447daa5cec8e98009516452e1b2de9fcbbd6be7db250f3ebf00 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T01:57:51.308Z] + make test [2022-04-12T01:57:51.308Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-12T01:57:51.570Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-12T01:58:01.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-12T01:58:01.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-12T01:58:01.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-12T01:58:01.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.020s coverage: 23.3% of statements [2022-04-12T01:58:01.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-12T01:58:01.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.023s coverage: 27.6% of statements [2022-04-12T01:58:01.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.022s coverage: 78.9% of statements [2022-04-12T01:58:01.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.024s coverage: 10.8% of statements [2022-04-12T01:58:01.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-12T01:58:01.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-12T01:58:01.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-12T01:58:01.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.015s coverage: 33.2% of statements [2022-04-12T01:58:01.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-12T01:58:02.497Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.019s coverage: 86.1% of statements [2022-04-12T01:58:02.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-12T01:58:02.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-12T01:58:02.497Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.020s coverage: 57.2% of statements [2022-04-12T01:58:02.497Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.043s coverage: 89.2% of statements [2022-04-12T01:58:02.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-12T01:58:02.497Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.015s coverage: 4.8% of statements [2022-04-12T01:58:02.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-12T01:58:09.072Z] GO111MODULE=on go vet ./... [2022-04-12T01:58:12.365Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T01:58:12.365Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T01:58:12.365Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T01:58:12.964Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T01:58:12.995Z] $ docker stop --time=1 b3787375edc81447daa5cec8e98009516452e1b2de9fcbbd6be7db250f3ebf00 [2022-04-12T01:58:14.913Z] $ docker rm -f b3787375edc81447daa5cec8e98009516452e1b2de9fcbbd6be7db250f3ebf00 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T01:58:15.423Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T01:58:15.500Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-12T01:58:16.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T01:58:16.954Z] + ls -al . [2022-04-12T01:58:16.954Z] total 296 [2022-04-12T01:58:16.954Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 12 01:58 . [2022-04-12T01:58:16.954Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 01:56 .. [2022-04-12T01:58:16.954Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 01:56 .dockerignore [2022-04-12T01:58:16.954Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 01:57 .git [2022-04-12T01:58:16.954Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 01:56 .github [2022-04-12T01:58:16.954Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 01:56 .gitignore [2022-04-12T01:58:16.954Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 01:56 .golangci.yml [2022-04-12T01:58:16.954Z] drwx------ 3 jenkins jenkins 4096 Apr 12 01:57 .semver [2022-04-12T01:58:16.954Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 01:56 CHANGELOG.md [2022-04-12T01:58:16.954Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 01:56 GOVERNANCE.md [2022-04-12T01:58:16.954Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 01:56 Jenkinsfile [2022-04-12T01:58:16.954Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 01:56 LICENSE [2022-04-12T01:58:16.954Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 12 01:56 Makefile [2022-04-12T01:58:16.954Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 01:56 OWNERS.md [2022-04-12T01:58:16.954Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 01:56 README.md [2022-04-12T01:58:16.954Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 01:57 VERSION [2022-04-12T01:58:16.954Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 01:56 bin [2022-04-12T01:58:16.954Z] -rw-r--r-- 1 jenkins jenkins 129185 Apr 12 01:58 coverage.out [2022-04-12T01:58:16.954Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 01:56 example [2022-04-12T01:58:16.954Z] -rw-rw-r-- 1 jenkins jenkins 3257 Apr 12 01:56 go.mod [2022-04-12T01:58:16.954Z] -rw-rw-r-- 1 jenkins jenkins 34491 Apr 12 01:56 go.sum [2022-04-12T01:58:16.954Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 01:56 internal [2022-04-12T01:58:16.954Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 01:56 openapi [2022-04-12T01:58:16.954Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 01:56 pkg [2022-04-12T01:58:16.954Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 01:56 snap [2022-04-12T01:58:16.954Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 01:56 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-12T01:58:17.284Z] + 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=828ce9130f6c7761fa5367ae0a92a32ead3670da --label arch=amd64 --label version=0.0.0 . [2022-04-12T01:58:17.285Z] Sending build context to Docker daemon 9.751MB [2022-04-12T01:58:17.285Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T01:58:17.285Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-12T01:58:17.285Z] ---> 01ce15047679 [2022-04-12T01:58:17.285Z] Step 3/25 : ARG MAKE=make build [2022-04-12T01:58:17.547Z] ---> Running in 64f971904631 [2022-04-12T01:58:17.547Z] Removing intermediate container 64f971904631 [2022-04-12T01:58:17.547Z] ---> b4644f26dc21 [2022-04-12T01:58:17.547Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-12T01:58:17.547Z] ---> Running in 0eb9d518067a [2022-04-12T01:58:17.547Z] Removing intermediate container 0eb9d518067a [2022-04-12T01:58:17.547Z] ---> 33759b71300c [2022-04-12T01:58:17.547Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T01:58:17.807Z] ---> Running in af2d40d7e0d8 [2022-04-12T01:58:17.807Z] Removing intermediate container af2d40d7e0d8 [2022-04-12T01:58:17.807Z] ---> c177c1779686 [2022-04-12T01:58:17.807Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T01:58:17.807Z] ---> Running in d56d23212894 [2022-04-12T01:58:18.385Z] Removing intermediate container d56d23212894 [2022-04-12T01:58:18.385Z] ---> 4fd8df2d49cb [2022-04-12T01:58:18.385Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T01:58:18.385Z] ---> Running in 2cd6eab880ff [2022-04-12T01:58:18.645Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T01:58:19.587Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T01:58:19.850Z] OK: 221 MiB in 52 packages [2022-04-12T01:58:20.111Z] Removing intermediate container 2cd6eab880ff [2022-04-12T01:58:20.111Z] ---> 6e52953b0645 [2022-04-12T01:58:20.111Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-12T01:58:20.374Z] ---> 88669410f2c9 [2022-04-12T01:58:20.374Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T01:58:20.374Z] ---> Running in 12c9d76e964c [2022-04-12T01:58:20.944Z] Removing intermediate container 12c9d76e964c [2022-04-12T01:58:20.944Z] ---> e764cfa6aa3e [2022-04-12T01:58:20.944Z] Step 10/25 : COPY . . [2022-04-12T01:58:21.515Z] ---> 4da586114021 [2022-04-12T01:58:21.515Z] Step 11/25 : RUN ${MAKE} [2022-04-12T01:58:21.515Z] ---> Running in 6ccff38df97a [2022-04-12T01:58:21.775Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-12T01:58:39.879Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-12T01:58:40.141Z] Removing intermediate container 6ccff38df97a [2022-04-12T01:58:40.141Z] ---> b879f2a314c9 [2022-04-12T01:58:40.141Z] Step 12/25 : FROM alpine:3.14 [2022-04-12T01:58:41.081Z] 3.14: Pulling from library/alpine [2022-04-12T01:58:41.081Z] 8663204ce13b: Pulling fs layer [2022-04-12T01:58:41.081Z] 8663204ce13b: Download complete [2022-04-12T01:58:41.342Z] 8663204ce13b: Pull complete [2022-04-12T01:58:41.342Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-12T01:58:41.342Z] Status: Downloaded newer image for alpine:3.14 [2022-04-12T01:58:41.342Z] ---> e04c818066af [2022-04-12T01:58:41.342Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T01:58:41.603Z] ---> Running in 0d0679219a9f [2022-04-12T01:58:41.603Z] Removing intermediate container 0d0679219a9f [2022-04-12T01:58:41.603Z] ---> e382dcd02fd9 [2022-04-12T01:58:41.603Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T01:58:41.603Z] ---> Running in 0c7a4959343f [2022-04-12T01:58:42.175Z] Removing intermediate container 0c7a4959343f [2022-04-12T01:58:42.175Z] ---> c8bd5fbe84c8 [2022-04-12T01:58:42.175Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-12T01:58:42.175Z] ---> Running in 6e42d7988067 [2022-04-12T01:58:42.435Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-12T01:58:43.378Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-12T01:58:43.642Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-12T01:58:43.642Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-12T01:58:43.905Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-12T01:58:43.905Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-12T01:58:43.905Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-12T01:58:44.167Z] Executing busybox-1.33.1-r7.trigger [2022-04-12T01:58:44.168Z] OK: 8 MiB in 19 packages [2022-04-12T01:58:44.428Z] Removing intermediate container 6e42d7988067 [2022-04-12T01:58:44.428Z] ---> 7f95802dc1bd [2022-04-12T01:58:44.428Z] Step 16/25 : WORKDIR / [2022-04-12T01:58:44.428Z] ---> Running in 8ea28efcba95 [2022-04-12T01:58:44.428Z] Removing intermediate container 8ea28efcba95 [2022-04-12T01:58:44.428Z] ---> 01b57a400ebe [2022-04-12T01:58:44.428Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-12T01:58:44.687Z] ---> 3587feb0df00 [2022-04-12T01:58:44.687Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-12T01:58:45.258Z] ---> 899fa790d8d8 [2022-04-12T01:58:45.258Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-12T01:58:45.519Z] ---> d52db7ae57f3 [2022-04-12T01:58:45.519Z] Step 20/25 : EXPOSE 59999 [2022-04-12T01:58:45.519Z] ---> Running in 1324383ced7d [2022-04-12T01:58:45.519Z] Removing intermediate container 1324383ced7d [2022-04-12T01:58:45.519Z] ---> 55f9231f8d1c [2022-04-12T01:58:45.519Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-12T01:58:45.519Z] ---> Running in d413da56d778 [2022-04-12T01:58:45.781Z] Removing intermediate container d413da56d778 [2022-04-12T01:58:45.781Z] ---> 6d6239bba05e [2022-04-12T01:58:45.781Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T01:58:45.782Z] ---> Running in 8e3734f2ee34 [2022-04-12T01:58:45.782Z] Removing intermediate container 8e3734f2ee34 [2022-04-12T01:58:45.782Z] ---> 7ed6a93e407a [2022-04-12T01:58:45.782Z] Step 23/25 : LABEL arch=amd64 [2022-04-12T01:58:45.782Z] ---> Running in 3e059ed416c6 [2022-04-12T01:58:46.042Z] Removing intermediate container 3e059ed416c6 [2022-04-12T01:58:46.042Z] ---> 527be0ef8385 [2022-04-12T01:58:46.042Z] Step 24/25 : LABEL git_sha=828ce9130f6c7761fa5367ae0a92a32ead3670da [2022-04-12T01:58:46.042Z] ---> Running in 885a5887af47 [2022-04-12T01:58:46.042Z] Removing intermediate container 885a5887af47 [2022-04-12T01:58:46.042Z] ---> 5d5916b1b051 [2022-04-12T01:58:46.042Z] Step 25/25 : LABEL version=0.0.0 [2022-04-12T01:58:46.042Z] ---> Running in 6dc14520a4c0 [2022-04-12T01:58:46.301Z] Removing intermediate container 6dc14520a4c0 [2022-04-12T01:58:46.301Z] ---> 17030c07bf77 [2022-04-12T01:58:46.301Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-12T01:58:46.301Z] Successfully built 17030c07bf77 [2022-04-12T01:58:46.301Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T01:58:47.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T01:58:47.010Z] [2022-04-12T01:58:47.010Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T01:58:47.347Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T01:58:47.348Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-12T01:58:47.348Z] 5eb5b503b376: Pulling fs layer [2022-04-12T01:58:47.348Z] 5c69ac0246d0: Pulling fs layer [2022-04-12T01:58:47.348Z] ec43610c2a17: Pulling fs layer [2022-04-12T01:58:47.348Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-12T01:58:47.348Z] 33b1e0a273af: Pulling fs layer [2022-04-12T01:58:47.348Z] 5d3b04190fa2: Pulling fs layer [2022-04-12T01:58:47.348Z] 2f39f015ded8: Pulling fs layer [2022-04-12T01:58:47.348Z] 2f39f015ded8: Waiting [2022-04-12T01:58:47.348Z] 33b1e0a273af: Waiting [2022-04-12T01:58:47.348Z] 5d3b04190fa2: Waiting [2022-04-12T01:58:47.348Z] 3a2ae6a8a46f: Waiting [2022-04-12T01:58:47.348Z] 5c69ac0246d0: Retrying in 5 seconds [2022-04-12T01:58:47.348Z] ec43610c2a17: Verifying Checksum [2022-04-12T01:58:47.348Z] ec43610c2a17: Download complete [2022-04-12T01:58:47.348Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-12T01:58:47.348Z] 3a2ae6a8a46f: Download complete [2022-04-12T01:58:47.607Z] 33b1e0a273af: Verifying Checksum [2022-04-12T01:58:47.607Z] 33b1e0a273af: Download complete [2022-04-12T01:58:47.607Z] 5d3b04190fa2: Verifying Checksum [2022-04-12T01:58:47.607Z] 5d3b04190fa2: Download complete [2022-04-12T01:58:47.607Z] 5eb5b503b376: Verifying Checksum [2022-04-12T01:58:47.607Z] 5eb5b503b376: Download complete [2022-04-12T01:58:48.174Z] 2f39f015ded8: Download complete [2022-04-12T01:58:48.436Z] 5c69ac0246d0: Retrying in 4 seconds [2022-04-12T01:58:48.696Z] 5eb5b503b376: Pull complete [2022-04-12T01:58:49.273Z] 5c69ac0246d0: Retrying in 3 seconds [2022-04-12T01:58:50.658Z] 5c69ac0246d0: Retrying in 2 seconds [2022-04-12T01:58:51.599Z] 5c69ac0246d0: Retrying in 1 second [2022-04-12T01:58:52.542Z] 5c69ac0246d0: Retrying in 10 seconds [2022-04-12T01:58:53.486Z] 5c69ac0246d0: Retrying in 9 seconds [2022-04-12T01:58:54.430Z] 5c69ac0246d0: Retrying in 8 seconds [2022-04-12T01:58:55.373Z] 5c69ac0246d0: Retrying in 7 seconds [2022-04-12T01:58:56.313Z] 5c69ac0246d0: Retrying in 6 seconds [2022-04-12T01:58:57.697Z] 5c69ac0246d0: Retrying in 5 seconds [2022-04-12T01:58:58.269Z] 5c69ac0246d0: Retrying in 4 seconds [2022-04-12T01:58:59.655Z] 5c69ac0246d0: Retrying in 3 seconds [2022-04-12T01:59:00.602Z] 5c69ac0246d0: Retrying in 2 seconds [2022-04-12T01:59:01.633Z] 5c69ac0246d0: Retrying in 1 second [2022-04-12T01:59:02.625Z] 5c69ac0246d0: Verifying Checksum [2022-04-12T01:59:02.625Z] 5c69ac0246d0: Download complete [2022-04-12T01:59:02.625Z] 5c69ac0246d0: Pull complete [2022-04-12T01:59:02.883Z] ec43610c2a17: Pull complete [2022-04-12T01:59:03.144Z] 3a2ae6a8a46f: Pull complete [2022-04-12T01:59:03.144Z] 33b1e0a273af: Pull complete [2022-04-12T01:59:03.406Z] 5d3b04190fa2: Pull complete [2022-04-12T01:59:07.599Z] 2f39f015ded8: Pull complete [2022-04-12T01:59:07.600Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-12T01:59:07.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T01:59:07.600Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-12T01:59:07.685Z] prd-ubuntu20.04-docker-8c-8g-20602 does not seem to be running inside a container [2022-04-12T01:59:07.724Z] $ 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-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-12T01:59:09.671Z] $ docker top 5ecb8fa6ae2b63fc5d8b7d03772f17fa9e69a4d59f6fd1ea14b2794b7fd7682f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T01:59:10.176Z] ---> job-cost.sh [2022-04-12T01:59:10.176Z] lf-activate-venv: SKIPPING [2022-04-12T01:59:10.176Z] INFO: No Stack... [2022-04-12T01:59:10.437Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T01:59:11.006Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T01:59:11.326Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/cost.csv [2022-04-12T01:59:11.326Z] + cut -d, -f6 [Pipeline] lock [2022-04-12T01:59:11.366Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1130-1-stack-cost] [2022-04-12T01:59:11.370Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-1-stack-cost] did not exist. Created. [2022-04-12T01:59:11.370Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1130-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T01:59:11.759Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-12T01:59:11.806Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T01:59:11.834Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T01:59:11.918Z] $ docker stop --time=1 5ecb8fa6ae2b63fc5d8b7d03772f17fa9e69a4d59f6fd1ea14b2794b7fd7682f [2022-04-12T01:59:13.083Z] $ docker rm -f 5ecb8fa6ae2b63fc5d8b7d03772f17fa9e69a4d59f6fd1ea14b2794b7fd7682f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-12T02:01:15.248Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20603 in /w/workspace/gexfoundry_device-sdk-go_PR-1130 [Pipeline] { [Pipeline] ws [2022-04-12T02:01:15.288Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-04-12T02:01:15.751Z] The recommended git tool is: git [2022-04-12T02:01:22.745Z] using credential edgex-jenkins-ssh [2022-04-12T02:01:22.768Z] Cloning the remote Git repository [2022-04-12T02:01:22.857Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T02:01:22.956Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-04-12T02:01:23.066Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T02:01:23.067Z] > git --version # timeout=10 [2022-04-12T02:01:23.105Z] > git --version # 'git version 2.25.1' [2022-04-12T02:01:23.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T02:01:23.231Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T02:01:25.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-12T02:01:25.116Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T02:01:25.149Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-12T02:01:25.277Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T02:01:25.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T02:01:25.307Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1130/head:refs/remotes/origin/PR-1130 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-12T02:01:26.024Z] Merging remotes/origin/main commit c11ae5f9cc83784f65659a881f6412b77a9cc0d8 into PR head commit 828ce9130f6c7761fa5367ae0a92a32ead3670da [2022-04-12T02:01:26.361Z] Merge succeeded, producing 828ce9130f6c7761fa5367ae0a92a32ead3670da [2022-04-12T02:01:26.362Z] Checking out Revision 828ce9130f6c7761fa5367ae0a92a32ead3670da (PR-1130) [2022-04-12T02:01:26.056Z] > git config core.sparsecheckout # timeout=10 [2022-04-12T02:01:26.085Z] > git checkout -f 828ce9130f6c7761fa5367ae0a92a32ead3670da # timeout=10 [2022-04-12T02:01:26.257Z] > git remote # timeout=10 [2022-04-12T02:01:26.283Z] > git config --get remote.origin.url # timeout=10 [2022-04-12T02:01:26.305Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T02:01:26.320Z] > git merge c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 [2022-04-12T02:01:26.348Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-12T02:01:26.373Z] > git config core.sparsecheckout # timeout=10 [2022-04-12T02:01:26.422Z] > git checkout -f 828ce9130f6c7761fa5367ae0a92a32ead3670da # timeout=10 [2022-04-12T02:01:30.740Z] Commit message: "feat: update go-mod-core-contract" [2022-04-12T02:01:30.808Z] > git --version # timeout=10 [2022-04-12T02:01:30.818Z] > git --version # 'git version 2.25.1' [2022-04-12T02:01:30.835Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T02:01:32.074Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-12T02:01:32.074Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T02:01:32.074Z] Dload Upload Total Spent Left Speed [2022-04-12T02:01:32.074Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46443 0 --:--:-- --:--:-- --:--:-- 46261 [Pipeline] sh [2022-04-12T02:01:32.602Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-12T02:01:32.972Z] + sudo tee /etc/docker/daemon.new [2022-04-12T02:01:32.972Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-12T02:01:32.972Z] { [2022-04-12T02:01:32.972Z] "registry-mirrors": [ [2022-04-12T02:01:32.972Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-12T02:01:32.972Z] ], [2022-04-12T02:01:32.972Z] "bip": "10.250.0.254/24", [2022-04-12T02:01:32.972Z] "hosts": [ [2022-04-12T02:01:32.972Z] "tcp://0.0.0.0:5555", [2022-04-12T02:01:32.972Z] "unix:///var/run/docker.sock" [2022-04-12T02:01:32.972Z] ], [2022-04-12T02:01:32.972Z] "mtu": 1458, [2022-04-12T02:01:32.972Z] "selinux-enabled": true, [2022-04-12T02:01:32.972Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-12T02:01:32.972Z] } [Pipeline] sh [2022-04-12T02:01:33.343Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-12T02:01:33.747Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T02:01:52.170Z] provisioning config files... [2022-04-12T02:01:52.202Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9213847392381712408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:01:52.623Z] ---> docker-login.sh [2022-04-12T02:01:52.623Z] nexus3.edgexfoundry.org:10001 [2022-04-12T02:01:53.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:01:53.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:01:53.554Z] Configure a credential helper to remove this warning. See [2022-04-12T02:01:53.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:01:53.554Z] [2022-04-12T02:01:53.554Z] Login Succeeded [2022-04-12T02:01:53.554Z] nexus3.edgexfoundry.org:10002 [2022-04-12T02:01:54.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:01:54.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:01:54.036Z] Configure a credential helper to remove this warning. See [2022-04-12T02:01:54.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:01:54.036Z] [2022-04-12T02:01:54.036Z] Login Succeeded [2022-04-12T02:01:54.036Z] nexus3.edgexfoundry.org:10003 [2022-04-12T02:01:54.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:01:54.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:01:54.645Z] Configure a credential helper to remove this warning. See [2022-04-12T02:01:54.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:01:54.645Z] [2022-04-12T02:01:54.645Z] Login Succeeded [2022-04-12T02:01:54.645Z] nexus3.edgexfoundry.org:10004 [2022-04-12T02:01:55.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:01:55.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:01:55.245Z] Configure a credential helper to remove this warning. See [2022-04-12T02:01:55.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:01:55.245Z] [2022-04-12T02:01:55.245Z] Login Succeeded [2022-04-12T02:01:55.245Z] docker.io [2022-04-12T02:01:55.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:01:56.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:01:56.119Z] Configure a credential helper to remove this warning. See [2022-04-12T02:01:56.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:01:56.119Z] [2022-04-12T02:01:56.119Z] Login Succeeded [2022-04-12T02:01:56.119Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T02:01:56.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T02:01:56.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T02:01:56.599Z] ========================================================= [2022-04-12T02:01:56.599Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-12T02:01:56.599Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:01:57.066Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-12T02:01:57.673Z] Sending build context to Docker daemon 5.223MB [2022-04-12T02:01:57.673Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T02:01:57.673Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-12T02:01:57.673Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-12T02:01:57.673Z] 9b3977197b4f: Pulling fs layer [2022-04-12T02:01:57.673Z] 1a89e8eeedd5: Pulling fs layer [2022-04-12T02:01:57.673Z] 94645a83ff95: Pulling fs layer [2022-04-12T02:01:57.673Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-12T02:01:57.673Z] 0c92f367c5e7: Pulling fs layer [2022-04-12T02:01:57.673Z] f7c0051592d6: Pulling fs layer [2022-04-12T02:01:57.673Z] a227ed2f7395: Pulling fs layer [2022-04-12T02:01:57.673Z] 7b1c46037f91: Pulling fs layer [2022-04-12T02:01:57.673Z] 3f3a8bcf1eab: Waiting [2022-04-12T02:01:57.673Z] 0c92f367c5e7: Waiting [2022-04-12T02:01:57.673Z] f7c0051592d6: Waiting [2022-04-12T02:01:57.673Z] a227ed2f7395: Waiting [2022-04-12T02:01:57.673Z] 7b1c46037f91: Waiting [2022-04-12T02:01:57.673Z] 94645a83ff95: Verifying Checksum [2022-04-12T02:01:57.673Z] 94645a83ff95: Download complete [2022-04-12T02:01:57.673Z] 1a89e8eeedd5: Verifying Checksum [2022-04-12T02:01:57.673Z] 1a89e8eeedd5: Download complete [2022-04-12T02:01:57.949Z] 0c92f367c5e7: Verifying Checksum [2022-04-12T02:01:57.949Z] 0c92f367c5e7: Download complete [2022-04-12T02:01:57.949Z] f7c0051592d6: Verifying Checksum [2022-04-12T02:01:57.949Z] f7c0051592d6: Download complete [2022-04-12T02:01:57.949Z] 9b3977197b4f: Verifying Checksum [2022-04-12T02:01:57.949Z] a227ed2f7395: Verifying Checksum [2022-04-12T02:01:57.949Z] a227ed2f7395: Download complete [2022-04-12T02:01:58.556Z] 9b3977197b4f: Pull complete [2022-04-12T02:01:59.162Z] 1a89e8eeedd5: Pull complete [2022-04-12T02:01:59.443Z] 94645a83ff95: Pull complete [2022-04-12T02:02:00.046Z] 7b1c46037f91: Verifying Checksum [2022-04-12T02:02:00.047Z] 7b1c46037f91: Download complete [2022-04-12T02:02:00.645Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-12T02:02:00.645Z] 3f3a8bcf1eab: Download complete [2022-04-12T02:02:13.055Z] 3f3a8bcf1eab: Pull complete [2022-04-12T02:02:13.055Z] 0c92f367c5e7: Pull complete [2022-04-12T02:02:13.343Z] f7c0051592d6: Pull complete [2022-04-12T02:02:13.620Z] a227ed2f7395: Pull complete [2022-04-12T02:02:20.360Z] 7b1c46037f91: Pull complete [2022-04-12T02:02:20.360Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-12T02:02:20.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-12T02:02:20.360Z] ---> f79e39bc4007 [2022-04-12T02:02:20.360Z] Step 3/11 : ARG MAKE=make build [2022-04-12T02:02:21.796Z] ---> Running in 6484cae2f70a [2022-04-12T02:02:21.796Z] Removing intermediate container 6484cae2f70a [2022-04-12T02:02:21.796Z] ---> 8827210e07f6 [2022-04-12T02:02:21.796Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-12T02:02:21.796Z] ---> Running in 9f556932c23f [2022-04-12T02:02:22.396Z] Removing intermediate container 9f556932c23f [2022-04-12T02:02:22.396Z] ---> 20bfae537cc7 [2022-04-12T02:02:22.396Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T02:02:22.396Z] ---> Running in 73f3cbc18294 [2022-04-12T02:02:22.670Z] Removing intermediate container 73f3cbc18294 [2022-04-12T02:02:22.670Z] ---> 5985db1e0166 [2022-04-12T02:02:22.670Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T02:02:22.670Z] ---> Running in 51f88c14cfd6 [2022-04-12T02:02:24.658Z] Removing intermediate container 51f88c14cfd6 [2022-04-12T02:02:24.658Z] ---> d77fdc734517 [2022-04-12T02:02:24.658Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T02:02:24.658Z] ---> Running in 55ddda5ab1f4 [2022-04-12T02:02:25.638Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T02:02:26.623Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T02:02:27.625Z] OK: 220 MiB in 52 packages [2022-04-12T02:02:28.609Z] Removing intermediate container 55ddda5ab1f4 [2022-04-12T02:02:28.609Z] ---> 2aeedf8cc707 [2022-04-12T02:02:28.609Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-12T02:02:28.888Z] ---> 35a66f3bc03f [2022-04-12T02:02:28.888Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T02:02:29.167Z] ---> Running in f4b9d8d3e0e9 [2022-04-12T02:03:16.158Z] Removing intermediate container f4b9d8d3e0e9 [2022-04-12T02:03:16.159Z] ---> 38906ae86486 [2022-04-12T02:03:16.159Z] Step 10/11 : COPY . . [2022-04-12T02:03:16.159Z] ---> b1cb2ad3fce4 [2022-04-12T02:03:16.159Z] Step 11/11 : RUN ${MAKE} [2022-04-12T02:03:16.159Z] ---> Running in bf1745609b97 [2022-04-12T02:03:16.159Z] noop [2022-04-12T02:03:16.434Z] Removing intermediate container bf1745609b97 [2022-04-12T02:03:16.434Z] ---> c34dba49839f [2022-04-12T02:03:16.434Z] Successfully built c34dba49839f [2022-04-12T02:03:16.434Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:03:16.796Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T02:03:16.796Z] . [Pipeline] withDockerContainer [2022-04-12T02:03:17.065Z] prd-ubuntu20.04-docker-arm64-4c-16g-20603 does not seem to be running inside a container [2022-04-12T02:03:17.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-12T02:03:18.459Z] $ docker top e509aaa54e29e37d537a3a0a69144519087ab6516ad4c12612813fd679984793 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T02:03:19.432Z] + go version [2022-04-12T02:03:19.432Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-12T02:03:19.471Z] $ docker stop --time=1 e509aaa54e29e37d537a3a0a69144519087ab6516ad4c12612813fd679984793 [2022-04-12T02:03:21.177Z] $ docker rm -f e509aaa54e29e37d537a3a0a69144519087ab6516ad4c12612813fd679984793 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:03:22.047Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T02:03:22.047Z] . [Pipeline] withDockerContainer [2022-04-12T02:03:22.322Z] prd-ubuntu20.04-docker-arm64-4c-16g-20603 does not seem to be running inside a container [2022-04-12T02:03:22.413Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-12T02:03:23.772Z] $ docker top 00e455c8c7453df6eef498f02e71b698ad6bf3414a8731e3f7f700dc881c738e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T02:03:24.806Z] + make test [2022-04-12T02:03:24.806Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-12T02:03:26.802Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-12T02:05:03.716Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-12T02:05:03.716Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-12T02:05:03.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-12T02:05:03.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.129s coverage: 23.3% of statements [2022-04-12T02:05:03.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-12T02:05:03.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 27.6% of statements [2022-04-12T02:05:03.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2022-04-12T02:05:03.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.069s coverage: 10.8% of statements [2022-04-12T02:05:03.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-12T02:05:03.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-12T02:05:03.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-12T02:05:03.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.108s coverage: 33.2% of statements [2022-04-12T02:05:03.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-12T02:05:03.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.077s coverage: 86.1% of statements [2022-04-12T02:05:03.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-12T02:05:03.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-12T02:05:03.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.105s coverage: 57.2% of statements [2022-04-12T02:05:03.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.195s coverage: 89.2% of statements [2022-04-12T02:05:03.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-12T02:05:04.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.063s coverage: 4.8% of statements [2022-04-12T02:05:04.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-12T02:05:04.912Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-12T02:05:04.912Z] GO111MODULE=on go vet ./... [2022-04-12T02:05:37.292Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T02:05:37.292Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T02:05:37.292Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T02:05:37.326Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T02:05:37.359Z] $ docker stop --time=1 00e455c8c7453df6eef498f02e71b698ad6bf3414a8731e3f7f700dc881c738e [2022-04-12T02:05:39.105Z] $ docker rm -f 00e455c8c7453df6eef498f02e71b698ad6bf3414a8731e3f7f700dc881c738e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T02:05:40.112Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T02:05:40.146Z] Warning: overwriting stash ‘coverage-report’ [2022-04-12T02:05:40.715Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T02:05:41.309Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T02:05:41.663Z] + ls -al . [2022-04-12T02:05:41.663Z] total 292 [2022-04-12T02:05:41.663Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 02:05 . [2022-04-12T02:05:41.663Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 02:01 .. [2022-04-12T02:05:41.663Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 02:01 .dockerignore [2022-04-12T02:05:41.663Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 02:01 .git [2022-04-12T02:05:41.663Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 02:01 .github [2022-04-12T02:05:41.663Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 02:01 .gitignore [2022-04-12T02:05:41.663Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 02:01 .golangci.yml [2022-04-12T02:05:41.663Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 02:01 CHANGELOG.md [2022-04-12T02:05:41.663Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 02:01 GOVERNANCE.md [2022-04-12T02:05:41.663Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 02:01 Jenkinsfile [2022-04-12T02:05:41.663Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 02:01 LICENSE [2022-04-12T02:05:41.663Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 12 02:01 Makefile [2022-04-12T02:05:41.663Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 02:01 OWNERS.md [2022-04-12T02:05:41.663Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 02:01 README.md [2022-04-12T02:05:41.663Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 01:57 VERSION [2022-04-12T02:05:41.663Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 02:01 bin [2022-04-12T02:05:41.663Z] -rw-r--r-- 1 jenkins jenkins 129185 Apr 12 02:05 coverage.out [2022-04-12T02:05:41.663Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 02:01 example [2022-04-12T02:05:41.663Z] -rw-rw-r-- 1 jenkins jenkins 3257 Apr 12 02:01 go.mod [2022-04-12T02:05:41.663Z] -rw-rw-r-- 1 jenkins jenkins 34491 Apr 12 02:01 go.sum [2022-04-12T02:05:41.663Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 02:01 internal [2022-04-12T02:05:41.663Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 02:01 openapi [2022-04-12T02:05:41.663Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 02:01 pkg [2022-04-12T02:05:41.663Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 02:01 snap [2022-04-12T02:05:41.663Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 02:01 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:05:42.036Z] + 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=828ce9130f6c7761fa5367ae0a92a32ead3670da --label arch=arm64 --label version=0.0.0 . [2022-04-12T02:05:42.640Z] Sending build context to Docker daemon 5.353MB [2022-04-12T02:05:42.640Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T02:05:42.640Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-12T02:05:42.640Z] ---> c34dba49839f [2022-04-12T02:05:42.640Z] Step 3/25 : ARG MAKE=make build [2022-04-12T02:05:42.640Z] ---> Running in 9c1b6e008bb8 [2022-04-12T02:05:42.915Z] Removing intermediate container 9c1b6e008bb8 [2022-04-12T02:05:42.915Z] ---> 272ed5576a3b [2022-04-12T02:05:42.915Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-12T02:05:42.915Z] ---> Running in 2c1debf61160 [2022-04-12T02:05:43.526Z] Removing intermediate container 2c1debf61160 [2022-04-12T02:05:43.526Z] ---> f481770badeb [2022-04-12T02:05:43.526Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T02:05:43.526Z] ---> Running in ed16e8a4c70e [2022-04-12T02:05:43.810Z] Removing intermediate container ed16e8a4c70e [2022-04-12T02:05:43.810Z] ---> 8d1202fe7854 [2022-04-12T02:05:43.810Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T02:05:43.810Z] ---> Running in 7b830022e865 [2022-04-12T02:05:45.794Z] Removing intermediate container 7b830022e865 [2022-04-12T02:05:45.794Z] ---> f3c89d28f32f [2022-04-12T02:05:45.794Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T02:05:45.794Z] ---> Running in b8ede807adce [2022-04-12T02:05:46.394Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T02:05:47.375Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T02:05:48.359Z] OK: 220 MiB in 52 packages [2022-04-12T02:05:48.954Z] Removing intermediate container b8ede807adce [2022-04-12T02:05:48.954Z] ---> a6880de85b72 [2022-04-12T02:05:48.954Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-12T02:05:49.553Z] ---> a8e23849c9e3 [2022-04-12T02:05:49.553Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T02:05:49.553Z] ---> Running in f211530e607f [2022-04-12T02:05:51.526Z] Removing intermediate container f211530e607f [2022-04-12T02:05:51.526Z] ---> 4ce6a723bef6 [2022-04-12T02:05:51.526Z] Step 10/25 : COPY . . [2022-04-12T02:05:52.513Z] ---> e64182f3e8bb [2022-04-12T02:05:52.514Z] Step 11/25 : RUN ${MAKE} [2022-04-12T02:05:52.514Z] ---> Running in dec4632f166d [2022-04-12T02:05:53.522Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-12T02:08:00.413Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-12T02:08:00.413Z] Removing intermediate container dec4632f166d [2022-04-12T02:08:00.413Z] ---> af878ba7bd71 [2022-04-12T02:08:00.413Z] Step 12/25 : FROM alpine:3.14 [2022-04-12T02:08:00.413Z] 3.14: Pulling from library/alpine [2022-04-12T02:08:00.413Z] 455c02918c45: Pulling fs layer [2022-04-12T02:08:00.413Z] 455c02918c45: Verifying Checksum [2022-04-12T02:08:00.413Z] 455c02918c45: Download complete [2022-04-12T02:08:00.413Z] 455c02918c45: Pull complete [2022-04-12T02:08:00.413Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-12T02:08:00.413Z] Status: Downloaded newer image for alpine:3.14 [2022-04-12T02:08:00.413Z] ---> ac73e934f311 [2022-04-12T02:08:00.413Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T02:08:00.413Z] ---> Running in aa280b1617fc [2022-04-12T02:08:00.413Z] Removing intermediate container aa280b1617fc [2022-04-12T02:08:00.413Z] ---> e855c6599966 [2022-04-12T02:08:00.413Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T02:08:00.413Z] ---> Running in 3dc07751f17c [2022-04-12T02:08:00.413Z] Removing intermediate container 3dc07751f17c [2022-04-12T02:08:00.413Z] ---> fd09591771ff [2022-04-12T02:08:00.413Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-12T02:08:00.413Z] ---> Running in 5b51f2b9d79e [2022-04-12T02:08:00.413Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-12T02:08:00.413Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-12T02:08:00.413Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-12T02:08:00.413Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-12T02:08:00.413Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-12T02:08:00.413Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-12T02:08:00.413Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-12T02:08:00.413Z] Executing busybox-1.33.1-r7.trigger [2022-04-12T02:08:00.413Z] OK: 8 MiB in 19 packages [2022-04-12T02:08:00.413Z] Removing intermediate container 5b51f2b9d79e [2022-04-12T02:08:00.413Z] ---> 1266bd400ad2 [2022-04-12T02:08:00.413Z] Step 16/25 : WORKDIR / [2022-04-12T02:08:00.413Z] ---> Running in 37ccc2f59fc8 [2022-04-12T02:08:00.413Z] Removing intermediate container 37ccc2f59fc8 [2022-04-12T02:08:00.413Z] ---> 7fd2a8051b83 [2022-04-12T02:08:00.413Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-12T02:08:00.413Z] ---> fe0f47c99825 [2022-04-12T02:08:00.413Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-12T02:08:01.409Z] ---> 319ed8d86666 [2022-04-12T02:08:01.409Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-12T02:08:02.012Z] ---> 523f75812e4e [2022-04-12T02:08:02.012Z] Step 20/25 : EXPOSE 59999 [2022-04-12T02:08:02.289Z] ---> Running in 891e4c2b2995 [2022-04-12T02:08:02.571Z] Removing intermediate container 891e4c2b2995 [2022-04-12T02:08:02.571Z] ---> 7ce5683b2c38 [2022-04-12T02:08:02.571Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-12T02:08:02.571Z] ---> Running in ea61eab3d438 [2022-04-12T02:08:02.845Z] Removing intermediate container ea61eab3d438 [2022-04-12T02:08:02.845Z] ---> 60c6d4690122 [2022-04-12T02:08:02.845Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T02:08:02.845Z] ---> Running in b7d926ae18c8 [2022-04-12T02:08:03.126Z] Removing intermediate container b7d926ae18c8 [2022-04-12T02:08:03.126Z] ---> 7050a8ba49d3 [2022-04-12T02:08:03.126Z] Step 23/25 : LABEL arch=arm64 [2022-04-12T02:08:03.408Z] ---> Running in 83f772e8f5c0 [2022-04-12T02:08:03.683Z] Removing intermediate container 83f772e8f5c0 [2022-04-12T02:08:03.683Z] ---> 19cb289892a3 [2022-04-12T02:08:03.683Z] Step 24/25 : LABEL git_sha=828ce9130f6c7761fa5367ae0a92a32ead3670da [2022-04-12T02:08:03.683Z] ---> Running in 0366329a95d3 [2022-04-12T02:08:03.959Z] Removing intermediate container 0366329a95d3 [2022-04-12T02:08:03.959Z] ---> 422b2ab3cb49 [2022-04-12T02:08:03.959Z] Step 25/25 : LABEL version=0.0.0 [2022-04-12T02:08:03.959Z] ---> Running in 2afdbed1d574 [2022-04-12T02:08:04.233Z] Removing intermediate container 2afdbed1d574 [2022-04-12T02:08:04.233Z] ---> c30fa1a39daa [2022-04-12T02:08:04.233Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-12T02:08:04.233Z] Successfully built c30fa1a39daa [2022-04-12T02:08:04.233Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:08:05.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T02:08:05.203Z] [2022-04-12T02:08:05.203Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:08:05.587Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T02:08:05.866Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-12T02:08:05.866Z] 8998bd30e6a1: Pulling fs layer [2022-04-12T02:08:05.866Z] 04944245beec: Pulling fs layer [2022-04-12T02:08:05.866Z] 699f458cf7ca: Pulling fs layer [2022-04-12T02:08:05.866Z] 765212b225bb: Pulling fs layer [2022-04-12T02:08:05.866Z] f23df028b6ca: Pulling fs layer [2022-04-12T02:08:05.866Z] d65c8cfc05b1: Pulling fs layer [2022-04-12T02:08:05.866Z] 2437ff75d9bd: Pulling fs layer [2022-04-12T02:08:05.866Z] f23df028b6ca: Waiting [2022-04-12T02:08:05.866Z] d65c8cfc05b1: Waiting [2022-04-12T02:08:05.866Z] 2437ff75d9bd: Waiting [2022-04-12T02:08:05.866Z] 765212b225bb: Waiting [2022-04-12T02:08:05.866Z] 04944245beec: Verifying Checksum [2022-04-12T02:08:05.866Z] 04944245beec: Download complete [2022-04-12T02:08:05.866Z] 765212b225bb: Download complete [2022-04-12T02:08:05.866Z] f23df028b6ca: Verifying Checksum [2022-04-12T02:08:05.866Z] f23df028b6ca: Download complete [2022-04-12T02:08:06.143Z] d65c8cfc05b1: Verifying Checksum [2022-04-12T02:08:06.143Z] d65c8cfc05b1: Download complete [2022-04-12T02:08:06.143Z] 699f458cf7ca: Verifying Checksum [2022-04-12T02:08:06.143Z] 699f458cf7ca: Download complete [2022-04-12T02:08:06.418Z] 8998bd30e6a1: Verifying Checksum [2022-04-12T02:08:06.418Z] 8998bd30e6a1: Download complete [2022-04-12T02:08:09.048Z] 2437ff75d9bd: Verifying Checksum [2022-04-12T02:08:09.048Z] 2437ff75d9bd: Download complete [2022-04-12T02:08:11.042Z] 8998bd30e6a1: Pull complete [2022-04-12T02:08:11.321Z] 04944245beec: Pull complete [2022-04-12T02:08:12.765Z] 699f458cf7ca: Pull complete [2022-04-12T02:08:13.042Z] 765212b225bb: Pull complete [2022-04-12T02:08:14.028Z] f23df028b6ca: Pull complete [2022-04-12T02:08:14.028Z] d65c8cfc05b1: Pull complete [2022-04-12T02:08:29.128Z] 2437ff75d9bd: Pull complete [2022-04-12T02:08:29.128Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-12T02:08:29.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T02:08:29.128Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-12T02:08:29.377Z] prd-ubuntu20.04-docker-arm64-4c-16g-20603 does not seem to be running inside a container [2022-04-12T02:08:29.467Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-12T02:08:31.974Z] $ docker top 73f6a66a842aa2fbcca63038da9bebb84f16651884636acc3a7b95fd76c16bd3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:08:32.945Z] ---> job-cost.sh [2022-04-12T02:08:32.945Z] lf-activate-venv: SKIPPING [2022-04-12T02:08:32.945Z] INFO: No Stack... [2022-04-12T02:08:33.221Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-12T02:08:34.204Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T02:08:34.902Z] + cut -d, -f6 [2022-04-12T02:08:34.902Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-04-12T02:08:34.998Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1130-1-stack-cost] [2022-04-12T02:08:35.003Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-1-stack-cost] did not exist. Created. [2022-04-12T02:08:35.004Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1130-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T02:08:35.771Z] /w/workspace/device-sdk-go/1@tmp/durable-94013d2f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-12T02:08:36.469Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-12T02:08:36.503Z] Warning: overwriting stash ‘stack-cost’ [2022-04-12T02:08:36.578Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T02:08:36.596Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T02:08:36.687Z] $ docker stop --time=1 73f6a66a842aa2fbcca63038da9bebb84f16651884636acc3a7b95fd76c16bd3 [2022-04-12T02:08:38.223Z] $ docker rm -f 73f6a66a842aa2fbcca63038da9bebb84f16651884636acc3a7b95fd76c16bd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-12T02:08:39.320Z] provisioning config files... [2022-04-12T02:08:39.330Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config1026273892150816318tmp [Pipeline] { [Pipeline] sh [2022-04-12T02:08:39.673Z] + set +x [2022-04-12T02:08:39.673Z] + + bash -s -- [2022-04-12T02:08:39.673Z] curl -s https://codecov.io/bash [2022-04-12T02:08:39.673Z] [2022-04-12T02:08:39.673Z] _____ _ [2022-04-12T02:08:39.673Z] / ____| | | [2022-04-12T02:08:39.673Z] | | ___ __| | ___ ___ _____ __ [2022-04-12T02:08:39.673Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-12T02:08:39.673Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-12T02:08:39.673Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-12T02:08:39.673Z] Bash-1.0.6 [2022-04-12T02:08:39.673Z] [2022-04-12T02:08:39.673Z] [2022-04-12T02:08:39.673Z] ==> git version 2.25.1 found [2022-04-12T02:08:39.673Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-12T02:08:39.673Z] Release-Date: 2020-01-08 [2022-04-12T02:08:39.673Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-12T02:08:39.673Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-12T02:08:39.673Z] ==> Jenkins CI detected. [2022-04-12T02:08:39.673Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1130 [2022-04-12T02:08:39.673Z] project root: . [2022-04-12T02:08:39.673Z] --> token set from env [2022-04-12T02:08:39.673Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-12T02:08:39.673Z] ==> Running gcov in . (disable via -X gcov) [2022-04-12T02:08:39.673Z] ==> Python coveragepy not found [2022-04-12T02:08:39.673Z] ==> Searching for coverage reports in: [2022-04-12T02:08:39.673Z] + . [2022-04-12T02:08:39.673Z] -> Found 1 reports [2022-04-12T02:08:39.673Z] ==> Detecting git/mercurial file structure [2022-04-12T02:08:39.673Z] ==> Reading reports [2022-04-12T02:08:39.936Z] + ./coverage.out bytes=129185 [2022-04-12T02:08:39.936Z] ==> Appending adjustments [2022-04-12T02:08:39.936Z] https://docs.codecov.io/docs/fixing-reports [2022-04-12T02:08:40.196Z] + Found adjustments [2022-04-12T02:08:40.196Z] ==> Gzipping contents [2022-04-12T02:08:40.196Z] 16K /tmp/codecov.rTtVRb.gz [2022-04-12T02:08:40.196Z] ==> Uploading reports [2022-04-12T02:08:40.196Z] url: https://codecov.io [2022-04-12T02:08:40.196Z] query: branch=PR-1130&commit=828ce9130f6c7761fa5367ae0a92a32ead3670da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1130%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= [2022-04-12T02:08:40.196Z] -> Pinging Codecov [2022-04-12T02:08:40.196Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1130&commit=828ce9130f6c7761fa5367ae0a92a32ead3670da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1130%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= [2022-04-12T02:08:40.457Z] -> Uploading to [2022-04-12T02:08:40.457Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-12/7E55EF52A471D76F132DFD9A03CDDE97/828ce9130f6c7761fa5367ae0a92a32ead3670da/7867c38c-0d27-4427-855a-4b93e5830b29.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220412T020840Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cf6fedaf1b6654f816ec8050429a77fcc3d4cfb517ef2aa987aa2f5075cbb1e7 [2022-04-12T02:08:40.457Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T02:08:40.457Z] Dload Upload Total Spent Left Speed [2022-04-12T02:08:40.717Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16251 0 0 100 16251 0 73533 --:--:-- --:--:-- --:--:-- 73202 100 16251 0 0 100 16251 0 61093 --:--:-- --:--:-- --:--:-- 60865 [2022-04-12T02:08:40.717Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/828ce9130f6c7761fa5367ae0a92a32ead3670da [Pipeline] } [2022-04-12T02:08:40.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-12T02:08:42.687Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives ] [2022-04-12T02:08:42.687Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives [2022-04-12T02:08:42.687Z] total 16 [2022-04-12T02:08:42.687Z] drwxr-xr-x 3 root root 4096 Apr 12 01:59 . [2022-04-12T02:08:42.687Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 01:59 .. [2022-04-12T02:08:42.687Z] drwxr-xr-x 2 root root 4096 Apr 12 01:59 cost [2022-04-12T02:08:42.687Z] -rw-r--r-- 1 root root 85 Apr 12 01:59 cost.csv [2022-04-12T02:08:42.687Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives [2022-04-12T02:08:42.687Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives [2022-04-12T02:08:42.687Z] total 16 [2022-04-12T02:08:42.687Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 01:59 . [2022-04-12T02:08:42.687Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 01:59 .. [2022-04-12T02:08:42.687Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 01:59 cost [2022-04-12T02:08:42.687Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 12 01:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:08:43.021Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:08:43.921Z] ---> package-listing.sh [2022-04-12T02:08:43.921Z] ++ facter osfamily [2022-04-12T02:08:43.921Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-12T02:08:44.182Z] + OS_FAMILY=debian [2022-04-12T02:08:44.183Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1130 [2022-04-12T02:08:44.183Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-12T02:08:44.183Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-12T02:08:44.183Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-12T02:08:44.183Z] + PACKAGES=/tmp/packages_start.txt [2022-04-12T02:08:44.183Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1130 ']' [2022-04-12T02:08:44.183Z] + PACKAGES=/tmp/packages_end.txt [2022-04-12T02:08:44.183Z] + case "${OS_FAMILY}" in [2022-04-12T02:08:44.183Z] + dpkg -l [2022-04-12T02:08:44.183Z] + grep '^ii' [2022-04-12T02:08:44.183Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-12T02:08:44.183Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-12T02:08:44.183Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-12T02:08:44.183Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1130 ']' [2022-04-12T02:08:44.183Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/ [2022-04-12T02:08:44.183Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/ [Pipeline] echo [2022-04-12T02:08:44.222Z] 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-1130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-12T02:08:44.523Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:08:45.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T02:08:45.113Z] . [Pipeline] withDockerContainer [2022-04-12T02:08:45.199Z] prd-ubuntu20.04-docker-8c-8g-20602 does not seem to be running inside a container [2022-04-12T02:08:45.239Z] $ 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-1130/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-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-12T02:08:45.478Z] $ docker top 21b45de55487cf00a2f3624054a59fab8ca42c7451cc573f3de395a3993d295d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T02:08:45.889Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-12T02:08:46.199Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-12T02:08:46.511Z] + ls /var/log/sa-host [2022-04-12T02:08:46.511Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T02:08:46.861Z] provisioning config files... [2022-04-12T02:08:46.871Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config36581941605484256tmp [Pipeline] { [Pipeline] echo [2022-04-12T02:08:46.921Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:08:47.237Z] ---> create-netrc.sh [Pipeline] } [2022-04-12T02:08:47.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:08:47.686Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-12T02:08:47.716Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:08:48.030Z] ---> sudo-logs.sh [2022-04-12T02:08:48.030Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-12T02:08:48.119Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:08:48.439Z] ---> job-cost.sh [2022-04-12T02:08:48.439Z] lf-activate-venv: SKIPPING [2022-04-12T02:08:48.439Z] DEBUG: total: 0.2199999988079071 [2022-04-12T02:08:48.439Z] INFO: Retrieving Stack Cost... [2022-04-12T02:08:49.009Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T02:08:49.273Z] INFO: Archiving Costs [Pipeline] echo [2022-04-12T02:08:49.309Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:08:49.695Z] ---> logs-deploy.sh [2022-04-12T02:08:49.695Z] lf-activate-venv: SKIPPING [2022-04-12T02:08:49.695Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1130/1 [2022-04-12T02:08:49.695Z] INFO: archiving workspace using pattern(s): [2022-04-12T02:08:50.644Z] Archives upload complete. [2022-04-12T02:08:50.644Z] INFO: archiving logs to Nexus