Pull request #1152 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 13cf16234548d07f18d1ac1d4eb58dcaeff035e5+b2d7386986501f8c504e256bc873431da18a2db4 (e9241dcbb938fc24986c0e7cfbedee03604e0405) 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-ssh10800091100649736974.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh5197468219312233000.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-1152/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-1152/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13079768393277660024.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-1152/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6251688437679522224.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh16534892198141409248.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-1152/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-1152/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11553672433716503960.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-33721 in /w/workspace/gexfoundry_device-sdk-go_PR-1152 [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-1152 # 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 b2d7386986501f8c504e256bc873431da18a2db4 into PR head commit 13cf16234548d07f18d1ac1d4eb58dcaeff035e5 Merge succeeded, producing 13cf16234548d07f18d1ac1d4eb58dcaeff035e5 Checking out Revision 13cf16234548d07f18d1ac1d4eb58dcaeff035e5 (PR-1152) > 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/1152/head:refs/remotes/origin/PR-1152 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 13cf16234548d07f18d1ac1d4eb58dcaeff035e5 # 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 b2d7386986501f8c504e256bc873431da18a2db4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 13cf16234548d07f18d1ac1d4eb58dcaeff035e5 # timeout=10 Commit message: "build: Update to latest versions of go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:02:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:02:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:02:48 ========================================================= 21:02:48 EdgeX Global Pipelines Version Info 21:02:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:02:49 ------------------- 21:02:49 stable info: 21:02:49 ------------------- 21:02:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:02:49 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 21:02:49 Message: update stable to v1.0.227 21:02:49 ------------------- 21:02:49 experimental info: 21:02:49 ------------------- 21:02:49 Commited By: **** collab-it+edgex@linuxfoundation.org 21:02:49 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 21:02:49 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:02:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1152 [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1152 [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1152 [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 13cf16234548d07f18d1ac1d4eb58dcaeff035e5 [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 13cf162 [Pipeline] echo 21:02:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:02:51 provisioning config files... 21:02:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1152@tmp/config6957538821217161931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:52 ---> docker-login.sh 21:02:52 nexus3.edgexfoundry.org:10001 21:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:53 Configure a credential helper to remove this warning. See 21:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:53 21:02:53 Login Succeeded 21:02:53 nexus3.edgexfoundry.org:10002 21:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:53 Configure a credential helper to remove this warning. See 21:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:53 21:02:53 Login Succeeded 21:02:53 nexus3.edgexfoundry.org:10003 21:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:53 Configure a credential helper to remove this warning. See 21:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:53 21:02:53 Login Succeeded 21:02:53 nexus3.edgexfoundry.org:10004 21:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:53 Configure a credential helper to remove this warning. See 21:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:53 21:02:53 Login Succeeded 21:02:53 docker.io 21:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:54 Configure a credential helper to remove this warning. See 21:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:54 21:02:54 Login Succeeded 21:02:54 ---> docker-login.sh ends [Pipeline] } 21:02:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:02:54 + git rev-list -1 --merges 13cf16234548d07f18d1ac1d4eb58dcaeff035e5~1..13cf16234548d07f18d1ac1d4eb58dcaeff035e5 [Pipeline] echo 21:02:54 -----------> git rev-list -1 --merges 13cf16234548d07f18d1ac1d4eb58dcaeff035e5~1..13cf16234548d07f18d1ac1d4eb58dcaeff035e5 13cf16234548d07f18d1ac1d4eb58dcaeff035e5 [false] [Pipeline] sh 21:02:55 + git log --format=format:%s -1 13cf16234548d07f18d1ac1d4eb58dcaeff035e5 [Pipeline] echo 21:02:55 ========================================================= 21:02:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:02:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:02:55 + git log --format=format:%s -1 13cf16234548d07f18d1ac1d4eb58dcaeff035e5 [Pipeline] echo 21:02:55 [semverPrep] GIT_COMMIT: 13cf16234548d07f18d1ac1d4eb58dcaeff035e5, Commit Message: build: Update to latest versions of go-mods [Pipeline] echo 21:02:55 [semverPrep] This is not a build commit. [Pipeline] sh 21:02:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:02:56 + grep -v github /etc/ssh/ssh_known_hosts 21:02:56 + [ -e /tmp/ssh_known_hosts ] 21:02:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:02:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:02:56 + sudo tee -a /etc/ssh/ssh_known_hosts 21:02:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:02:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:02:56 21:02:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:02:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:02:57 latest: Pulling from edgex-devops/py-git-semver 21:02:57 1fe172e4850f: Pulling fs layer 21:02:57 caf521ccaac6: Pulling fs layer 21:02:57 3ead6fa29328: Pulling fs layer 21:02:57 5c2a1cbceb83: Pulling fs layer 21:02:57 a8d5f1318db7: Pulling fs layer 21:02:57 c427282e49a2: Pulling fs layer 21:02:57 1827001aaf11: Pulling fs layer 21:02:57 0714d37db230: Pulling fs layer 21:02:57 ac28cf19c067: Pulling fs layer 21:02:57 ca983d60f3e2: Pulling fs layer 21:02:57 9f894cec8388: Pulling fs layer 21:02:57 c427282e49a2: Waiting 21:02:57 5c2a1cbceb83: Waiting 21:02:57 a8d5f1318db7: Waiting 21:02:57 ca983d60f3e2: Waiting 21:02:57 0714d37db230: Waiting 21:02:57 ac28cf19c067: Waiting 21:02:57 1827001aaf11: Waiting 21:02:57 caf521ccaac6: Verifying Checksum 21:02:57 caf521ccaac6: Download complete 21:02:57 5c2a1cbceb83: Verifying Checksum 21:02:57 5c2a1cbceb83: Download complete 21:02:57 a8d5f1318db7: Verifying Checksum 21:02:57 a8d5f1318db7: Download complete 21:02:57 c427282e49a2: Verifying Checksum 21:02:57 c427282e49a2: Download complete 21:02:57 3ead6fa29328: Verifying Checksum 21:02:57 3ead6fa29328: Download complete 21:02:57 0714d37db230: Download complete 21:02:57 ac28cf19c067: Download complete 21:02:57 ca983d60f3e2: Verifying Checksum 21:02:57 ca983d60f3e2: Download complete 21:02:57 9f894cec8388: Download complete 21:02:57 1fe172e4850f: Verifying Checksum 21:02:57 1fe172e4850f: Download complete 21:02:57 1827001aaf11: Verifying Checksum 21:02:57 1827001aaf11: Download complete 21:02:58 1fe172e4850f: Pull complete 21:02:58 caf521ccaac6: Pull complete 21:02:59 3ead6fa29328: Pull complete 21:02:59 5c2a1cbceb83: Pull complete 21:02:59 a8d5f1318db7: Pull complete 21:03:00 c427282e49a2: Pull complete 21:03:01 1827001aaf11: Pull complete 21:03:01 0714d37db230: Pull complete 21:03:02 ac28cf19c067: Pull complete 21:03:02 ca983d60f3e2: Pull complete 21:03:02 9f894cec8388: Pull complete 21:03:02 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 21:03:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:03:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 21:03:02 prd-ubuntu20.04-docker-8c-8g-33721 does not seem to be running inside a container 21:03:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1152 -v /w/workspace/gexfoundry_device-sdk-go_PR-1152:/w/workspace/gexfoundry_device-sdk-go_PR-1152:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1152@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:03:03 $ docker top d4c81792b0c5a6b9c10e2371c81ca9110ce03afc3c5ca0c013c5ff0fb17a985c -eo pid,comm 21:03:03 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:03:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:03:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:03:03 [ssh-agent] Looking for ssh-agent implementation... 21:03:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:03:04 $ docker exec d4c81792b0c5a6b9c10e2371c81ca9110ce03afc3c5ca0c013c5ff0fb17a985c ssh-agent 21:03:04 SSH_AUTH_SOCK=/tmp/ssh-T3YLXV8OXG4C/agent.32 21:03:04 SSH_AGENT_PID=38 21:03:04 Running ssh-add (command line suppressed) 21:03:04 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1152@tmp/private_key_7080623283929629241.key (/w/workspace/gexfoundry_device-sdk-go_PR-1152@tmp/private_key_7080623283929629241.key) 21:03:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:03:04 + git tag --points-at HEAD [Pipeline] } 21:03:04 $ docker exec --env ******** --env ******** d4c81792b0c5a6b9c10e2371c81ca9110ce03afc3c5ca0c013c5ff0fb17a985c ssh-agent -k 21:03:04 unset SSH_AUTH_SOCK; 21:03:04 unset SSH_AGENT_PID; 21:03:04 echo Agent pid 38 killed; 21:03:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:03:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:03:04 [ssh-agent] Looking for ssh-agent implementation... 21:03:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:03:05 $ docker exec d4c81792b0c5a6b9c10e2371c81ca9110ce03afc3c5ca0c013c5ff0fb17a985c ssh-agent 21:03:05 SSH_AUTH_SOCK=/tmp/ssh-VYfTRWSnmW8B/agent.72 21:03:05 SSH_AGENT_PID=78 21:03:05 Running ssh-add (command line suppressed) 21:03:05 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1152@tmp/private_key_1779136332829857326.key (/w/workspace/gexfoundry_device-sdk-go_PR-1152@tmp/private_key_1779136332829857326.key) 21:03:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:03:05 + git semver init 21:03:05 2022-04-28 21:03:05,855 [run_init] DEBUG init version:0.0.0 force:False 21:03:05 2022-04-28 21:03:05,856 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1152/.semver 21:03:05 2022-04-28 21:03:05,856 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1152/.semver 21:03:05 2022-04-28 21:03:05,857 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1152/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1152, universal_newlines=False, shell=None, istream=None) 21:03:07 2022-04-28 21:03:07,546 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1152/.git/info/exclude 21:03:07 2022-04-28 21:03:07,546 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1152/.semver/PR-1152 with force:False 21:03:07 2022-04-28 21:03:07,546 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1152/.semver/PR-1152 21:03:07 2022-04-28 21:03:07,550 [execute] INFO git cat-file --batch-check 21:03:07 2022-04-28 21:03:07,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1152/.semver, universal_newlines=False, shell=None, istream=) 21:03:07 2022-04-28 21:03:07,556 [execute] INFO git cat-file --batch 21:03:07 2022-04-28 21:03:07,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1152/.semver, universal_newlines=False, shell=None, istream=) 21:03:07 2022-04-28 21:03:07,560 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1152/.semver/PR-1152 21:03:07 0.0.0 [Pipeline] } 21:03:07 $ docker exec --env ******** --env ******** d4c81792b0c5a6b9c10e2371c81ca9110ce03afc3c5ca0c013c5ff0fb17a985c ssh-agent -k 21:03:07 unset SSH_AUTH_SOCK; 21:03:07 unset SSH_AGENT_PID; 21:03:07 echo Agent pid 78 killed; 21:03:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:03:08 + git semver [Pipeline] } 21:03:08 $ docker stop --time=1 d4c81792b0c5a6b9c10e2371c81ca9110ce03afc3c5ca0c013c5ff0fb17a985c 21:03:10 $ docker rm -f d4c81792b0c5a6b9c10e2371c81ca9110ce03afc3c5ca0c013c5ff0fb17a985c [Pipeline] // withDockerContainer [Pipeline] sh 21:03:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:03:11 Stashed 1 file(s) [Pipeline] echo 21:03:11 [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] { 21:03:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33720 in /w/workspace/gexfoundry_device-sdk-go_PR-1152 [Pipeline] configFileProvider 21:03:11 provisioning config files... 21:03:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1152@tmp/config5878362756605926191tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 21:03:11 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:03:12 The recommended git tool is: git 21:03:12 ---> docker-login.sh 21:03:12 nexus3.edgexfoundry.org:10001 21:03:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:12 Configure a credential helper to remove this warning. See 21:03:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:12 21:03:12 Login Succeeded 21:03:12 nexus3.edgexfoundry.org:10002 21:03:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:12 Configure a credential helper to remove this warning. See 21:03:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:12 21:03:12 Login Succeeded 21:03:12 nexus3.edgexfoundry.org:10003 21:03:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:12 Configure a credential helper to remove this warning. See 21:03:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:12 21:03:12 Login Succeeded 21:03:12 nexus3.edgexfoundry.org:10004 21:03:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:12 Configure a credential helper to remove this warning. See 21:03:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:12 21:03:12 Login Succeeded 21:03:12 docker.io 21:03:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:12 Configure a credential helper to remove this warning. See 21:03:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:12 21:03:15 Login Succeeded 21:03:15 ---> docker-login.sh ends [Pipeline] } 21:03:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:03:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:03:15 ========================================================= 21:03:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:03:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:03:16 + 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 . 21:03:16 Sending build context to Docker daemon 9.696MB 21:03:16 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 21:03:16 Step 2/11 : FROM ${BASE} AS builder 21:03:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:03:16 59bf1c3509f3: Pulling fs layer 21:03:16 666ba61612fd: Pulling fs layer 21:03:16 8ed8ca486205: Pulling fs layer 21:03:16 4fe6c5a15a65: Pulling fs layer 21:03:16 22a0e8bec74d: Pulling fs layer 21:03:16 ca2b28591e48: Pulling fs layer 21:03:16 a51346096db8: Pulling fs layer 21:03:16 daebc70d1ce1: Pulling fs layer 21:03:16 0e18a0eac166: Pulling fs layer 21:03:16 ca2b28591e48: Waiting 21:03:16 a51346096db8: Waiting 21:03:16 daebc70d1ce1: Waiting 21:03:16 0e18a0eac166: Waiting 21:03:16 4fe6c5a15a65: Waiting 21:03:16 22a0e8bec74d: Waiting 21:03:16 8ed8ca486205: Verifying Checksum 21:03:16 8ed8ca486205: Download complete 21:03:16 666ba61612fd: Download complete 21:03:16 22a0e8bec74d: Verifying Checksum 21:03:16 22a0e8bec74d: Download complete 21:03:16 59bf1c3509f3: Verifying Checksum 21:03:16 ca2b28591e48: Verifying Checksum 21:03:16 ca2b28591e48: Download complete 21:03:16 a51346096db8: Verifying Checksum 21:03:16 a51346096db8: Download complete 21:03:16 59bf1c3509f3: Pull complete 21:03:16 daebc70d1ce1: Verifying Checksum 21:03:16 daebc70d1ce1: Download complete 21:03:16 666ba61612fd: Pull complete 21:03:17 8ed8ca486205: Pull complete 21:03:17 using credential edgex-jenkins-ssh 21:03:17 Cloning the remote Git repository 21:03:18 0e18a0eac166: Verifying Checksum 21:03:18 0e18a0eac166: Download complete 21:03:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:03:17 > git init /w/workspace/device-sdk-go/1 # timeout=10 21:03:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:03:17 > git --version # timeout=10 21:03:17 > git --version # 'git version 2.25.1' 21:03:17 using GIT_SSH to set credentials SSH Credentials for GitHub 21:03:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:03:18 4fe6c5a15a65: Verifying Checksum 21:03:18 4fe6c5a15a65: Download complete 21:03:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:03:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:03:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:03:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:03:19 using GIT_SSH to set credentials SSH Credentials for GitHub 21:03:20 Merging remotes/origin/main commit b2d7386986501f8c504e256bc873431da18a2db4 into PR head commit 13cf16234548d07f18d1ac1d4eb58dcaeff035e5 21:03:20 Merge succeeded, producing 13cf16234548d07f18d1ac1d4eb58dcaeff035e5 21:03:20 Checking out Revision 13cf16234548d07f18d1ac1d4eb58dcaeff035e5 (PR-1152) 21:03:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1152/head:refs/remotes/origin/PR-1152 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:03:20 > git config core.sparsecheckout # timeout=10 21:03:20 > git checkout -f 13cf16234548d07f18d1ac1d4eb58dcaeff035e5 # timeout=10 21:03:20 > git remote # timeout=10 21:03:20 > git config --get remote.origin.url # timeout=10 21:03:20 using GIT_SSH to set credentials SSH Credentials for GitHub 21:03:20 > git merge b2d7386986501f8c504e256bc873431da18a2db4 # timeout=10 21:03:20 > git rev-parse HEAD^{commit} # timeout=10 21:03:20 > git config core.sparsecheckout # timeout=10 21:03:20 > git checkout -f 13cf16234548d07f18d1ac1d4eb58dcaeff035e5 # timeout=10 21:03:22 4fe6c5a15a65: Pull complete 21:03:22 22a0e8bec74d: Pull complete 21:03:22 ca2b28591e48: Pull complete 21:03:22 a51346096db8: Pull complete 21:03:22 daebc70d1ce1: Pull complete 21:03:24 0e18a0eac166: Pull complete 21:03:24 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 21:03:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:03:24 ---> f018257e8ee9 21:03:24 Step 3/11 : ARG MAKE=make build 21:03:25 Commit message: "build: Update to latest versions of go-mods" 21:03:25 > git --version # timeout=10 21:03:25 > git --version # 'git version 2.25.1' 21:03:25 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:03:25 ---> Running in 00e434e11dd3 21:03:26 Removing intermediate container 00e434e11dd3 21:03:26 ---> 6495877b228c 21:03:26 Step 4/11 : WORKDIR /device-sdk-go 21:03:26 ---> Running in f83c40d40c5e 21:03:26 Removing intermediate container f83c40d40c5e 21:03:26 ---> 4f96af1d1f79 21:03:26 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:03:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:03:26 % Total % Received % Xferd Average Speed Time Time Time Current 21:03:26 Dload Upload Total Spent Left Speed 21:03:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 90404 0 --:--:-- --:--:-- --:--:-- 91100 21:03:26 ---> Running in 99c701270e8c 21:03:26 Removing intermediate container 99c701270e8c 21:03:26 ---> ba4ca4e02858 21:03:26 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:03:26 ---> Running in ee862f04bc13 [Pipeline] sh 21:03:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:03:27 Removing intermediate container ee862f04bc13 21:03:27 ---> 02e0df4263c4 21:03:27 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:03:27 ---> Running in ccff2e7e0159 21:03:27 + sudo tee /etc/docker/daemon.new 21:03:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:03:27 { 21:03:27 "registry-mirrors": [ 21:03:27 "https://nexus3.edgexfoundry.org:10001" 21:03:27 ], 21:03:27 "bip": "10.250.0.254/24", 21:03:27 "hosts": [ 21:03:27 "tcp://0.0.0.0:5555", 21:03:27 "unix:///var/run/docker.sock" 21:03:27 ], 21:03:27 "mtu": 1458, 21:03:27 "selinux-enabled": true, 21:03:27 "seccomp-profile": "/etc/docker/seccomp.json" 21:03:27 } [Pipeline] sh 21:03:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:03:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:03:28 + sudo service docker restart 21:03:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:03:28 OK: 221 MiB in 52 packages 21:03:28 Removing intermediate container ccff2e7e0159 21:03:28 ---> 825a85b23859 21:03:28 Step 8/11 : COPY go.mod vendor* ./ 21:03:29 ---> 18c36f761830 21:03:29 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:03:29 ---> Running in b5f63c595770 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:03:46 provisioning config files... 21:03:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8493884945137732442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:46 ---> docker-login.sh 21:03:46 nexus3.edgexfoundry.org:10001 21:03:47 Removing intermediate container b5f63c595770 21:03:47 ---> 339416b15244 21:03:47 Step 10/11 : COPY . . 21:03:47 ---> b03745266fc9 21:03:47 Step 11/11 : RUN ${MAKE} 21:03:47 ---> Running in 48c9e2ec969a 21:03:47 noop 21:03:47 Removing intermediate container 48c9e2ec969a 21:03:47 ---> 865a46bf0494 21:03:47 Successfully built 865a46bf0494 21:03:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:47 + docker inspect -f . ci-base-image-x86_64 21:03:47 . [Pipeline] withDockerContainer 21:03:47 prd-ubuntu20.04-docker-8c-8g-33721 does not seem to be running inside a container 21:03:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1152 -v /w/workspace/gexfoundry_device-sdk-go_PR-1152:/w/workspace/gexfoundry_device-sdk-go_PR-1152:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1152@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1152@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 21:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:47 Configure a credential helper to remove this warning. See 21:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:47 21:03:47 Login Succeeded 21:03:47 nexus3.edgexfoundry.org:10002 21:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:48 Configure a credential helper to remove this warning. See 21:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:48 21:03:48 Login Succeeded 21:03:48 nexus3.edgexfoundry.org:10003 21:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:49 Configure a credential helper to remove this warning. See 21:03:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:49 21:03:49 Login Succeeded 21:03:49 nexus3.edgexfoundry.org:10004 21:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:49 Configure a credential helper to remove this warning. See 21:03:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:49 21:03:49 Login Succeeded 21:03:49 docker.io 21:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:50 $ docker top 9cd9a4c8dcff78fe11de5a91e58075cdfa2829fcb7df38e2baf7fee8e0623851 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:50 Configure a credential helper to remove this warning. See 21:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:50 21:03:50 Login Succeeded 21:03:50 ---> docker-login.sh ends [Pipeline] } 21:03:50 Deleting 1 temporary files 21:03:50 + go version 21:03:50 go version go1.17.6 linux/amd64 [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } 21:03:50 $ docker stop --time=1 9cd9a4c8dcff78fe11de5a91e58075cdfa2829fcb7df38e2baf7fee8e0623851 21:03:52 $ docker rm -f 9cd9a4c8dcff78fe11de5a91e58075cdfa2829fcb7df38e2baf7fee8e0623851 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo 21:03:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] // stage [Pipeline] echo 21:03:52 ========================================================= 21:03:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 21:03:52 ========================================================= [Pipeline] fileExists [Pipeline] stage [Pipeline] { (Test) [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:03:52 + 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 . 21:03:53 + docker inspect -f . ci-base-image-x86_64 21:03:53 . [Pipeline] withDockerContainer 21:03:53 prd-ubuntu20.04-docker-8c-8g-33721 does not seem to be running inside a container 21:03:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1152 -v /w/workspace/gexfoundry_device-sdk-go_PR-1152:/w/workspace/gexfoundry_device-sdk-go_PR-1152:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1152@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1152@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 21:03:53 Sending build context to Docker daemon 5.232MB 21:03:53 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 21:03:53 Step 2/11 : FROM ${BASE} AS builder 21:03:53 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:03:53 9b3977197b4f: Pulling fs layer 21:03:53 1a89e8eeedd5: Pulling fs layer 21:03:53 94645a83ff95: Pulling fs layer 21:03:53 3f3a8bcf1eab: Pulling fs layer 21:03:53 0c92f367c5e7: Pulling fs layer 21:03:53 3096ccb668a1: Pulling fs layer 21:03:53 e8cf19c19ddd: Pulling fs layer 21:03:53 a4caa8a26152: Pulling fs layer 21:03:53 0c92f367c5e7: Waiting 21:03:53 3096ccb668a1: Waiting 21:03:53 3f3a8bcf1eab: Waiting 21:03:53 e8cf19c19ddd: Waiting 21:03:53 a4caa8a26152: Waiting 21:03:53 $ docker top 7e1a2de70793062e19901b9cbf4b4d57dafa2cb7225a30ee289f007eb44a6f9c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:03:53 94645a83ff95: Verifying Checksum 21:03:53 94645a83ff95: Download complete 21:03:53 1a89e8eeedd5: Download complete 21:03:53 0c92f367c5e7: Verifying Checksum 21:03:53 0c92f367c5e7: Download complete 21:03:53 3096ccb668a1: Verifying Checksum 21:03:53 3096ccb668a1: Download complete 21:03:53 9b3977197b4f: Verifying Checksum 21:03:53 9b3977197b4f: Download complete 21:03:53 e8cf19c19ddd: Verifying Checksum 21:03:53 e8cf19c19ddd: Download complete 21:03:54 + make test 21:03:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:03:54 9b3977197b4f: Pull complete 21:03:55 1a89e8eeedd5: Pull complete 21:03:55 94645a83ff95: Pull complete 21:03:55 a4caa8a26152: Verifying Checksum 21:03:55 a4caa8a26152: Download complete 21:03:56 3f3a8bcf1eab: Verifying Checksum 21:03:56 3f3a8bcf1eab: Download complete 21:03:59 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:04:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.074s coverage: 23.3% of statements 21:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:04:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements 21:04:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 78.9% of statements 21:04:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.131s coverage: 10.8% of statements 21:04:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.074s coverage: 60.0% of statements 21:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:04:11 3f3a8bcf1eab: Pull complete 21:04:11 0c92f367c5e7: Pull complete 21:04:11 3096ccb668a1: Pull complete 21:04:11 e8cf19c19ddd: Pull complete 21:04:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.097s coverage: 34.8% of statements 21:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:04:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.060s coverage: 86.1% of statements 21:04:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:04:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:04:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.109s coverage: 65.1% of statements 21:04:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.816s coverage: 89.2% of statements 21:04:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:04:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.7% of statements 21:04:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:04:17 a4caa8a26152: Pull complete 21:04:17 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 21:04:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:04:17 ---> 725f1c02e7f9 21:04:17 Step 3/11 : ARG MAKE=make build 21:04:19 ---> Running in 040b425edc76 21:04:19 Removing intermediate container 040b425edc76 21:04:19 ---> 14c13a4eb9ef 21:04:19 Step 4/11 : WORKDIR /device-sdk-go 21:04:19 ---> Running in 70ab219ddec6 21:04:20 Removing intermediate container 70ab219ddec6 21:04:20 ---> 121e31ca9506 21:04:20 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:04:20 ---> Running in 8f550dca3233 21:04:20 Removing intermediate container 8f550dca3233 21:04:20 ---> f488a8fce405 21:04:20 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:04:20 ---> Running in b7586b2d08d5 21:04:22 Removing intermediate container b7586b2d08d5 21:04:22 ---> 42cfc8eff33b 21:04:22 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:04:22 ---> Running in 8b9ea241bbd6 21:04:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:04:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:04:26 OK: 220 MiB in 52 packages 21:04:26 Removing intermediate container 8b9ea241bbd6 21:04:26 ---> 111a887806e4 21:04:26 Step 8/11 : COPY go.mod vendor* ./ 21:04:27 ---> 048bbc571646 21:04:27 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:04:27 ---> Running in aa6497720edf 21:04:27 GO111MODULE=on go vet ./... 21:04:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:04:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:04:31 ./bin/test-attribution-txt.sh [Pipeline] echo 21:04:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:04:32 $ docker stop --time=1 7e1a2de70793062e19901b9cbf4b4d57dafa2cb7225a30ee289f007eb44a6f9c 21:04:34 $ docker rm -f 7e1a2de70793062e19901b9cbf4b4d57dafa2cb7225a30ee289f007eb44a6f9c [Pipeline] // withDockerContainer [Pipeline] sh 21:04:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:04:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:04:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:04:36 + ls -al . 21:04:36 total 296 21:04:36 drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 21:04 . 21:04:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 21:02 .. 21:04:36 -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 21:02 .dockerignore 21:04:36 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 21:03 .git 21:04:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 21:02 .github 21:04:36 -rw-rw-r-- 1 jenkins jenkins 131 Apr 28 21:02 .gitignore 21:04:36 -rw-rw-r-- 1 jenkins jenkins 42 Apr 28 21:02 .golangci.yml 21:04:36 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 21:03 .semver 21:04:36 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 28 21:02 CHANGELOG.md 21:04:36 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 21:02 GOVERNANCE.md 21:04:36 -rw-rw-r-- 1 jenkins jenkins 880 Apr 28 21:02 Jenkinsfile 21:04:36 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 21:02 LICENSE 21:04:36 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 28 21:02 Makefile 21:04:36 -rw-rw-r-- 1 jenkins jenkins 619 Apr 28 21:02 OWNERS.md 21:04:36 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 28 21:02 README.md 21:04:36 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 21:03 VERSION 21:04:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 21:02 bin 21:04:36 -rw-r--r-- 1 jenkins jenkins 130819 Apr 28 21:04 coverage.out 21:04:36 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 21:02 example 21:04:36 -rw-rw-r-- 1 jenkins jenkins 3198 Apr 28 21:02 go.mod 21:04:36 -rw-rw-r-- 1 jenkins jenkins 34607 Apr 28 21:02 go.sum 21:04:36 drwxrwxr-x 15 jenkins jenkins 4096 Apr 28 21:02 internal 21:04:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 21:02 openapi 21:04:36 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 21:02 pkg 21:04:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 21:02 snap 21:04:36 -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 21:02 version.go [Pipeline] isUnix [Pipeline] sh 21:04:36 + 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=13cf16234548d07f18d1ac1d4eb58dcaeff035e5 --label arch=amd64 --label version=0.0.0 . 21:04:36 Sending build context to Docker daemon 9.828MB 21:04:36 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 21:04:36 Step 2/25 : FROM ${BASE} AS builder 21:04:36 ---> 865a46bf0494 21:04:36 Step 3/25 : ARG MAKE=make build 21:04:36 ---> Running in c04d42471e91 21:04:36 Removing intermediate container c04d42471e91 21:04:36 ---> 1a4a47d26b60 21:04:36 Step 4/25 : WORKDIR /device-sdk-go 21:04:36 ---> Running in 2f1447dca45e 21:04:36 Removing intermediate container 2f1447dca45e 21:04:36 ---> d013bc16e276 21:04:36 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:04:37 ---> Running in c3b0372fc38c 21:04:37 Removing intermediate container c3b0372fc38c 21:04:37 ---> c03d219fde07 21:04:37 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:04:37 ---> Running in 30f21219afc3 21:04:37 Removing intermediate container 30f21219afc3 21:04:37 ---> 05f381133b1d 21:04:37 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:04:38 ---> Running in 04e15f5997ef 21:04:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:04:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:04:39 OK: 221 MiB in 52 packages 21:04:39 Removing intermediate container 04e15f5997ef 21:04:39 ---> c9aa5e51688e 21:04:39 Step 8/25 : COPY go.mod vendor* ./ 21:04:39 ---> 71f17301dd88 21:04:39 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:04:39 ---> Running in d11bae429d1c 21:04:40 Removing intermediate container d11bae429d1c 21:04:40 ---> 8feec3e66d05 21:04:40 Step 10/25 : COPY . . 21:04:40 ---> 8d59be85e979 21:04:40 Step 11/25 : RUN ${MAKE} 21:04:40 ---> Running in d8862bda4505 21:04:41 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 21:04:59 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:05:00 Removing intermediate container d8862bda4505 21:05:00 ---> ec7508124bf4 21:05:00 Step 12/25 : FROM alpine:3.14 21:05:00 3.14: Pulling from library/alpine 21:05:01 8663204ce13b: Pulling fs layer 21:05:01 8663204ce13b: Verifying Checksum 21:05:01 8663204ce13b: Download complete 21:05:01 8663204ce13b: Pull complete 21:05:01 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:05:01 Status: Downloaded newer image for alpine:3.14 21:05:01 ---> e04c818066af 21:05:01 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:05:01 ---> Running in 1c8f523ecd02 21:05:01 Removing intermediate container 1c8f523ecd02 21:05:01 ---> 37ebfa7a8a3d 21:05:01 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:05:01 ---> Running in 61c18dd9cba7 21:05:02 Removing intermediate container 61c18dd9cba7 21:05:02 ---> 4301a5b49320 21:05:02 Step 15/25 : RUN apk add --update --no-cache zeromq 21:05:02 ---> Running in 8bcb458d46ca 21:05:02 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:05:03 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:05:03 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:05:03 (2/5) Installing libsodium (1.0.18-r0) 21:05:03 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:05:04 (4/5) Installing libzmq (4.3.4-r0) 21:05:04 (5/5) Installing zeromq (4.3.4-r0) 21:05:04 Executing busybox-1.33.1-r7.trigger 21:05:04 OK: 8 MiB in 19 packages 21:05:04 Removing intermediate container 8bcb458d46ca 21:05:04 ---> f07272265599 21:05:04 Step 16/25 : WORKDIR / 21:05:04 ---> Running in a4fa5e82cdd3 21:05:04 Removing intermediate container a4fa5e82cdd3 21:05:04 ---> 9f49e140cea5 21:05:04 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:05:04 ---> dc0b395771b3 21:05:04 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:05:05 ---> 5c06b3cd73d6 21:05:05 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:05:05 ---> c789d000f15b 21:05:05 Step 20/25 : EXPOSE 59999 21:05:05 ---> Running in 8cdb60034d6f 21:05:05 Removing intermediate container 8cdb60034d6f 21:05:05 ---> 6a489acd0836 21:05:05 Step 21/25 : ENTRYPOINT ["/device-simple"] 21:05:05 ---> Running in b58e461d2da8 21:05:06 Removing intermediate container b58e461d2da8 21:05:06 ---> 7e98d387833c 21:05:06 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:05:06 ---> Running in 583d05b39a6b 21:05:06 Removing intermediate container 583d05b39a6b 21:05:06 ---> 67d620b966b8 21:05:06 Step 23/25 : LABEL arch=amd64 21:05:06 ---> Running in 29ce1e949d65 21:05:06 Removing intermediate container 29ce1e949d65 21:05:06 ---> 9d4e0a8fc9ec 21:05:06 Step 24/25 : LABEL git_sha=13cf16234548d07f18d1ac1d4eb58dcaeff035e5 21:05:06 ---> Running in 426148c84561 21:05:06 Removing intermediate container 426148c84561 21:05:06 ---> c69aa4253bbf 21:05:06 Step 25/25 : LABEL version=0.0.0 21:05:06 ---> Running in 20bfe6addaea 21:05:06 Removing intermediate container 20bfe6addaea 21:05:06 ---> 2306b0c871b6 21:05:06 [Warning] One or more build-args [ARCH] were not consumed 21:05:06 Successfully built 2306b0c871b6 21:05:06 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 21:05:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:07 21:05:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:05:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:07 latest: Pulling from edgex-lftools-log-publisher 21:05:07 5eb5b503b376: Pulling fs layer 21:05:07 5c69ac0246d0: Pulling fs layer 21:05:07 ec43610c2a17: Pulling fs layer 21:05:07 3a2ae6a8a46f: Pulling fs layer 21:05:07 33b1e0a273af: Pulling fs layer 21:05:07 5d3b04190fa2: Pulling fs layer 21:05:07 2f39f015ded8: Pulling fs layer 21:05:07 33b1e0a273af: Waiting 21:05:07 5d3b04190fa2: Waiting 21:05:07 2f39f015ded8: Waiting 21:05:07 3a2ae6a8a46f: Waiting 21:05:07 5c69ac0246d0: Download complete 21:05:07 3a2ae6a8a46f: Verifying Checksum 21:05:07 3a2ae6a8a46f: Download complete 21:05:07 33b1e0a273af: Verifying Checksum 21:05:07 33b1e0a273af: Download complete 21:05:07 5d3b04190fa2: Verifying Checksum 21:05:07 5d3b04190fa2: Download complete 21:05:07 ec43610c2a17: Download complete 21:05:07 5eb5b503b376: Verifying Checksum 21:05:07 5eb5b503b376: Download complete 21:05:08 2f39f015ded8: Verifying Checksum 21:05:08 2f39f015ded8: Download complete 21:05:09 5eb5b503b376: Pull complete 21:05:09 5c69ac0246d0: Pull complete 21:05:09 ec43610c2a17: Pull complete 21:05:09 3a2ae6a8a46f: Pull complete 21:05:10 33b1e0a273af: Pull complete 21:05:10 5d3b04190fa2: Pull complete 21:05:14 Removing intermediate container aa6497720edf 21:05:14 ---> 8f42fe046010 21:05:14 Step 10/11 : COPY . . 21:05:15 2f39f015ded8: Pull complete 21:05:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:05:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:05:15 prd-ubuntu20.04-docker-8c-8g-33721 does not seem to be running inside a container 21:05:15 $ 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-1152 -v /w/workspace/gexfoundry_device-sdk-go_PR-1152:/w/workspace/gexfoundry_device-sdk-go_PR-1152:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1152@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1152@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 21:05:15 ---> af87a50d8286 21:05:15 Step 11/11 : RUN ${MAKE} 21:05:16 ---> Running in f931845207d9 21:05:17 noop 21:05:17 $ docker top 16ddd83ac8e08be1c1c9898cb5369c899d3063eeda04e8ee0732833dc76b47d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:17 ---> job-cost.sh 21:05:17 lf-activate-venv: SKIPPING 21:05:17 INFO: No Stack... 21:05:18 Removing intermediate container f931845207d9 21:05:18 ---> eb493ce5ded9 21:05:18 Successfully built eb493ce5ded9 21:05:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:05:18 INFO: Retrieving Pricing Info for: v3-standard-8 21:05:18 + docker inspect -f . ci-base-image-arm64 21:05:18 . [Pipeline] withDockerContainer 21:05:18 prd-ubuntu20.04-docker-arm64-4c-16g-33720 does not seem to be running inside a container 21:05:18 INFO: Archiving Costs 21:05:18 $ 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 21:05:20 $ docker top ccd213abd62326475197777ceda7b8af88bf67f580be4613013194f39faa54b2 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 21:05:21 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1152/archives/cost.csv 21:05:21 + cut -d, -f6 [Pipeline] lock 21:05:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1152-1-stack-cost] 21:05:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1152-1-stack-cost] did not exist. Created. 21:05:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1152-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:05:21 + echo total: 0.2199999988079071 21:05:21 + go version 21:05:21 go version go1.17.6 linux/arm64 [Pipeline] stash 21:05:21 Stashed 1 file(s) [Pipeline] } 21:05:21 $ docker stop --time=1 ccd213abd62326475197777ceda7b8af88bf67f580be4613013194f39faa54b2 21:05:23 $ docker rm -f ccd213abd62326475197777ceda7b8af88bf67f580be4613013194f39faa54b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 21:05:23 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1152-1-stack-cost] [Pipeline] // script [Pipeline] // lock [Pipeline] } [Pipeline] } 21:05:23 $ docker stop --time=1 16ddd83ac8e08be1c1c9898cb5369c899d3063eeda04e8ee0732833dc76b47d6 21:05:25 $ docker rm -f 16ddd83ac8e08be1c1c9898cb5369c899d3063eeda04e8ee0732833dc76b47d6 [Pipeline] // stage [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:05:25 + docker inspect -f . ci-base-image-arm64 21:05:25 . [Pipeline] withDockerContainer 21:05:26 prd-ubuntu20.04-docker-arm64-4c-16g-33720 does not seem to be running inside a container 21:05:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:05:27 $ docker top 72bdf5dc447ab7d59b94658540956517aa2d8f3f8de5d627179caacd86cf7999 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:05:28 + make test 21:05:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:06:07 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:08:14 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:08:14 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:08:14 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:08:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.434s coverage: 23.3% of statements 21:08:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:08:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.306s coverage: 27.6% of statements 21:08:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.368s coverage: 78.9% of statements 21:08:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.287s coverage: 10.8% of statements 21:08:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.571s coverage: 60.0% of statements 21:08:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:08:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:08:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.558s coverage: 34.8% of statements 21:08:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:08:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.342s coverage: 86.1% of statements 21:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:08:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.516s coverage: 65.1% of statements 21:08:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.883s coverage: 89.2% of statements 21:08:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:08:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.338s coverage: 4.7% of statements 21:08:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:08:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:08:42 GO111MODULE=on go vet ./... 21:10:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:10:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:10:34 ./bin/test-attribution-txt.sh [Pipeline] echo 21:10:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:10:34 $ docker stop --time=1 72bdf5dc447ab7d59b94658540956517aa2d8f3f8de5d627179caacd86cf7999 21:10:36 $ docker rm -f 72bdf5dc447ab7d59b94658540956517aa2d8f3f8de5d627179caacd86cf7999 [Pipeline] // withDockerContainer [Pipeline] sh 21:10:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:10:38 Warning: overwriting stash ‘coverage-report’ 21:10:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:10:40 + ls -al . 21:10:40 total 292 21:10:40 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 21:10 . 21:10:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 21:03 .. 21:10:40 -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 21:03 .dockerignore 21:10:40 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 21:03 .git 21:10:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 21:03 .github 21:10:40 -rw-rw-r-- 1 jenkins jenkins 131 Apr 28 21:03 .gitignore 21:10:40 -rw-rw-r-- 1 jenkins jenkins 42 Apr 28 21:03 .golangci.yml 21:10:40 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 28 21:03 CHANGELOG.md 21:10:40 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 21:03 GOVERNANCE.md 21:10:40 -rw-rw-r-- 1 jenkins jenkins 880 Apr 28 21:03 Jenkinsfile 21:10:40 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 21:03 LICENSE 21:10:40 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 28 21:03 Makefile 21:10:40 -rw-rw-r-- 1 jenkins jenkins 619 Apr 28 21:03 OWNERS.md 21:10:40 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 28 21:03 README.md 21:10:40 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 21:03 VERSION 21:10:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 21:03 bin 21:10:40 -rw-r--r-- 1 jenkins jenkins 130819 Apr 28 21:08 coverage.out 21:10:40 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 21:03 example 21:10:40 -rw-rw-r-- 1 jenkins jenkins 3198 Apr 28 21:03 go.mod 21:10:40 -rw-rw-r-- 1 jenkins jenkins 34607 Apr 28 21:03 go.sum 21:10:40 drwxrwxr-x 15 jenkins jenkins 4096 Apr 28 21:03 internal 21:10:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 21:03 openapi 21:10:40 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 21:03 pkg 21:10:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 21:03 snap 21:10:40 -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 21:03 version.go [Pipeline] isUnix [Pipeline] sh 21:10:40 + 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=13cf16234548d07f18d1ac1d4eb58dcaeff035e5 --label arch=arm64 --label version=0.0.0 . 21:10:41 Sending build context to Docker daemon 5.363MB 21:10:41 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 21:10:41 Step 2/25 : FROM ${BASE} AS builder 21:10:41 ---> eb493ce5ded9 21:10:41 Step 3/25 : ARG MAKE=make build 21:10:41 ---> Running in 9c5f1ff54130 21:10:41 Removing intermediate container 9c5f1ff54130 21:10:41 ---> ca5b6ef31c24 21:10:41 Step 4/25 : WORKDIR /device-sdk-go 21:10:41 ---> Running in 7c1b030ab13b 21:10:42 Removing intermediate container 7c1b030ab13b 21:10:42 ---> d1669f574023 21:10:42 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:10:42 ---> Running in af51331ae4a0 21:10:42 Removing intermediate container af51331ae4a0 21:10:42 ---> c87072ddd069 21:10:42 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:10:42 ---> Running in f8aa353a80cb 21:10:44 Removing intermediate container f8aa353a80cb 21:10:44 ---> ebbb279b3272 21:10:44 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:10:44 ---> Running in eeb632e91886 21:10:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:10:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:10:47 OK: 220 MiB in 52 packages 21:10:48 Removing intermediate container eeb632e91886 21:10:48 ---> a7a9bdd0e66c 21:10:48 Step 8/25 : COPY go.mod vendor* ./ 21:10:49 ---> b743cbb3d163 21:10:49 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:49 ---> Running in 23171b4da89f 21:10:51 Removing intermediate container 23171b4da89f 21:10:51 ---> 553d26206bc4 21:10:51 Step 10/25 : COPY . . 21:10:53 ---> 65f9f96badc4 21:10:53 Step 11/25 : RUN ${MAKE} 21:10:53 ---> Running in 380b2e3091da 21:10:54 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 21:13:31 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:13:31 Removing intermediate container 380b2e3091da 21:13:31 ---> f6fef38556fa 21:13:31 Step 12/25 : FROM alpine:3.14 21:13:31 3.14: Pulling from library/alpine 21:13:31 455c02918c45: Pulling fs layer 21:13:31 455c02918c45: Verifying Checksum 21:13:31 455c02918c45: Download complete 21:13:31 455c02918c45: Pull complete 21:13:31 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:13:31 Status: Downloaded newer image for alpine:3.14 21:13:31 ---> ac73e934f311 21:13:31 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:13:31 ---> Running in a43cc32bf22a 21:13:31 Removing intermediate container a43cc32bf22a 21:13:31 ---> 7732df702787 21:13:31 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:13:31 ---> Running in 0b3679fbcef0 21:13:32 Removing intermediate container 0b3679fbcef0 21:13:32 ---> dc449db15adc 21:13:32 Step 15/25 : RUN apk add --update --no-cache zeromq 21:13:32 ---> Running in a57c106db7d6 21:13:33 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:13:34 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:13:35 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:13:35 (2/5) Installing libsodium (1.0.18-r0) 21:13:35 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:13:36 (4/5) Installing libzmq (4.3.4-r0) 21:13:36 (5/5) Installing zeromq (4.3.4-r0) 21:13:36 Executing busybox-1.33.1-r7.trigger 21:13:36 OK: 8 MiB in 19 packages 21:13:37 Removing intermediate container a57c106db7d6 21:13:37 ---> 79a3c2fca661 21:13:37 Step 16/25 : WORKDIR / 21:13:37 ---> Running in 5fa5cf6f4279 21:13:38 Removing intermediate container 5fa5cf6f4279 21:13:38 ---> 94735ecdf017 21:13:38 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:13:38 ---> 86b69c5701c9 21:13:38 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:13:40 ---> e17de91d46e6 21:13:40 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:13:41 ---> acd6749c90c1 21:13:41 Step 20/25 : EXPOSE 59999 21:13:41 ---> Running in 79e0f19a5e07 21:13:41 Removing intermediate container 79e0f19a5e07 21:13:41 ---> 0f6d7b4b7e4a 21:13:41 Step 21/25 : ENTRYPOINT ["/device-simple"] 21:13:41 ---> Running in db0c5948fa67 21:13:42 Removing intermediate container db0c5948fa67 21:13:42 ---> 308e65f8fa80 21:13:42 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:13:42 ---> Running in 297f594b0a91 21:13:42 Removing intermediate container 297f594b0a91 21:13:42 ---> f95815c4470e 21:13:42 Step 23/25 : LABEL arch=arm64 21:13:42 ---> Running in 8add9097d356 21:13:43 Removing intermediate container 8add9097d356 21:13:43 ---> c4d1e2d8e152 21:13:43 Step 24/25 : LABEL git_sha=13cf16234548d07f18d1ac1d4eb58dcaeff035e5 21:13:43 ---> Running in 7dae1a43ece0 21:13:43 Removing intermediate container 7dae1a43ece0 21:13:43 ---> ff35bb903f16 21:13:43 Step 25/25 : LABEL version=0.0.0 21:13:43 ---> Running in ecca4834d301 21:13:43 Removing intermediate container ecca4834d301 21:13:43 ---> 2d233bad4407 21:13:43 [Warning] One or more build-args [ARCH] were not consumed 21:13:43 Successfully built 2d233bad4407 21:13:44 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 21:13:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:44 21:13:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:13:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:45 arm64: Pulling from edgex-lftools-log-publisher 21:13:45 8998bd30e6a1: Pulling fs layer 21:13:45 04944245beec: Pulling fs layer 21:13:45 699f458cf7ca: Pulling fs layer 21:13:45 765212b225bb: Pulling fs layer 21:13:45 f23df028b6ca: Pulling fs layer 21:13:45 d65c8cfc05b1: Pulling fs layer 21:13:45 2437ff75d9bd: Pulling fs layer 21:13:45 765212b225bb: Waiting 21:13:45 d65c8cfc05b1: Waiting 21:13:45 2437ff75d9bd: Waiting 21:13:45 f23df028b6ca: Waiting 21:13:45 04944245beec: Verifying Checksum 21:13:45 04944245beec: Download complete 21:13:45 765212b225bb: Download complete 21:13:45 f23df028b6ca: Verifying Checksum 21:13:45 f23df028b6ca: Download complete 21:13:45 d65c8cfc05b1: Verifying Checksum 21:13:45 d65c8cfc05b1: Download complete 21:13:45 699f458cf7ca: Verifying Checksum 21:13:45 699f458cf7ca: Download complete 21:13:46 8998bd30e6a1: Verifying Checksum 21:13:46 8998bd30e6a1: Download complete 21:13:49 2437ff75d9bd: Verifying Checksum 21:13:49 2437ff75d9bd: Download complete 21:13:51 8998bd30e6a1: Pull complete 21:13:51 04944245beec: Pull complete 21:13:52 699f458cf7ca: Pull complete 21:13:53 765212b225bb: Pull complete 21:13:54 f23df028b6ca: Pull complete 21:13:54 d65c8cfc05b1: Pull complete 21:14:09 2437ff75d9bd: Pull complete 21:14:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:14:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:14:10 prd-ubuntu20.04-docker-arm64-4c-16g-33720 does not seem to be running inside a container 21:14:10 $ 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 21:14:13 $ docker top 14608057cb5f8db5f65e94af6b5a00a2ccdf00dbc8d75938a8f9b1eabf33e0c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:14 ---> job-cost.sh 21:14:14 lf-activate-venv: SKIPPING 21:14:14 INFO: No Stack... 21:14:15 INFO: Retrieving Pricing Info for: v3-standard-4 21:14:16 INFO: Archiving Costs [Pipeline] sh 21:14:16 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 21:14:16 + cut -d, -f6 [Pipeline] lock 21:14:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1152-1-stack-cost] 21:14:16 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1152-1-stack-cost] did not exist. Created. 21:14:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1152-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:17 /w/workspace/device-sdk-go/1@tmp/durable-4b174c8b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:14:18 + echo total: 0.10999999940395355 [Pipeline] stash 21:14:18 Warning: overwriting stash ‘stack-cost’ 21:14:18 Stashed 1 file(s) [Pipeline] } 21:14:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1152-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:18 $ docker stop --time=1 14608057cb5f8db5f65e94af6b5a00a2ccdf00dbc8d75938a8f9b1eabf33e0c5 21:14:20 $ docker rm -f 14608057cb5f8db5f65e94af6b5a00a2ccdf00dbc8d75938a8f9b1eabf33e0c5 [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 21:14:21 provisioning config files... 21:14:21 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1152@tmp/config2357725654534538698tmp [Pipeline] { [Pipeline] sh 21:14:21 + set +x 21:14:21 + curl -s https://codecov.io/bash 21:14:21 + bash -s -- 21:14:21 21:14:21 _____ _ 21:14:21 / ____| | | 21:14:21 | | ___ __| | ___ ___ _____ __ 21:14:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:14:21 | |___| (_) | (_| | __/ (_| (_) \ V / 21:14:21 \_____\___/ \__,_|\___|\___\___/ \_/ 21:14:21 Bash-1.0.6 21:14:21 21:14:21 21:14:21 ==> git version 2.25.1 found 21:14:21 ==> 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 21:14:21 Release-Date: 2020-01-08 21:14:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:14:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:14:21 ==> Jenkins CI detected. 21:14:21 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1152 21:14:21 project root: . 21:14:21 --> token set from env 21:14:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:14:21 ==> Running gcov in . (disable via -X gcov) 21:14:21 ==> Python coveragepy not found 21:14:21 ==> Searching for coverage reports in: 21:14:21 + . 21:14:21 -> Found 1 reports 21:14:21 ==> Detecting git/mercurial file structure 21:14:21 ==> Reading reports 21:14:21 + ./coverage.out bytes=130819 21:14:21 ==> Appending adjustments 21:14:21 https://docs.codecov.io/docs/fixing-reports 21:14:22 + Found adjustments 21:14:22 ==> Gzipping contents 21:14:22 20K /tmp/codecov.zuXAYA.gz 21:14:22 ==> Uploading reports 21:14:22 url: https://codecov.io 21:14:22 query: branch=PR-1152&commit=13cf16234548d07f18d1ac1d4eb58dcaeff035e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1152%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1152&job=&cmd_args= 21:14:22 -> Pinging Codecov 21:14:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1152&commit=13cf16234548d07f18d1ac1d4eb58dcaeff035e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1152%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1152&job=&cmd_args= 21:14:22 -> Uploading to 21:14:22 https://storage.googleapis.com/codecov/v4/raw/2022-04-28/7E55EF52A471D76F132DFD9A03CDDE97/13cf16234548d07f18d1ac1d4eb58dcaeff035e5/bdb86036-1de0-4fad-9459-c418e4a8ada3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T211422Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2aed5a10caf88c6375a340c52766d7fe11def4ee91b807e3c6482f3570a09196 21:14:22 % Total % Received % Xferd Average Speed Time Time Time Current 21:14:22 Dload Upload Total Spent Left Speed 21:14:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16825 0 0 100 16825 0 76131 --:--:-- --:--:-- --:--:-- 76131 21:14:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/13cf16234548d07f18d1ac1d4eb58dcaeff035e5 [Pipeline] } 21:14:22 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 21:14:24 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1152/archives ] 21:14:24 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1152/archives 21:14:24 total 16 21:14:24 drwxr-xr-x 3 root root 4096 Apr 28 21:05 . 21:14:24 drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 21:05 .. 21:14:24 drwxr-xr-x 2 root root 4096 Apr 28 21:05 cost 21:14:24 -rw-r--r-- 1 root root 85 Apr 28 21:05 cost.csv 21:14:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1152/archives 21:14:24 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1152/archives 21:14:24 total 16 21:14:24 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 21:05 . 21:14:24 drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 21:05 .. 21:14:24 drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 21:05 cost 21:14:24 -rw-r--r-- 1 jenkins jenkins 85 Apr 28 21:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:14:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:14:25 ---> package-listing.sh 21:14:25 ++ tr '[:upper:]' '[:lower:]' 21:14:25 ++ facter osfamily 21:14:25 + OS_FAMILY=debian 21:14:25 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1152 21:14:25 + START_PACKAGES=/tmp/packages_start.txt 21:14:25 + END_PACKAGES=/tmp/packages_end.txt 21:14:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:14:25 + PACKAGES=/tmp/packages_start.txt 21:14:25 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1152 ']' 21:14:25 + PACKAGES=/tmp/packages_end.txt 21:14:25 + case "${OS_FAMILY}" in 21:14:25 + dpkg -l 21:14:25 + grep '^ii' 21:14:25 + '[' -f /tmp/packages_start.txt ']' 21:14:25 + '[' -f /tmp/packages_end.txt ']' 21:14:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:14:25 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1152 ']' 21:14:25 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1152/archives/ 21:14:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1152/archives/ [Pipeline] echo 21:14:26 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-1152/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:14:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:14:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:26 . [Pipeline] withDockerContainer 21:14:26 prd-ubuntu20.04-docker-8c-8g-33721 does not seem to be running inside a container 21:14:27 $ 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-1152/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-1152 -v /w/workspace/gexfoundry_device-sdk-go_PR-1152:/w/workspace/gexfoundry_device-sdk-go_PR-1152:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1152@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1152@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 21:14:27 $ docker top 10dd59c9c073746d4a313abe54959b8f7cc1ab0b5e217231be2ec2f5c257becb -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:27 + touch /tmp/pre-build-complete [Pipeline] sh 21:14:27 + mkdir -p /var/log/sysstat [Pipeline] sh 21:14:28 + ls /var/log/sa-host 21:14:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:28 provisioning config files... 21:14:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1152@tmp/config567870867091564096tmp [Pipeline] { [Pipeline] echo 21:14:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:14:28 ---> create-netrc.sh [Pipeline] } 21:14:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:14:29 ---> python-tools-install.sh [Pipeline] echo 21:14:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:14:29 ---> sudo-logs.sh 21:14:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:14:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:14:30 ---> job-cost.sh 21:14:30 lf-activate-venv: SKIPPING 21:14:30 DEBUG: total: 0.2199999988079071 21:14:30 INFO: Retrieving Stack Cost... 21:14:30 INFO: Retrieving Pricing Info for: v3-standard-8 21:14:30 INFO: Archiving Costs [Pipeline] echo 21:14:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:14:31 ---> logs-deploy.sh 21:14:31 lf-activate-venv: SKIPPING 21:14:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1152/1 21:14:31 INFO: archiving workspace using pattern(s): 21:14:32 Archives upload complete. 21:14:32 INFO: archiving logs to Nexus