Pull request #1159 updated 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at b41f42986e30026cf34f8a06bff8ad408dee209a rather than 1932b760e9d522737c398020759f258cc4964592 Obtained Jenkinsfile from b41f42986e30026cf34f8a06bff8ad408dee209a 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-ssh11412213270531710818.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-ssh17883919121605949439.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1159/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1159/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11563710112360652662.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 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-ssh17256910412606377504.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1159/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1159/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12041835674285180208.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-ubuntu20.04-docker-8c-8g-44839’ is offline Running on prd-ubuntu20.04-docker-8c-8g-44842 in /w/workspace/gexfoundry_device-sdk-go_PR-1159 [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-1159 # 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 b41f42986e30026cf34f8a06bff8ad408dee209a into PR head commit 1932b760e9d522737c398020759f258cc4964592 Merge succeeded, producing 1932b760e9d522737c398020759f258cc4964592 Checking out Revision 1932b760e9d522737c398020759f258cc4964592 (PR-1159) > 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/1159/head:refs/remotes/origin/PR-1159 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1932b760e9d522737c398020759f258cc4964592 # 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 b41f42986e30026cf34f8a06bff8ad408dee209a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1932b760e9d522737c398020759f258cc4964592 # timeout=10 Commit message: "fix: Remove core-data client when using the MessageBus" First time build. Skipping changelog. > git rev-list --no-walk a20acd08c798f4e8368922a5499a9dc7b2236198 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T06:16:05.138Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T06:16:05.202Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T06:16:05.222Z] ========================================================= [2022-05-10T06:16:05.222Z] EdgeX Global Pipelines Version Info [2022-05-10T06:16:05.222Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:16:05.993Z] ------------------- [2022-05-10T06:16:05.993Z] stable info: [2022-05-10T06:16:05.993Z] ------------------- [2022-05-10T06:16:05.993Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T06:16:05.993Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T06:16:05.993Z] Message: update stable to v1.0.227 [2022-05-10T06:16:06.573Z] ------------------- [2022-05-10T06:16:06.573Z] experimental info: [2022-05-10T06:16:06.573Z] ------------------- [2022-05-10T06:16:06.573Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T06:16:06.573Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T06:16:06.573Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T06:16:06.709Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-10T06:16:06.720Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-10T06:16:06.740Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T06:16:06.760Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T06:16:06.778Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T06:16:06.799Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T06:16:06.819Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T06:16:06.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-10T06:16:06.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T06:16:06.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T06:16:06.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T06:16:06.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-10T06:16:06.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T06:16:06.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T06:16:06.943Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T06:16:06.954Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T06:16:06.969Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T06:16:06.981Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T06:16:06.997Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T06:16:07.008Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T06:16:07.024Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-10T06:16:07.035Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-10T06:16:07.050Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T06:16:07.062Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T06:16:07.073Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T06:16:07.087Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T06:16:07.098Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1159 [Pipeline] echo [2022-05-10T06:16:07.112Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1159 [Pipeline] echo [2022-05-10T06:16:07.127Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1159 [Pipeline] echo [2022-05-10T06:16:07.138Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1932b760e9d522737c398020759f258cc4964592 [Pipeline] echo [2022-05-10T06:16:07.153Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1932b76 [Pipeline] echo [2022-05-10T06:16:07.165Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T06:16:07.207Z] provisioning config files... [2022-05-10T06:16:07.222Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/config1329063595659821449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:16:07.539Z] ---> docker-login.sh [2022-05-10T06:16:07.539Z] nexus3.edgexfoundry.org:10001 [2022-05-10T06:16:07.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:16:07.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:16:07.801Z] Configure a credential helper to remove this warning. See [2022-05-10T06:16:07.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:16:07.801Z] [2022-05-10T06:16:07.801Z] Login Succeeded [2022-05-10T06:16:07.801Z] nexus3.edgexfoundry.org:10002 [2022-05-10T06:16:08.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:16:08.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:16:08.064Z] Configure a credential helper to remove this warning. See [2022-05-10T06:16:08.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:16:08.064Z] [2022-05-10T06:16:08.064Z] Login Succeeded [2022-05-10T06:16:08.064Z] nexus3.edgexfoundry.org:10003 [2022-05-10T06:16:08.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:16:08.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:16:08.326Z] Configure a credential helper to remove this warning. See [2022-05-10T06:16:08.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:16:08.326Z] [2022-05-10T06:16:08.326Z] Login Succeeded [2022-05-10T06:16:08.326Z] nexus3.edgexfoundry.org:10004 [2022-05-10T06:16:08.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:16:08.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:16:08.326Z] Configure a credential helper to remove this warning. See [2022-05-10T06:16:08.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:16:08.326Z] [2022-05-10T06:16:08.326Z] Login Succeeded [2022-05-10T06:16:08.326Z] docker.io [2022-05-10T06:16:08.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:16:08.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:16:08.856Z] Configure a credential helper to remove this warning. See [2022-05-10T06:16:08.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:16:08.856Z] [2022-05-10T06:16:08.856Z] Login Succeeded [2022-05-10T06:16:08.856Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T06:16:08.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T06:16:09.246Z] + git rev-list -1 --merges 1932b760e9d522737c398020759f258cc4964592~1..1932b760e9d522737c398020759f258cc4964592 [Pipeline] echo [2022-05-10T06:16:09.360Z] -----------> git rev-list -1 --merges 1932b760e9d522737c398020759f258cc4964592~1..1932b760e9d522737c398020759f258cc4964592 1932b760e9d522737c398020759f258cc4964592 [false] [Pipeline] sh [2022-05-10T06:16:09.652Z] + git log --format=format:%s -1 1932b760e9d522737c398020759f258cc4964592 [Pipeline] echo [2022-05-10T06:16:09.678Z] ========================================================= [2022-05-10T06:16:09.678Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T06:16:09.678Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T06:16:10.027Z] + git log --format=format:%s -1 1932b760e9d522737c398020759f258cc4964592 [Pipeline] echo [2022-05-10T06:16:10.041Z] [semverPrep] GIT_COMMIT: 1932b760e9d522737c398020759f258cc4964592, Commit Message: fix: Remove core-data client when using the MessageBus [Pipeline] echo [2022-05-10T06:16:10.053Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T06:16:10.443Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T06:16:10.443Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T06:16:10.443Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T06:16:10.443Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T06:16:10.443Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T06:16:10.443Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T06:16:10.444Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:16:10.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T06:16:10.794Z] [2022-05-10T06:16:10.794Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:16:11.105Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T06:16:11.105Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T06:16:11.105Z] 1fe172e4850f: Pulling fs layer [2022-05-10T06:16:11.105Z] caf521ccaac6: Pulling fs layer [2022-05-10T06:16:11.105Z] 3ead6fa29328: Pulling fs layer [2022-05-10T06:16:11.105Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T06:16:11.105Z] a8d5f1318db7: Pulling fs layer [2022-05-10T06:16:11.105Z] c427282e49a2: Pulling fs layer [2022-05-10T06:16:11.105Z] 1827001aaf11: Pulling fs layer [2022-05-10T06:16:11.105Z] 0714d37db230: Pulling fs layer [2022-05-10T06:16:11.105Z] ac28cf19c067: Pulling fs layer [2022-05-10T06:16:11.105Z] ca983d60f3e2: Pulling fs layer [2022-05-10T06:16:11.105Z] 9f894cec8388: Pulling fs layer [2022-05-10T06:16:11.105Z] 1827001aaf11: Waiting [2022-05-10T06:16:11.105Z] 0714d37db230: Waiting [2022-05-10T06:16:11.105Z] ac28cf19c067: Waiting [2022-05-10T06:16:11.105Z] ca983d60f3e2: Waiting [2022-05-10T06:16:11.105Z] 9f894cec8388: Waiting [2022-05-10T06:16:11.105Z] 5c2a1cbceb83: Waiting [2022-05-10T06:16:11.105Z] a8d5f1318db7: Waiting [2022-05-10T06:16:11.105Z] c427282e49a2: Waiting [2022-05-10T06:16:11.105Z] caf521ccaac6: Download complete [2022-05-10T06:16:11.105Z] 5c2a1cbceb83: Verifying Checksum [2022-05-10T06:16:11.105Z] 5c2a1cbceb83: Download complete [2022-05-10T06:16:11.366Z] a8d5f1318db7: Verifying Checksum [2022-05-10T06:16:11.366Z] a8d5f1318db7: Download complete [2022-05-10T06:16:11.366Z] c427282e49a2: Download complete [2022-05-10T06:16:11.366Z] 3ead6fa29328: Verifying Checksum [2022-05-10T06:16:11.366Z] 3ead6fa29328: Download complete [2022-05-10T06:16:11.366Z] 0714d37db230: Verifying Checksum [2022-05-10T06:16:11.366Z] 0714d37db230: Download complete [2022-05-10T06:16:11.366Z] ac28cf19c067: Verifying Checksum [2022-05-10T06:16:11.366Z] ac28cf19c067: Download complete [2022-05-10T06:16:11.366Z] ca983d60f3e2: Download complete [2022-05-10T06:16:11.366Z] 9f894cec8388: Download complete [2022-05-10T06:16:11.366Z] 1fe172e4850f: Verifying Checksum [2022-05-10T06:16:11.366Z] 1fe172e4850f: Download complete [2022-05-10T06:16:11.626Z] 1827001aaf11: Verifying Checksum [2022-05-10T06:16:11.626Z] 1827001aaf11: Download complete [2022-05-10T06:16:13.013Z] 1fe172e4850f: Pull complete [2022-05-10T06:16:13.013Z] caf521ccaac6: Pull complete [2022-05-10T06:16:13.587Z] 3ead6fa29328: Pull complete [2022-05-10T06:16:13.587Z] 5c2a1cbceb83: Pull complete [2022-05-10T06:16:13.849Z] a8d5f1318db7: Pull complete [2022-05-10T06:16:13.849Z] c427282e49a2: Pull complete [2022-05-10T06:16:16.400Z] 1827001aaf11: Pull complete [2022-05-10T06:16:16.400Z] 0714d37db230: Pull complete [2022-05-10T06:16:16.400Z] ac28cf19c067: Pull complete [2022-05-10T06:16:16.400Z] ca983d60f3e2: Pull complete [2022-05-10T06:16:16.400Z] 9f894cec8388: Pull complete [2022-05-10T06:16:16.400Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T06:16:16.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T06:16:16.400Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T06:16:16.487Z] prd-ubuntu20.04-docker-8c-8g-44842 does not seem to be running inside a container [2022-05-10T06:16:16.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1159 -v /w/workspace/gexfoundry_device-sdk-go_PR-1159:/w/workspace/gexfoundry_device-sdk-go_PR-1159:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T06:16:18.238Z] $ docker top 75f195347803e47d10da76e19c62d2276adcc810b3b336dcdeab70b577ca993b -eo pid,comm [2022-05-10T06:16:18.315Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-10T06:16:18.315Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T06:16:18.351Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T06:16:18.351Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T06:16:18.495Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T06:16:18.503Z] $ docker exec 75f195347803e47d10da76e19c62d2276adcc810b3b336dcdeab70b577ca993b ssh-agent [2022-05-10T06:16:18.634Z] SSH_AUTH_SOCK=/tmp/ssh-hnWjiJoUOdA1/agent.33 [2022-05-10T06:16:18.634Z] SSH_AGENT_PID=40 [2022-05-10T06:16:18.645Z] Running ssh-add (command line suppressed) [2022-05-10T06:16:18.801Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/private_key_3979061945707935898.key (/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/private_key_3979061945707935898.key) [2022-05-10T06:16:18.816Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T06:16:19.110Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T06:16:19.129Z] $ docker exec --env ******** --env ******** 75f195347803e47d10da76e19c62d2276adcc810b3b336dcdeab70b577ca993b ssh-agent -k [2022-05-10T06:16:19.266Z] unset SSH_AUTH_SOCK; [2022-05-10T06:16:19.267Z] unset SSH_AGENT_PID; [2022-05-10T06:16:19.267Z] echo Agent pid 40 killed; [2022-05-10T06:16:19.277Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T06:16:19.308Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T06:16:19.308Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T06:16:19.442Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T06:16:19.449Z] $ docker exec 75f195347803e47d10da76e19c62d2276adcc810b3b336dcdeab70b577ca993b ssh-agent [2022-05-10T06:16:19.592Z] SSH_AUTH_SOCK=/tmp/ssh-kzhmwGWGPYbk/agent.74 [2022-05-10T06:16:19.592Z] SSH_AGENT_PID=81 [2022-05-10T06:16:19.599Z] Running ssh-add (command line suppressed) [2022-05-10T06:16:19.727Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/private_key_4836108733085150916.key (/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/private_key_4836108733085150916.key) [2022-05-10T06:16:19.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T06:16:20.039Z] + git semver init [2022-05-10T06:16:20.301Z] 2022-05-10 06:16:20,242 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T06:16:20.301Z] 2022-05-10 06:16:20,243 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver [2022-05-10T06:16:20.301Z] 2022-05-10 06:16:20,244 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver [2022-05-10T06:16:20.301Z] 2022-05-10 06:16:20,244 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1159, universal_newlines=False, shell=None, istream=None) [2022-05-10T06:16:21.250Z] 2022-05-10 06:16:21,135 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1159/.git/info/exclude [2022-05-10T06:16:21.250Z] 2022-05-10 06:16:21,136 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver/PR-1159 with force:False [2022-05-10T06:16:21.250Z] 2022-05-10 06:16:21,136 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver/PR-1159 [2022-05-10T06:16:21.250Z] 2022-05-10 06:16:21,141 [execute] INFO git cat-file --batch-check [2022-05-10T06:16:21.250Z] 2022-05-10 06:16:21,141 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T06:16:21.250Z] 2022-05-10 06:16:21,146 [execute] INFO git cat-file --batch [2022-05-10T06:16:21.250Z] 2022-05-10 06:16:21,146 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T06:16:21.250Z] 2022-05-10 06:16:21,151 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver/PR-1159 [2022-05-10T06:16:21.250Z] 0.0.0 [Pipeline] } [2022-05-10T06:16:21.276Z] $ docker exec --env ******** --env ******** 75f195347803e47d10da76e19c62d2276adcc810b3b336dcdeab70b577ca993b ssh-agent -k [2022-05-10T06:16:21.437Z] unset SSH_AUTH_SOCK; [2022-05-10T06:16:21.437Z] unset SSH_AGENT_PID; [2022-05-10T06:16:21.438Z] echo Agent pid 81 killed; [2022-05-10T06:16:21.452Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T06:16:21.769Z] + git semver [Pipeline] } [2022-05-10T06:16:22.050Z] $ docker stop --time=1 75f195347803e47d10da76e19c62d2276adcc810b3b336dcdeab70b577ca993b [2022-05-10T06:16:23.380Z] $ docker rm -f 75f195347803e47d10da76e19c62d2276adcc810b3b336dcdeab70b577ca993b [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T06:16:23.739Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T06:16:24.022Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T06:16:24.026Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T06:16:24.172Z] provisioning config files... [2022-05-10T06:16:24.184Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/config1723298991237337643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:16:24.495Z] ---> docker-login.sh [2022-05-10T06:16:24.495Z] nexus3.edgexfoundry.org:10001 [2022-05-10T06:16:24.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:16:24.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:16:24.495Z] Configure a credential helper to remove this warning. See [2022-05-10T06:16:24.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:16:24.495Z] [2022-05-10T06:16:24.495Z] Login Succeeded [2022-05-10T06:16:24.495Z] nexus3.edgexfoundry.org:10002 [2022-05-10T06:16:24.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:16:24.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:16:24.756Z] Configure a credential helper to remove this warning. See [2022-05-10T06:16:24.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:16:24.756Z] [2022-05-10T06:16:24.756Z] Login Succeeded [2022-05-10T06:16:24.756Z] nexus3.edgexfoundry.org:10003 [2022-05-10T06:16:24.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:16:24.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:16:24.756Z] Configure a credential helper to remove this warning. See [2022-05-10T06:16:24.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:16:24.756Z] [2022-05-10T06:16:24.756Z] Login Succeeded [2022-05-10T06:16:24.756Z] nexus3.edgexfoundry.org:10004 [2022-05-10T06:16:25.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:16:25.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:16:25.017Z] Configure a credential helper to remove this warning. See [2022-05-10T06:16:25.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:16:25.017Z] [2022-05-10T06:16:25.017Z] Login Succeeded [2022-05-10T06:16:25.017Z] docker.io [2022-05-10T06:16:25.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:16:25.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:16:25.279Z] Configure a credential helper to remove this warning. See [2022-05-10T06:16:25.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:16:25.279Z] [2022-05-10T06:16:25.279Z] Login Succeeded [2022-05-10T06:16:25.279Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T06:16:25.289Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T06:16:25.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T06:16:25.386Z] ========================================================= [2022-05-10T06:16:25.387Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T06:16:25.387Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:16:25.704Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-10T06:16:25.704Z] Sending build context to Docker daemon 9.709MB [2022-05-10T06:16:25.704Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T06:16:25.704Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-10T06:16:25.966Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T06:16:25.966Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T06:16:25.966Z] 666ba61612fd: Pulling fs layer [2022-05-10T06:16:25.966Z] 8ed8ca486205: Pulling fs layer [2022-05-10T06:16:25.966Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T06:16:25.966Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T06:16:25.966Z] ca2b28591e48: Pulling fs layer [2022-05-10T06:16:25.966Z] a51346096db8: Pulling fs layer [2022-05-10T06:16:25.966Z] daebc70d1ce1: Pulling fs layer [2022-05-10T06:16:25.966Z] 0e18a0eac166: Pulling fs layer [2022-05-10T06:16:25.966Z] daebc70d1ce1: Waiting [2022-05-10T06:16:25.966Z] ca2b28591e48: Waiting [2022-05-10T06:16:25.966Z] a51346096db8: Waiting [2022-05-10T06:16:25.966Z] 22a0e8bec74d: Waiting [2022-05-10T06:16:25.966Z] 8ed8ca486205: Verifying Checksum [2022-05-10T06:16:25.966Z] 8ed8ca486205: Download complete [2022-05-10T06:16:25.966Z] 666ba61612fd: Download complete [2022-05-10T06:16:25.966Z] 22a0e8bec74d: Verifying Checksum [2022-05-10T06:16:25.966Z] 22a0e8bec74d: Download complete [2022-05-10T06:16:25.966Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T06:16:25.966Z] 59bf1c3509f3: Download complete [2022-05-10T06:16:25.966Z] ca2b28591e48: Verifying Checksum [2022-05-10T06:16:25.966Z] ca2b28591e48: Download complete [2022-05-10T06:16:25.966Z] a51346096db8: Download complete [2022-05-10T06:16:25.966Z] daebc70d1ce1: Verifying Checksum [2022-05-10T06:16:25.966Z] daebc70d1ce1: Download complete [2022-05-10T06:16:25.966Z] 59bf1c3509f3: Pull complete [2022-05-10T06:16:26.229Z] 666ba61612fd: Pull complete [2022-05-10T06:16:26.229Z] 8ed8ca486205: Pull complete [2022-05-10T06:16:26.491Z] 0e18a0eac166: Verifying Checksum [2022-05-10T06:16:26.491Z] 0e18a0eac166: Download complete [2022-05-10T06:16:26.751Z] 4fe6c5a15a65: Download complete [2022-05-10T06:16:30.963Z] 4fe6c5a15a65: Pull complete [2022-05-10T06:16:30.963Z] 22a0e8bec74d: Pull complete [2022-05-10T06:16:30.963Z] ca2b28591e48: Pull complete [2022-05-10T06:16:31.224Z] a51346096db8: Pull complete [2022-05-10T06:16:31.224Z] daebc70d1ce1: Pull complete [2022-05-10T06:16:33.766Z] 0e18a0eac166: Pull complete [2022-05-10T06:16:33.766Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T06:16:33.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T06:16:33.766Z] ---> f018257e8ee9 [2022-05-10T06:16:33.766Z] Step 3/11 : ARG MAKE=make build [2022-05-10T06:16:35.693Z] ---> Running in 17a6ee8ef97a [2022-05-10T06:16:35.693Z] Removing intermediate container 17a6ee8ef97a [2022-05-10T06:16:35.693Z] ---> 4e7c539a5f1a [2022-05-10T06:16:35.693Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-10T06:16:35.693Z] ---> Running in 6bfea0227c3c [2022-05-10T06:16:35.693Z] Removing intermediate container 6bfea0227c3c [2022-05-10T06:16:35.693Z] ---> 0e5e4fedf8c9 [2022-05-10T06:16:35.693Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T06:16:35.693Z] ---> Running in 695641a6861f [2022-05-10T06:16:35.693Z] Removing intermediate container 695641a6861f [2022-05-10T06:16:35.693Z] ---> 42d4a8fe15b4 [2022-05-10T06:16:35.693Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T06:16:35.961Z] ---> Running in 0f64e5489253 [2022-05-10T06:16:36.531Z] Removing intermediate container 0f64e5489253 [2022-05-10T06:16:36.531Z] ---> c5d520fc05ad [2022-05-10T06:16:36.531Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T06:16:36.531Z] ---> Running in 150749389bc8 [2022-05-10T06:16:36.793Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T06:16:37.736Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T06:16:37.995Z] OK: 221 MiB in 52 packages [2022-05-10T06:16:38.256Z] Removing intermediate container 150749389bc8 [2022-05-10T06:16:38.256Z] ---> 815ddd091826 [2022-05-10T06:16:38.256Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-10T06:16:38.518Z] ---> b5d2aa91e9da [2022-05-10T06:16:38.518Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T06:16:38.518Z] ---> Running in 185f01e11623 [2022-05-10T06:16:39.124Z] Still waiting to schedule task [2022-05-10T06:16:39.125Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-44841’ is offline [2022-05-10T06:16:53.456Z] Removing intermediate container 185f01e11623 [2022-05-10T06:16:53.456Z] ---> 2457c0ff593c [2022-05-10T06:16:53.456Z] Step 10/11 : COPY . . [2022-05-10T06:16:54.028Z] ---> 0f04b02c690b [2022-05-10T06:16:54.028Z] Step 11/11 : RUN ${MAKE} [2022-05-10T06:16:54.028Z] ---> Running in cf5f1eb20cba [2022-05-10T06:16:54.289Z] noop [2022-05-10T06:16:54.550Z] Removing intermediate container cf5f1eb20cba [2022-05-10T06:16:54.550Z] ---> c3beb96fe8ec [2022-05-10T06:16:54.550Z] Successfully built c3beb96fe8ec [2022-05-10T06:16:54.811Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:16:55.109Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T06:16:55.109Z] . [Pipeline] withDockerContainer [2022-05-10T06:16:55.178Z] prd-ubuntu20.04-docker-8c-8g-44842 does not seem to be running inside a container [2022-05-10T06:16:55.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1159 -v /w/workspace/gexfoundry_device-sdk-go_PR-1159:/w/workspace/gexfoundry_device-sdk-go_PR-1159:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-10T06:16:55.610Z] $ docker top cc769b99bbaf68b4307c7e204842ea92aa6468622554eba4b0f0c5d470ea76d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T06:16:55.970Z] + go version [2022-05-10T06:16:55.970Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T06:16:55.987Z] $ docker stop --time=1 cc769b99bbaf68b4307c7e204842ea92aa6468622554eba4b0f0c5d470ea76d2 [2022-05-10T06:16:57.300Z] $ docker rm -f cc769b99bbaf68b4307c7e204842ea92aa6468622554eba4b0f0c5d470ea76d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:16:57.728Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T06:16:57.728Z] . [Pipeline] withDockerContainer [2022-05-10T06:16:57.798Z] prd-ubuntu20.04-docker-8c-8g-44842 does not seem to be running inside a container [2022-05-10T06:16:57.842Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1159 -v /w/workspace/gexfoundry_device-sdk-go_PR-1159:/w/workspace/gexfoundry_device-sdk-go_PR-1159:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-10T06:16:58.245Z] $ docker top 2819e9dd1853bb4900052203486ad5a2a43e3f5e1c87cc61c61377f56fca8ea7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T06:16:58.638Z] + make test [2022-05-10T06:16:58.638Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-10T06:17:03.957Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-10T06:17:16.169Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-10T06:17:16.169Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-10T06:17:16.169Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-10T06:17:16.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.082s coverage: 23.3% of statements [2022-05-10T06:17:16.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-10T06:17:16.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 27.6% of statements [2022-05-10T06:17:16.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2022-05-10T06:17:16.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.052s coverage: 10.8% of statements [2022-05-10T06:17:16.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.108s coverage: 60.0% of statements [2022-05-10T06:17:16.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-10T06:17:16.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-10T06:17:17.001Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 34.8% of statements [2022-05-10T06:17:17.001Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-10T06:17:17.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.074s coverage: 86.1% of statements [2022-05-10T06:17:17.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-10T06:17:17.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-10T06:17:17.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.099s coverage: 65.1% of statements [2022-05-10T06:17:17.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.857s coverage: 89.2% of statements [2022-05-10T06:17:17.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-10T06:17:17.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-05-10T06:17:17.941Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-10T06:17:32.842Z] GO111MODULE=on go vet ./... [2022-05-10T06:17:37.051Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T06:17:37.051Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T06:17:37.051Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T06:17:37.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T06:17:37.083Z] $ docker stop --time=1 2819e9dd1853bb4900052203486ad5a2a43e3f5e1c87cc61c61377f56fca8ea7 [2022-05-10T06:17:39.646Z] $ docker rm -f 2819e9dd1853bb4900052203486ad5a2a43e3f5e1c87cc61c61377f56fca8ea7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T06:17:40.205Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T06:17:40.261Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T06:17:41.032Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T06:17:41.328Z] + ls -al . [2022-05-10T06:17:41.328Z] total 296 [2022-05-10T06:17:41.328Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 06:17 . [2022-05-10T06:17:41.328Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:15 .. [2022-05-10T06:17:41.328Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 06:16 .dockerignore [2022-05-10T06:17:41.328Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:16 .git [2022-05-10T06:17:41.328Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:16 .github [2022-05-10T06:17:41.328Z] -rw-rw-r-- 1 jenkins jenkins 131 May 10 06:16 .gitignore [2022-05-10T06:17:41.328Z] -rw-rw-r-- 1 jenkins jenkins 42 May 10 06:16 .golangci.yml [2022-05-10T06:17:41.328Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:16 .semver [2022-05-10T06:17:41.328Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 10 06:16 CHANGELOG.md [2022-05-10T06:17:41.328Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:16 GOVERNANCE.md [2022-05-10T06:17:41.328Z] -rw-rw-r-- 1 jenkins jenkins 880 May 10 06:16 Jenkinsfile [2022-05-10T06:17:41.328Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 10 06:16 LICENSE [2022-05-10T06:17:41.328Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 10 06:16 Makefile [2022-05-10T06:17:41.328Z] -rw-rw-r-- 1 jenkins jenkins 619 May 10 06:16 OWNERS.md [2022-05-10T06:17:41.328Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 10 06:16 README.md [2022-05-10T06:17:41.328Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:16 VERSION [2022-05-10T06:17:41.328Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:16 bin [2022-05-10T06:17:41.328Z] -rw-r--r-- 1 jenkins jenkins 130739 May 10 06:17 coverage.out [2022-05-10T06:17:41.328Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:16 example [2022-05-10T06:17:41.328Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 10 06:16 go.mod [2022-05-10T06:17:41.328Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 10 06:16 go.sum [2022-05-10T06:17:41.328Z] drwxrwxr-x 15 jenkins jenkins 4096 May 10 06:16 internal [2022-05-10T06:17:41.328Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:16 openapi [2022-05-10T06:17:41.328Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:16 pkg [2022-05-10T06:17:41.328Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:16 snap [2022-05-10T06:17:41.328Z] -rw-rw-r-- 1 jenkins jenkins 222 May 10 06:16 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:17:41.644Z] + 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=1932b760e9d522737c398020759f258cc4964592 --label arch=amd64 --label version=0.0.0 . [2022-05-10T06:17:41.644Z] Sending build context to Docker daemon 9.84MB [2022-05-10T06:17:41.644Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T06:17:41.644Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T06:17:41.644Z] ---> c3beb96fe8ec [2022-05-10T06:17:41.644Z] Step 3/25 : ARG MAKE=make build [2022-05-10T06:17:41.906Z] ---> Running in 2dc13c081d92 [2022-05-10T06:17:41.906Z] Removing intermediate container 2dc13c081d92 [2022-05-10T06:17:41.906Z] ---> 5744ce7fd93a [2022-05-10T06:17:41.906Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-10T06:17:41.906Z] ---> Running in 02ecd1cd8ef3 [2022-05-10T06:17:42.168Z] Removing intermediate container 02ecd1cd8ef3 [2022-05-10T06:17:42.168Z] ---> fefe237b8b6c [2022-05-10T06:17:42.168Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T06:17:42.168Z] ---> Running in 8ef6079f578a [2022-05-10T06:17:42.168Z] Removing intermediate container 8ef6079f578a [2022-05-10T06:17:42.168Z] ---> 5648ab70cffb [2022-05-10T06:17:42.168Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T06:17:42.168Z] ---> Running in 52feda8d6732 [2022-05-10T06:17:43.111Z] Removing intermediate container 52feda8d6732 [2022-05-10T06:17:43.111Z] ---> 9cf567e434ca [2022-05-10T06:17:43.112Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T06:17:43.112Z] ---> Running in 1b3deec9f615 [2022-05-10T06:17:43.373Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T06:17:44.317Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T06:17:44.584Z] OK: 221 MiB in 52 packages [2022-05-10T06:17:44.845Z] Removing intermediate container 1b3deec9f615 [2022-05-10T06:17:44.845Z] ---> bc986c73c0c3 [2022-05-10T06:17:44.845Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-10T06:17:45.107Z] ---> e34e7d494ef9 [2022-05-10T06:17:45.107Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T06:17:45.107Z] ---> Running in d2bc6d04698d [2022-05-10T06:17:45.676Z] Removing intermediate container d2bc6d04698d [2022-05-10T06:17:45.676Z] ---> 18d695ae2aff [2022-05-10T06:17:45.676Z] Step 10/25 : COPY . . [2022-05-10T06:17:46.253Z] ---> 22f0a19484e6 [2022-05-10T06:17:46.253Z] Step 11/25 : RUN ${MAKE} [2022-05-10T06:17:46.253Z] ---> Running in 94d2e2f55e9c [2022-05-10T06:17:46.512Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-10T06:18:04.623Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-10T06:18:06.531Z] Removing intermediate container 94d2e2f55e9c [2022-05-10T06:18:06.531Z] ---> fd9a094a0cbb [2022-05-10T06:18:06.531Z] Step 12/25 : FROM alpine:3.14 [2022-05-10T06:18:06.791Z] 3.14: Pulling from library/alpine [2022-05-10T06:18:07.052Z] 8663204ce13b: Pulling fs layer [2022-05-10T06:18:07.052Z] 8663204ce13b: Verifying Checksum [2022-05-10T06:18:07.052Z] 8663204ce13b: Download complete [2022-05-10T06:18:07.313Z] 8663204ce13b: Pull complete [2022-05-10T06:18:07.313Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T06:18:07.313Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T06:18:07.313Z] ---> e04c818066af [2022-05-10T06:18:07.313Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T06:18:07.313Z] ---> Running in b564ed0f0fcd [2022-05-10T06:18:07.573Z] Removing intermediate container b564ed0f0fcd [2022-05-10T06:18:07.573Z] ---> b0679139ef12 [2022-05-10T06:18:07.573Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T06:18:07.573Z] ---> Running in 2f438607738e [2022-05-10T06:18:08.146Z] Removing intermediate container 2f438607738e [2022-05-10T06:18:08.146Z] ---> 3b9a5d716c12 [2022-05-10T06:18:08.146Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-10T06:18:08.146Z] ---> Running in 868e7027f170 [2022-05-10T06:18:08.717Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T06:18:09.287Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T06:18:09.547Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T06:18:09.807Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-10T06:18:09.807Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T06:18:09.807Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-10T06:18:10.069Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-10T06:18:10.069Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T06:18:10.069Z] OK: 8 MiB in 19 packages [2022-05-10T06:18:10.639Z] Removing intermediate container 868e7027f170 [2022-05-10T06:18:10.639Z] ---> 76ef591ae181 [2022-05-10T06:18:10.639Z] Step 16/25 : WORKDIR / [2022-05-10T06:18:10.639Z] ---> Running in 0bdc707931e5 [2022-05-10T06:18:10.899Z] Removing intermediate container 0bdc707931e5 [2022-05-10T06:18:10.899Z] ---> aea99233f09a [2022-05-10T06:18:10.899Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-10T06:18:10.899Z] ---> 8c2b8a2f507c [2022-05-10T06:18:10.899Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-10T06:18:11.845Z] ---> f28225a4bb8d [2022-05-10T06:18:11.845Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-10T06:18:11.845Z] ---> d5d8732e2891 [2022-05-10T06:18:11.845Z] Step 20/25 : EXPOSE 59999 [2022-05-10T06:18:11.845Z] ---> Running in ec1cd19e5c92 [2022-05-10T06:18:11.845Z] Removing intermediate container ec1cd19e5c92 [2022-05-10T06:18:11.845Z] ---> 0f74a3b9e4d3 [2022-05-10T06:18:11.845Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-10T06:18:12.107Z] ---> Running in 24d4e29bc19d [2022-05-10T06:18:12.107Z] Removing intermediate container 24d4e29bc19d [2022-05-10T06:18:12.107Z] ---> e5ad5eb53306 [2022-05-10T06:18:12.107Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T06:18:12.107Z] ---> Running in 0faffba0a502 [2022-05-10T06:18:12.107Z] Removing intermediate container 0faffba0a502 [2022-05-10T06:18:12.107Z] ---> f0c8d9d5bc8c [2022-05-10T06:18:12.107Z] Step 23/25 : LABEL arch=amd64 [2022-05-10T06:18:12.492Z] ---> Running in 175698e43b33 [2022-05-10T06:18:12.791Z] Removing intermediate container 175698e43b33 [2022-05-10T06:18:12.791Z] ---> 61bcd7ab2da3 [2022-05-10T06:18:12.791Z] Step 24/25 : LABEL git_sha=1932b760e9d522737c398020759f258cc4964592 [2022-05-10T06:18:13.409Z] ---> Running in f9b50d7ce270 [2022-05-10T06:18:13.670Z] Removing intermediate container f9b50d7ce270 [2022-05-10T06:18:13.670Z] ---> f531fbb04fba [2022-05-10T06:18:13.670Z] Step 25/25 : LABEL version=0.0.0 [2022-05-10T06:18:13.931Z] ---> Running in 4f5b76a4383b [2022-05-10T06:18:14.192Z] Removing intermediate container 4f5b76a4383b [2022-05-10T06:18:14.192Z] ---> 9b4c7dccfc61 [2022-05-10T06:18:14.192Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T06:18:14.192Z] Successfully built 9b4c7dccfc61 [2022-05-10T06:18:14.192Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:18:14.630Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T06:18:14.630Z] [2022-05-10T06:18:14.630Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:18:14.933Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T06:18:14.933Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T06:18:14.933Z] 5eb5b503b376: Pulling fs layer [2022-05-10T06:18:14.933Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T06:18:14.933Z] ec43610c2a17: Pulling fs layer [2022-05-10T06:18:14.933Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T06:18:14.933Z] 33b1e0a273af: Pulling fs layer [2022-05-10T06:18:14.933Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T06:18:14.933Z] 2f39f015ded8: Pulling fs layer [2022-05-10T06:18:14.933Z] 3a2ae6a8a46f: Waiting [2022-05-10T06:18:14.933Z] 33b1e0a273af: Waiting [2022-05-10T06:18:14.933Z] 2f39f015ded8: Waiting [2022-05-10T06:18:14.933Z] 5c69ac0246d0: Download complete [2022-05-10T06:18:14.933Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T06:18:14.933Z] 3a2ae6a8a46f: Download complete [2022-05-10T06:18:14.933Z] 33b1e0a273af: Verifying Checksum [2022-05-10T06:18:14.933Z] 33b1e0a273af: Download complete [2022-05-10T06:18:14.933Z] ec43610c2a17: Verifying Checksum [2022-05-10T06:18:14.933Z] ec43610c2a17: Download complete [2022-05-10T06:18:14.933Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T06:18:14.933Z] 5d3b04190fa2: Download complete [2022-05-10T06:18:15.191Z] 5eb5b503b376: Verifying Checksum [2022-05-10T06:18:15.191Z] 5eb5b503b376: Download complete [2022-05-10T06:18:15.758Z] 2f39f015ded8: Download complete [2022-05-10T06:18:16.325Z] 5eb5b503b376: Pull complete [2022-05-10T06:18:16.586Z] 5c69ac0246d0: Pull complete [2022-05-10T06:18:17.152Z] ec43610c2a17: Pull complete [2022-05-10T06:18:17.152Z] 3a2ae6a8a46f: Pull complete [2022-05-10T06:18:17.413Z] 33b1e0a273af: Pull complete [2022-05-10T06:18:17.413Z] 5d3b04190fa2: Pull complete [2022-05-10T06:18:22.695Z] 2f39f015ded8: Pull complete [2022-05-10T06:18:22.695Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T06:18:22.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T06:18:22.695Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T06:18:22.766Z] prd-ubuntu20.04-docker-8c-8g-44842 does not seem to be running inside a container [2022-05-10T06:18:22.806Z] $ 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-1159 -v /w/workspace/gexfoundry_device-sdk-go_PR-1159:/w/workspace/gexfoundry_device-sdk-go_PR-1159:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T06:18:22.820Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-44843 in /w/workspace/gexfoundry_device-sdk-go_PR-1159 [2022-05-10T06:18:25.825Z] $ docker top 3c17bd4633c815bc14daca24b1d0af8c38d4b76a924a7cd7052c66878e418979 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-05-10T06:18:26.025Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-05-10T06:18:26.182Z] The recommended git tool is: git [2022-05-10T06:18:26.280Z] ---> job-cost.sh [2022-05-10T06:18:26.281Z] lf-activate-venv: SKIPPING [2022-05-10T06:18:26.281Z] INFO: No Stack... [2022-05-10T06:18:26.586Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T06:18:27.159Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T06:18:27.457Z] + cut -d, -f6 [2022-05-10T06:18:27.458Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1159/archives/cost.csv [Pipeline] lock [2022-05-10T06:18:27.474Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] [2022-05-10T06:18:27.480Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] did not exist. Created. [2022-05-10T06:18:27.480Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T06:18:27.779Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T06:18:27.820Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T06:18:27.826Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T06:18:27.849Z] $ docker stop --time=1 3c17bd4633c815bc14daca24b1d0af8c38d4b76a924a7cd7052c66878e418979 [2022-05-10T06:18:29.018Z] $ docker rm -f 3c17bd4633c815bc14daca24b1d0af8c38d4b76a924a7cd7052c66878e418979 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T06:18:30.361Z] using credential edgex-jenkins-ssh [2022-05-10T06:18:30.377Z] Cloning the remote Git repository [2022-05-10T06:18:30.475Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-10T06:18:30.587Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-05-10T06:18:30.704Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-10T06:18:30.705Z] > git --version # timeout=10 [2022-05-10T06:18:30.720Z] > git --version # 'git version 2.25.1' [2022-05-10T06:18:30.722Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T06:18:30.780Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T06:18:32.201Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-10T06:18:32.220Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T06:18:32.241Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-10T06:18:32.280Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-10T06:18:32.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T06:18:32.930Z] Merging remotes/origin/main commit b41f42986e30026cf34f8a06bff8ad408dee209a into PR head commit 1932b760e9d522737c398020759f258cc4964592 [2022-05-10T06:18:33.152Z] Merge succeeded, producing 1932b760e9d522737c398020759f258cc4964592 [2022-05-10T06:18:33.152Z] Checking out Revision 1932b760e9d522737c398020759f258cc4964592 (PR-1159) [2022-05-10T06:18:32.293Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1159/head:refs/remotes/origin/PR-1159 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-10T06:18:32.953Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T06:18:32.968Z] > git checkout -f 1932b760e9d522737c398020759f258cc4964592 # timeout=10 [2022-05-10T06:18:33.071Z] > git remote # timeout=10 [2022-05-10T06:18:33.086Z] > git config --get remote.origin.url # timeout=10 [2022-05-10T06:18:33.101Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T06:18:33.112Z] > git merge b41f42986e30026cf34f8a06bff8ad408dee209a # timeout=10 [2022-05-10T06:18:33.135Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-10T06:18:33.164Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T06:18:33.175Z] > git checkout -f 1932b760e9d522737c398020759f258cc4964592 # timeout=10 [2022-05-10T06:18:37.305Z] Commit message: "fix: Remove core-data client when using the MessageBus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T06:18:38.249Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T06:18:38.249Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T06:18:38.249Z] Dload Upload Total Spent Left Speed [2022-05-10T06:18:38.249Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 96284 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh [2022-05-10T06:18:38.799Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T06:18:39.140Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T06:18:39.140Z] + sudo tee /etc/docker/daemon.new [2022-05-10T06:18:39.140Z] { [2022-05-10T06:18:39.140Z] "registry-mirrors": [ [2022-05-10T06:18:39.140Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T06:18:39.140Z] ], [2022-05-10T06:18:39.140Z] "bip": "10.250.0.254/24", [2022-05-10T06:18:39.140Z] "hosts": [ [2022-05-10T06:18:39.140Z] "tcp://0.0.0.0:5555", [2022-05-10T06:18:39.140Z] "unix:///var/run/docker.sock" [2022-05-10T06:18:39.140Z] ], [2022-05-10T06:18:39.140Z] "mtu": 1458, [2022-05-10T06:18:39.140Z] "selinux-enabled": true, [2022-05-10T06:18:39.140Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T06:18:39.140Z] } [Pipeline] sh [2022-05-10T06:18:39.503Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T06:18:39.851Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T06:18:58.197Z] provisioning config files... [2022-05-10T06:18:58.219Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5917046767751229839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:18:58.578Z] ---> docker-login.sh [2022-05-10T06:18:58.578Z] nexus3.edgexfoundry.org:10001 [2022-05-10T06:18:59.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:18:59.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:18:59.442Z] Configure a credential helper to remove this warning. See [2022-05-10T06:18:59.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:18:59.442Z] [2022-05-10T06:18:59.442Z] Login Succeeded [2022-05-10T06:18:59.442Z] nexus3.edgexfoundry.org:10002 [2022-05-10T06:18:59.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:18:59.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:18:59.986Z] Configure a credential helper to remove this warning. See [2022-05-10T06:18:59.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:18:59.986Z] [2022-05-10T06:18:59.986Z] Login Succeeded [2022-05-10T06:18:59.986Z] nexus3.edgexfoundry.org:10003 [2022-05-10T06:19:00.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:19:00.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:19:00.257Z] Configure a credential helper to remove this warning. See [2022-05-10T06:19:00.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:19:00.257Z] [2022-05-10T06:19:00.257Z] Login Succeeded [2022-05-10T06:19:00.257Z] nexus3.edgexfoundry.org:10004 [2022-05-10T06:19:00.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:19:00.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:19:00.803Z] Configure a credential helper to remove this warning. See [2022-05-10T06:19:00.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:19:00.803Z] [2022-05-10T06:19:00.803Z] Login Succeeded [2022-05-10T06:19:00.803Z] docker.io [2022-05-10T06:19:01.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:19:01.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:19:01.345Z] Configure a credential helper to remove this warning. See [2022-05-10T06:19:01.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:19:01.345Z] [2022-05-10T06:19:01.345Z] Login Succeeded [2022-05-10T06:19:01.345Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T06:19:01.362Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T06:19:01.863Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T06:19:01.875Z] ========================================================= [2022-05-10T06:19:01.875Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T06:19:01.875Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:19:02.212Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-10T06:19:02.492Z] Sending build context to Docker daemon 5.233MB [2022-05-10T06:19:02.765Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T06:19:02.765Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-10T06:19:02.765Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T06:19:02.765Z] 9b3977197b4f: Pulling fs layer [2022-05-10T06:19:02.765Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T06:19:02.765Z] 94645a83ff95: Pulling fs layer [2022-05-10T06:19:02.765Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T06:19:02.765Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T06:19:02.765Z] 3096ccb668a1: Pulling fs layer [2022-05-10T06:19:02.765Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T06:19:02.765Z] a4caa8a26152: Pulling fs layer [2022-05-10T06:19:02.765Z] 3096ccb668a1: Waiting [2022-05-10T06:19:02.765Z] e8cf19c19ddd: Waiting [2022-05-10T06:19:02.765Z] a4caa8a26152: Waiting [2022-05-10T06:19:02.765Z] 3f3a8bcf1eab: Waiting [2022-05-10T06:19:02.765Z] 0c92f367c5e7: Waiting [2022-05-10T06:19:02.765Z] 94645a83ff95: Verifying Checksum [2022-05-10T06:19:02.765Z] 1a89e8eeedd5: Download complete [2022-05-10T06:19:02.765Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T06:19:02.765Z] 0c92f367c5e7: Download complete [2022-05-10T06:19:02.765Z] 3096ccb668a1: Verifying Checksum [2022-05-10T06:19:02.765Z] 3096ccb668a1: Download complete [2022-05-10T06:19:03.040Z] 9b3977197b4f: Verifying Checksum [2022-05-10T06:19:03.040Z] 9b3977197b4f: Download complete [2022-05-10T06:19:03.040Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T06:19:03.040Z] e8cf19c19ddd: Download complete [2022-05-10T06:19:03.640Z] 9b3977197b4f: Pull complete [2022-05-10T06:19:04.243Z] 1a89e8eeedd5: Pull complete [2022-05-10T06:19:04.520Z] 94645a83ff95: Pull complete [2022-05-10T06:19:04.793Z] a4caa8a26152: Verifying Checksum [2022-05-10T06:19:04.793Z] a4caa8a26152: Download complete [2022-05-10T06:19:05.392Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T06:19:05.392Z] 3f3a8bcf1eab: Download complete [2022-05-10T06:19:17.802Z] 3f3a8bcf1eab: Pull complete [2022-05-10T06:19:17.802Z] 0c92f367c5e7: Pull complete [2022-05-10T06:19:17.802Z] 3096ccb668a1: Pull complete [2022-05-10T06:19:17.802Z] e8cf19c19ddd: Pull complete [2022-05-10T06:19:24.534Z] a4caa8a26152: Pull complete [2022-05-10T06:19:24.534Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T06:19:24.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T06:19:24.534Z] ---> 725f1c02e7f9 [2022-05-10T06:19:24.534Z] Step 3/11 : ARG MAKE=make build [2022-05-10T06:19:25.134Z] ---> Running in 73a0a886fe5c [2022-05-10T06:19:25.409Z] Removing intermediate container 73a0a886fe5c [2022-05-10T06:19:25.409Z] ---> 16bd52d0acce [2022-05-10T06:19:25.409Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-10T06:19:25.409Z] ---> Running in 8abda9c2063c [2022-05-10T06:19:25.687Z] Removing intermediate container 8abda9c2063c [2022-05-10T06:19:25.687Z] ---> 34f5374ce44f [2022-05-10T06:19:25.687Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T06:19:25.974Z] ---> Running in c00e8aeb65c0 [2022-05-10T06:19:26.260Z] Removing intermediate container c00e8aeb65c0 [2022-05-10T06:19:26.260Z] ---> abcce79ea3d4 [2022-05-10T06:19:26.260Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T06:19:26.260Z] ---> Running in d9a0400aa137 [2022-05-10T06:19:28.892Z] Removing intermediate container d9a0400aa137 [2022-05-10T06:19:28.892Z] ---> 789e4492481b [2022-05-10T06:19:28.892Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T06:19:28.892Z] ---> Running in b8b5f135a075 [2022-05-10T06:19:29.878Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T06:19:30.867Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T06:19:31.469Z] OK: 220 MiB in 52 packages [2022-05-10T06:19:32.458Z] Removing intermediate container b8b5f135a075 [2022-05-10T06:19:32.458Z] ---> 4b829263b8e2 [2022-05-10T06:19:32.458Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-10T06:19:32.742Z] ---> 08ef2fcaaa3c [2022-05-10T06:19:32.742Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T06:19:33.022Z] ---> Running in 77295fe0bd61 [2022-05-10T06:20:20.052Z] Removing intermediate container 77295fe0bd61 [2022-05-10T06:20:20.052Z] ---> fc73d6a3910f [2022-05-10T06:20:20.052Z] Step 10/11 : COPY . . [2022-05-10T06:20:20.052Z] ---> b6d795d2a9cb [2022-05-10T06:20:20.052Z] Step 11/11 : RUN ${MAKE} [2022-05-10T06:20:20.052Z] ---> Running in 0aab87363386 [2022-05-10T06:20:20.052Z] noop [2022-05-10T06:20:20.649Z] Removing intermediate container 0aab87363386 [2022-05-10T06:20:20.649Z] ---> 5f31840347ca [2022-05-10T06:20:20.649Z] Successfully built 5f31840347ca [2022-05-10T06:20:20.649Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:20:20.992Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T06:20:20.992Z] . [Pipeline] withDockerContainer [2022-05-10T06:20:21.229Z] prd-ubuntu20.04-docker-arm64-4c-16g-44843 does not seem to be running inside a container [2022-05-10T06:20:21.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T06:20:22.570Z] $ docker top d98322e8b610833265f0999baa9fe53ec547e6859a187d512e0a7672f9c73c95 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T06:20:23.513Z] + go version [2022-05-10T06:20:23.513Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T06:20:23.507Z] $ docker stop --time=1 d98322e8b610833265f0999baa9fe53ec547e6859a187d512e0a7672f9c73c95 [2022-05-10T06:20:25.136Z] $ docker rm -f d98322e8b610833265f0999baa9fe53ec547e6859a187d512e0a7672f9c73c95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:20:25.774Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T06:20:25.774Z] . [Pipeline] withDockerContainer [2022-05-10T06:20:26.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-44843 does not seem to be running inside a container [2022-05-10T06:20:26.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T06:20:27.352Z] $ docker top 0620a020371225d70351010b3237731be4026d08261d656f2b4a2b1b9aea031d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T06:20:28.310Z] + make test [2022-05-10T06:20:28.310Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-10T06:20:55.125Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-10T06:22:31.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-10T06:22:31.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-10T06:22:31.995Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-10T06:22:37.433Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.421s coverage: 23.3% of statements [2022-05-10T06:22:37.433Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-10T06:22:37.433Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.256s coverage: 27.6% of statements [2022-05-10T06:22:38.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.318s coverage: 78.9% of statements [2022-05-10T06:22:38.695Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.262s coverage: 10.8% of statements [2022-05-10T06:22:45.455Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.508s coverage: 60.0% of statements [2022-05-10T06:22:45.455Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-10T06:22:45.455Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-10T06:22:47.458Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.441s coverage: 34.8% of statements [2022-05-10T06:22:47.458Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-10T06:22:48.064Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.281s coverage: 86.1% of statements [2022-05-10T06:22:48.064Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-10T06:22:48.064Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-10T06:22:49.056Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.401s coverage: 65.1% of statements [2022-05-10T06:22:52.451Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.142s coverage: 89.2% of statements [2022-05-10T06:22:52.451Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-10T06:22:54.432Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.237s coverage: 4.7% of statements [2022-05-10T06:22:54.432Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-10T06:22:55.411Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T06:22:55.411Z] GO111MODULE=on go vet ./... [2022-05-10T06:24:17.243Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T06:24:17.244Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T06:24:17.244Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T06:24:17.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T06:24:17.280Z] $ docker stop --time=1 0620a020371225d70351010b3237731be4026d08261d656f2b4a2b1b9aea031d [2022-05-10T06:24:19.284Z] $ docker rm -f 0620a020371225d70351010b3237731be4026d08261d656f2b4a2b1b9aea031d [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T06:24:20.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T06:24:20.628Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T06:24:21.436Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T06:24:21.837Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T06:24:22.175Z] + ls -al . [2022-05-10T06:24:22.175Z] total 292 [2022-05-10T06:24:22.175Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 06:24 . [2022-05-10T06:24:22.175Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:18 .. [2022-05-10T06:24:22.175Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 06:18 .dockerignore [2022-05-10T06:24:22.175Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:18 .git [2022-05-10T06:24:22.175Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:18 .github [2022-05-10T06:24:22.175Z] -rw-rw-r-- 1 jenkins jenkins 131 May 10 06:18 .gitignore [2022-05-10T06:24:22.175Z] -rw-rw-r-- 1 jenkins jenkins 42 May 10 06:18 .golangci.yml [2022-05-10T06:24:22.175Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 10 06:18 CHANGELOG.md [2022-05-10T06:24:22.175Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:18 GOVERNANCE.md [2022-05-10T06:24:22.175Z] -rw-rw-r-- 1 jenkins jenkins 880 May 10 06:18 Jenkinsfile [2022-05-10T06:24:22.175Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 10 06:18 LICENSE [2022-05-10T06:24:22.175Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 10 06:18 Makefile [2022-05-10T06:24:22.175Z] -rw-rw-r-- 1 jenkins jenkins 619 May 10 06:18 OWNERS.md [2022-05-10T06:24:22.175Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 10 06:18 README.md [2022-05-10T06:24:22.175Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:16 VERSION [2022-05-10T06:24:22.175Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:18 bin [2022-05-10T06:24:22.175Z] -rw-r--r-- 1 jenkins jenkins 130739 May 10 06:22 coverage.out [2022-05-10T06:24:22.175Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:18 example [2022-05-10T06:24:22.175Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 10 06:18 go.mod [2022-05-10T06:24:22.175Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 10 06:18 go.sum [2022-05-10T06:24:22.175Z] drwxrwxr-x 15 jenkins jenkins 4096 May 10 06:18 internal [2022-05-10T06:24:22.175Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:18 openapi [2022-05-10T06:24:22.175Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:18 pkg [2022-05-10T06:24:22.175Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:18 snap [2022-05-10T06:24:22.175Z] -rw-rw-r-- 1 jenkins jenkins 222 May 10 06:18 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:24:22.527Z] + 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=1932b760e9d522737c398020759f258cc4964592 --label arch=arm64 --label version=0.0.0 . [2022-05-10T06:24:23.121Z] Sending build context to Docker daemon 5.364MB [2022-05-10T06:24:23.121Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T06:24:23.121Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T06:24:23.121Z] ---> 5f31840347ca [2022-05-10T06:24:23.121Z] Step 3/25 : ARG MAKE=make build [2022-05-10T06:24:23.121Z] ---> Running in 40aace350fe1 [2022-05-10T06:24:23.396Z] Removing intermediate container 40aace350fe1 [2022-05-10T06:24:23.396Z] ---> 5dcb2fc81d40 [2022-05-10T06:24:23.396Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-10T06:24:23.396Z] ---> Running in 89c199beab94 [2022-05-10T06:24:23.669Z] Removing intermediate container 89c199beab94 [2022-05-10T06:24:23.669Z] ---> e29074d7bcfe [2022-05-10T06:24:23.669Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T06:24:23.947Z] ---> Running in 53377e8a9c47 [2022-05-10T06:24:24.224Z] Removing intermediate container 53377e8a9c47 [2022-05-10T06:24:24.224Z] ---> 017d9f3138a6 [2022-05-10T06:24:24.224Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T06:24:24.224Z] ---> Running in 9ac6c8ba0004 [2022-05-10T06:24:25.694Z] Removing intermediate container 9ac6c8ba0004 [2022-05-10T06:24:25.694Z] ---> 822881b89405 [2022-05-10T06:24:25.694Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T06:24:25.968Z] ---> Running in 8b447edbf565 [2022-05-10T06:24:26.945Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T06:24:27.538Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T06:24:28.518Z] OK: 220 MiB in 52 packages [2022-05-10T06:24:29.115Z] Removing intermediate container 8b447edbf565 [2022-05-10T06:24:29.115Z] ---> 6006bab62c65 [2022-05-10T06:24:29.390Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-10T06:24:29.663Z] ---> fbcb475963a7 [2022-05-10T06:24:29.663Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T06:24:29.953Z] ---> Running in 30ea14fc639d [2022-05-10T06:24:31.941Z] Removing intermediate container 30ea14fc639d [2022-05-10T06:24:31.941Z] ---> 2a3516d3bbc3 [2022-05-10T06:24:31.941Z] Step 10/25 : COPY . . [2022-05-10T06:24:32.923Z] ---> b2e393d54fea [2022-05-10T06:24:32.924Z] Step 11/25 : RUN ${MAKE} [2022-05-10T06:24:32.924Z] ---> Running in 8a404505c739 [2022-05-10T06:24:33.908Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-10T06:26:25.749Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-10T06:26:27.715Z] Removing intermediate container 8a404505c739 [2022-05-10T06:26:27.715Z] ---> 72c983b0144c [2022-05-10T06:26:27.715Z] Step 12/25 : FROM alpine:3.14 [2022-05-10T06:26:27.984Z] 3.14: Pulling from library/alpine [2022-05-10T06:26:28.253Z] 455c02918c45: Pulling fs layer [2022-05-10T06:26:28.523Z] 455c02918c45: Verifying Checksum [2022-05-10T06:26:28.523Z] 455c02918c45: Download complete [2022-05-10T06:26:28.799Z] 455c02918c45: Pull complete [2022-05-10T06:26:28.799Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T06:26:28.799Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T06:26:28.799Z] ---> ac73e934f311 [2022-05-10T06:26:28.799Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T06:26:29.070Z] ---> Running in c4bdfacd6c16 [2022-05-10T06:26:29.339Z] Removing intermediate container c4bdfacd6c16 [2022-05-10T06:26:29.339Z] ---> 60a300bbbff4 [2022-05-10T06:26:29.339Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T06:26:29.339Z] ---> Running in 884b6217de69 [2022-05-10T06:26:30.773Z] Removing intermediate container 884b6217de69 [2022-05-10T06:26:30.773Z] ---> d6fea8475267 [2022-05-10T06:26:30.773Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-10T06:26:30.773Z] ---> Running in 80d2cbd1f3f4 [2022-05-10T06:26:31.743Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T06:26:32.767Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T06:26:33.357Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T06:26:33.357Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-10T06:26:33.627Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T06:26:33.627Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-10T06:26:33.900Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-10T06:26:33.900Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T06:26:33.900Z] OK: 8 MiB in 19 packages [2022-05-10T06:26:34.873Z] Removing intermediate container 80d2cbd1f3f4 [2022-05-10T06:26:34.874Z] ---> a6a99adad6f5 [2022-05-10T06:26:34.874Z] Step 16/25 : WORKDIR / [2022-05-10T06:26:34.874Z] ---> Running in 4549f22a55c2 [2022-05-10T06:26:35.144Z] Removing intermediate container 4549f22a55c2 [2022-05-10T06:26:35.144Z] ---> 80826bddc71f [2022-05-10T06:26:35.144Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-10T06:26:35.414Z] ---> 4271a5fe2f25 [2022-05-10T06:26:35.414Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-10T06:26:36.843Z] ---> 38ee5d14b1ba [2022-05-10T06:26:36.843Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-10T06:26:37.442Z] ---> ba84da06558f [2022-05-10T06:26:37.442Z] Step 20/25 : EXPOSE 59999 [2022-05-10T06:26:37.442Z] ---> Running in 61c66bab7e7e [2022-05-10T06:26:37.716Z] Removing intermediate container 61c66bab7e7e [2022-05-10T06:26:37.716Z] ---> a4279699bd71 [2022-05-10T06:26:37.716Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-10T06:26:37.986Z] ---> Running in 62fff7fa9bfa [2022-05-10T06:26:38.258Z] Removing intermediate container 62fff7fa9bfa [2022-05-10T06:26:38.258Z] ---> 67b6b433f52e [2022-05-10T06:26:38.258Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T06:26:38.258Z] ---> Running in 51b0fd48ebe8 [2022-05-10T06:26:38.528Z] Removing intermediate container 51b0fd48ebe8 [2022-05-10T06:26:38.528Z] ---> 7c966af944e8 [2022-05-10T06:26:38.528Z] Step 23/25 : LABEL arch=arm64 [2022-05-10T06:26:38.528Z] ---> Running in 205257b21f72 [2022-05-10T06:26:38.800Z] Removing intermediate container 205257b21f72 [2022-05-10T06:26:38.800Z] ---> e48e833905bb [2022-05-10T06:26:38.800Z] Step 24/25 : LABEL git_sha=1932b760e9d522737c398020759f258cc4964592 [2022-05-10T06:26:38.800Z] ---> Running in 590cf2b8094e [2022-05-10T06:26:39.072Z] Removing intermediate container 590cf2b8094e [2022-05-10T06:26:39.072Z] ---> ac8b7a4c6b21 [2022-05-10T06:26:39.072Z] Step 25/25 : LABEL version=0.0.0 [2022-05-10T06:26:39.347Z] ---> Running in 301785fc58a1 [2022-05-10T06:26:39.617Z] Removing intermediate container 301785fc58a1 [2022-05-10T06:26:39.617Z] ---> 758875ce8700 [2022-05-10T06:26:39.617Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T06:26:39.617Z] Successfully built 758875ce8700 [2022-05-10T06:26:39.617Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:26:40.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T06:26:40.052Z] [2022-05-10T06:26:40.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:26:40.455Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T06:26:40.733Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T06:26:40.733Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T06:26:40.733Z] 04944245beec: Pulling fs layer [2022-05-10T06:26:40.733Z] 699f458cf7ca: Pulling fs layer [2022-05-10T06:26:40.733Z] 765212b225bb: Pulling fs layer [2022-05-10T06:26:40.733Z] f23df028b6ca: Pulling fs layer [2022-05-10T06:26:40.733Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T06:26:40.733Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T06:26:40.733Z] 765212b225bb: Waiting [2022-05-10T06:26:40.733Z] d65c8cfc05b1: Waiting [2022-05-10T06:26:40.733Z] 2437ff75d9bd: Waiting [2022-05-10T06:26:40.733Z] f23df028b6ca: Waiting [2022-05-10T06:26:40.733Z] 04944245beec: Verifying Checksum [2022-05-10T06:26:40.733Z] 04944245beec: Download complete [2022-05-10T06:26:40.733Z] 765212b225bb: Verifying Checksum [2022-05-10T06:26:40.733Z] 765212b225bb: Download complete [2022-05-10T06:26:40.733Z] f23df028b6ca: Verifying Checksum [2022-05-10T06:26:40.733Z] f23df028b6ca: Download complete [2022-05-10T06:26:40.733Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T06:26:40.733Z] d65c8cfc05b1: Download complete [2022-05-10T06:26:41.030Z] 699f458cf7ca: Verifying Checksum [2022-05-10T06:26:41.030Z] 699f458cf7ca: Download complete [2022-05-10T06:26:41.306Z] 8998bd30e6a1: Download complete [2022-05-10T06:26:43.925Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T06:26:43.925Z] 2437ff75d9bd: Download complete [2022-05-10T06:26:45.901Z] 8998bd30e6a1: Pull complete [2022-05-10T06:26:46.180Z] 04944245beec: Pull complete [2022-05-10T06:26:47.614Z] 699f458cf7ca: Pull complete [2022-05-10T06:26:47.889Z] 765212b225bb: Pull complete [2022-05-10T06:26:48.865Z] f23df028b6ca: Pull complete [2022-05-10T06:26:48.865Z] d65c8cfc05b1: Pull complete [2022-05-10T06:27:03.955Z] 2437ff75d9bd: Pull complete [2022-05-10T06:27:03.955Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T06:27:03.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T06:27:03.955Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T06:27:04.189Z] prd-ubuntu20.04-docker-arm64-4c-16g-44843 does not seem to be running inside a container [2022-05-10T06:27:04.270Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-10T06:27:06.711Z] $ docker top 15a1427ccf396836356ee6ec7495d9bd6872ffd73fa8af431b0ec2e6493a068b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:27:07.616Z] ---> job-cost.sh [2022-05-10T06:27:07.616Z] lf-activate-venv: SKIPPING [2022-05-10T06:27:07.616Z] INFO: No Stack... [2022-05-10T06:27:07.886Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T06:27:08.860Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T06:27:09.522Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-05-10T06:27:09.522Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T06:27:09.586Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] [2022-05-10T06:27:09.592Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] did not exist. Created. [2022-05-10T06:27:09.592Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T06:27:10.268Z] /w/workspace/device-sdk-go/2@tmp/durable-9f96b12a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T06:27:10.938Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T06:27:10.963Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T06:27:11.022Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T06:27:11.028Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T06:27:11.047Z] $ docker stop --time=1 15a1427ccf396836356ee6ec7495d9bd6872ffd73fa8af431b0ec2e6493a068b [2022-05-10T06:27:12.520Z] $ docker rm -f 15a1427ccf396836356ee6ec7495d9bd6872ffd73fa8af431b0ec2e6493a068b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-05-10T06:27:12.961Z] provisioning config files... [2022-05-10T06:27:12.969Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/config7035880536654531749tmp [Pipeline] { [Pipeline] sh [2022-05-10T06:27:13.265Z] + set +x [2022-05-10T06:27:13.265Z] + curl+ -s https://codecov.io/bash [2022-05-10T06:27:13.265Z] bash -s -- [2022-05-10T06:27:13.265Z] [2022-05-10T06:27:13.265Z] _____ _ [2022-05-10T06:27:13.265Z] / ____| | | [2022-05-10T06:27:13.265Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T06:27:13.265Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T06:27:13.265Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T06:27:13.265Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T06:27:13.265Z] Bash-1.0.6 [2022-05-10T06:27:13.265Z] [2022-05-10T06:27:13.265Z] [2022-05-10T06:27:13.265Z] ==> git version 2.25.1 found [2022-05-10T06:27:13.265Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-05-10T06:27:13.265Z] Release-Date: 2020-01-08 [2022-05-10T06:27:13.265Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-10T06:27:13.265Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T06:27:13.265Z] ==> Jenkins CI detected. [2022-05-10T06:27:13.265Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1159 [2022-05-10T06:27:13.265Z] project root: . [2022-05-10T06:27:13.265Z] --> token set from env [2022-05-10T06:27:13.265Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T06:27:13.265Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T06:27:13.265Z] ==> Python coveragepy not found [2022-05-10T06:27:13.265Z] ==> Searching for coverage reports in: [2022-05-10T06:27:13.265Z] + . [2022-05-10T06:27:13.265Z] -> Found 1 reports [2022-05-10T06:27:13.265Z] ==> Detecting git/mercurial file structure [2022-05-10T06:27:13.527Z] ==> Reading reports [2022-05-10T06:27:13.527Z] + ./coverage.out bytes=130739 [2022-05-10T06:27:13.527Z] ==> Appending adjustments [2022-05-10T06:27:13.527Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T06:27:13.787Z] + Found adjustments [2022-05-10T06:27:13.787Z] ==> Gzipping contents [2022-05-10T06:27:13.787Z] 20K /tmp/codecov.886cGZ.gz [2022-05-10T06:27:13.787Z] ==> Uploading reports [2022-05-10T06:27:13.787Z] url: https://codecov.io [2022-05-10T06:27:13.787Z] query: branch=PR-1159&commit=1932b760e9d522737c398020759f258cc4964592&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1159%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1159&job=&cmd_args= [2022-05-10T06:27:13.787Z] -> Pinging Codecov [2022-05-10T06:27:13.787Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1159&commit=1932b760e9d522737c398020759f258cc4964592&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1159%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1159&job=&cmd_args= [2022-05-10T06:27:14.047Z] -> Uploading to [2022-05-10T06:27:14.047Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/7E55EF52A471D76F132DFD9A03CDDE97/1932b760e9d522737c398020759f258cc4964592/1215481e-ab2f-4663-a2d0-43c9c71413bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T062713Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c4eeb23bb6715f0572869fe78d4fa61df5cd51e485b5e2922aea90910a372a1a [2022-05-10T06:27:14.047Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T06:27:14.047Z] Dload Upload Total Spent Left Speed [2022-05-10T06:27:14.308Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16816 0 0 100 16816 0 76090 --:--:-- --:--:-- --:--:-- 75747 100 16816 0 0 100 16816 0 60489 --:--:-- --:--:-- --:--:-- 60272 [2022-05-10T06:27:14.308Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1932b760e9d522737c398020759f258cc4964592 [Pipeline] } [2022-05-10T06:27:14.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-05-10T06:27:15.046Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1159/archives ] [2022-05-10T06:27:15.046Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1159/archives [2022-05-10T06:27:15.046Z] total 16 [2022-05-10T06:27:15.046Z] drwxr-xr-x 3 root root 4096 May 10 06:18 . [2022-05-10T06:27:15.046Z] drwxrwxr-x 12 jenkins jenkins 4096 May 10 06:18 .. [2022-05-10T06:27:15.046Z] drwxr-xr-x 2 root root 4096 May 10 06:18 cost [2022-05-10T06:27:15.046Z] -rw-r--r-- 1 root root 85 May 10 06:18 cost.csv [2022-05-10T06:27:15.046Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1159/archives [2022-05-10T06:27:15.046Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1159/archives [2022-05-10T06:27:15.046Z] total 16 [2022-05-10T06:27:15.046Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:18 . [2022-05-10T06:27:15.046Z] drwxrwxr-x 12 jenkins jenkins 4096 May 10 06:18 .. [2022-05-10T06:27:15.046Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 06:18 cost [2022-05-10T06:27:15.046Z] -rw-r--r-- 1 jenkins jenkins 85 May 10 06:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:27:15.348Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:27:16.215Z] ---> package-listing.sh [2022-05-10T06:27:16.216Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T06:27:16.216Z] ++ facter osfamily [2022-05-10T06:27:16.476Z] + OS_FAMILY=debian [2022-05-10T06:27:16.476Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1159 [2022-05-10T06:27:16.476Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T06:27:16.476Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T06:27:16.476Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T06:27:16.476Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T06:27:16.476Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1159 ']' [2022-05-10T06:27:16.476Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T06:27:16.476Z] + case "${OS_FAMILY}" in [2022-05-10T06:27:16.476Z] + dpkg -l [2022-05-10T06:27:16.476Z] + grep '^ii' [2022-05-10T06:27:16.476Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T06:27:16.476Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T06:27:16.476Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T06:27:16.476Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1159 ']' [2022-05-10T06:27:16.476Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1159/archives/ [2022-05-10T06:27:16.476Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1159/archives/ [Pipeline] echo [2022-05-10T06:27:16.490Z] 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-1159/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-10T06:27:16.771Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:27:17.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T06:27:17.333Z] . [Pipeline] withDockerContainer [2022-05-10T06:27:17.406Z] prd-ubuntu20.04-docker-8c-8g-44842 does not seem to be running inside a container [2022-05-10T06:27:17.445Z] $ 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-1159/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-1159 -v /w/workspace/gexfoundry_device-sdk-go_PR-1159:/w/workspace/gexfoundry_device-sdk-go_PR-1159:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T06:27:17.674Z] $ docker top 022c0c1f89b1b66bb04ba4f8d3c19a9334338e50893dc1ffaaad760b075aad82 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T06:27:18.050Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T06:27:18.341Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T06:27:18.633Z] + ls /var/log/sa-host [2022-05-10T06:27:18.633Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T06:27:18.719Z] provisioning config files... [2022-05-10T06:27:18.730Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/config2746960238099963830tmp [Pipeline] { [Pipeline] echo [2022-05-10T06:27:18.747Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:27:19.039Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T06:27:19.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:27:19.392Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T06:27:19.403Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:27:19.697Z] ---> sudo-logs.sh [2022-05-10T06:27:19.697Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T06:27:19.737Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:27:20.028Z] ---> job-cost.sh [2022-05-10T06:27:20.028Z] lf-activate-venv: SKIPPING [2022-05-10T06:27:20.028Z] DEBUG: total: 0.2199999988079071 [2022-05-10T06:27:20.028Z] INFO: Retrieving Stack Cost... [2022-05-10T06:27:20.969Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T06:27:21.230Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T06:27:21.246Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:27:21.539Z] ---> logs-deploy.sh [2022-05-10T06:27:21.539Z] lf-activate-venv: SKIPPING [2022-05-10T06:27:21.539Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1159/2 [2022-05-10T06:27:21.539Z] INFO: archiving workspace using pattern(s): [2022-05-10T06:27:22.483Z] Archives upload complete. [2022-05-10T06:27:22.744Z] INFO: archiving logs to Nexus