Pull request #1156 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 jpwhitemn for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 34f52f4ba9b95380ffa0b85131c0eb111bf486e4+cc37b9e2c9629ca07e46878051115594cd22d281 (c179c4bba633fe8ea7be759430bf63a2203e40b0) 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-ssh13241471142202197575.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-ssh1207309963534350192.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-1156/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-1156/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16339520404330847111.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-ssh2648214828782167645.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-1156/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-1156/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh458338086762668933.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-41640 in /w/workspace/gexfoundry_device-sdk-go_PR-1156 [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-1156 # 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 cc37b9e2c9629ca07e46878051115594cd22d281 into PR head commit 34f52f4ba9b95380ffa0b85131c0eb111bf486e4 Merge succeeded, producing 34f52f4ba9b95380ffa0b85131c0eb111bf486e4 Checking out Revision 34f52f4ba9b95380ffa0b85131c0eb111bf486e4 (PR-1156) > 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/1156/head:refs/remotes/origin/PR-1156 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34f52f4ba9b95380ffa0b85131c0eb111bf486e4 # 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 cc37b9e2c9629ca07e46878051115594cd22d281 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34f52f4ba9b95380ffa0b85131c0eb111bf486e4 # timeout=10 Commit message: "docs: additions and changes to CHANGELOG" > git rev-list --no-walk 6a887373bb055dc946875f60d46cae4c18153317 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-08T01:43:56.969Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-08T01:43:57.011Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-08T01:43:57.025Z] ========================================================= [2022-05-08T01:43:57.025Z] EdgeX Global Pipelines Version Info [2022-05-08T01:43:57.025Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:43:57.775Z] ------------------- [2022-05-08T01:43:57.775Z] stable info: [2022-05-08T01:43:57.775Z] ------------------- [2022-05-08T01:43:57.775Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-08T01:43:57.775Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-08T01:43:57.775Z] Message: update stable to v1.0.227 [2022-05-08T01:43:58.349Z] ------------------- [2022-05-08T01:43:58.350Z] experimental info: [2022-05-08T01:43:58.350Z] ------------------- [2022-05-08T01:43:58.350Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-08T01:43:58.350Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-08T01:43:58.350Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-08T01:43:58.456Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-08T01:43:58.469Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-08T01:43:58.478Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-08T01:43:58.490Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-08T01:43:58.505Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-08T01:43:58.515Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-08T01:43:58.524Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-08T01:43:58.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-08T01:43:58.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-08T01:43:58.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-08T01:43:58.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-08T01:43:58.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-08T01:43:58.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-08T01:43:58.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-08T01:43:58.599Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-08T01:43:58.608Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-08T01:43:58.617Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-08T01:43:58.627Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-08T01:43:58.644Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-08T01:43:58.655Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-08T01:43:58.671Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-08T01:43:58.690Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-08T01:43:58.709Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-08T01:43:58.726Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-08T01:43:58.740Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-08T01:43:58.752Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-08T01:43:58.767Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1156 [Pipeline] echo [2022-05-08T01:43:58.787Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1156 [Pipeline] echo [2022-05-08T01:43:58.799Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1156 [Pipeline] echo [2022-05-08T01:43:58.812Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34f52f4ba9b95380ffa0b85131c0eb111bf486e4 [Pipeline] echo [2022-05-08T01:43:58.828Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34f52f4 [Pipeline] echo [2022-05-08T01:43:58.843Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-08T01:43:58.885Z] provisioning config files... [2022-05-08T01:43:58.905Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/config3434744908613613356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:43:59.216Z] ---> docker-login.sh [2022-05-08T01:43:59.216Z] nexus3.edgexfoundry.org:10001 [2022-05-08T01:43:59.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:43:59.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:43:59.477Z] Configure a credential helper to remove this warning. See [2022-05-08T01:43:59.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:43:59.477Z] [2022-05-08T01:43:59.477Z] Login Succeeded [2022-05-08T01:43:59.477Z] nexus3.edgexfoundry.org:10002 [2022-05-08T01:43:59.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:43:59.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:43:59.739Z] Configure a credential helper to remove this warning. See [2022-05-08T01:43:59.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:43:59.739Z] [2022-05-08T01:43:59.739Z] Login Succeeded [2022-05-08T01:43:59.739Z] nexus3.edgexfoundry.org:10003 [2022-05-08T01:43:59.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:43:59.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:43:59.739Z] Configure a credential helper to remove this warning. See [2022-05-08T01:43:59.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:43:59.739Z] [2022-05-08T01:43:59.739Z] Login Succeeded [2022-05-08T01:43:59.739Z] nexus3.edgexfoundry.org:10004 [2022-05-08T01:44:00.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:44:00.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:44:00.003Z] Configure a credential helper to remove this warning. See [2022-05-08T01:44:00.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:44:00.003Z] [2022-05-08T01:44:00.003Z] Login Succeeded [2022-05-08T01:44:00.003Z] docker.io [2022-05-08T01:44:00.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:44:00.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:44:00.577Z] Configure a credential helper to remove this warning. See [2022-05-08T01:44:00.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:44:00.577Z] [2022-05-08T01:44:00.577Z] Login Succeeded [2022-05-08T01:44:00.577Z] ---> docker-login.sh ends [Pipeline] } [2022-05-08T01:44:00.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-08T01:44:00.975Z] + git rev-list -1 --merges 34f52f4ba9b95380ffa0b85131c0eb111bf486e4~1..34f52f4ba9b95380ffa0b85131c0eb111bf486e4 [Pipeline] echo [2022-05-08T01:44:01.085Z] -----------> git rev-list -1 --merges 34f52f4ba9b95380ffa0b85131c0eb111bf486e4~1..34f52f4ba9b95380ffa0b85131c0eb111bf486e4 34f52f4ba9b95380ffa0b85131c0eb111bf486e4 [false] [Pipeline] sh [2022-05-08T01:44:01.380Z] + git log --format=format:%s -1 34f52f4ba9b95380ffa0b85131c0eb111bf486e4 [Pipeline] echo [2022-05-08T01:44:01.400Z] ========================================================= [2022-05-08T01:44:01.400Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-08T01:44:01.400Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-08T01:44:01.743Z] + git log --format=format:%s -1 34f52f4ba9b95380ffa0b85131c0eb111bf486e4 [Pipeline] echo [2022-05-08T01:44:01.758Z] [semverPrep] GIT_COMMIT: 34f52f4ba9b95380ffa0b85131c0eb111bf486e4, Commit Message: docs: additions and changes to CHANGELOG [Pipeline] echo [2022-05-08T01:44:01.767Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-08T01:44:02.164Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-08T01:44:02.164Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-08T01:44:02.164Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-08T01:44:02.164Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-08T01:44:02.164Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-08T01:44:02.164Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-08T01:44:02.164Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:44:02.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-08T01:44:02.520Z] [2022-05-08T01:44:02.520Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:44:02.825Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-08T01:44:02.826Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-08T01:44:02.826Z] 1fe172e4850f: Pulling fs layer [2022-05-08T01:44:02.826Z] caf521ccaac6: Pulling fs layer [2022-05-08T01:44:02.826Z] 3ead6fa29328: Pulling fs layer [2022-05-08T01:44:02.826Z] 5c2a1cbceb83: Pulling fs layer [2022-05-08T01:44:02.826Z] a8d5f1318db7: Pulling fs layer [2022-05-08T01:44:02.826Z] c427282e49a2: Pulling fs layer [2022-05-08T01:44:02.826Z] 1827001aaf11: Pulling fs layer [2022-05-08T01:44:02.826Z] 0714d37db230: Pulling fs layer [2022-05-08T01:44:02.826Z] ac28cf19c067: Pulling fs layer [2022-05-08T01:44:02.826Z] ca983d60f3e2: Pulling fs layer [2022-05-08T01:44:02.826Z] 9f894cec8388: Pulling fs layer [2022-05-08T01:44:02.826Z] 0714d37db230: Waiting [2022-05-08T01:44:02.826Z] a8d5f1318db7: Waiting [2022-05-08T01:44:02.826Z] c427282e49a2: Waiting [2022-05-08T01:44:02.826Z] ac28cf19c067: Waiting [2022-05-08T01:44:02.826Z] ca983d60f3e2: Waiting [2022-05-08T01:44:02.826Z] 1827001aaf11: Waiting [2022-05-08T01:44:02.826Z] 9f894cec8388: Waiting [2022-05-08T01:44:02.826Z] 5c2a1cbceb83: Waiting [2022-05-08T01:44:02.826Z] caf521ccaac6: Verifying Checksum [2022-05-08T01:44:02.826Z] caf521ccaac6: Download complete [2022-05-08T01:44:02.826Z] 5c2a1cbceb83: Verifying Checksum [2022-05-08T01:44:02.826Z] 5c2a1cbceb83: Download complete [2022-05-08T01:44:02.826Z] a8d5f1318db7: Verifying Checksum [2022-05-08T01:44:02.826Z] a8d5f1318db7: Download complete [2022-05-08T01:44:02.826Z] c427282e49a2: Download complete [2022-05-08T01:44:03.087Z] 3ead6fa29328: Verifying Checksum [2022-05-08T01:44:03.087Z] 3ead6fa29328: Download complete [2022-05-08T01:44:03.087Z] 0714d37db230: Download complete [2022-05-08T01:44:03.087Z] ac28cf19c067: Verifying Checksum [2022-05-08T01:44:03.087Z] ac28cf19c067: Download complete [2022-05-08T01:44:03.087Z] ca983d60f3e2: Download complete [2022-05-08T01:44:03.087Z] 9f894cec8388: Download complete [2022-05-08T01:44:03.087Z] 1fe172e4850f: Verifying Checksum [2022-05-08T01:44:03.087Z] 1fe172e4850f: Download complete [2022-05-08T01:44:03.348Z] 1827001aaf11: Verifying Checksum [2022-05-08T01:44:03.348Z] 1827001aaf11: Download complete [2022-05-08T01:44:04.731Z] 1fe172e4850f: Pull complete [2022-05-08T01:44:04.731Z] caf521ccaac6: Pull complete [2022-05-08T01:44:05.306Z] 3ead6fa29328: Pull complete [2022-05-08T01:44:05.306Z] 5c2a1cbceb83: Pull complete [2022-05-08T01:44:05.567Z] a8d5f1318db7: Pull complete [2022-05-08T01:44:05.839Z] c427282e49a2: Pull complete [2022-05-08T01:44:08.402Z] 1827001aaf11: Pull complete [2022-05-08T01:44:08.402Z] 0714d37db230: Pull complete [2022-05-08T01:44:08.663Z] ac28cf19c067: Pull complete [2022-05-08T01:44:08.924Z] ca983d60f3e2: Pull complete [2022-05-08T01:44:08.924Z] 9f894cec8388: Pull complete [2022-05-08T01:44:09.191Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-08T01:44:09.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-08T01:44:09.199Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-08T01:44:09.263Z] prd-ubuntu20.04-docker-8c-8g-41640 does not seem to be running inside a container [2022-05-08T01:44:09.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1156 -v /w/workspace/gexfoundry_device-sdk-go_PR-1156:/w/workspace/gexfoundry_device-sdk-go_PR-1156:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1156@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-08T01:44:12.086Z] $ docker top d0e278cf7ed59af2d438f67ad05ca8ea0495b45e1a6add3bdcfa5c75fa558afd -eo pid,comm [2022-05-08T01:44:12.151Z] 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-08T01:44:12.151Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-08T01:44:12.193Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-08T01:44:12.193Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-08T01:44:12.331Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-08T01:44:12.337Z] $ docker exec d0e278cf7ed59af2d438f67ad05ca8ea0495b45e1a6add3bdcfa5c75fa558afd ssh-agent [2022-05-08T01:44:12.457Z] SSH_AUTH_SOCK=/tmp/ssh-OJUCY8In7lLX/agent.33 [2022-05-08T01:44:12.457Z] SSH_AGENT_PID=39 [2022-05-08T01:44:12.466Z] Running ssh-add (command line suppressed) [2022-05-08T01:44:12.598Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/private_key_1532753750075574304.key (/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/private_key_1532753750075574304.key) [2022-05-08T01:44:12.613Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-08T01:44:12.906Z] + git tag --points-at HEAD [Pipeline] } [2022-05-08T01:44:12.920Z] $ docker exec --env ******** --env ******** d0e278cf7ed59af2d438f67ad05ca8ea0495b45e1a6add3bdcfa5c75fa558afd ssh-agent -k [2022-05-08T01:44:13.038Z] unset SSH_AUTH_SOCK; [2022-05-08T01:44:13.038Z] unset SSH_AGENT_PID; [2022-05-08T01:44:13.039Z] echo Agent pid 39 killed; [2022-05-08T01:44:13.048Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-08T01:44:13.073Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-08T01:44:13.073Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-08T01:44:13.215Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-08T01:44:13.221Z] $ docker exec d0e278cf7ed59af2d438f67ad05ca8ea0495b45e1a6add3bdcfa5c75fa558afd ssh-agent [2022-05-08T01:44:13.346Z] SSH_AUTH_SOCK=/tmp/ssh-E1oXV2WVKCpz/agent.73 [2022-05-08T01:44:13.346Z] SSH_AGENT_PID=80 [2022-05-08T01:44:13.352Z] Running ssh-add (command line suppressed) [2022-05-08T01:44:13.469Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/private_key_4812755484781080210.key (/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/private_key_4812755484781080210.key) [2022-05-08T01:44:13.482Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-08T01:44:13.780Z] + git semver init [2022-05-08T01:44:14.041Z] 2022-05-08 01:44:14,038 [run_init] DEBUG init version:0.0.0 force:False [2022-05-08T01:44:14.041Z] 2022-05-08 01:44:14,040 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver [2022-05-08T01:44:14.041Z] 2022-05-08 01:44:14,040 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver [2022-05-08T01:44:14.041Z] 2022-05-08 01:44:14,041 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1156, universal_newlines=False, shell=None, istream=None) [2022-05-08T01:44:14.984Z] 2022-05-08 01:44:14,886 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156/.git/info/exclude [2022-05-08T01:44:14.984Z] 2022-05-08 01:44:14,887 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver/PR-1156 with force:False [2022-05-08T01:44:14.984Z] 2022-05-08 01:44:14,887 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver/PR-1156 [2022-05-08T01:44:14.984Z] 2022-05-08 01:44:14,892 [execute] INFO git cat-file --batch-check [2022-05-08T01:44:14.984Z] 2022-05-08 01:44:14,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver, universal_newlines=False, shell=None, istream=) [2022-05-08T01:44:14.984Z] 2022-05-08 01:44:14,898 [execute] INFO git cat-file --batch [2022-05-08T01:44:14.984Z] 2022-05-08 01:44:14,898 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver, universal_newlines=False, shell=None, istream=) [2022-05-08T01:44:14.984Z] 2022-05-08 01:44:14,903 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver/PR-1156 [2022-05-08T01:44:14.984Z] 0.0.0 [Pipeline] } [2022-05-08T01:44:14.999Z] $ docker exec --env ******** --env ******** d0e278cf7ed59af2d438f67ad05ca8ea0495b45e1a6add3bdcfa5c75fa558afd ssh-agent -k [2022-05-08T01:44:15.110Z] unset SSH_AUTH_SOCK; [2022-05-08T01:44:15.111Z] unset SSH_AGENT_PID; [2022-05-08T01:44:15.111Z] echo Agent pid 80 killed; [2022-05-08T01:44:15.127Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-08T01:44:15.451Z] + git semver [Pipeline] } [2022-05-08T01:44:15.733Z] $ docker stop --time=1 d0e278cf7ed59af2d438f67ad05ca8ea0495b45e1a6add3bdcfa5c75fa558afd [2022-05-08T01:44:17.095Z] $ docker rm -f d0e278cf7ed59af2d438f67ad05ca8ea0495b45e1a6add3bdcfa5c75fa558afd [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-08T01:44:17.445Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-08T01:44:17.733Z] Stashed 1 file(s) [Pipeline] echo [2022-05-08T01:44:17.736Z] [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-08T01:44:17.898Z] provisioning config files... [2022-05-08T01:44:17.909Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/config2577194784728807296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:44:18.214Z] ---> docker-login.sh [2022-05-08T01:44:18.214Z] nexus3.edgexfoundry.org:10001 [2022-05-08T01:44:18.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:44:18.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:44:18.214Z] Configure a credential helper to remove this warning. See [2022-05-08T01:44:18.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:44:18.214Z] [2022-05-08T01:44:18.214Z] Login Succeeded [2022-05-08T01:44:18.214Z] nexus3.edgexfoundry.org:10002 [2022-05-08T01:44:18.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:44:18.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:44:18.475Z] Configure a credential helper to remove this warning. See [2022-05-08T01:44:18.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:44:18.475Z] [2022-05-08T01:44:18.475Z] Login Succeeded [2022-05-08T01:44:18.475Z] nexus3.edgexfoundry.org:10003 [2022-05-08T01:44:18.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:44:18.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:44:18.475Z] Configure a credential helper to remove this warning. See [2022-05-08T01:44:18.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:44:18.475Z] [2022-05-08T01:44:18.475Z] Login Succeeded [2022-05-08T01:44:18.475Z] nexus3.edgexfoundry.org:10004 [2022-05-08T01:44:18.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:44:18.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:44:18.736Z] Configure a credential helper to remove this warning. See [2022-05-08T01:44:18.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:44:18.736Z] [2022-05-08T01:44:18.736Z] Login Succeeded [2022-05-08T01:44:18.736Z] docker.io [2022-05-08T01:44:18.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:44:19.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:44:19.000Z] Configure a credential helper to remove this warning. See [2022-05-08T01:44:19.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:44:19.000Z] [2022-05-08T01:44:19.000Z] Login Succeeded [2022-05-08T01:44:19.000Z] ---> docker-login.sh ends [Pipeline] } [2022-05-08T01:44:19.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-08T01:44:19.070Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-08T01:44:19.080Z] ========================================================= [2022-05-08T01:44:19.080Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-08T01:44:19.080Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:44:19.390Z] + 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-08T01:44:19.390Z] Sending build context to Docker daemon 9.745MB [2022-05-08T01:44:19.390Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-08T01:44:19.390Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-08T01:44:19.662Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-08T01:44:19.662Z] 59bf1c3509f3: Pulling fs layer [2022-05-08T01:44:19.662Z] 666ba61612fd: Pulling fs layer [2022-05-08T01:44:19.662Z] 8ed8ca486205: Pulling fs layer [2022-05-08T01:44:19.662Z] 4fe6c5a15a65: Pulling fs layer [2022-05-08T01:44:19.662Z] 22a0e8bec74d: Pulling fs layer [2022-05-08T01:44:19.662Z] ca2b28591e48: Pulling fs layer [2022-05-08T01:44:19.662Z] a51346096db8: Pulling fs layer [2022-05-08T01:44:19.662Z] daebc70d1ce1: Pulling fs layer [2022-05-08T01:44:19.662Z] 0e18a0eac166: Pulling fs layer [2022-05-08T01:44:19.662Z] daebc70d1ce1: Waiting [2022-05-08T01:44:19.662Z] 4fe6c5a15a65: Waiting [2022-05-08T01:44:19.662Z] 0e18a0eac166: Waiting [2022-05-08T01:44:19.662Z] 8ed8ca486205: Verifying Checksum [2022-05-08T01:44:19.662Z] 8ed8ca486205: Download complete [2022-05-08T01:44:19.662Z] 666ba61612fd: Verifying Checksum [2022-05-08T01:44:19.662Z] 666ba61612fd: Download complete [2022-05-08T01:44:19.662Z] 22a0e8bec74d: Download complete [2022-05-08T01:44:19.663Z] ca2b28591e48: Verifying Checksum [2022-05-08T01:44:19.663Z] ca2b28591e48: Download complete [2022-05-08T01:44:19.663Z] 59bf1c3509f3: Verifying Checksum [2022-05-08T01:44:19.663Z] 59bf1c3509f3: Download complete [2022-05-08T01:44:19.663Z] a51346096db8: Verifying Checksum [2022-05-08T01:44:19.663Z] a51346096db8: Download complete [2022-05-08T01:44:19.663Z] daebc70d1ce1: Verifying Checksum [2022-05-08T01:44:19.663Z] daebc70d1ce1: Download complete [2022-05-08T01:44:19.925Z] 59bf1c3509f3: Pull complete [2022-05-08T01:44:20.190Z] 666ba61612fd: Pull complete [2022-05-08T01:44:20.190Z] 8ed8ca486205: Pull complete [2022-05-08T01:44:20.190Z] 0e18a0eac166: Verifying Checksum [2022-05-08T01:44:20.190Z] 0e18a0eac166: Download complete [2022-05-08T01:44:20.451Z] 4fe6c5a15a65: Download complete [2022-05-08T01:44:24.646Z] 4fe6c5a15a65: Pull complete [2022-05-08T01:44:24.646Z] 22a0e8bec74d: Pull complete [2022-05-08T01:44:24.646Z] ca2b28591e48: Pull complete [2022-05-08T01:44:24.646Z] a51346096db8: Pull complete [2022-05-08T01:44:24.646Z] daebc70d1ce1: Pull complete [2022-05-08T01:44:27.188Z] 0e18a0eac166: Pull complete [2022-05-08T01:44:27.188Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-08T01:44:27.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-08T01:44:27.188Z] ---> f018257e8ee9 [2022-05-08T01:44:27.188Z] Step 3/11 : ARG MAKE=make build [2022-05-08T01:44:28.592Z] ---> Running in 9eccaa3d06e9 [2022-05-08T01:44:28.856Z] Removing intermediate container 9eccaa3d06e9 [2022-05-08T01:44:28.856Z] ---> a7f02f622a1a [2022-05-08T01:44:28.856Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-08T01:44:28.856Z] ---> Running in 50c5b8bf8955 [2022-05-08T01:44:29.115Z] Removing intermediate container 50c5b8bf8955 [2022-05-08T01:44:29.115Z] ---> b74ffe82c34a [2022-05-08T01:44:29.115Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-08T01:44:29.115Z] ---> Running in 0b560a6a7f3b [2022-05-08T01:44:29.115Z] Removing intermediate container 0b560a6a7f3b [2022-05-08T01:44:29.115Z] ---> 7aeb74713211 [2022-05-08T01:44:29.115Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-08T01:44:29.375Z] ---> Running in 6b3c1dacef19 [2022-05-08T01:44:30.312Z] Removing intermediate container 6b3c1dacef19 [2022-05-08T01:44:30.312Z] ---> 24c3754901e6 [2022-05-08T01:44:30.312Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-08T01:44:30.312Z] ---> Running in 1187a306c57d [2022-05-08T01:44:30.588Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-08T01:44:31.526Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-08T01:44:31.526Z] OK: 221 MiB in 52 packages [2022-05-08T01:44:32.096Z] Removing intermediate container 1187a306c57d [2022-05-08T01:44:32.096Z] ---> 742d2b7c2918 [2022-05-08T01:44:32.096Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-08T01:44:32.096Z] ---> cc2bf8a4914a [2022-05-08T01:44:32.096Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-08T01:44:32.096Z] ---> Running in 01793304d46c [2022-05-08T01:44:32.848Z] Still waiting to schedule task [2022-05-08T01:44:32.848Z] ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-08T01:44:32.848Z] ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-08T01:44:32.848Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-41641’ is offline [2022-05-08T01:44:50.204Z] Removing intermediate container 01793304d46c [2022-05-08T01:44:50.204Z] ---> 1d4d2f09fe30 [2022-05-08T01:44:50.204Z] Step 10/11 : COPY . . [2022-05-08T01:44:50.204Z] ---> 7b453099ba6d [2022-05-08T01:44:50.204Z] Step 11/11 : RUN ${MAKE} [2022-05-08T01:44:50.204Z] ---> Running in 1900c5ac250f [2022-05-08T01:44:50.204Z] noop [2022-05-08T01:44:50.204Z] Removing intermediate container 1900c5ac250f [2022-05-08T01:44:50.204Z] ---> 0202ceac5956 [2022-05-08T01:44:50.204Z] Successfully built 0202ceac5956 [2022-05-08T01:44:50.204Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:44:50.502Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-08T01:44:50.502Z] . [Pipeline] withDockerContainer [2022-05-08T01:44:50.570Z] prd-ubuntu20.04-docker-8c-8g-41640 does not seem to be running inside a container [2022-05-08T01:44:50.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1156 -v /w/workspace/gexfoundry_device-sdk-go_PR-1156:/w/workspace/gexfoundry_device-sdk-go_PR-1156:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1156@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-08T01:44:51.020Z] $ docker top 996312a43173af8de77f867f5c9497a04cad26141730d93ba1a4c3ae51a25dc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-08T01:44:51.379Z] + go version [2022-05-08T01:44:51.379Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-08T01:44:51.406Z] $ docker stop --time=1 996312a43173af8de77f867f5c9497a04cad26141730d93ba1a4c3ae51a25dc7 [2022-05-08T01:44:52.725Z] $ docker rm -f 996312a43173af8de77f867f5c9497a04cad26141730d93ba1a4c3ae51a25dc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:44:53.167Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-08T01:44:53.168Z] . [Pipeline] withDockerContainer [2022-05-08T01:44:53.236Z] prd-ubuntu20.04-docker-8c-8g-41640 does not seem to be running inside a container [2022-05-08T01:44:53.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1156 -v /w/workspace/gexfoundry_device-sdk-go_PR-1156:/w/workspace/gexfoundry_device-sdk-go_PR-1156:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1156@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-08T01:44:53.685Z] $ docker top fd720bbc75eda0749f5436fefc10492c0f71110a5d6397065d6df81b637c79a1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-08T01:44:54.058Z] + make test [2022-05-08T01:44:54.058Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-08T01:44:59.340Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-08T01:45:11.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-08T01:45:11.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-08T01:45:11.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-08T01:45:11.552Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.077s coverage: 23.3% of statements [2022-05-08T01:45:11.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-08T01:45:11.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.097s coverage: 27.6% of statements [2022-05-08T01:45:11.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.074s coverage: 78.9% of statements [2022-05-08T01:45:11.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.069s coverage: 10.8% of statements [2022-05-08T01:45:11.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.091s coverage: 60.0% of statements [2022-05-08T01:45:11.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-08T01:45:11.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-08T01:45:12.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.089s coverage: 34.8% of statements [2022-05-08T01:45:12.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-08T01:45:12.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.071s coverage: 86.1% of statements [2022-05-08T01:45:12.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-08T01:45:12.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-08T01:45:12.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.097s coverage: 65.1% of statements [2022-05-08T01:45:12.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.933s coverage: 89.2% of statements [2022-05-08T01:45:12.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-08T01:45:12.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.071s coverage: 4.7% of statements [2022-05-08T01:45:12.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-08T01:45:27.280Z] GO111MODULE=on go vet ./... [2022-05-08T01:45:29.816Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-08T01:45:29.816Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-08T01:45:29.816Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-08T01:45:30.091Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-08T01:45:30.106Z] $ docker stop --time=1 fd720bbc75eda0749f5436fefc10492c0f71110a5d6397065d6df81b637c79a1 [2022-05-08T01:45:33.085Z] $ docker rm -f fd720bbc75eda0749f5436fefc10492c0f71110a5d6397065d6df81b637c79a1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-08T01:45:33.603Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-08T01:45:33.680Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-08T01:45:34.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-08T01:45:34.484Z] + ls -al . [2022-05-08T01:45:34.484Z] total 300 [2022-05-08T01:45:34.484Z] drwxrwxr-x 11 jenkins jenkins 4096 May 8 01:45 . [2022-05-08T01:45:34.484Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 01:43 .. [2022-05-08T01:45:34.484Z] -rw-rw-r-- 1 jenkins jenkins 140 May 8 01:43 .dockerignore [2022-05-08T01:45:34.484Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 01:44 .git [2022-05-08T01:45:34.484Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:43 .github [2022-05-08T01:45:34.484Z] -rw-rw-r-- 1 jenkins jenkins 131 May 8 01:43 .gitignore [2022-05-08T01:45:34.484Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 01:43 .golangci.yml [2022-05-08T01:45:34.484Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 01:44 .semver [2022-05-08T01:45:34.484Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 8 01:43 CHANGELOG.md [2022-05-08T01:45:34.484Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 01:43 GOVERNANCE.md [2022-05-08T01:45:34.484Z] -rw-rw-r-- 1 jenkins jenkins 880 May 8 01:43 Jenkinsfile [2022-05-08T01:45:34.484Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 8 01:43 LICENSE [2022-05-08T01:45:34.484Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 8 01:43 Makefile [2022-05-08T01:45:34.484Z] -rw-rw-r-- 1 jenkins jenkins 619 May 8 01:43 OWNERS.md [2022-05-08T01:45:34.484Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 8 01:43 README.md [2022-05-08T01:45:34.484Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 01:44 VERSION [2022-05-08T01:45:34.484Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:43 bin [2022-05-08T01:45:34.484Z] -rw-r--r-- 1 jenkins jenkins 130819 May 8 01:45 coverage.out [2022-05-08T01:45:34.484Z] drwxrwxr-x 5 jenkins jenkins 4096 May 8 01:43 example [2022-05-08T01:45:34.484Z] -rw-rw-r-- 1 jenkins jenkins 3198 May 8 01:43 go.mod [2022-05-08T01:45:34.484Z] -rw-rw-r-- 1 jenkins jenkins 35003 May 8 01:43 go.sum [2022-05-08T01:45:34.484Z] drwxrwxr-x 15 jenkins jenkins 4096 May 8 01:43 internal [2022-05-08T01:45:34.484Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:43 openapi [2022-05-08T01:45:34.484Z] drwxrwxr-x 5 jenkins jenkins 4096 May 8 01:43 pkg [2022-05-08T01:45:34.484Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 01:43 snap [2022-05-08T01:45:34.484Z] -rw-rw-r-- 1 jenkins jenkins 222 May 8 01:43 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:45:34.779Z] + 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=34f52f4ba9b95380ffa0b85131c0eb111bf486e4 --label arch=amd64 --label version=0.0.0 . [2022-05-08T01:45:34.779Z] Sending build context to Docker daemon 9.877MB [2022-05-08T01:45:34.779Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-08T01:45:34.779Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-08T01:45:34.779Z] ---> 0202ceac5956 [2022-05-08T01:45:34.779Z] Step 3/25 : ARG MAKE=make build [2022-05-08T01:45:35.039Z] ---> Running in b2471a00dda5 [2022-05-08T01:45:35.039Z] Removing intermediate container b2471a00dda5 [2022-05-08T01:45:35.039Z] ---> d0689ff5b305 [2022-05-08T01:45:35.039Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-08T01:45:35.039Z] ---> Running in efd098f97df0 [2022-05-08T01:45:35.299Z] Removing intermediate container efd098f97df0 [2022-05-08T01:45:35.299Z] ---> 56827e4588fa [2022-05-08T01:45:35.299Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-08T01:45:35.299Z] ---> Running in 814aeeff8d52 [2022-05-08T01:45:35.299Z] Removing intermediate container 814aeeff8d52 [2022-05-08T01:45:35.299Z] ---> 0a8fc5c5a1da [2022-05-08T01:45:35.299Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-08T01:45:35.299Z] ---> Running in 9fba1e5d8e0c [2022-05-08T01:45:35.871Z] Removing intermediate container 9fba1e5d8e0c [2022-05-08T01:45:35.871Z] ---> 2fa00b872c8e [2022-05-08T01:45:35.871Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-08T01:45:36.132Z] ---> Running in aa61c4b098ee [2022-05-08T01:45:36.393Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-08T01:45:37.333Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-08T01:45:37.333Z] OK: 221 MiB in 52 packages [2022-05-08T01:45:37.903Z] Removing intermediate container aa61c4b098ee [2022-05-08T01:45:37.903Z] ---> 4261af39e459 [2022-05-08T01:45:37.903Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-08T01:45:37.903Z] ---> 6c9df9c4990f [2022-05-08T01:45:37.903Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-08T01:45:37.903Z] ---> Running in 8560878b7972 [2022-05-08T01:45:38.841Z] Removing intermediate container 8560878b7972 [2022-05-08T01:45:38.841Z] ---> f0ee4210f59b [2022-05-08T01:45:38.841Z] Step 10/25 : COPY . . [2022-05-08T01:45:39.100Z] ---> 846cad46a321 [2022-05-08T01:45:39.100Z] Step 11/25 : RUN ${MAKE} [2022-05-08T01:45:39.100Z] ---> Running in 83e2e71c05a3 [2022-05-08T01:45:39.361Z] 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-08T01:45:57.464Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-08T01:45:58.035Z] Removing intermediate container 83e2e71c05a3 [2022-05-08T01:45:58.035Z] ---> 3ba45db00068 [2022-05-08T01:45:58.035Z] Step 12/25 : FROM alpine:3.14 [2022-05-08T01:45:58.614Z] 3.14: Pulling from library/alpine [2022-05-08T01:45:58.614Z] 8663204ce13b: Pulling fs layer [2022-05-08T01:45:58.875Z] 8663204ce13b: Verifying Checksum [2022-05-08T01:45:58.875Z] 8663204ce13b: Download complete [2022-05-08T01:45:59.134Z] 8663204ce13b: Pull complete [2022-05-08T01:45:59.134Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-08T01:45:59.134Z] Status: Downloaded newer image for alpine:3.14 [2022-05-08T01:45:59.134Z] ---> e04c818066af [2022-05-08T01:45:59.134Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-08T01:45:59.134Z] ---> Running in dea594af1377 [2022-05-08T01:45:59.134Z] Removing intermediate container dea594af1377 [2022-05-08T01:45:59.134Z] ---> 647478ae35b1 [2022-05-08T01:45:59.134Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-08T01:45:59.396Z] ---> Running in 42b955f1aad8 [2022-05-08T01:45:59.966Z] Removing intermediate container 42b955f1aad8 [2022-05-08T01:45:59.966Z] ---> 09ff3c471763 [2022-05-08T01:45:59.966Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-08T01:45:59.966Z] ---> Running in 550ffd421143 [2022-05-08T01:46:00.226Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-08T01:46:01.170Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-08T01:46:01.429Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-08T01:46:01.429Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-08T01:46:01.429Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-08T01:46:01.688Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-08T01:46:01.688Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-08T01:46:01.688Z] Executing busybox-1.33.1-r7.trigger [2022-05-08T01:46:01.688Z] OK: 8 MiB in 19 packages [2022-05-08T01:46:02.261Z] Removing intermediate container 550ffd421143 [2022-05-08T01:46:02.261Z] ---> f509253a9ba3 [2022-05-08T01:46:02.261Z] Step 16/25 : WORKDIR / [2022-05-08T01:46:02.261Z] ---> Running in f257fcf2a585 [2022-05-08T01:46:02.261Z] Removing intermediate container f257fcf2a585 [2022-05-08T01:46:02.261Z] ---> c15d7048f62d [2022-05-08T01:46:02.261Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-08T01:46:02.520Z] ---> 4f06c4d62cb7 [2022-05-08T01:46:02.520Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-08T01:46:03.088Z] ---> 19cc2ec7ee8b [2022-05-08T01:46:03.088Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-08T01:46:03.349Z] ---> 0742d5f34a2b [2022-05-08T01:46:03.349Z] Step 20/25 : EXPOSE 59999 [2022-05-08T01:46:03.349Z] ---> Running in b7d49cdf8b92 [2022-05-08T01:46:03.349Z] Removing intermediate container b7d49cdf8b92 [2022-05-08T01:46:03.349Z] ---> 0e7aa4259bfa [2022-05-08T01:46:03.349Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-08T01:46:03.349Z] ---> Running in c0d5d2e477f1 [2022-05-08T01:46:03.609Z] Removing intermediate container c0d5d2e477f1 [2022-05-08T01:46:03.609Z] ---> f61a8b0e6de3 [2022-05-08T01:46:03.609Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-08T01:46:03.609Z] ---> Running in 7deda8392956 [2022-05-08T01:46:03.609Z] Removing intermediate container 7deda8392956 [2022-05-08T01:46:03.609Z] ---> 45eff7762049 [2022-05-08T01:46:03.609Z] Step 23/25 : LABEL arch=amd64 [2022-05-08T01:46:03.609Z] ---> Running in 2a147bb60373 [2022-05-08T01:46:03.870Z] Removing intermediate container 2a147bb60373 [2022-05-08T01:46:03.870Z] ---> acd4b7be31aa [2022-05-08T01:46:03.870Z] Step 24/25 : LABEL git_sha=34f52f4ba9b95380ffa0b85131c0eb111bf486e4 [2022-05-08T01:46:03.870Z] ---> Running in 9575034d276a [2022-05-08T01:46:03.870Z] Removing intermediate container 9575034d276a [2022-05-08T01:46:03.870Z] ---> 479fa9b987ab [2022-05-08T01:46:03.870Z] Step 25/25 : LABEL version=0.0.0 [2022-05-08T01:46:03.870Z] ---> Running in c33fe393e237 [2022-05-08T01:46:04.129Z] Removing intermediate container c33fe393e237 [2022-05-08T01:46:04.129Z] ---> ad2785b9efb1 [2022-05-08T01:46:04.129Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-08T01:46:04.129Z] Successfully built ad2785b9efb1 [2022-05-08T01:46:04.129Z] 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-08T01:46:04.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-08T01:46:04.539Z] [2022-05-08T01:46:04.539Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:46:04.840Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-08T01:46:04.840Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-08T01:46:04.840Z] 5eb5b503b376: Pulling fs layer [2022-05-08T01:46:04.840Z] 5c69ac0246d0: Pulling fs layer [2022-05-08T01:46:04.840Z] ec43610c2a17: Pulling fs layer [2022-05-08T01:46:04.840Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-08T01:46:04.840Z] 33b1e0a273af: Pulling fs layer [2022-05-08T01:46:04.840Z] 5d3b04190fa2: Pulling fs layer [2022-05-08T01:46:04.840Z] 2f39f015ded8: Pulling fs layer [2022-05-08T01:46:04.840Z] 33b1e0a273af: Waiting [2022-05-08T01:46:04.840Z] 5d3b04190fa2: Waiting [2022-05-08T01:46:04.840Z] 2f39f015ded8: Waiting [2022-05-08T01:46:04.840Z] 3a2ae6a8a46f: Waiting [2022-05-08T01:46:04.840Z] 5c69ac0246d0: Download complete [2022-05-08T01:46:04.840Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-08T01:46:04.840Z] 3a2ae6a8a46f: Download complete [2022-05-08T01:46:04.840Z] ec43610c2a17: Verifying Checksum [2022-05-08T01:46:04.840Z] ec43610c2a17: Download complete [2022-05-08T01:46:04.840Z] 33b1e0a273af: Verifying Checksum [2022-05-08T01:46:04.840Z] 33b1e0a273af: Download complete [2022-05-08T01:46:04.840Z] 5d3b04190fa2: Download complete [2022-05-08T01:46:05.099Z] 5eb5b503b376: Verifying Checksum [2022-05-08T01:46:05.099Z] 5eb5b503b376: Download complete [2022-05-08T01:46:05.666Z] 2f39f015ded8: Download complete [2022-05-08T01:46:06.234Z] 5eb5b503b376: Pull complete [2022-05-08T01:46:06.494Z] 5c69ac0246d0: Pull complete [2022-05-08T01:46:06.754Z] ec43610c2a17: Pull complete [2022-05-08T01:46:07.013Z] 3a2ae6a8a46f: Pull complete [2022-05-08T01:46:07.273Z] 33b1e0a273af: Pull complete [2022-05-08T01:46:07.273Z] 5d3b04190fa2: Pull complete [2022-05-08T01:46:11.465Z] 2f39f015ded8: Pull complete [2022-05-08T01:46:11.465Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-08T01:46:11.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-08T01:46:11.465Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-08T01:46:11.532Z] prd-ubuntu20.04-docker-8c-8g-41640 does not seem to be running inside a container [2022-05-08T01:46:11.575Z] $ 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-1156 -v /w/workspace/gexfoundry_device-sdk-go_PR-1156:/w/workspace/gexfoundry_device-sdk-go_PR-1156:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1156@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-08T01:46:13.511Z] $ docker top b9904b049da45a3385fad8f2073e2ab5078e6c73a977673cfa4215f8c7fc5ae5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:46:13.902Z] ---> job-cost.sh [2022-05-08T01:46:13.902Z] lf-activate-venv: SKIPPING [2022-05-08T01:46:13.902Z] INFO: No Stack... [2022-05-08T01:46:14.162Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-08T01:46:14.743Z] INFO: Archiving Costs [Pipeline] sh [2022-05-08T01:46:15.114Z] + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives/cost.csv [2022-05-08T01:46:15.114Z] cut -d, -f6 [Pipeline] lock [2022-05-08T01:46:15.148Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1156-3-stack-cost] [2022-05-08T01:46:15.156Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1156-3-stack-cost] did not exist. Created. [2022-05-08T01:46:15.156Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1156-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-08T01:46:15.487Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-08T01:46:15.521Z] Stashed 1 file(s) [Pipeline] } [2022-05-08T01:46:15.528Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1156-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-08T01:46:15.544Z] $ docker stop --time=1 b9904b049da45a3385fad8f2073e2ab5078e6c73a977673cfa4215f8c7fc5ae5 [2022-05-08T01:46:16.713Z] $ docker rm -f b9904b049da45a3385fad8f2073e2ab5078e6c73a977673cfa4215f8c7fc5ae5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-08T01:47:08.852Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-41645 in /w/workspace/gexfoundry_device-sdk-go_PR-1156 [Pipeline] { [Pipeline] ws [2022-05-08T01:47:08.866Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2022-05-08T01:47:09.142Z] The recommended git tool is: git [2022-05-08T01:47:17.269Z] using credential edgex-jenkins-ssh [2022-05-08T01:47:17.302Z] Cloning the remote Git repository [2022-05-08T01:47:17.394Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-08T01:47:17.576Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2022-05-08T01:47:17.689Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-08T01:47:17.690Z] > git --version # timeout=10 [2022-05-08T01:47:17.715Z] > git --version # 'git version 2.25.1' [2022-05-08T01:47:17.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-08T01:47:17.855Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-08T01:47:19.551Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-08T01:47:19.575Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-08T01:47:19.623Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-08T01:47:19.674Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-08T01:47:19.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-08T01:47:19.704Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1156/head:refs/remotes/origin/PR-1156 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-08T01:47:20.401Z] Merging remotes/origin/main commit cc37b9e2c9629ca07e46878051115594cd22d281 into PR head commit 34f52f4ba9b95380ffa0b85131c0eb111bf486e4 [2022-05-08T01:47:20.709Z] Merge succeeded, producing 34f52f4ba9b95380ffa0b85131c0eb111bf486e4 [2022-05-08T01:47:20.709Z] Checking out Revision 34f52f4ba9b95380ffa0b85131c0eb111bf486e4 (PR-1156) [2022-05-08T01:47:20.432Z] > git config core.sparsecheckout # timeout=10 [2022-05-08T01:47:20.458Z] > git checkout -f 34f52f4ba9b95380ffa0b85131c0eb111bf486e4 # timeout=10 [2022-05-08T01:47:20.602Z] > git remote # timeout=10 [2022-05-08T01:47:20.628Z] > git config --get remote.origin.url # timeout=10 [2022-05-08T01:47:20.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-08T01:47:20.659Z] > git merge cc37b9e2c9629ca07e46878051115594cd22d281 # timeout=10 [2022-05-08T01:47:20.692Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-08T01:47:20.722Z] > git config core.sparsecheckout # timeout=10 [2022-05-08T01:47:20.738Z] > git checkout -f 34f52f4ba9b95380ffa0b85131c0eb111bf486e4 # timeout=10 [2022-05-08T01:47:25.202Z] Commit message: "docs: additions and changes to CHANGELOG" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-08T01:47:26.125Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-08T01:47:26.125Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-08T01:47:26.125Z] Dload Upload Total Spent Left Speed [2022-05-08T01:47:26.125Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-05-08T01:47:26.692Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-08T01:47:27.047Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-08T01:47:27.047Z] + sudo tee /etc/docker/daemon.new [2022-05-08T01:47:27.047Z] { [2022-05-08T01:47:27.047Z] "registry-mirrors": [ [2022-05-08T01:47:27.047Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-08T01:47:27.047Z] ], [2022-05-08T01:47:27.047Z] "bip": "10.250.0.254/24", [2022-05-08T01:47:27.047Z] "hosts": [ [2022-05-08T01:47:27.047Z] "tcp://0.0.0.0:5555", [2022-05-08T01:47:27.047Z] "unix:///var/run/docker.sock" [2022-05-08T01:47:27.047Z] ], [2022-05-08T01:47:27.047Z] "mtu": 1458, [2022-05-08T01:47:27.047Z] "selinux-enabled": true, [2022-05-08T01:47:27.047Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-08T01:47:27.047Z] } [Pipeline] sh [2022-05-08T01:47:27.411Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-08T01:47:27.769Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-08T01:47:46.204Z] provisioning config files... [2022-05-08T01:47:46.231Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8004945907207585825tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:47:46.601Z] ---> docker-login.sh [2022-05-08T01:47:46.601Z] nexus3.edgexfoundry.org:10001 [2022-05-08T01:47:47.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:47:47.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:47:47.480Z] Configure a credential helper to remove this warning. See [2022-05-08T01:47:47.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:47:47.480Z] [2022-05-08T01:47:47.480Z] Login Succeeded [2022-05-08T01:47:47.480Z] nexus3.edgexfoundry.org:10002 [2022-05-08T01:47:48.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:47:48.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:47:48.080Z] Configure a credential helper to remove this warning. See [2022-05-08T01:47:48.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:47:48.080Z] [2022-05-08T01:47:48.080Z] Login Succeeded [2022-05-08T01:47:48.080Z] nexus3.edgexfoundry.org:10003 [2022-05-08T01:47:48.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:47:48.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:47:48.637Z] Configure a credential helper to remove this warning. See [2022-05-08T01:47:48.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:47:48.637Z] [2022-05-08T01:47:48.637Z] Login Succeeded [2022-05-08T01:47:48.637Z] nexus3.edgexfoundry.org:10004 [2022-05-08T01:47:48.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:47:49.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:47:49.199Z] Configure a credential helper to remove this warning. See [2022-05-08T01:47:49.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:47:49.199Z] [2022-05-08T01:47:49.199Z] Login Succeeded [2022-05-08T01:47:49.199Z] docker.io [2022-05-08T01:47:49.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-08T01:47:49.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-08T01:47:49.747Z] Configure a credential helper to remove this warning. See [2022-05-08T01:47:49.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-08T01:47:49.747Z] [2022-05-08T01:47:49.747Z] Login Succeeded [2022-05-08T01:47:50.019Z] ---> docker-login.sh ends [Pipeline] } [2022-05-08T01:47:50.038Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-08T01:47:50.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-08T01:47:50.621Z] ========================================================= [2022-05-08T01:47:50.621Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-08T01:47:50.621Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:47:50.968Z] + 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-08T01:47:51.583Z] Sending build context to Docker daemon 5.27MB [2022-05-08T01:47:51.583Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-08T01:47:51.583Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-08T01:47:51.583Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-08T01:47:51.583Z] 9b3977197b4f: Pulling fs layer [2022-05-08T01:47:51.583Z] 1a89e8eeedd5: Pulling fs layer [2022-05-08T01:47:51.583Z] 94645a83ff95: Pulling fs layer [2022-05-08T01:47:51.583Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-08T01:47:51.583Z] 0c92f367c5e7: Pulling fs layer [2022-05-08T01:47:51.583Z] 3096ccb668a1: Pulling fs layer [2022-05-08T01:47:51.583Z] e8cf19c19ddd: Pulling fs layer [2022-05-08T01:47:51.583Z] a4caa8a26152: Pulling fs layer [2022-05-08T01:47:51.583Z] 3f3a8bcf1eab: Waiting [2022-05-08T01:47:51.583Z] 0c92f367c5e7: Waiting [2022-05-08T01:47:51.583Z] 3096ccb668a1: Waiting [2022-05-08T01:47:51.583Z] e8cf19c19ddd: Waiting [2022-05-08T01:47:51.583Z] a4caa8a26152: Waiting [2022-05-08T01:47:51.583Z] 94645a83ff95: Verifying Checksum [2022-05-08T01:47:51.583Z] 94645a83ff95: Download complete [2022-05-08T01:47:51.584Z] 1a89e8eeedd5: Verifying Checksum [2022-05-08T01:47:51.584Z] 1a89e8eeedd5: Download complete [2022-05-08T01:47:51.584Z] 0c92f367c5e7: Verifying Checksum [2022-05-08T01:47:51.584Z] 0c92f367c5e7: Download complete [2022-05-08T01:47:51.863Z] 3096ccb668a1: Verifying Checksum [2022-05-08T01:47:51.863Z] 3096ccb668a1: Download complete [2022-05-08T01:47:51.863Z] 9b3977197b4f: Verifying Checksum [2022-05-08T01:47:51.863Z] 9b3977197b4f: Download complete [2022-05-08T01:47:51.863Z] e8cf19c19ddd: Verifying Checksum [2022-05-08T01:47:51.863Z] e8cf19c19ddd: Download complete [2022-05-08T01:47:52.478Z] 9b3977197b4f: Pull complete [2022-05-08T01:47:53.084Z] 1a89e8eeedd5: Pull complete [2022-05-08T01:47:53.358Z] 94645a83ff95: Pull complete [2022-05-08T01:47:53.634Z] a4caa8a26152: Verifying Checksum [2022-05-08T01:47:53.634Z] a4caa8a26152: Download complete [2022-05-08T01:47:54.229Z] 3f3a8bcf1eab: Download complete [2022-05-08T01:48:06.640Z] 3f3a8bcf1eab: Pull complete [2022-05-08T01:48:06.640Z] 0c92f367c5e7: Pull complete [2022-05-08T01:48:06.640Z] 3096ccb668a1: Pull complete [2022-05-08T01:48:06.640Z] e8cf19c19ddd: Pull complete [2022-05-08T01:48:13.434Z] a4caa8a26152: Pull complete [2022-05-08T01:48:13.434Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-08T01:48:13.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-08T01:48:13.434Z] ---> 725f1c02e7f9 [2022-05-08T01:48:13.434Z] Step 3/11 : ARG MAKE=make build [2022-05-08T01:48:13.715Z] ---> Running in e59d424b0c39 [2022-05-08T01:48:13.992Z] Removing intermediate container e59d424b0c39 [2022-05-08T01:48:13.992Z] ---> fbea9824ae65 [2022-05-08T01:48:13.992Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-08T01:48:13.992Z] ---> Running in eb81c84ce60b [2022-05-08T01:48:14.591Z] Removing intermediate container eb81c84ce60b [2022-05-08T01:48:14.591Z] ---> 14f86adde458 [2022-05-08T01:48:14.591Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-08T01:48:14.591Z] ---> Running in fd34afdded6b [2022-05-08T01:48:14.871Z] Removing intermediate container fd34afdded6b [2022-05-08T01:48:14.871Z] ---> ab0236f38749 [2022-05-08T01:48:14.871Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-08T01:48:14.871Z] ---> Running in 0b075f053413 [2022-05-08T01:48:18.283Z] Removing intermediate container 0b075f053413 [2022-05-08T01:48:18.283Z] ---> cf6b9ca772f3 [2022-05-08T01:48:18.283Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-08T01:48:18.283Z] ---> Running in 80387a2c2d2a [2022-05-08T01:48:18.885Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-08T01:48:19.861Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-08T01:48:20.842Z] OK: 220 MiB in 52 packages [2022-05-08T01:48:21.437Z] Removing intermediate container 80387a2c2d2a [2022-05-08T01:48:21.438Z] ---> f8167130cd68 [2022-05-08T01:48:21.438Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-08T01:48:22.032Z] ---> 0b6bd38053b6 [2022-05-08T01:48:22.032Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-08T01:48:22.032Z] ---> Running in f406e70d53a9 [2022-05-08T01:49:09.012Z] Removing intermediate container f406e70d53a9 [2022-05-08T01:49:09.012Z] ---> 5de030e36142 [2022-05-08T01:49:09.012Z] Step 10/11 : COPY . . [2022-05-08T01:49:09.287Z] ---> 5024c5d8f818 [2022-05-08T01:49:09.287Z] Step 11/11 : RUN ${MAKE} [2022-05-08T01:49:09.287Z] ---> Running in 87f138e634f0 [2022-05-08T01:49:10.271Z] noop [2022-05-08T01:49:11.249Z] Removing intermediate container 87f138e634f0 [2022-05-08T01:49:11.249Z] ---> 99d17928aa75 [2022-05-08T01:49:11.249Z] Successfully built 99d17928aa75 [2022-05-08T01:49:11.249Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:49:11.611Z] + docker inspect -f . ci-base-image-arm64 [2022-05-08T01:49:11.611Z] . [Pipeline] withDockerContainer [2022-05-08T01:49:11.871Z] prd-ubuntu20.04-docker-arm64-4c-16g-41645 does not seem to be running inside a container [2022-05-08T01:49:11.965Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-arm64 cat [2022-05-08T01:49:13.350Z] $ docker top 1f3b5304e92f5144a0739a182c7c893c25bafa918d63e5a6d3fe647826ada54a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-08T01:49:14.295Z] + go version [2022-05-08T01:49:14.295Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-08T01:49:14.331Z] $ docker stop --time=1 1f3b5304e92f5144a0739a182c7c893c25bafa918d63e5a6d3fe647826ada54a [2022-05-08T01:49:16.053Z] $ docker rm -f 1f3b5304e92f5144a0739a182c7c893c25bafa918d63e5a6d3fe647826ada54a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:49:16.701Z] + docker inspect -f . ci-base-image-arm64 [2022-05-08T01:49:16.701Z] . [Pipeline] withDockerContainer [2022-05-08T01:49:16.957Z] prd-ubuntu20.04-docker-arm64-4c-16g-41645 does not seem to be running inside a container [2022-05-08T01:49:17.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-arm64 cat [2022-05-08T01:49:18.492Z] $ docker top 92f4eb477da6cf7ba0d58f1277509e289f618c4985bfddfbb63ca1709d5c5e00 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-08T01:49:19.452Z] + make test [2022-05-08T01:49:19.452Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-08T01:49:58.473Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-08T01:51:50.424Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-08T01:51:50.424Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-08T01:51:50.424Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-08T01:51:53.841Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.609s coverage: 23.3% of statements [2022-05-08T01:51:53.841Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-08T01:51:53.841Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.328s coverage: 27.6% of statements [2022-05-08T01:51:53.841Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.411s coverage: 78.9% of statements [2022-05-08T01:51:53.841Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.294s coverage: 10.8% of statements [2022-05-08T01:51:59.325Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.649s coverage: 60.0% of statements [2022-05-08T01:51:59.325Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-08T01:51:59.325Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-08T01:52:01.972Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.423s coverage: 34.8% of statements [2022-05-08T01:52:01.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-08T01:52:03.425Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.323s coverage: 86.1% of statements [2022-05-08T01:52:03.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-08T01:52:03.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-08T01:52:03.425Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.576s coverage: 65.1% of statements [2022-05-08T01:52:06.851Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.376s coverage: 89.2% of statements [2022-05-08T01:52:06.851Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-08T01:52:10.247Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.255s coverage: 4.7% of statements [2022-05-08T01:52:10.247Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-08T01:52:10.848Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-08T01:52:10.848Z] GO111MODULE=on go vet ./... [2022-05-08T01:53:47.732Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-08T01:53:47.732Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-08T01:53:47.732Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-08T01:53:47.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-08T01:53:47.775Z] $ docker stop --time=1 92f4eb477da6cf7ba0d58f1277509e289f618c4985bfddfbb63ca1709d5c5e00 [2022-05-08T01:53:49.685Z] $ docker rm -f 92f4eb477da6cf7ba0d58f1277509e289f618c4985bfddfbb63ca1709d5c5e00 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-08T01:53:51.208Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-08T01:53:51.235Z] Warning: overwriting stash ‘coverage-report’ [2022-05-08T01:53:51.858Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-08T01:53:52.267Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-08T01:53:52.615Z] + ls -al . [2022-05-08T01:53:52.615Z] total 296 [2022-05-08T01:53:52.615Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 01:53 . [2022-05-08T01:53:52.615Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 01:47 .. [2022-05-08T01:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 140 May 8 01:47 .dockerignore [2022-05-08T01:53:52.615Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 01:47 .git [2022-05-08T01:53:52.615Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:47 .github [2022-05-08T01:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 131 May 8 01:47 .gitignore [2022-05-08T01:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 01:47 .golangci.yml [2022-05-08T01:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 8 01:47 CHANGELOG.md [2022-05-08T01:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 01:47 GOVERNANCE.md [2022-05-08T01:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 880 May 8 01:47 Jenkinsfile [2022-05-08T01:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 8 01:47 LICENSE [2022-05-08T01:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 8 01:47 Makefile [2022-05-08T01:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 619 May 8 01:47 OWNERS.md [2022-05-08T01:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 8 01:47 README.md [2022-05-08T01:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 01:44 VERSION [2022-05-08T01:53:52.615Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:47 bin [2022-05-08T01:53:52.615Z] -rw-r--r-- 1 jenkins jenkins 130819 May 8 01:52 coverage.out [2022-05-08T01:53:52.615Z] drwxrwxr-x 5 jenkins jenkins 4096 May 8 01:47 example [2022-05-08T01:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 3198 May 8 01:47 go.mod [2022-05-08T01:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 35003 May 8 01:47 go.sum [2022-05-08T01:53:52.615Z] drwxrwxr-x 15 jenkins jenkins 4096 May 8 01:47 internal [2022-05-08T01:53:52.615Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:47 openapi [2022-05-08T01:53:52.615Z] drwxrwxr-x 5 jenkins jenkins 4096 May 8 01:47 pkg [2022-05-08T01:53:52.615Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 01:47 snap [2022-05-08T01:53:52.615Z] -rw-rw-r-- 1 jenkins jenkins 222 May 8 01:47 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:53:52.971Z] + 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=34f52f4ba9b95380ffa0b85131c0eb111bf486e4 --label arch=arm64 --label version=0.0.0 . [2022-05-08T01:53:53.582Z] Sending build context to Docker daemon 5.402MB [2022-05-08T01:53:53.582Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-08T01:53:53.582Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-08T01:53:53.582Z] ---> 99d17928aa75 [2022-05-08T01:53:53.582Z] Step 3/25 : ARG MAKE=make build [2022-05-08T01:53:53.582Z] ---> Running in c0a995918ff1 [2022-05-08T01:53:53.869Z] Removing intermediate container c0a995918ff1 [2022-05-08T01:53:53.869Z] ---> 8308f7b19d03 [2022-05-08T01:53:53.869Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-08T01:53:54.142Z] ---> Running in 84a7f994850d [2022-05-08T01:53:54.417Z] Removing intermediate container 84a7f994850d [2022-05-08T01:53:54.417Z] ---> d8e13246b041 [2022-05-08T01:53:54.417Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-08T01:53:54.417Z] ---> Running in 3caa64fae5d0 [2022-05-08T01:53:54.694Z] Removing intermediate container 3caa64fae5d0 [2022-05-08T01:53:54.694Z] ---> 6b0513278fd1 [2022-05-08T01:53:54.694Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-08T01:53:54.987Z] ---> Running in 6b6805043188 [2022-05-08T01:53:56.456Z] Removing intermediate container 6b6805043188 [2022-05-08T01:53:56.456Z] ---> 237f77be71f9 [2022-05-08T01:53:56.456Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-08T01:53:56.732Z] ---> Running in 5847c915b8c4 [2022-05-08T01:53:57.708Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-08T01:53:58.305Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-08T01:53:59.289Z] OK: 220 MiB in 52 packages [2022-05-08T01:53:59.893Z] Removing intermediate container 5847c915b8c4 [2022-05-08T01:53:59.893Z] ---> ba3fd7895668 [2022-05-08T01:53:59.893Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-08T01:54:00.499Z] ---> 1ecc0b4877b2 [2022-05-08T01:54:00.499Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-08T01:54:00.499Z] ---> Running in a2ead068fe5d [2022-05-08T01:54:02.489Z] Removing intermediate container a2ead068fe5d [2022-05-08T01:54:02.489Z] ---> d1367578317c [2022-05-08T01:54:02.489Z] Step 10/25 : COPY . . [2022-05-08T01:54:03.941Z] ---> 7c3c0c2d89c9 [2022-05-08T01:54:03.941Z] Step 11/25 : RUN ${MAKE} [2022-05-08T01:54:03.941Z] ---> Running in 28f1ebe5a373 [2022-05-08T01:54:04.933Z] 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-08T01:56:11.832Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-08T01:56:12.427Z] Removing intermediate container 28f1ebe5a373 [2022-05-08T01:56:12.427Z] ---> 01f8b7b055d8 [2022-05-08T01:56:12.427Z] Step 12/25 : FROM alpine:3.14 [2022-05-08T01:56:13.023Z] 3.14: Pulling from library/alpine [2022-05-08T01:56:13.296Z] 455c02918c45: Pulling fs layer [2022-05-08T01:56:13.571Z] 455c02918c45: Verifying Checksum [2022-05-08T01:56:13.571Z] 455c02918c45: Download complete [2022-05-08T01:56:14.182Z] 455c02918c45: Pull complete [2022-05-08T01:56:14.182Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-08T01:56:14.182Z] Status: Downloaded newer image for alpine:3.14 [2022-05-08T01:56:14.182Z] ---> ac73e934f311 [2022-05-08T01:56:14.182Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-08T01:56:14.458Z] ---> Running in 5c6614eed0f6 [2022-05-08T01:56:14.733Z] Removing intermediate container 5c6614eed0f6 [2022-05-08T01:56:14.733Z] ---> bb5323550c8a [2022-05-08T01:56:14.733Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-08T01:56:15.008Z] ---> Running in 73ed3dd0011c [2022-05-08T01:56:16.987Z] Removing intermediate container 73ed3dd0011c [2022-05-08T01:56:16.987Z] ---> 856348a94c11 [2022-05-08T01:56:16.987Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-08T01:56:16.987Z] ---> Running in 496b5b057bbc [2022-05-08T01:56:17.972Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-08T01:56:18.953Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-08T01:56:19.934Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-08T01:56:19.934Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-08T01:56:19.934Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-08T01:56:19.934Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-08T01:56:20.209Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-08T01:56:20.209Z] Executing busybox-1.33.1-r7.trigger [2022-05-08T01:56:20.209Z] OK: 8 MiB in 19 packages [2022-05-08T01:56:21.204Z] Removing intermediate container 496b5b057bbc [2022-05-08T01:56:21.204Z] ---> 9430d495198f [2022-05-08T01:56:21.204Z] Step 16/25 : WORKDIR / [2022-05-08T01:56:21.204Z] ---> Running in 851dcdbc1923 [2022-05-08T01:56:21.480Z] Removing intermediate container 851dcdbc1923 [2022-05-08T01:56:21.480Z] ---> b7ea026eb100 [2022-05-08T01:56:21.480Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-08T01:56:22.467Z] ---> c50107c1cad1 [2022-05-08T01:56:22.467Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-08T01:56:23.909Z] ---> 6b7c267f32c2 [2022-05-08T01:56:23.909Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-08T01:56:24.514Z] ---> a0948abccdf8 [2022-05-08T01:56:24.514Z] Step 20/25 : EXPOSE 59999 [2022-05-08T01:56:24.514Z] ---> Running in 8931e93415bd [2022-05-08T01:56:25.121Z] Removing intermediate container 8931e93415bd [2022-05-08T01:56:25.121Z] ---> 2d76fcbcd472 [2022-05-08T01:56:25.121Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-08T01:56:25.121Z] ---> Running in 7aa81eb6b936 [2022-05-08T01:56:25.406Z] Removing intermediate container 7aa81eb6b936 [2022-05-08T01:56:25.406Z] ---> 737e45eaeda5 [2022-05-08T01:56:25.406Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-08T01:56:25.406Z] ---> Running in 073589fc2c57 [2022-05-08T01:56:26.013Z] Removing intermediate container 073589fc2c57 [2022-05-08T01:56:26.013Z] ---> bb26b4fa944b [2022-05-08T01:56:26.013Z] Step 23/25 : LABEL arch=arm64 [2022-05-08T01:56:26.013Z] ---> Running in 2ac89da28493 [2022-05-08T01:56:26.288Z] Removing intermediate container 2ac89da28493 [2022-05-08T01:56:26.288Z] ---> cc21bc8a8d4c [2022-05-08T01:56:26.288Z] Step 24/25 : LABEL git_sha=34f52f4ba9b95380ffa0b85131c0eb111bf486e4 [2022-05-08T01:56:26.288Z] ---> Running in 7d6fc83c9cdf [2022-05-08T01:56:26.573Z] Removing intermediate container 7d6fc83c9cdf [2022-05-08T01:56:26.573Z] ---> 4679f97fc5f9 [2022-05-08T01:56:26.573Z] Step 25/25 : LABEL version=0.0.0 [2022-05-08T01:56:26.853Z] ---> Running in 30645939871a [2022-05-08T01:56:27.126Z] Removing intermediate container 30645939871a [2022-05-08T01:56:27.126Z] ---> bed465aa2392 [2022-05-08T01:56:27.127Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-08T01:56:27.127Z] Successfully built bed465aa2392 [2022-05-08T01:56:27.127Z] 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-08T01:56:27.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-08T01:56:27.568Z] [2022-05-08T01:56:27.568Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:56:27.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-08T01:56:28.205Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-08T01:56:28.205Z] 8998bd30e6a1: Pulling fs layer [2022-05-08T01:56:28.205Z] 04944245beec: Pulling fs layer [2022-05-08T01:56:28.205Z] 699f458cf7ca: Pulling fs layer [2022-05-08T01:56:28.205Z] 765212b225bb: Pulling fs layer [2022-05-08T01:56:28.205Z] f23df028b6ca: Pulling fs layer [2022-05-08T01:56:28.205Z] d65c8cfc05b1: Pulling fs layer [2022-05-08T01:56:28.205Z] 2437ff75d9bd: Pulling fs layer [2022-05-08T01:56:28.205Z] 765212b225bb: Waiting [2022-05-08T01:56:28.205Z] f23df028b6ca: Waiting [2022-05-08T01:56:28.205Z] d65c8cfc05b1: Waiting [2022-05-08T01:56:28.205Z] 2437ff75d9bd: Waiting [2022-05-08T01:56:28.205Z] 04944245beec: Verifying Checksum [2022-05-08T01:56:28.205Z] 04944245beec: Download complete [2022-05-08T01:56:28.205Z] 765212b225bb: Verifying Checksum [2022-05-08T01:56:28.205Z] 765212b225bb: Download complete [2022-05-08T01:56:28.205Z] f23df028b6ca: Verifying Checksum [2022-05-08T01:56:28.205Z] f23df028b6ca: Download complete [2022-05-08T01:56:28.205Z] d65c8cfc05b1: Download complete [2022-05-08T01:56:28.482Z] 699f458cf7ca: Verifying Checksum [2022-05-08T01:56:28.482Z] 699f458cf7ca: Download complete [2022-05-08T01:56:28.758Z] 8998bd30e6a1: Verifying Checksum [2022-05-08T01:56:28.758Z] 8998bd30e6a1: Download complete [2022-05-08T01:56:31.420Z] 2437ff75d9bd: Verifying Checksum [2022-05-08T01:56:31.420Z] 2437ff75d9bd: Download complete [2022-05-08T01:56:33.409Z] 8998bd30e6a1: Pull complete [2022-05-08T01:56:33.686Z] 04944245beec: Pull complete [2022-05-08T01:56:35.672Z] 699f458cf7ca: Pull complete [2022-05-08T01:56:35.672Z] 765212b225bb: Pull complete [2022-05-08T01:56:36.656Z] f23df028b6ca: Pull complete [2022-05-08T01:56:36.656Z] d65c8cfc05b1: Pull complete [2022-05-08T01:56:54.987Z] 2437ff75d9bd: Pull complete [2022-05-08T01:56:54.987Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-08T01:56:54.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-08T01:56:54.987Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-08T01:56:55.223Z] prd-ubuntu20.04-docker-arm64-4c-16g-41645 does not seem to be running inside a container [2022-05-08T01:56:55.322Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:arm64 cat [2022-05-08T01:56:58.500Z] $ docker top 9df13419f246082d384b0a4aeb6e54cbdb19d6aa028815a4fcc2a3a71221b69f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:56:59.403Z] ---> job-cost.sh [2022-05-08T01:56:59.403Z] lf-activate-venv: SKIPPING [2022-05-08T01:56:59.403Z] INFO: No Stack... [2022-05-08T01:56:59.997Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-08T01:57:00.974Z] INFO: Archiving Costs [Pipeline] sh [2022-05-08T01:57:01.639Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2022-05-08T01:57:01.639Z] + cut -d, -f6 [Pipeline] lock [2022-05-08T01:57:01.709Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1156-3-stack-cost] [2022-05-08T01:57:01.715Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1156-3-stack-cost] did not exist. Created. [2022-05-08T01:57:01.716Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1156-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-08T01:57:02.402Z] /w/workspace/device-sdk-go/3@tmp/durable-e3ad8e98/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-08T01:57:03.090Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-08T01:57:03.118Z] Warning: overwriting stash ‘stack-cost’ [2022-05-08T01:57:03.181Z] Stashed 1 file(s) [Pipeline] } [2022-05-08T01:57:03.188Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1156-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-08T01:57:03.219Z] $ docker stop --time=1 9df13419f246082d384b0a4aeb6e54cbdb19d6aa028815a4fcc2a3a71221b69f [2022-05-08T01:57:04.723Z] $ docker rm -f 9df13419f246082d384b0a4aeb6e54cbdb19d6aa028815a4fcc2a3a71221b69f [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-08T01:57:05.221Z] provisioning config files... [2022-05-08T01:57:05.231Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/config3830687524127048005tmp [Pipeline] { [Pipeline] sh [2022-05-08T01:57:05.520Z] + set +x [2022-05-08T01:57:05.520Z] + curl -s https://codecov.io/bash [2022-05-08T01:57:05.520Z] + bash -s -- [2022-05-08T01:57:05.520Z] [2022-05-08T01:57:05.520Z] _____ _ [2022-05-08T01:57:05.520Z] / ____| | | [2022-05-08T01:57:05.520Z] | | ___ __| | ___ ___ _____ __ [2022-05-08T01:57:05.520Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-08T01:57:05.520Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-08T01:57:05.520Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-08T01:57:05.520Z] Bash-1.0.6 [2022-05-08T01:57:05.520Z] [2022-05-08T01:57:05.520Z] [2022-05-08T01:57:05.520Z] ==> git version 2.25.1 found [2022-05-08T01:57:05.520Z] ==> 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-08T01:57:05.520Z] Release-Date: 2020-01-08 [2022-05-08T01:57:05.520Z] 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-08T01:57:05.520Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-08T01:57:05.520Z] ==> Jenkins CI detected. [2022-05-08T01:57:05.520Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1156 [2022-05-08T01:57:05.520Z] project root: . [2022-05-08T01:57:05.520Z] --> token set from env [2022-05-08T01:57:05.520Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-08T01:57:05.520Z] ==> Running gcov in . (disable via -X gcov) [2022-05-08T01:57:05.520Z] ==> Python coveragepy not found [2022-05-08T01:57:05.520Z] ==> Searching for coverage reports in: [2022-05-08T01:57:05.520Z] + . [2022-05-08T01:57:05.520Z] -> Found 1 reports [2022-05-08T01:57:05.520Z] ==> Detecting git/mercurial file structure [2022-05-08T01:57:05.520Z] ==> Reading reports [2022-05-08T01:57:05.520Z] + ./coverage.out bytes=130819 [2022-05-08T01:57:05.520Z] ==> Appending adjustments [2022-05-08T01:57:05.520Z] https://docs.codecov.io/docs/fixing-reports [2022-05-08T01:57:06.091Z] + Found adjustments [2022-05-08T01:57:06.091Z] ==> Gzipping contents [2022-05-08T01:57:06.091Z] 20K /tmp/codecov.VUT9Ew.gz [2022-05-08T01:57:06.091Z] ==> Uploading reports [2022-05-08T01:57:06.091Z] url: https://codecov.io [2022-05-08T01:57:06.091Z] query: branch=PR-1156&commit=34f52f4ba9b95380ffa0b85131c0eb111bf486e4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1156%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1156&job=&cmd_args= [2022-05-08T01:57:06.091Z] -> Pinging Codecov [2022-05-08T01:57:06.091Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1156&commit=34f52f4ba9b95380ffa0b85131c0eb111bf486e4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1156%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1156&job=&cmd_args= [2022-05-08T01:57:06.351Z] -> Uploading to [2022-05-08T01:57:06.351Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-08/7E55EF52A471D76F132DFD9A03CDDE97/34f52f4ba9b95380ffa0b85131c0eb111bf486e4/5efe3edb-215f-4cdf-b2f3-f9b7084807e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220508T015706Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bae8be58e5d79fcc7b46b184af1ec7d2f2978834cad7e5befe87f3a08bb80aa8 [2022-05-08T01:57:06.351Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-08T01:57:06.351Z] Dload Upload Total Spent Left Speed [2022-05-08T01:57:06.351Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16842 0 0 100 16842 0 77612 --:--:-- --:--:-- --:--:-- 77612 [2022-05-08T01:57:06.351Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/34f52f4ba9b95380ffa0b85131c0eb111bf486e4 [Pipeline] } [2022-05-08T01:57:06.360Z] 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-08T01:57:07.094Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives ] [2022-05-08T01:57:07.094Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives [2022-05-08T01:57:07.094Z] total 16 [2022-05-08T01:57:07.094Z] drwxr-xr-x 3 root root 4096 May 8 01:46 . [2022-05-08T01:57:07.094Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 01:46 .. [2022-05-08T01:57:07.094Z] drwxr-xr-x 2 root root 4096 May 8 01:46 cost [2022-05-08T01:57:07.094Z] -rw-r--r-- 1 root root 85 May 8 01:46 cost.csv [2022-05-08T01:57:07.094Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives [2022-05-08T01:57:07.094Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives [2022-05-08T01:57:07.094Z] total 16 [2022-05-08T01:57:07.094Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 01:46 . [2022-05-08T01:57:07.094Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 01:46 .. [2022-05-08T01:57:07.094Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 01:46 cost [2022-05-08T01:57:07.094Z] -rw-r--r-- 1 jenkins jenkins 85 May 8 01:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:57:07.390Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:57:08.253Z] ---> package-listing.sh [2022-05-08T01:57:08.253Z] ++ facter osfamily [2022-05-08T01:57:08.253Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-08T01:57:08.513Z] + OS_FAMILY=debian [2022-05-08T01:57:08.513Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1156 [2022-05-08T01:57:08.513Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-08T01:57:08.513Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-08T01:57:08.513Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-08T01:57:08.513Z] + PACKAGES=/tmp/packages_start.txt [2022-05-08T01:57:08.513Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1156 ']' [2022-05-08T01:57:08.513Z] + PACKAGES=/tmp/packages_end.txt [2022-05-08T01:57:08.513Z] + case "${OS_FAMILY}" in [2022-05-08T01:57:08.513Z] + dpkg -l [2022-05-08T01:57:08.513Z] + grep '^ii' [2022-05-08T01:57:08.513Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-08T01:57:08.513Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-08T01:57:08.513Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-08T01:57:08.513Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1156 ']' [2022-05-08T01:57:08.513Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives/ [2022-05-08T01:57:08.513Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives/ [Pipeline] echo [2022-05-08T01:57:08.526Z] 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-1156/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-08T01:57:08.807Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-08T01:57:09.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-08T01:57:09.370Z] . [Pipeline] withDockerContainer [2022-05-08T01:57:09.451Z] prd-ubuntu20.04-docker-8c-8g-41640 does not seem to be running inside a container [2022-05-08T01:57:09.487Z] $ 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-1156/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-1156 -v /w/workspace/gexfoundry_device-sdk-go_PR-1156:/w/workspace/gexfoundry_device-sdk-go_PR-1156:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1156@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-08T01:57:09.745Z] $ docker top fba3e183d3e12463c1b0533944627b062f1ca2fb3944ede046649e23ac472610 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-08T01:57:10.123Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-08T01:57:10.416Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-08T01:57:10.707Z] + ls /var/log/sa-host [2022-05-08T01:57:10.707Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-08T01:57:10.807Z] provisioning config files... [2022-05-08T01:57:10.817Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/config6060247974684008823tmp [Pipeline] { [Pipeline] echo [2022-05-08T01:57:10.831Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:57:11.120Z] ---> create-netrc.sh [Pipeline] } [2022-05-08T01:57:11.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:57:11.458Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-08T01:57:11.469Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:57:11.759Z] ---> sudo-logs.sh [2022-05-08T01:57:11.759Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-08T01:57:11.790Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:57:12.082Z] ---> job-cost.sh [2022-05-08T01:57:12.082Z] lf-activate-venv: SKIPPING [2022-05-08T01:57:12.082Z] DEBUG: total: 0.2199999988079071 [2022-05-08T01:57:12.082Z] INFO: Retrieving Stack Cost... [2022-05-08T01:57:12.653Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-08T01:57:12.914Z] INFO: Archiving Costs [Pipeline] echo [2022-05-08T01:57:12.926Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-08T01:57:13.216Z] ---> logs-deploy.sh [2022-05-08T01:57:13.216Z] lf-activate-venv: SKIPPING [2022-05-08T01:57:13.216Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1156/3 [2022-05-08T01:57:13.216Z] INFO: archiving workspace using pattern(s): [2022-05-08T01:57:14.161Z] Archives upload complete. [2022-05-08T01:57:14.161Z] INFO: archiving logs to Nexus