Pull request #1144 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 267ff576d04d099c801cb5d53fb1f6359d04b69e+99a726dbba9fddcd6b6c26c7337937a12db69607 (c9933e60d8e83e3c6b5d1607c06790934250f8fc) 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-ssh8805799794752481911.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17854157250942564952.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/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-1144/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2359492290852319068.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh10453601603342810385.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-1144/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-1144/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5604256020430732321.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-33433 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [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-1144 # 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 99a726dbba9fddcd6b6c26c7337937a12db69607 into PR head commit 267ff576d04d099c801cb5d53fb1f6359d04b69e Merge succeeded, producing 267ff576d04d099c801cb5d53fb1f6359d04b69e Checking out Revision 267ff576d04d099c801cb5d53fb1f6359d04b69e (PR-1144) > 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/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 267ff576d04d099c801cb5d53fb1f6359d04b69e # 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 99a726dbba9fddcd6b6c26c7337937a12db69607 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 267ff576d04d099c801cb5d53fb1f6359d04b69e # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk b949c5b5d18b47b2532be4ec7d7551934fd4f10c # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-27T04:32:42.434Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-27T04:32:42.500Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-27T04:32:42.524Z] ========================================================= [2022-04-27T04:32:42.524Z] EdgeX Global Pipelines Version Info [2022-04-27T04:32:42.524Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:32:43.313Z] ------------------- [2022-04-27T04:32:43.313Z] stable info: [2022-04-27T04:32:43.313Z] ------------------- [2022-04-27T04:32:43.313Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-27T04:32:43.313Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-27T04:32:43.313Z] Message: update stable to v1.0.221 [2022-04-27T04:32:43.888Z] ------------------- [2022-04-27T04:32:43.888Z] experimental info: [2022-04-27T04:32:43.888Z] ------------------- [2022-04-27T04:32:43.888Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-27T04:32:43.888Z] Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 [2022-04-27T04:32:43.888Z] Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-27T04:32:44.033Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-27T04:32:44.045Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-27T04:32:44.057Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-27T04:32:44.072Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-27T04:32:44.083Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-27T04:32:44.100Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-27T04:32:44.116Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-27T04:32:44.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-27T04:32:44.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-27T04:32:44.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-27T04:32:44.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-27T04:32:44.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-27T04:32:44.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-27T04:32:44.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-27T04:32:44.226Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T04:32:44.244Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T04:32:44.262Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T04:32:44.280Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T04:32:44.300Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-27T04:32:44.318Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-27T04:32:44.334Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-27T04:32:44.351Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-27T04:32:44.365Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-27T04:32:44.383Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-27T04:32:44.401Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-27T04:32:44.422Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-27T04:32:44.435Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1144 [Pipeline] echo [2022-04-27T04:32:44.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1144 [Pipeline] echo [2022-04-27T04:32:44.462Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1144 [Pipeline] echo [2022-04-27T04:32:44.482Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 267ff576d04d099c801cb5d53fb1f6359d04b69e [Pipeline] echo [2022-04-27T04:32:44.494Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 267ff57 [Pipeline] echo [2022-04-27T04:32:44.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T04:32:44.552Z] provisioning config files... [2022-04-27T04:32:44.566Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config2113388033960800751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:32:44.883Z] ---> docker-login.sh [2022-04-27T04:32:44.883Z] nexus3.edgexfoundry.org:10001 [2022-04-27T04:32:45.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:32:45.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:32:45.144Z] Configure a credential helper to remove this warning. See [2022-04-27T04:32:45.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:32:45.144Z] [2022-04-27T04:32:45.144Z] Login Succeeded [2022-04-27T04:32:45.144Z] nexus3.edgexfoundry.org:10002 [2022-04-27T04:32:45.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:32:45.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:32:45.405Z] Configure a credential helper to remove this warning. See [2022-04-27T04:32:45.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:32:45.405Z] [2022-04-27T04:32:45.405Z] Login Succeeded [2022-04-27T04:32:45.405Z] nexus3.edgexfoundry.org:10003 [2022-04-27T04:32:45.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:32:45.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:32:45.405Z] Configure a credential helper to remove this warning. See [2022-04-27T04:32:45.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:32:45.405Z] [2022-04-27T04:32:45.405Z] Login Succeeded [2022-04-27T04:32:45.405Z] nexus3.edgexfoundry.org:10004 [2022-04-27T04:32:45.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:32:45.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:32:45.671Z] Configure a credential helper to remove this warning. See [2022-04-27T04:32:45.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:32:45.671Z] [2022-04-27T04:32:45.671Z] Login Succeeded [2022-04-27T04:32:45.671Z] docker.io [2022-04-27T04:32:45.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:32:46.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:32:46.246Z] Configure a credential helper to remove this warning. See [2022-04-27T04:32:46.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:32:46.246Z] [2022-04-27T04:32:46.246Z] Login Succeeded [2022-04-27T04:32:46.246Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T04:32:46.259Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-27T04:32:46.646Z] + git rev-list -1 --merges 267ff576d04d099c801cb5d53fb1f6359d04b69e~1..267ff576d04d099c801cb5d53fb1f6359d04b69e [Pipeline] echo [2022-04-27T04:32:46.681Z] -----------> git rev-list -1 --merges 267ff576d04d099c801cb5d53fb1f6359d04b69e~1..267ff576d04d099c801cb5d53fb1f6359d04b69e 267ff576d04d099c801cb5d53fb1f6359d04b69e [false] [Pipeline] sh [2022-04-27T04:32:46.977Z] + git log --format=format:%s -1 267ff576d04d099c801cb5d53fb1f6359d04b69e [Pipeline] echo [2022-04-27T04:32:46.995Z] ========================================================= [2022-04-27T04:32:46.995Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-27T04:32:46.995Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T04:32:47.332Z] + git log --format=format:%s -1 267ff576d04d099c801cb5d53fb1f6359d04b69e [Pipeline] echo [2022-04-27T04:32:47.347Z] [semverPrep] GIT_COMMIT: 267ff576d04d099c801cb5d53fb1f6359d04b69e, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5 [Pipeline] echo [2022-04-27T04:32:47.355Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-27T04:32:47.731Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T04:32:47.731Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-27T04:32:47.731Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-27T04:32:47.731Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-27T04:32:47.731Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-27T04:32:47.731Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-27T04:32:47.731Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:32:48.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T04:32:48.078Z] [2022-04-27T04:32:48.078Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:32:48.388Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T04:32:48.388Z] latest: Pulling from edgex-devops/git-semver [2022-04-27T04:32:48.388Z] a0d0a0d46f8b: Pulling fs layer [2022-04-27T04:32:48.388Z] 3e5f54012d9b: Pulling fs layer [2022-04-27T04:32:48.388Z] 4c7163046ea9: Pulling fs layer [2022-04-27T04:32:48.388Z] 0c2d73faf560: Pulling fs layer [2022-04-27T04:32:48.388Z] 0c2d73faf560: Waiting [2022-04-27T04:32:48.388Z] 3e5f54012d9b: Verifying Checksum [2022-04-27T04:32:48.388Z] 3e5f54012d9b: Download complete [2022-04-27T04:32:48.388Z] a0d0a0d46f8b: Verifying Checksum [2022-04-27T04:32:48.388Z] a0d0a0d46f8b: Download complete [2022-04-27T04:32:48.388Z] 0c2d73faf560: Verifying Checksum [2022-04-27T04:32:48.388Z] 0c2d73faf560: Download complete [2022-04-27T04:32:48.388Z] 4c7163046ea9: Verifying Checksum [2022-04-27T04:32:48.388Z] 4c7163046ea9: Download complete [2022-04-27T04:32:48.650Z] a0d0a0d46f8b: Pull complete [2022-04-27T04:32:48.650Z] 3e5f54012d9b: Pull complete [2022-04-27T04:32:49.220Z] 4c7163046ea9: Pull complete [2022-04-27T04:32:49.220Z] 0c2d73faf560: Pull complete [2022-04-27T04:32:49.220Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-27T04:32:49.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T04:32:49.220Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-27T04:32:49.374Z] prd-ubuntu20.04-docker-8c-8g-33433 does not seem to be running inside a container [2022-04-27T04:32:49.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-27T04:32:50.164Z] $ docker top 6bda69a54cc74cb90837c490b9122f425cfc4de159d87186551981243067f1d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T04:32:50.264Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T04:32:50.264Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T04:32:50.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T04:32:50.417Z] $ docker exec 6bda69a54cc74cb90837c490b9122f425cfc4de159d87186551981243067f1d4 ssh-agent [2022-04-27T04:32:50.543Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXghDOcl/agent.14 [2022-04-27T04:32:50.543Z] SSH_AGENT_PID=21 [2022-04-27T04:32:50.551Z] Running ssh-add (command line suppressed) [2022-04-27T04:32:50.692Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_1250190489071702123.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_1250190489071702123.key) [2022-04-27T04:32:50.699Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T04:32:50.994Z] + git tag --points-at HEAD [Pipeline] } [2022-04-27T04:32:51.015Z] $ docker exec --env ******** --env ******** 6bda69a54cc74cb90837c490b9122f425cfc4de159d87186551981243067f1d4 ssh-agent -k [2022-04-27T04:32:51.119Z] unset SSH_AUTH_SOCK; [2022-04-27T04:32:51.119Z] unset SSH_AGENT_PID; [2022-04-27T04:32:51.119Z] echo Agent pid 21 killed; [2022-04-27T04:32:51.123Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-27T04:32:51.150Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T04:32:51.150Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T04:32:51.285Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T04:32:51.295Z] $ docker exec 6bda69a54cc74cb90837c490b9122f425cfc4de159d87186551981243067f1d4 ssh-agent [2022-04-27T04:32:51.432Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKgJHmn/agent.53 [2022-04-27T04:32:51.432Z] SSH_AGENT_PID=59 [2022-04-27T04:32:51.438Z] Running ssh-add (command line suppressed) [2022-04-27T04:32:51.562Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5683839132948222275.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5683839132948222275.key) [2022-04-27T04:32:51.572Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T04:32:51.867Z] + git semver init [2022-04-27T04:32:51.867Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T04:32:51.867Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.git [2022-04-27T04:32:51.867Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-04-27T04:32:51.867Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T04:32:51.867Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T04:32:51.867Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T04:32:51.867Z] # $SEMVER_BRANCH = PR-1144 [2022-04-27T04:32:51.867Z] # $SEMVER_TEMP = /tmp/semver-688176699 [2022-04-27T04:32:51.867Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-27T04:32:52.809Z] # '/tmp/semver-688176699' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver' [2022-04-27T04:32:52.809Z] # -> Force: false [2022-04-27T04:32:52.809Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [Pipeline] } [2022-04-27T04:32:52.827Z] $ docker exec --env ******** --env ******** 6bda69a54cc74cb90837c490b9122f425cfc4de159d87186551981243067f1d4 ssh-agent -k [2022-04-27T04:32:52.943Z] unset SSH_AUTH_SOCK; [2022-04-27T04:32:52.944Z] unset SSH_AGENT_PID; [2022-04-27T04:32:52.944Z] echo Agent pid 59 killed; [2022-04-27T04:32:52.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T04:32:53.258Z] + git semver [Pipeline] } [2022-04-27T04:32:53.278Z] $ docker stop --time=1 6bda69a54cc74cb90837c490b9122f425cfc4de159d87186551981243067f1d4 [2022-04-27T04:32:54.627Z] $ docker rm -f 6bda69a54cc74cb90837c490b9122f425cfc4de159d87186551981243067f1d4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T04:32:54.980Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-27T04:32:55.239Z] Stashed 1 file(s) [Pipeline] echo [2022-04-27T04:32:55.242Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T04:32:55.346Z] provisioning config files... [2022-04-27T04:32:55.357Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config4223508816543308864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:32:55.659Z] ---> docker-login.sh [2022-04-27T04:32:55.659Z] nexus3.edgexfoundry.org:10001 [2022-04-27T04:32:55.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:32:55.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:32:55.659Z] Configure a credential helper to remove this warning. See [2022-04-27T04:32:55.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:32:55.660Z] [2022-04-27T04:32:55.660Z] Login Succeeded [2022-04-27T04:32:55.660Z] nexus3.edgexfoundry.org:10002 [2022-04-27T04:32:55.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:32:55.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:32:55.921Z] Configure a credential helper to remove this warning. See [2022-04-27T04:32:55.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:32:55.921Z] [2022-04-27T04:32:55.921Z] Login Succeeded [2022-04-27T04:32:55.921Z] nexus3.edgexfoundry.org:10003 [2022-04-27T04:32:55.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:32:55.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:32:55.921Z] Configure a credential helper to remove this warning. See [2022-04-27T04:32:55.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:32:55.921Z] [2022-04-27T04:32:55.921Z] Login Succeeded [2022-04-27T04:32:55.921Z] nexus3.edgexfoundry.org:10004 [2022-04-27T04:32:55.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:32:56.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:32:56.183Z] Configure a credential helper to remove this warning. See [2022-04-27T04:32:56.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:32:56.183Z] [2022-04-27T04:32:56.183Z] Login Succeeded [2022-04-27T04:32:56.183Z] docker.io [2022-04-27T04:32:56.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:32:56.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:32:56.444Z] Configure a credential helper to remove this warning. See [2022-04-27T04:32:56.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:32:56.444Z] [2022-04-27T04:32:56.444Z] Login Succeeded [2022-04-27T04:32:56.444Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T04:32:56.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T04:32:56.524Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T04:32:56.537Z] ========================================================= [2022-04-27T04:32:56.537Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-27T04:32:56.537Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:32:56.847Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-27T04:32:56.847Z] Sending build context to Docker daemon 9.625MB [2022-04-27T04:32:56.847Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T04:32:56.847Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-27T04:32:56.847Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-27T04:32:56.847Z] 59bf1c3509f3: Pulling fs layer [2022-04-27T04:32:56.847Z] 666ba61612fd: Pulling fs layer [2022-04-27T04:32:56.847Z] 8ed8ca486205: Pulling fs layer [2022-04-27T04:32:56.847Z] 4fe6c5a15a65: Pulling fs layer [2022-04-27T04:32:56.847Z] 22a0e8bec74d: Pulling fs layer [2022-04-27T04:32:56.847Z] ca2b28591e48: Pulling fs layer [2022-04-27T04:32:56.847Z] a51346096db8: Pulling fs layer [2022-04-27T04:32:56.847Z] daebc70d1ce1: Pulling fs layer [2022-04-27T04:32:56.847Z] 0e18a0eac166: Pulling fs layer [2022-04-27T04:32:56.847Z] a51346096db8: Waiting [2022-04-27T04:32:56.847Z] 4fe6c5a15a65: Waiting [2022-04-27T04:32:56.847Z] daebc70d1ce1: Waiting [2022-04-27T04:32:57.108Z] 8ed8ca486205: Verifying Checksum [2022-04-27T04:32:57.108Z] 8ed8ca486205: Download complete [2022-04-27T04:32:57.108Z] 666ba61612fd: Download complete [2022-04-27T04:32:57.108Z] 22a0e8bec74d: Verifying Checksum [2022-04-27T04:32:57.108Z] 22a0e8bec74d: Download complete [2022-04-27T04:32:57.108Z] ca2b28591e48: Download complete [2022-04-27T04:32:57.108Z] 59bf1c3509f3: Verifying Checksum [2022-04-27T04:32:57.108Z] 59bf1c3509f3: Download complete [2022-04-27T04:32:57.108Z] a51346096db8: Verifying Checksum [2022-04-27T04:32:57.108Z] a51346096db8: Download complete [2022-04-27T04:32:57.108Z] daebc70d1ce1: Verifying Checksum [2022-04-27T04:32:57.108Z] daebc70d1ce1: Download complete [2022-04-27T04:32:57.108Z] 59bf1c3509f3: Pull complete [2022-04-27T04:32:57.370Z] 666ba61612fd: Pull complete [2022-04-27T04:32:57.370Z] 8ed8ca486205: Pull complete [2022-04-27T04:32:57.631Z] 0e18a0eac166: Verifying Checksum [2022-04-27T04:32:57.631Z] 0e18a0eac166: Download complete [2022-04-27T04:32:57.892Z] 4fe6c5a15a65: Verifying Checksum [2022-04-27T04:32:57.892Z] 4fe6c5a15a65: Download complete [2022-04-27T04:33:02.096Z] 4fe6c5a15a65: Pull complete [2022-04-27T04:33:02.096Z] 22a0e8bec74d: Pull complete [2022-04-27T04:33:02.096Z] ca2b28591e48: Pull complete [2022-04-27T04:33:02.096Z] a51346096db8: Pull complete [2022-04-27T04:33:02.096Z] daebc70d1ce1: Pull complete [2022-04-27T04:33:04.637Z] 0e18a0eac166: Pull complete [2022-04-27T04:33:04.637Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-27T04:33:04.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-27T04:33:04.637Z] ---> f018257e8ee9 [2022-04-27T04:33:04.637Z] Step 3/11 : ARG MAKE=make build [2022-04-27T04:33:06.024Z] ---> Running in 2f4aeba3d624 [2022-04-27T04:33:06.024Z] Removing intermediate container 2f4aeba3d624 [2022-04-27T04:33:06.024Z] ---> 469dc3f6aefb [2022-04-27T04:33:06.024Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-27T04:33:06.024Z] ---> Running in 90337acf445a [2022-04-27T04:33:06.024Z] Removing intermediate container 90337acf445a [2022-04-27T04:33:06.024Z] ---> 942b34decaf2 [2022-04-27T04:33:06.024Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:33:06.024Z] ---> Running in 3837d0bc2425 [2022-04-27T04:33:06.284Z] Removing intermediate container 3837d0bc2425 [2022-04-27T04:33:06.284Z] ---> 02c094034dd7 [2022-04-27T04:33:06.284Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:33:06.284Z] ---> Running in 139b097eb862 [2022-04-27T04:33:06.855Z] Removing intermediate container 139b097eb862 [2022-04-27T04:33:06.855Z] ---> 03b86a618b6f [2022-04-27T04:33:06.855Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T04:33:06.855Z] ---> Running in 72ee0efaddb0 [2022-04-27T04:33:07.116Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T04:33:08.062Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T04:33:08.334Z] OK: 221 MiB in 52 packages [2022-04-27T04:33:08.908Z] Removing intermediate container 72ee0efaddb0 [2022-04-27T04:33:08.908Z] ---> 657f67815d9f [2022-04-27T04:33:08.908Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-27T04:33:08.908Z] ---> ecddd9cf5ac8 [2022-04-27T04:33:08.908Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T04:33:08.908Z] ---> Running in 21ae9e3db828 [2022-04-27T04:33:10.316Z] Still waiting to schedule task [2022-04-27T04:33:10.317Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-27T04:33:23.828Z] Removing intermediate container 21ae9e3db828 [2022-04-27T04:33:23.828Z] ---> 6e58af2230ce [2022-04-27T04:33:23.828Z] Step 10/11 : COPY . . [2022-04-27T04:33:23.828Z] ---> fd5ada6f4598 [2022-04-27T04:33:23.828Z] Step 11/11 : RUN ${MAKE} [2022-04-27T04:33:23.828Z] ---> Running in 1ff3dde2768b [2022-04-27T04:33:23.828Z] noop [2022-04-27T04:33:23.828Z] Removing intermediate container 1ff3dde2768b [2022-04-27T04:33:23.828Z] ---> ac4b08a60d8e [2022-04-27T04:33:23.828Z] Successfully built ac4b08a60d8e [2022-04-27T04:33:23.829Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:33:24.129Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T04:33:24.129Z] . [Pipeline] withDockerContainer [2022-04-27T04:33:24.200Z] prd-ubuntu20.04-docker-8c-8g-33433 does not seem to be running inside a container [2022-04-27T04:33:24.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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 ******** ci-base-image-x86_64 cat [2022-04-27T04:33:24.622Z] $ docker top ce69333bceb9a1a68edcbcd6724d03d7483b5d46a6ea9956b23c7d970cce50a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T04:33:24.982Z] + go version [2022-04-27T04:33:24.983Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-27T04:33:25.003Z] $ docker stop --time=1 ce69333bceb9a1a68edcbcd6724d03d7483b5d46a6ea9956b23c7d970cce50a6 [2022-04-27T04:33:26.311Z] $ docker rm -f ce69333bceb9a1a68edcbcd6724d03d7483b5d46a6ea9956b23c7d970cce50a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:33:26.712Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T04:33:26.712Z] . [Pipeline] withDockerContainer [2022-04-27T04:33:26.780Z] prd-ubuntu20.04-docker-8c-8g-33433 does not seem to be running inside a container [2022-04-27T04:33:26.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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 ******** ci-base-image-x86_64 cat [2022-04-27T04:33:27.243Z] $ docker top 4b7cd40ce2d309d1774286ab0fb84569f5768e4090fb786e4e4a8f1b532a9d3c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T04:33:27.613Z] + make test [2022-04-27T04:33:27.613Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-27T04:33:34.199Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-27T04:33:46.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-27T04:33:46.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-27T04:33:46.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-27T04:33:46.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.102s coverage: 23.3% of statements [2022-04-27T04:33:46.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-27T04:33:46.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements [2022-04-27T04:33:46.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.078s coverage: 78.9% of statements [2022-04-27T04:33:46.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.059s coverage: 10.8% of statements [2022-04-27T04:33:46.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.090s coverage: 60.0% of statements [2022-04-27T04:33:46.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-27T04:33:46.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-27T04:33:46.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.105s coverage: 34.8% of statements [2022-04-27T04:33:46.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-27T04:33:47.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 86.1% of statements [2022-04-27T04:33:47.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-27T04:33:47.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-27T04:33:47.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.105s coverage: 65.1% of statements [2022-04-27T04:33:47.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.913s coverage: 89.2% of statements [2022-04-27T04:33:47.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-27T04:33:47.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2022-04-27T04:33:47.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-27T04:34:05.493Z] GO111MODULE=on go vet ./... [2022-04-27T04:34:08.036Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T04:34:08.036Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T04:34:08.036Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T04:34:08.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T04:34:08.655Z] $ docker stop --time=1 4b7cd40ce2d309d1774286ab0fb84569f5768e4090fb786e4e4a8f1b532a9d3c [2022-04-27T04:34:10.660Z] $ docker rm -f 4b7cd40ce2d309d1774286ab0fb84569f5768e4090fb786e4e4a8f1b532a9d3c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T04:34:11.220Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T04:34:11.286Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-27T04:34:11.886Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T04:34:12.181Z] + ls -al . [2022-04-27T04:34:12.181Z] total 316 [2022-04-27T04:34:12.181Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 04:34 . [2022-04-27T04:34:12.181Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:32 .. [2022-04-27T04:34:12.181Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:32 .dockerignore [2022-04-27T04:34:12.181Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:32 .git [2022-04-27T04:34:12.181Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:32 .github [2022-04-27T04:34:12.181Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 27 04:32 .gitignore [2022-04-27T04:34:12.181Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 04:32 .golangci.yml [2022-04-27T04:34:12.181Z] drwx------ 3 jenkins jenkins 4096 Apr 27 04:32 .semver [2022-04-27T04:34:12.181Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 27 04:32 CHANGELOG.md [2022-04-27T04:34:12.181Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:32 GOVERNANCE.md [2022-04-27T04:34:12.181Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 27 04:32 Jenkinsfile [2022-04-27T04:34:12.181Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 04:32 LICENSE [2022-04-27T04:34:12.181Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 27 04:32 Makefile [2022-04-27T04:34:12.181Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 27 04:32 OWNERS.md [2022-04-27T04:34:12.181Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 27 04:32 README.md [2022-04-27T04:34:12.181Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 04:32 VERSION [2022-04-27T04:34:12.181Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:32 bin [2022-04-27T04:34:12.181Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 27 04:33 coverage.out [2022-04-27T04:34:12.181Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:32 example [2022-04-27T04:34:12.181Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 27 04:32 go.mod [2022-04-27T04:34:12.181Z] -rw-rw-r-- 1 jenkins jenkins 53849 Apr 27 04:32 go.sum [2022-04-27T04:34:12.181Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 27 04:32 internal [2022-04-27T04:34:12.181Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:32 openapi [2022-04-27T04:34:12.181Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:32 pkg [2022-04-27T04:34:12.181Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:32 snap [2022-04-27T04:34:12.181Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 04:32 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:34:12.484Z] + 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=267ff576d04d099c801cb5d53fb1f6359d04b69e --label arch=amd64 --label version=0.0.0 . [2022-04-27T04:34:12.484Z] Sending build context to Docker daemon 9.757MB [2022-04-27T04:34:12.484Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T04:34:12.484Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-27T04:34:12.484Z] ---> ac4b08a60d8e [2022-04-27T04:34:12.484Z] Step 3/25 : ARG MAKE=make build [2022-04-27T04:34:12.745Z] ---> Running in 3111203390c2 [2022-04-27T04:34:12.745Z] Removing intermediate container 3111203390c2 [2022-04-27T04:34:12.745Z] ---> 2117d10e6e52 [2022-04-27T04:34:12.745Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-27T04:34:12.745Z] ---> Running in 5a17c0f04118 [2022-04-27T04:34:13.005Z] Removing intermediate container 5a17c0f04118 [2022-04-27T04:34:13.005Z] ---> a5e40307f3d8 [2022-04-27T04:34:13.005Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:34:13.005Z] ---> Running in cb2e138f8f5b [2022-04-27T04:34:13.266Z] Removing intermediate container cb2e138f8f5b [2022-04-27T04:34:13.266Z] ---> dccf1643e5c7 [2022-04-27T04:34:13.266Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:34:13.266Z] ---> Running in dcf3defc881f [2022-04-27T04:34:14.209Z] Removing intermediate container dcf3defc881f [2022-04-27T04:34:14.209Z] ---> 11f27d7f20f7 [2022-04-27T04:34:14.209Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T04:34:14.209Z] ---> Running in 2d4bd2e25992 [2022-04-27T04:34:14.469Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T04:34:15.411Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T04:34:15.411Z] OK: 221 MiB in 52 packages [2022-04-27T04:34:15.984Z] Removing intermediate container 2d4bd2e25992 [2022-04-27T04:34:15.984Z] ---> 7e52c5986897 [2022-04-27T04:34:15.984Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-27T04:34:15.984Z] ---> fac738e57c67 [2022-04-27T04:34:15.984Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T04:34:15.984Z] ---> Running in eac2b1f243b8 [2022-04-27T04:34:16.555Z] Removing intermediate container eac2b1f243b8 [2022-04-27T04:34:16.555Z] ---> f4cd293f75ae [2022-04-27T04:34:16.555Z] Step 10/25 : COPY . . [2022-04-27T04:34:17.124Z] ---> a11e94b7afed [2022-04-27T04:34:17.124Z] Step 11/25 : RUN ${MAKE} [2022-04-27T04:34:17.124Z] ---> Running in 43878ec6ce1d [2022-04-27T04:34:17.383Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-27T04:34:35.486Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-27T04:34:37.397Z] Removing intermediate container 43878ec6ce1d [2022-04-27T04:34:37.397Z] ---> e982c97c8634 [2022-04-27T04:34:37.397Z] Step 12/25 : FROM alpine:3.14 [2022-04-27T04:34:37.967Z] 3.14: Pulling from library/alpine [2022-04-27T04:34:37.967Z] 8663204ce13b: Pulling fs layer [2022-04-27T04:34:38.227Z] 8663204ce13b: Verifying Checksum [2022-04-27T04:34:38.227Z] 8663204ce13b: Download complete [2022-04-27T04:34:38.227Z] 8663204ce13b: Pull complete [2022-04-27T04:34:38.227Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T04:34:38.227Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T04:34:38.227Z] ---> e04c818066af [2022-04-27T04:34:38.227Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:34:38.227Z] ---> Running in 3d0d408d6a7b [2022-04-27T04:34:38.486Z] Removing intermediate container 3d0d408d6a7b [2022-04-27T04:34:38.487Z] ---> cc37d727df4e [2022-04-27T04:34:38.487Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:34:38.487Z] ---> Running in d1f88f05fc48 [2022-04-27T04:34:39.057Z] Removing intermediate container d1f88f05fc48 [2022-04-27T04:34:39.057Z] ---> 96e06f2f6671 [2022-04-27T04:34:39.057Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-27T04:34:39.057Z] ---> Running in 30da9a3372bc [2022-04-27T04:34:39.317Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-27T04:34:40.259Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-27T04:34:40.519Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T04:34:40.519Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-27T04:34:40.519Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T04:34:40.778Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-27T04:34:40.778Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-27T04:34:40.778Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T04:34:40.778Z] OK: 8 MiB in 19 packages [2022-04-27T04:34:41.347Z] Removing intermediate container 30da9a3372bc [2022-04-27T04:34:41.347Z] ---> 95622ec5cbda [2022-04-27T04:34:41.347Z] Step 16/25 : WORKDIR / [2022-04-27T04:34:41.347Z] ---> Running in a506d60f459c [2022-04-27T04:34:41.347Z] Removing intermediate container a506d60f459c [2022-04-27T04:34:41.347Z] ---> ef529ce24732 [2022-04-27T04:34:41.347Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-27T04:34:41.607Z] ---> 4b357f08000b [2022-04-27T04:34:41.607Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-27T04:34:42.181Z] ---> b94890bc966f [2022-04-27T04:34:42.181Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-27T04:34:42.441Z] ---> ca13a4bb1f9c [2022-04-27T04:34:42.441Z] Step 20/25 : EXPOSE 59999 [2022-04-27T04:34:42.441Z] ---> Running in 261f568fcf1a [2022-04-27T04:34:42.441Z] Removing intermediate container 261f568fcf1a [2022-04-27T04:34:42.441Z] ---> 37f9ac86954f [2022-04-27T04:34:42.441Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-27T04:34:42.441Z] ---> Running in 93f07bc8e5c8 [2022-04-27T04:34:42.701Z] Removing intermediate container 93f07bc8e5c8 [2022-04-27T04:34:42.701Z] ---> f34bcb2fbcee [2022-04-27T04:34:42.701Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-27T04:34:42.701Z] ---> Running in dfd70d67ab8a [2022-04-27T04:34:42.701Z] Removing intermediate container dfd70d67ab8a [2022-04-27T04:34:42.701Z] ---> 77be3dc9f481 [2022-04-27T04:34:42.701Z] Step 23/25 : LABEL arch=amd64 [2022-04-27T04:34:42.701Z] ---> Running in 79571d6518ae [2022-04-27T04:34:42.964Z] Removing intermediate container 79571d6518ae [2022-04-27T04:34:42.964Z] ---> ff38946b75d5 [2022-04-27T04:34:42.964Z] Step 24/25 : LABEL git_sha=267ff576d04d099c801cb5d53fb1f6359d04b69e [2022-04-27T04:34:42.964Z] ---> Running in c6e771c2206a [2022-04-27T04:34:42.964Z] Removing intermediate container c6e771c2206a [2022-04-27T04:34:42.964Z] ---> f04ac8f0d3c7 [2022-04-27T04:34:42.964Z] Step 25/25 : LABEL version=0.0.0 [2022-04-27T04:34:43.224Z] ---> Running in d7bb2fc24711 [2022-04-27T04:34:43.224Z] Removing intermediate container d7bb2fc24711 [2022-04-27T04:34:43.225Z] ---> 61abf436bb64 [2022-04-27T04:34:43.225Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T04:34:43.225Z] Successfully built 61abf436bb64 [2022-04-27T04:34:43.225Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:34:43.637Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:34:43.638Z] [2022-04-27T04:34:43.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:34:43.941Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:34:43.941Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-27T04:34:43.941Z] 5eb5b503b376: Pulling fs layer [2022-04-27T04:34:43.941Z] 5c69ac0246d0: Pulling fs layer [2022-04-27T04:34:43.941Z] ec43610c2a17: Pulling fs layer [2022-04-27T04:34:43.941Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-27T04:34:43.941Z] 33b1e0a273af: Pulling fs layer [2022-04-27T04:34:43.941Z] 5d3b04190fa2: Pulling fs layer [2022-04-27T04:34:43.941Z] 2f39f015ded8: Pulling fs layer [2022-04-27T04:34:43.941Z] 3a2ae6a8a46f: Waiting [2022-04-27T04:34:43.941Z] 33b1e0a273af: Waiting [2022-04-27T04:34:43.941Z] 2f39f015ded8: Waiting [2022-04-27T04:34:43.941Z] 5d3b04190fa2: Waiting [2022-04-27T04:34:43.941Z] 5c69ac0246d0: Verifying Checksum [2022-04-27T04:34:43.941Z] 5c69ac0246d0: Download complete [2022-04-27T04:34:43.941Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-27T04:34:43.941Z] 3a2ae6a8a46f: Download complete [2022-04-27T04:34:43.941Z] 33b1e0a273af: Download complete [2022-04-27T04:34:43.941Z] 5d3b04190fa2: Verifying Checksum [2022-04-27T04:34:43.941Z] 5d3b04190fa2: Download complete [2022-04-27T04:34:43.941Z] ec43610c2a17: Verifying Checksum [2022-04-27T04:34:43.941Z] ec43610c2a17: Download complete [2022-04-27T04:34:44.200Z] 5eb5b503b376: Verifying Checksum [2022-04-27T04:34:44.200Z] 5eb5b503b376: Download complete [2022-04-27T04:34:44.768Z] 2f39f015ded8: Download complete [2022-04-27T04:34:45.337Z] 5eb5b503b376: Pull complete [2022-04-27T04:34:45.596Z] 5c69ac0246d0: Pull complete [2022-04-27T04:34:46.166Z] ec43610c2a17: Pull complete [2022-04-27T04:34:46.166Z] 3a2ae6a8a46f: Pull complete [2022-04-27T04:34:46.426Z] 33b1e0a273af: Pull complete [2022-04-27T04:34:46.426Z] 5d3b04190fa2: Pull complete [2022-04-27T04:34:51.710Z] 2f39f015ded8: Pull complete [2022-04-27T04:34:51.710Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-27T04:34:51.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:34:51.710Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-27T04:34:51.779Z] prd-ubuntu20.04-docker-8c-8g-33433 does not seem to be running inside a container [2022-04-27T04:34:51.821Z] $ 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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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-lftools-log-publisher:latest cat [2022-04-27T04:34:53.422Z] $ docker top a6f6dbbcca6cb1740cf6d7e89fe7075e9d821d7296afb2b499c33854260c4754 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:34:53.814Z] ---> job-cost.sh [2022-04-27T04:34:53.814Z] lf-activate-venv: SKIPPING [2022-04-27T04:34:53.814Z] INFO: No Stack... [2022-04-27T04:34:54.073Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T04:34:54.645Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T04:34:54.941Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/cost.csv [2022-04-27T04:34:54.941Z] + cut -d, -f6 [Pipeline] lock [2022-04-27T04:34:54.958Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] [2022-04-27T04:34:54.964Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] did not exist. Created. [2022-04-27T04:34:54.964Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T04:34:55.273Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-27T04:34:55.308Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T04:34:55.314Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T04:34:55.338Z] $ docker stop --time=1 a6f6dbbcca6cb1740cf6d7e89fe7075e9d821d7296afb2b499c33854260c4754 [2022-04-27T04:34:56.520Z] $ docker rm -f a6f6dbbcca6cb1740cf6d7e89fe7075e9d821d7296afb2b499c33854260c4754 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-27T04:37:45.738Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33434 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] ws [2022-04-27T04:37:45.751Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2022-04-27T04:37:46.166Z] The recommended git tool is: git [2022-04-27T04:37:53.586Z] using credential edgex-jenkins-ssh [2022-04-27T04:37:53.604Z] Cloning the remote Git repository [2022-04-27T04:37:53.668Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-27T04:37:53.793Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2022-04-27T04:37:53.946Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-27T04:37:53.947Z] > git --version # timeout=10 [2022-04-27T04:37:53.995Z] > git --version # 'git version 2.25.1' [2022-04-27T04:37:53.997Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T04:37:54.095Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T04:37:55.576Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-27T04:37:55.604Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T04:37:55.638Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-27T04:37:55.677Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-27T04:37:55.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T04:37:55.692Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-27T04:37:56.276Z] Merging remotes/origin/main commit 99a726dbba9fddcd6b6c26c7337937a12db69607 into PR head commit 267ff576d04d099c801cb5d53fb1f6359d04b69e [2022-04-27T04:37:56.540Z] Merge succeeded, producing 267ff576d04d099c801cb5d53fb1f6359d04b69e [2022-04-27T04:37:56.540Z] Checking out Revision 267ff576d04d099c801cb5d53fb1f6359d04b69e (PR-1144) [2022-04-27T04:37:56.298Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T04:37:56.315Z] > git checkout -f 267ff576d04d099c801cb5d53fb1f6359d04b69e # timeout=10 [2022-04-27T04:37:56.432Z] > git remote # timeout=10 [2022-04-27T04:37:56.453Z] > git config --get remote.origin.url # timeout=10 [2022-04-27T04:37:56.483Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T04:37:56.497Z] > git merge 99a726dbba9fddcd6b6c26c7337937a12db69607 # timeout=10 [2022-04-27T04:37:56.526Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-27T04:37:56.551Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T04:37:56.564Z] > git checkout -f 267ff576d04d099c801cb5d53fb1f6359d04b69e # timeout=10 [2022-04-27T04:38:00.932Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T04:38:01.901Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-27T04:38:01.901Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T04:38:01.901Z] Dload Upload Total Spent Left Speed [2022-04-27T04:38:01.901Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 68063 0 --:--:-- --:--:-- --:--:-- 67674 100 11843 100 11843 0 0 67289 0 --:--:-- --:--:-- --:--:-- 67289 [Pipeline] sh [2022-04-27T04:38:02.475Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-27T04:38:02.823Z] + sudo tee /etc/docker/daemon.new [2022-04-27T04:38:02.823Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-27T04:38:02.823Z] { [2022-04-27T04:38:02.823Z] "registry-mirrors": [ [2022-04-27T04:38:02.823Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-27T04:38:02.823Z] ], [2022-04-27T04:38:02.823Z] "bip": "10.250.0.254/24", [2022-04-27T04:38:02.823Z] "hosts": [ [2022-04-27T04:38:02.823Z] "tcp://0.0.0.0:5555", [2022-04-27T04:38:02.823Z] "unix:///var/run/docker.sock" [2022-04-27T04:38:02.823Z] ], [2022-04-27T04:38:02.823Z] "mtu": 1458, [2022-04-27T04:38:02.823Z] "selinux-enabled": true, [2022-04-27T04:38:02.823Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-27T04:38:02.823Z] } [Pipeline] sh [2022-04-27T04:38:03.230Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-27T04:38:03.588Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T04:38:21.941Z] provisioning config files... [2022-04-27T04:38:21.970Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config2176466689585244251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:38:22.352Z] ---> docker-login.sh [2022-04-27T04:38:22.352Z] nexus3.edgexfoundry.org:10001 [2022-04-27T04:38:22.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:38:23.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:38:23.228Z] Configure a credential helper to remove this warning. See [2022-04-27T04:38:23.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:38:23.228Z] [2022-04-27T04:38:23.228Z] Login Succeeded [2022-04-27T04:38:23.228Z] nexus3.edgexfoundry.org:10002 [2022-04-27T04:38:23.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:38:23.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:38:23.830Z] Configure a credential helper to remove this warning. See [2022-04-27T04:38:23.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:38:23.830Z] [2022-04-27T04:38:23.830Z] Login Succeeded [2022-04-27T04:38:23.830Z] nexus3.edgexfoundry.org:10003 [2022-04-27T04:38:24.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:38:24.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:38:24.446Z] Configure a credential helper to remove this warning. See [2022-04-27T04:38:24.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:38:24.446Z] [2022-04-27T04:38:24.446Z] Login Succeeded [2022-04-27T04:38:24.446Z] nexus3.edgexfoundry.org:10004 [2022-04-27T04:38:24.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:38:24.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:38:24.999Z] Configure a credential helper to remove this warning. See [2022-04-27T04:38:24.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:38:24.999Z] [2022-04-27T04:38:24.999Z] Login Succeeded [2022-04-27T04:38:24.999Z] docker.io [2022-04-27T04:38:25.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:38:25.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:38:25.875Z] Configure a credential helper to remove this warning. See [2022-04-27T04:38:25.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:38:25.875Z] [2022-04-27T04:38:25.875Z] Login Succeeded [2022-04-27T04:38:25.875Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T04:38:25.894Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T04:38:26.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T04:38:26.422Z] ========================================================= [2022-04-27T04:38:26.422Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-27T04:38:26.422Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:38:26.781Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-27T04:38:27.393Z] Sending build context to Docker daemon 5.199MB [2022-04-27T04:38:27.393Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T04:38:27.393Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-27T04:38:27.669Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-27T04:38:27.669Z] 9b3977197b4f: Pulling fs layer [2022-04-27T04:38:27.669Z] 1a89e8eeedd5: Pulling fs layer [2022-04-27T04:38:27.669Z] 94645a83ff95: Pulling fs layer [2022-04-27T04:38:27.669Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-27T04:38:27.670Z] 0c92f367c5e7: Pulling fs layer [2022-04-27T04:38:27.670Z] 3096ccb668a1: Pulling fs layer [2022-04-27T04:38:27.670Z] e8cf19c19ddd: Pulling fs layer [2022-04-27T04:38:27.670Z] a4caa8a26152: Pulling fs layer [2022-04-27T04:38:27.670Z] 0c92f367c5e7: Waiting [2022-04-27T04:38:27.670Z] 3096ccb668a1: Waiting [2022-04-27T04:38:27.670Z] a4caa8a26152: Waiting [2022-04-27T04:38:27.670Z] e8cf19c19ddd: Waiting [2022-04-27T04:38:27.670Z] 3f3a8bcf1eab: Waiting [2022-04-27T04:38:27.670Z] 94645a83ff95: Verifying Checksum [2022-04-27T04:38:27.670Z] 94645a83ff95: Download complete [2022-04-27T04:38:27.670Z] 1a89e8eeedd5: Download complete [2022-04-27T04:38:27.670Z] 0c92f367c5e7: Verifying Checksum [2022-04-27T04:38:27.670Z] 0c92f367c5e7: Download complete [2022-04-27T04:38:27.670Z] 3096ccb668a1: Download complete [2022-04-27T04:38:27.670Z] 9b3977197b4f: Verifying Checksum [2022-04-27T04:38:27.670Z] 9b3977197b4f: Download complete [2022-04-27T04:38:27.670Z] e8cf19c19ddd: Verifying Checksum [2022-04-27T04:38:27.670Z] e8cf19c19ddd: Download complete [2022-04-27T04:38:28.671Z] 9b3977197b4f: Pull complete [2022-04-27T04:38:29.280Z] 1a89e8eeedd5: Pull complete [2022-04-27T04:38:29.559Z] 94645a83ff95: Pull complete [2022-04-27T04:38:29.835Z] a4caa8a26152: Verifying Checksum [2022-04-27T04:38:29.835Z] a4caa8a26152: Download complete [2022-04-27T04:38:30.436Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-27T04:38:30.436Z] 3f3a8bcf1eab: Download complete [2022-04-27T04:38:42.888Z] 3f3a8bcf1eab: Pull complete [2022-04-27T04:38:42.888Z] 0c92f367c5e7: Pull complete [2022-04-27T04:38:43.163Z] 3096ccb668a1: Pull complete [2022-04-27T04:38:43.436Z] e8cf19c19ddd: Pull complete [2022-04-27T04:38:50.181Z] a4caa8a26152: Pull complete [2022-04-27T04:38:50.181Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-27T04:38:50.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-27T04:38:50.181Z] ---> 725f1c02e7f9 [2022-04-27T04:38:50.181Z] Step 3/11 : ARG MAKE=make build [2022-04-27T04:38:50.780Z] ---> Running in 2c7921846bc8 [2022-04-27T04:38:51.055Z] Removing intermediate container 2c7921846bc8 [2022-04-27T04:38:51.055Z] ---> 0efe970c719c [2022-04-27T04:38:51.055Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-27T04:38:51.333Z] ---> Running in 5ee9ee0c6c1a [2022-04-27T04:38:51.608Z] Removing intermediate container 5ee9ee0c6c1a [2022-04-27T04:38:51.608Z] ---> 77ce1f820d6e [2022-04-27T04:38:51.608Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:38:51.608Z] ---> Running in 0dadff25168d [2022-04-27T04:38:51.909Z] Removing intermediate container 0dadff25168d [2022-04-27T04:38:51.909Z] ---> 62d95b304863 [2022-04-27T04:38:51.909Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:38:52.186Z] ---> Running in 7c7e8ae9d9d9 [2022-04-27T04:38:54.177Z] Removing intermediate container 7c7e8ae9d9d9 [2022-04-27T04:38:54.177Z] ---> a578859e8c9c [2022-04-27T04:38:54.177Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T04:38:54.177Z] ---> Running in b5ba74a8dbe2 [2022-04-27T04:38:56.168Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T04:38:57.176Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T04:38:58.164Z] OK: 220 MiB in 52 packages [2022-04-27T04:38:58.772Z] Removing intermediate container b5ba74a8dbe2 [2022-04-27T04:38:58.772Z] ---> 2e415041b092 [2022-04-27T04:38:58.772Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-27T04:38:59.377Z] ---> e864222754b7 [2022-04-27T04:38:59.377Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T04:38:59.377Z] ---> Running in 97211d4f50ab [2022-04-27T04:39:55.996Z] Removing intermediate container 97211d4f50ab [2022-04-27T04:39:55.996Z] ---> 99773b00886b [2022-04-27T04:39:55.996Z] Step 10/11 : COPY . . [2022-04-27T04:39:55.996Z] ---> 39e6a547d428 [2022-04-27T04:39:55.996Z] Step 11/11 : RUN ${MAKE} [2022-04-27T04:39:55.996Z] ---> Running in a70d01f75c39 [2022-04-27T04:39:55.996Z] noop [2022-04-27T04:39:55.996Z] Removing intermediate container a70d01f75c39 [2022-04-27T04:39:55.996Z] ---> 7cb919de6aed [2022-04-27T04:39:55.996Z] Successfully built 7cb919de6aed [2022-04-27T04:39:55.996Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:39:56.349Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T04:39:56.349Z] . [Pipeline] withDockerContainer [2022-04-27T04:39:56.613Z] prd-ubuntu20.04-docker-arm64-4c-16g-33434 does not seem to be running inside a container [2022-04-27T04:39:56.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat [2022-04-27T04:39:58.080Z] $ docker top 3c6102c37e3817fcea6286f2c79170ae560b764259d2cd5a84cc6e6e81c573c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T04:39:58.992Z] + go version [2022-04-27T04:39:58.992Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-27T04:39:59.021Z] $ docker stop --time=1 3c6102c37e3817fcea6286f2c79170ae560b764259d2cd5a84cc6e6e81c573c4 [2022-04-27T04:40:00.696Z] $ docker rm -f 3c6102c37e3817fcea6286f2c79170ae560b764259d2cd5a84cc6e6e81c573c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:40:01.317Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T04:40:01.317Z] . [Pipeline] withDockerContainer [2022-04-27T04:40:01.546Z] prd-ubuntu20.04-docker-arm64-4c-16g-33434 does not seem to be running inside a container [2022-04-27T04:40:01.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat [2022-04-27T04:40:02.956Z] $ docker top 4f0b840b21093d9c722a533e4c7206e85ec878e5caca8f1d80f44dd5e23f375c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T04:40:03.875Z] + make test [2022-04-27T04:40:03.875Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-27T04:40:36.263Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-27T04:42:28.160Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-27T04:42:28.160Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-27T04:42:28.160Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-27T04:42:31.584Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.385s coverage: 23.3% of statements [2022-04-27T04:42:31.584Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-27T04:42:31.584Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.258s coverage: 27.6% of statements [2022-04-27T04:42:31.584Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.292s coverage: 78.9% of statements [2022-04-27T04:42:31.584Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.257s coverage: 10.8% of statements [2022-04-27T04:42:37.033Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.372s coverage: 60.0% of statements [2022-04-27T04:42:37.033Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-27T04:42:37.033Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-27T04:42:39.669Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.389s coverage: 34.8% of statements [2022-04-27T04:42:39.669Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-27T04:42:41.665Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.287s coverage: 86.1% of statements [2022-04-27T04:42:41.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-27T04:42:41.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-27T04:42:41.665Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.473s coverage: 65.1% of statements [2022-04-27T04:42:45.059Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.206s coverage: 89.2% of statements [2022-04-27T04:42:45.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-27T04:42:47.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.250s coverage: 4.7% of statements [2022-04-27T04:42:47.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-27T04:42:48.056Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-27T04:42:48.056Z] GO111MODULE=on go vet ./... [2022-04-27T04:44:25.098Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T04:44:25.098Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T04:44:25.098Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T04:44:25.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T04:44:25.139Z] $ docker stop --time=1 4f0b840b21093d9c722a533e4c7206e85ec878e5caca8f1d80f44dd5e23f375c [2022-04-27T04:44:26.920Z] $ docker rm -f 4f0b840b21093d9c722a533e4c7206e85ec878e5caca8f1d80f44dd5e23f375c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T04:44:28.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T04:44:28.297Z] Warning: overwriting stash ‘coverage-report’ [2022-04-27T04:44:28.905Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T04:44:29.306Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T04:44:29.640Z] + ls -al . [2022-04-27T04:44:29.640Z] total 312 [2022-04-27T04:44:29.640Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 04:44 . [2022-04-27T04:44:29.640Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:37 .. [2022-04-27T04:44:29.640Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:37 .dockerignore [2022-04-27T04:44:29.640Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:38 .git [2022-04-27T04:44:29.640Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:37 .github [2022-04-27T04:44:29.640Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 27 04:37 .gitignore [2022-04-27T04:44:29.640Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 04:37 .golangci.yml [2022-04-27T04:44:29.640Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 27 04:37 CHANGELOG.md [2022-04-27T04:44:29.640Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:37 GOVERNANCE.md [2022-04-27T04:44:29.640Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 27 04:37 Jenkinsfile [2022-04-27T04:44:29.640Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 04:37 LICENSE [2022-04-27T04:44:29.640Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 27 04:37 Makefile [2022-04-27T04:44:29.640Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 27 04:37 OWNERS.md [2022-04-27T04:44:29.640Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 27 04:37 README.md [2022-04-27T04:44:29.640Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 04:32 VERSION [2022-04-27T04:44:29.640Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:37 bin [2022-04-27T04:44:29.640Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 27 04:42 coverage.out [2022-04-27T04:44:29.640Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:37 example [2022-04-27T04:44:29.640Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 27 04:37 go.mod [2022-04-27T04:44:29.640Z] -rw-rw-r-- 1 jenkins jenkins 53849 Apr 27 04:37 go.sum [2022-04-27T04:44:29.640Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 27 04:37 internal [2022-04-27T04:44:29.640Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:37 openapi [2022-04-27T04:44:29.640Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:37 pkg [2022-04-27T04:44:29.640Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:37 snap [2022-04-27T04:44:29.640Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 04:37 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:44:29.986Z] + 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=267ff576d04d099c801cb5d53fb1f6359d04b69e --label arch=arm64 --label version=0.0.0 . [2022-04-27T04:44:30.580Z] Sending build context to Docker daemon 5.33MB [2022-04-27T04:44:30.580Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T04:44:30.580Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-27T04:44:30.580Z] ---> 7cb919de6aed [2022-04-27T04:44:30.580Z] Step 3/25 : ARG MAKE=make build [2022-04-27T04:44:30.580Z] ---> Running in 676c7dcac059 [2022-04-27T04:44:30.860Z] Removing intermediate container 676c7dcac059 [2022-04-27T04:44:30.860Z] ---> 2aa33f322855 [2022-04-27T04:44:30.860Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-27T04:44:31.164Z] ---> Running in 5314ce2d5259 [2022-04-27T04:44:31.438Z] Removing intermediate container 5314ce2d5259 [2022-04-27T04:44:31.438Z] ---> 8c1f07f95790 [2022-04-27T04:44:31.438Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:44:31.438Z] ---> Running in be2d2befbd8e [2022-04-27T04:44:31.711Z] Removing intermediate container be2d2befbd8e [2022-04-27T04:44:31.711Z] ---> 309e94a0bc9c [2022-04-27T04:44:31.711Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:44:31.711Z] ---> Running in 99c05daa4c53 [2022-04-27T04:44:33.686Z] Removing intermediate container 99c05daa4c53 [2022-04-27T04:44:33.686Z] ---> cce1c6685716 [2022-04-27T04:44:33.686Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T04:44:33.686Z] ---> Running in d746d34dae0b [2022-04-27T04:44:34.661Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T04:44:35.641Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T04:44:36.236Z] OK: 220 MiB in 52 packages [2022-04-27T04:44:37.216Z] Removing intermediate container d746d34dae0b [2022-04-27T04:44:37.216Z] ---> 6090a8650db0 [2022-04-27T04:44:37.216Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-27T04:44:37.813Z] ---> 140f7b394a87 [2022-04-27T04:44:37.813Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T04:44:37.813Z] ---> Running in a45bc8cb0239 [2022-04-27T04:44:39.784Z] Removing intermediate container a45bc8cb0239 [2022-04-27T04:44:39.784Z] ---> 2787ab999233 [2022-04-27T04:44:39.784Z] Step 10/25 : COPY . . [2022-04-27T04:44:40.769Z] ---> 06e7f4a1fad3 [2022-04-27T04:44:40.769Z] Step 11/25 : RUN ${MAKE} [2022-04-27T04:44:41.050Z] ---> Running in 671dad914171 [2022-04-27T04:44:42.040Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-27T04:46:48.911Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-27T04:46:48.911Z] Removing intermediate container 671dad914171 [2022-04-27T04:46:48.911Z] ---> ed6c2e0f4200 [2022-04-27T04:46:48.911Z] Step 12/25 : FROM alpine:3.14 [2022-04-27T04:46:48.911Z] 3.14: Pulling from library/alpine [2022-04-27T04:46:48.911Z] 455c02918c45: Pulling fs layer [2022-04-27T04:46:48.911Z] 455c02918c45: Verifying Checksum [2022-04-27T04:46:48.911Z] 455c02918c45: Download complete [2022-04-27T04:46:48.911Z] 455c02918c45: Pull complete [2022-04-27T04:46:48.911Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T04:46:48.911Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T04:46:48.911Z] ---> ac73e934f311 [2022-04-27T04:46:48.911Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:46:49.185Z] ---> Running in effd8043d423 [2022-04-27T04:46:49.458Z] Removing intermediate container effd8043d423 [2022-04-27T04:46:49.458Z] ---> aee8d9495c78 [2022-04-27T04:46:49.458Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:46:49.458Z] ---> Running in 0d4d5cd5a01e [2022-04-27T04:46:51.431Z] Removing intermediate container 0d4d5cd5a01e [2022-04-27T04:46:51.431Z] ---> 06e180f23a76 [2022-04-27T04:46:51.431Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-27T04:46:51.431Z] ---> Running in 041d386e5aa0 [2022-04-27T04:46:52.407Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-27T04:46:53.386Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-27T04:46:53.982Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T04:46:54.254Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-27T04:46:54.254Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T04:46:54.529Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-27T04:46:54.529Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-27T04:46:54.529Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T04:46:54.529Z] OK: 8 MiB in 19 packages [2022-04-27T04:46:55.512Z] Removing intermediate container 041d386e5aa0 [2022-04-27T04:46:55.512Z] ---> 7b42412d67b1 [2022-04-27T04:46:55.512Z] Step 16/25 : WORKDIR / [2022-04-27T04:46:55.512Z] ---> Running in 2ad428dcfc0a [2022-04-27T04:46:55.784Z] Removing intermediate container 2ad428dcfc0a [2022-04-27T04:46:55.784Z] ---> 93a718907331 [2022-04-27T04:46:55.784Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-27T04:46:56.380Z] ---> d8e4256ec8fb [2022-04-27T04:46:56.380Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-27T04:46:57.817Z] ---> 2abb2f80e5fb [2022-04-27T04:46:57.817Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-27T04:46:58.414Z] ---> f025080bd2f1 [2022-04-27T04:46:58.414Z] Step 20/25 : EXPOSE 59999 [2022-04-27T04:46:58.689Z] ---> Running in f937622ceb81 [2022-04-27T04:46:58.962Z] Removing intermediate container f937622ceb81 [2022-04-27T04:46:58.962Z] ---> 05d59c02f497 [2022-04-27T04:46:58.962Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-27T04:46:58.962Z] ---> Running in a4c38cea4162 [2022-04-27T04:46:59.237Z] Removing intermediate container a4c38cea4162 [2022-04-27T04:46:59.237Z] ---> 92f894f7ea7e [2022-04-27T04:46:59.237Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-27T04:46:59.524Z] ---> Running in 6e15cb4f4912 [2022-04-27T04:46:59.795Z] Removing intermediate container 6e15cb4f4912 [2022-04-27T04:46:59.795Z] ---> bde71e5e4875 [2022-04-27T04:46:59.795Z] Step 23/25 : LABEL arch=arm64 [2022-04-27T04:46:59.795Z] ---> Running in 0040481327ad [2022-04-27T04:47:00.076Z] Removing intermediate container 0040481327ad [2022-04-27T04:47:00.076Z] ---> ed8b13cf6a07 [2022-04-27T04:47:00.076Z] Step 24/25 : LABEL git_sha=267ff576d04d099c801cb5d53fb1f6359d04b69e [2022-04-27T04:47:00.076Z] ---> Running in 5a84a951a0de [2022-04-27T04:47:00.677Z] Removing intermediate container 5a84a951a0de [2022-04-27T04:47:00.677Z] ---> c2526e593ea3 [2022-04-27T04:47:00.677Z] Step 25/25 : LABEL version=0.0.0 [2022-04-27T04:47:00.677Z] ---> Running in 420dfd4070cd [2022-04-27T04:47:00.951Z] Removing intermediate container 420dfd4070cd [2022-04-27T04:47:00.951Z] ---> 1187840a48d2 [2022-04-27T04:47:00.951Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T04:47:00.951Z] Successfully built 1187840a48d2 [2022-04-27T04:47:00.951Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:47:01.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T04:47:01.385Z] [2022-04-27T04:47:01.385Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:47:01.772Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T04:47:02.055Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-27T04:47:02.055Z] 8998bd30e6a1: Pulling fs layer [2022-04-27T04:47:02.055Z] 04944245beec: Pulling fs layer [2022-04-27T04:47:02.055Z] 699f458cf7ca: Pulling fs layer [2022-04-27T04:47:02.055Z] 765212b225bb: Pulling fs layer [2022-04-27T04:47:02.055Z] f23df028b6ca: Pulling fs layer [2022-04-27T04:47:02.055Z] d65c8cfc05b1: Pulling fs layer [2022-04-27T04:47:02.055Z] 2437ff75d9bd: Pulling fs layer [2022-04-27T04:47:02.055Z] f23df028b6ca: Waiting [2022-04-27T04:47:02.055Z] d65c8cfc05b1: Waiting [2022-04-27T04:47:02.055Z] 765212b225bb: Waiting [2022-04-27T04:47:02.055Z] 2437ff75d9bd: Waiting [2022-04-27T04:47:02.055Z] 04944245beec: Download complete [2022-04-27T04:47:02.055Z] 765212b225bb: Verifying Checksum [2022-04-27T04:47:02.055Z] 765212b225bb: Download complete [2022-04-27T04:47:02.361Z] f23df028b6ca: Verifying Checksum [2022-04-27T04:47:02.361Z] f23df028b6ca: Download complete [2022-04-27T04:47:02.361Z] d65c8cfc05b1: Verifying Checksum [2022-04-27T04:47:02.361Z] d65c8cfc05b1: Download complete [2022-04-27T04:47:02.361Z] 699f458cf7ca: Verifying Checksum [2022-04-27T04:47:02.361Z] 699f458cf7ca: Download complete [2022-04-27T04:47:02.648Z] 8998bd30e6a1: Download complete [2022-04-27T04:47:05.277Z] 2437ff75d9bd: Verifying Checksum [2022-04-27T04:47:05.277Z] 2437ff75d9bd: Download complete [2022-04-27T04:47:07.253Z] 8998bd30e6a1: Pull complete [2022-04-27T04:47:07.851Z] 04944245beec: Pull complete [2022-04-27T04:47:09.286Z] 699f458cf7ca: Pull complete [2022-04-27T04:47:09.286Z] 765212b225bb: Pull complete [2022-04-27T04:47:10.280Z] f23df028b6ca: Pull complete [2022-04-27T04:47:10.555Z] d65c8cfc05b1: Pull complete [2022-04-27T04:47:25.638Z] 2437ff75d9bd: Pull complete [2022-04-27T04:47:25.638Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-27T04:47:25.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T04:47:25.638Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-27T04:47:25.909Z] prd-ubuntu20.04-docker-arm64-4c-16g-33434 does not seem to be running inside a container [2022-04-27T04:47:25.997Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-lftools-log-publisher:arm64 cat [2022-04-27T04:47:28.836Z] $ docker top 587c3ec3910506e876e0b771968e34fe2a0544ea043332d678e1fa0ea14b7df4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:47:29.775Z] ---> job-cost.sh [2022-04-27T04:47:29.775Z] lf-activate-venv: SKIPPING [2022-04-27T04:47:29.775Z] INFO: No Stack... [2022-04-27T04:47:30.373Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-27T04:47:31.350Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T04:47:32.013Z] + + catcut /w/workspace/device-sdk-go/5/archives/cost.csv -d, [2022-04-27T04:47:32.013Z] -f6 [Pipeline] lock [2022-04-27T04:47:32.080Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] [2022-04-27T04:47:32.090Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] did not exist. Created. [2022-04-27T04:47:32.090Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T04:47:32.776Z] /w/workspace/device-sdk-go/5@tmp/durable-7b0a9cfb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-27T04:47:33.459Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-27T04:47:33.487Z] Warning: overwriting stash ‘stack-cost’ [2022-04-27T04:47:33.550Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T04:47:33.558Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T04:47:33.583Z] $ docker stop --time=1 587c3ec3910506e876e0b771968e34fe2a0544ea043332d678e1fa0ea14b7df4 [2022-04-27T04:47:35.101Z] $ docker rm -f 587c3ec3910506e876e0b771968e34fe2a0544ea043332d678e1fa0ea14b7df4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-27T04:47:35.535Z] provisioning config files... [2022-04-27T04:47:35.571Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config6637820738659439466tmp [Pipeline] { [Pipeline] sh [2022-04-27T04:47:35.869Z] + set +x [2022-04-27T04:47:35.869Z] + + curl -s https://codecov.io/bash [2022-04-27T04:47:35.869Z] bash -s -- [2022-04-27T04:47:35.869Z] [2022-04-27T04:47:35.869Z] _____ _ [2022-04-27T04:47:35.869Z] / ____| | | [2022-04-27T04:47:35.869Z] | | ___ __| | ___ ___ _____ __ [2022-04-27T04:47:35.869Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-27T04:47:35.869Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-27T04:47:35.869Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-27T04:47:35.869Z] Bash-1.0.6 [2022-04-27T04:47:35.869Z] [2022-04-27T04:47:35.869Z] [2022-04-27T04:47:35.869Z] ==> git version 2.25.1 found [2022-04-27T04:47:35.869Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-27T04:47:35.869Z] Release-Date: 2020-01-08 [2022-04-27T04:47:35.869Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-27T04:47:35.869Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-27T04:47:35.869Z] ==> Jenkins CI detected. [2022-04-27T04:47:35.869Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-04-27T04:47:35.869Z] project root: . [2022-04-27T04:47:35.869Z] --> token set from env [2022-04-27T04:47:35.869Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-27T04:47:35.869Z] ==> Running gcov in . (disable via -X gcov) [2022-04-27T04:47:35.869Z] ==> Python coveragepy not found [2022-04-27T04:47:35.869Z] ==> Searching for coverage reports in: [2022-04-27T04:47:35.869Z] + . [2022-04-27T04:47:35.869Z] -> Found 1 reports [2022-04-27T04:47:35.869Z] ==> Detecting git/mercurial file structure [2022-04-27T04:47:35.869Z] ==> Reading reports [2022-04-27T04:47:35.869Z] + ./coverage.out bytes=130819 [2022-04-27T04:47:36.129Z] ==> Appending adjustments [2022-04-27T04:47:36.129Z] https://docs.codecov.io/docs/fixing-reports [2022-04-27T04:47:36.389Z] + Found adjustments [2022-04-27T04:47:36.389Z] ==> Gzipping contents [2022-04-27T04:47:36.389Z] 20K /tmp/codecov.xRWxap.gz [2022-04-27T04:47:36.389Z] ==> Uploading reports [2022-04-27T04:47:36.389Z] url: https://codecov.io [2022-04-27T04:47:36.389Z] query: branch=PR-1144&commit=267ff576d04d099c801cb5d53fb1f6359d04b69e&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-04-27T04:47:36.389Z] -> Pinging Codecov [2022-04-27T04:47:36.389Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1144&commit=267ff576d04d099c801cb5d53fb1f6359d04b69e&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-04-27T04:47:36.650Z] -> Uploading to [2022-04-27T04:47:36.650Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-27/7E55EF52A471D76F132DFD9A03CDDE97/267ff576d04d099c801cb5d53fb1f6359d04b69e/369a61a1-ae18-4407-944a-03dbc64b1a5d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T044736Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9cbc54e280185ff0af94deef1b2cbf64001282b9511c54bc4fc7a92e23800b57 [2022-04-27T04:47:36.650Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T04:47:36.650Z] Dload Upload Total Spent Left Speed [2022-04-27T04:47:36.911Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16823 0 0 100 16823 0 80492 --:--:-- --:--:-- --:--:-- 80492 [2022-04-27T04:47:36.911Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/267ff576d04d099c801cb5d53fb1f6359d04b69e [Pipeline] } [2022-04-27T04:47:36.920Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-27T04:47:37.653Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives ] [2022-04-27T04:47:37.653Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-27T04:47:37.653Z] total 16 [2022-04-27T04:47:37.653Z] drwxr-xr-x 3 root root 4096 Apr 27 04:34 . [2022-04-27T04:47:37.653Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 04:34 .. [2022-04-27T04:47:37.653Z] drwxr-xr-x 2 root root 4096 Apr 27 04:34 cost [2022-04-27T04:47:37.653Z] -rw-r--r-- 1 root root 85 Apr 27 04:34 cost.csv [2022-04-27T04:47:37.653Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-27T04:47:37.653Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-27T04:47:37.653Z] total 16 [2022-04-27T04:47:37.653Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 04:34 . [2022-04-27T04:47:37.653Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 04:34 .. [2022-04-27T04:47:37.653Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 04:34 cost [2022-04-27T04:47:37.653Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 27 04:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:47:37.950Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:47:38.823Z] ---> package-listing.sh [2022-04-27T04:47:38.823Z] ++ facter osfamily [2022-04-27T04:47:38.823Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-27T04:47:39.086Z] + OS_FAMILY=debian [2022-04-27T04:47:39.086Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-04-27T04:47:39.086Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-27T04:47:39.086Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-27T04:47:39.086Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-27T04:47:39.086Z] + PACKAGES=/tmp/packages_start.txt [2022-04-27T04:47:39.086Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-04-27T04:47:39.086Z] + PACKAGES=/tmp/packages_end.txt [2022-04-27T04:47:39.086Z] + case "${OS_FAMILY}" in [2022-04-27T04:47:39.086Z] + dpkg -l [2022-04-27T04:47:39.086Z] + grep '^ii' [2022-04-27T04:47:39.086Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-27T04:47:39.086Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-27T04:47:39.086Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-27T04:47:39.086Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-04-27T04:47:39.086Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [2022-04-27T04:47:39.086Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [Pipeline] echo [2022-04-27T04:47:39.100Z] 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-1144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-27T04:47:39.384Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:47:39.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:47:39.947Z] . [Pipeline] withDockerContainer [2022-04-27T04:47:40.020Z] prd-ubuntu20.04-docker-8c-8g-33433 does not seem to be running inside a container [2022-04-27T04:47:40.061Z] $ 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-1144/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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-27T04:47:40.323Z] $ docker top 5d1c45882d18000119f2ac2e2dcfd3d150a883c74fdc004b866fd6a6ab32daaf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T04:47:40.698Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-27T04:47:40.993Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-27T04:47:41.284Z] + ls /var/log/sa-host [2022-04-27T04:47:41.284Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T04:47:41.367Z] provisioning config files... [2022-04-27T04:47:41.377Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config6482785817086491049tmp [Pipeline] { [Pipeline] echo [2022-04-27T04:47:41.393Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:47:41.688Z] ---> create-netrc.sh [Pipeline] } [2022-04-27T04:47:41.697Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:47:42.032Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-27T04:47:42.042Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:47:42.331Z] ---> sudo-logs.sh [2022-04-27T04:47:42.331Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-27T04:47:42.356Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:47:42.645Z] ---> job-cost.sh [2022-04-27T04:47:42.645Z] lf-activate-venv: SKIPPING [2022-04-27T04:47:42.645Z] DEBUG: total: 0.2199999988079071 [2022-04-27T04:47:42.645Z] INFO: Retrieving Stack Cost... [2022-04-27T04:47:43.216Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T04:47:43.477Z] INFO: Archiving Costs [Pipeline] echo [2022-04-27T04:47:43.493Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:47:43.782Z] ---> logs-deploy.sh [2022-04-27T04:47:43.782Z] lf-activate-venv: SKIPPING [2022-04-27T04:47:43.782Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1144/5 [2022-04-27T04:47:43.782Z] INFO: archiving workspace using pattern(s): [2022-04-27T04:47:44.725Z] Archives upload complete. [2022-04-27T04:47:44.989Z] INFO: archiving logs to Nexus