Pull request #1144 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 394fc05ea4364c0913f6dcfc9df39709a995a7f5+f8b8abfef3f0264dda75330ad33f104d8ec6ed98 (d497e4b74b52d5d8b7430882fec9831389029886) 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-ssh12118720419362632855.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-ssh12977877703522058808.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-ssh16884206491599012202.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-ssh16253670449981754082.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-ssh168718416000434823.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-23572 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 f8b8abfef3f0264dda75330ad33f104d8ec6ed98 into PR head commit 394fc05ea4364c0913f6dcfc9df39709a995a7f5 Merge succeeded, producing 394fc05ea4364c0913f6dcfc9df39709a995a7f5 Checking out Revision 394fc05ea4364c0913f6dcfc9df39709a995a7f5 (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 394fc05ea4364c0913f6dcfc9df39709a995a7f5 # 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 f8b8abfef3f0264dda75330ad33f104d8ec6ed98 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 394fc05ea4364c0913f6dcfc9df39709a995a7f5 # 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] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-26T04:22:07.756Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T04:22:07.803Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T04:22:07.818Z] ========================================================= [2022-04-26T04:22:07.818Z] EdgeX Global Pipelines Version Info [2022-04-26T04:22:07.818Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 # timeout=10 [2022-04-26T04:22:08.568Z] ------------------- [2022-04-26T04:22:08.568Z] stable info: [2022-04-26T04:22:08.568Z] ------------------- [2022-04-26T04:22:08.568Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T04:22:08.568Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T04:22:08.568Z] Message: update stable to v1.0.221 [2022-04-26T04:22:09.139Z] ------------------- [2022-04-26T04:22:09.139Z] experimental info: [2022-04-26T04:22:09.139Z] ------------------- [2022-04-26T04:22:09.139Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T04:22:09.139Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-26T04:22:09.139Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T04:22:09.276Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-26T04:22:09.287Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-26T04:22:09.308Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T04:22:09.327Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T04:22:09.345Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T04:22:09.365Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T04:22:09.384Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T04:22:09.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-26T04:22:09.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T04:22:09.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T04:22:09.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T04:22:09.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-26T04:22:09.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T04:22:09.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T04:22:09.513Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T04:22:09.523Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T04:22:09.538Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T04:22:09.555Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T04:22:09.575Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T04:22:09.594Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T04:22:09.612Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-26T04:22:09.634Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-26T04:22:09.653Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T04:22:09.673Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T04:22:09.688Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T04:22:09.708Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T04:22:09.727Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1144 [Pipeline] echo [2022-04-26T04:22:09.745Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1144 [Pipeline] echo [2022-04-26T04:22:09.760Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1144 [Pipeline] echo [2022-04-26T04:22:09.772Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 394fc05ea4364c0913f6dcfc9df39709a995a7f5 [Pipeline] echo [2022-04-26T04:22:09.788Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 394fc05 [Pipeline] echo [2022-04-26T04:22:09.805Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T04:22:09.844Z] provisioning config files... [2022-04-26T04:22:09.858Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config4873597509087853353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T04:22:10.167Z] ---> docker-login.sh [2022-04-26T04:22:10.167Z] nexus3.edgexfoundry.org:10001 [2022-04-26T04:22:10.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T04:22:10.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T04:22:10.428Z] Configure a credential helper to remove this warning. See [2022-04-26T04:22:10.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T04:22:10.428Z] [2022-04-26T04:22:10.428Z] Login Succeeded [2022-04-26T04:22:10.428Z] nexus3.edgexfoundry.org:10002 [2022-04-26T04:22:10.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T04:22:10.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T04:22:10.696Z] Configure a credential helper to remove this warning. See [2022-04-26T04:22:10.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T04:22:10.696Z] [2022-04-26T04:22:10.696Z] Login Succeeded [2022-04-26T04:22:10.696Z] nexus3.edgexfoundry.org:10003 [2022-04-26T04:22:10.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T04:22:10.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T04:22:10.696Z] Configure a credential helper to remove this warning. See [2022-04-26T04:22:10.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T04:22:10.696Z] [2022-04-26T04:22:10.696Z] Login Succeeded [2022-04-26T04:22:10.696Z] nexus3.edgexfoundry.org:10004 [2022-04-26T04:22:10.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T04:22:10.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T04:22:10.957Z] Configure a credential helper to remove this warning. See [2022-04-26T04:22:10.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T04:22:10.957Z] [2022-04-26T04:22:10.957Z] Login Succeeded [2022-04-26T04:22:10.957Z] docker.io [2022-04-26T04:22:10.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T04:22:11.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T04:22:11.218Z] Configure a credential helper to remove this warning. See [2022-04-26T04:22:11.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T04:22:11.218Z] [2022-04-26T04:22:11.218Z] Login Succeeded [2022-04-26T04:22:11.218Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T04:22:11.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T04:22:11.629Z] + git rev-list -1 --merges 394fc05ea4364c0913f6dcfc9df39709a995a7f5~1..394fc05ea4364c0913f6dcfc9df39709a995a7f5 [Pipeline] echo [2022-04-26T04:22:11.753Z] -----------> git rev-list -1 --merges 394fc05ea4364c0913f6dcfc9df39709a995a7f5~1..394fc05ea4364c0913f6dcfc9df39709a995a7f5 394fc05ea4364c0913f6dcfc9df39709a995a7f5 [false] [Pipeline] sh [2022-04-26T04:22:12.042Z] + git log --format=format:%s -1 394fc05ea4364c0913f6dcfc9df39709a995a7f5 [Pipeline] echo [2022-04-26T04:22:12.061Z] ========================================================= [2022-04-26T04:22:12.062Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T04:22:12.062Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T04:22:12.407Z] + git log --format=format:%s -1 394fc05ea4364c0913f6dcfc9df39709a995a7f5 [Pipeline] echo [2022-04-26T04:22:12.420Z] [semverPrep] GIT_COMMIT: 394fc05ea4364c0913f6dcfc9df39709a995a7f5, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5 [Pipeline] echo [2022-04-26T04:22:12.433Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T04:22:12.988Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T04:22:12.988Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T04:22:12.988Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T04:22:12.988Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T04:22:12.988Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T04:22:12.988Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-26T04:22:12.988Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T04:22:13.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T04:22:13.451Z] [2022-04-26T04:22:13.451Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T04:22:13.752Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T04:22:13.752Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T04:22:13.752Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T04:22:13.752Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T04:22:13.752Z] 4c7163046ea9: Pulling fs layer [2022-04-26T04:22:13.752Z] 0c2d73faf560: Pulling fs layer [2022-04-26T04:22:13.752Z] 0c2d73faf560: Waiting [2022-04-26T04:22:13.752Z] 3e5f54012d9b: Verifying Checksum [2022-04-26T04:22:13.752Z] 3e5f54012d9b: Download complete [2022-04-26T04:22:14.012Z] a0d0a0d46f8b: Verifying Checksum [2022-04-26T04:22:14.012Z] 4c7163046ea9: Verifying Checksum [2022-04-26T04:22:14.012Z] 4c7163046ea9: Download complete [2022-04-26T04:22:14.012Z] 0c2d73faf560: Verifying Checksum [2022-04-26T04:22:14.012Z] 0c2d73faf560: Download complete [2022-04-26T04:22:14.012Z] a0d0a0d46f8b: Pull complete [2022-04-26T04:22:14.271Z] 3e5f54012d9b: Pull complete [2022-04-26T04:22:14.531Z] 4c7163046ea9: Pull complete [2022-04-26T04:22:14.792Z] 0c2d73faf560: Pull complete [2022-04-26T04:22:14.792Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T04:22:14.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T04:22:14.792Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T04:22:14.878Z] prd-ubuntu20.04-docker-8c-8g-23572 does not seem to be running inside a container [2022-04-26T04:22:14.922Z] $ 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-26T04:22:15.688Z] $ docker top 9e03ea94f2314fba3eb9641f276ca41df77a1887afbe1fb3eb857c9509bd310a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T04:22:15.780Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T04:22:15.780Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T04:22:15.900Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T04:22:15.909Z] $ docker exec 9e03ea94f2314fba3eb9641f276ca41df77a1887afbe1fb3eb857c9509bd310a ssh-agent [2022-04-26T04:22:16.024Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnmAilH/agent.13 [2022-04-26T04:22:16.024Z] SSH_AGENT_PID=19 [2022-04-26T04:22:16.033Z] Running ssh-add (command line suppressed) [2022-04-26T04:22:16.152Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5591563846646034839.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5591563846646034839.key) [2022-04-26T04:22:16.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T04:22:16.452Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T04:22:16.472Z] $ docker exec --env ******** --env ******** 9e03ea94f2314fba3eb9641f276ca41df77a1887afbe1fb3eb857c9509bd310a ssh-agent -k [2022-04-26T04:22:16.575Z] unset SSH_AUTH_SOCK; [2022-04-26T04:22:16.575Z] unset SSH_AGENT_PID; [2022-04-26T04:22:16.576Z] echo Agent pid 19 killed; [2022-04-26T04:22:16.582Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T04:22:16.611Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T04:22:16.611Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T04:22:16.731Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T04:22:16.740Z] $ docker exec 9e03ea94f2314fba3eb9641f276ca41df77a1887afbe1fb3eb857c9509bd310a ssh-agent [2022-04-26T04:22:16.873Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBAEoCc/agent.53 [2022-04-26T04:22:16.873Z] SSH_AGENT_PID=59 [2022-04-26T04:22:16.878Z] Running ssh-add (command line suppressed) [2022-04-26T04:22:16.996Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_184211081691854527.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_184211081691854527.key) [2022-04-26T04:22:17.010Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T04:22:17.304Z] + git semver init [2022-04-26T04:22:17.305Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T04:22:17.305Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.git [2022-04-26T04:22:17.305Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-04-26T04:22:17.305Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T04:22:17.305Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T04:22:17.305Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T04:22:17.305Z] # $SEMVER_BRANCH = PR-1144 [2022-04-26T04:22:17.305Z] # $SEMVER_TEMP = /tmp/semver-151640012 [2022-04-26T04:22:17.305Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-26T04:22:18.247Z] # '/tmp/semver-151640012' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver' [2022-04-26T04:22:18.247Z] # -> Force: false [2022-04-26T04:22:18.247Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [Pipeline] } [2022-04-26T04:22:18.265Z] $ docker exec --env ******** --env ******** 9e03ea94f2314fba3eb9641f276ca41df77a1887afbe1fb3eb857c9509bd310a ssh-agent -k [2022-04-26T04:22:18.363Z] unset SSH_AUTH_SOCK; [2022-04-26T04:22:18.363Z] unset SSH_AGENT_PID; [2022-04-26T04:22:18.363Z] echo Agent pid 59 killed; [2022-04-26T04:22:18.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T04:22:18.678Z] + git semver [Pipeline] } [2022-04-26T04:22:18.698Z] $ docker stop --time=1 9e03ea94f2314fba3eb9641f276ca41df77a1887afbe1fb3eb857c9509bd310a [2022-04-26T04:22:20.049Z] $ docker rm -f 9e03ea94f2314fba3eb9641f276ca41df77a1887afbe1fb3eb857c9509bd310a [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T04:22:20.400Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T04:22:20.661Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T04:22:20.665Z] [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-26T04:22:20.801Z] provisioning config files... [2022-04-26T04:22:20.813Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config7893038737305115100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T04:22:21.115Z] ---> docker-login.sh [2022-04-26T04:22:21.115Z] nexus3.edgexfoundry.org:10001 [2022-04-26T04:22:21.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T04:22:21.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T04:22:21.115Z] Configure a credential helper to remove this warning. See [2022-04-26T04:22:21.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T04:22:21.115Z] [2022-04-26T04:22:21.115Z] Login Succeeded [2022-04-26T04:22:21.115Z] nexus3.edgexfoundry.org:10002 [2022-04-26T04:22:21.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T04:22:21.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T04:22:21.377Z] Configure a credential helper to remove this warning. See [2022-04-26T04:22:21.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T04:22:21.377Z] [2022-04-26T04:22:21.377Z] Login Succeeded [2022-04-26T04:22:21.377Z] nexus3.edgexfoundry.org:10003 [2022-04-26T04:22:21.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T04:22:21.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T04:22:21.377Z] Configure a credential helper to remove this warning. See [2022-04-26T04:22:21.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T04:22:21.377Z] [2022-04-26T04:22:21.377Z] Login Succeeded [2022-04-26T04:22:21.377Z] nexus3.edgexfoundry.org:10004 [2022-04-26T04:22:21.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T04:22:21.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T04:22:21.637Z] Configure a credential helper to remove this warning. See [2022-04-26T04:22:21.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T04:22:21.637Z] [2022-04-26T04:22:21.637Z] Login Succeeded [2022-04-26T04:22:21.637Z] docker.io [2022-04-26T04:22:21.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T04:22:21.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T04:22:21.898Z] Configure a credential helper to remove this warning. See [2022-04-26T04:22:21.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T04:22:21.898Z] [2022-04-26T04:22:21.898Z] Login Succeeded [2022-04-26T04:22:21.898Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T04:22:21.907Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T04:22:21.975Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T04:22:21.984Z] ========================================================= [2022-04-26T04:22:21.984Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T04:22:21.984Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T04:22:22.290Z] + 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-26T04:22:22.290Z] Sending build context to Docker daemon 9.617MB [2022-04-26T04:22:22.290Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T04:22:22.290Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-26T04:22:22.290Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T04:22:22.290Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T04:22:22.290Z] 666ba61612fd: Pulling fs layer [2022-04-26T04:22:22.290Z] 8ed8ca486205: Pulling fs layer [2022-04-26T04:22:22.290Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T04:22:22.290Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T04:22:22.290Z] ca2b28591e48: Pulling fs layer [2022-04-26T04:22:22.290Z] a51346096db8: Pulling fs layer [2022-04-26T04:22:22.290Z] daebc70d1ce1: Pulling fs layer [2022-04-26T04:22:22.290Z] 0e18a0eac166: Pulling fs layer [2022-04-26T04:22:22.290Z] 22a0e8bec74d: Waiting [2022-04-26T04:22:22.290Z] ca2b28591e48: Waiting [2022-04-26T04:22:22.290Z] a51346096db8: Waiting [2022-04-26T04:22:22.290Z] 0e18a0eac166: Waiting [2022-04-26T04:22:22.290Z] 4fe6c5a15a65: Waiting [2022-04-26T04:22:22.290Z] 8ed8ca486205: Verifying Checksum [2022-04-26T04:22:22.290Z] 8ed8ca486205: Download complete [2022-04-26T04:22:22.290Z] 666ba61612fd: Verifying Checksum [2022-04-26T04:22:22.290Z] 666ba61612fd: Download complete [2022-04-26T04:22:22.551Z] 22a0e8bec74d: Verifying Checksum [2022-04-26T04:22:22.551Z] 22a0e8bec74d: Download complete [2022-04-26T04:22:22.551Z] ca2b28591e48: Verifying Checksum [2022-04-26T04:22:22.551Z] ca2b28591e48: Download complete [2022-04-26T04:22:22.551Z] 59bf1c3509f3: Verifying Checksum [2022-04-26T04:22:22.551Z] a51346096db8: Download complete [2022-04-26T04:22:22.551Z] daebc70d1ce1: Verifying Checksum [2022-04-26T04:22:22.551Z] daebc70d1ce1: Download complete [2022-04-26T04:22:22.551Z] 59bf1c3509f3: Pull complete [2022-04-26T04:22:22.811Z] 666ba61612fd: Pull complete [2022-04-26T04:22:22.811Z] 8ed8ca486205: Pull complete [2022-04-26T04:22:23.070Z] 0e18a0eac166: Verifying Checksum [2022-04-26T04:22:23.070Z] 0e18a0eac166: Download complete [2022-04-26T04:22:23.329Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T04:22:23.329Z] 4fe6c5a15a65: Download complete [2022-04-26T04:22:26.619Z] 4fe6c5a15a65: Pull complete [2022-04-26T04:22:26.880Z] 22a0e8bec74d: Pull complete [2022-04-26T04:22:26.880Z] ca2b28591e48: Pull complete [2022-04-26T04:22:26.880Z] a51346096db8: Pull complete [2022-04-26T04:22:27.139Z] daebc70d1ce1: Pull complete [2022-04-26T04:22:29.678Z] 0e18a0eac166: Pull complete [2022-04-26T04:22:29.678Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T04:22:29.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T04:22:29.679Z] ---> f018257e8ee9 [2022-04-26T04:22:29.679Z] Step 3/11 : ARG MAKE=make build [2022-04-26T04:22:31.064Z] ---> Running in aa0d8684e178 [2022-04-26T04:22:31.064Z] Removing intermediate container aa0d8684e178 [2022-04-26T04:22:31.064Z] ---> ff5a09f2df02 [2022-04-26T04:22:31.064Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-26T04:22:31.324Z] ---> Running in cb096f56a9ed [2022-04-26T04:22:31.324Z] Removing intermediate container cb096f56a9ed [2022-04-26T04:22:31.324Z] ---> a440d003cf55 [2022-04-26T04:22:31.324Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-26T04:22:31.324Z] ---> Running in 02e9ecd3aca2 [2022-04-26T04:22:31.324Z] Removing intermediate container 02e9ecd3aca2 [2022-04-26T04:22:31.324Z] ---> 304a409aa0f4 [2022-04-26T04:22:31.324Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T04:22:31.584Z] ---> Running in d82819fb299a [2022-04-26T04:22:32.157Z] Removing intermediate container d82819fb299a [2022-04-26T04:22:32.157Z] ---> 231dd7948480 [2022-04-26T04:22:32.157Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-26T04:22:32.157Z] ---> Running in 683c03905bd8 [2022-04-26T04:22:32.419Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T04:22:33.362Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T04:22:33.362Z] OK: 221 MiB in 52 packages [2022-04-26T04:22:33.932Z] Removing intermediate container 683c03905bd8 [2022-04-26T04:22:33.932Z] ---> 8dad549183ef [2022-04-26T04:22:33.932Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-26T04:22:33.932Z] ---> 16725af13934 [2022-04-26T04:22:33.932Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T04:22:33.932Z] ---> Running in 0143bec82c65 [2022-04-26T04:22:35.771Z] Still waiting to schedule task [2022-04-26T04:22:35.771Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-26T04:22:48.835Z] Removing intermediate container 0143bec82c65 [2022-04-26T04:22:48.835Z] ---> 12b8ea5eb069 [2022-04-26T04:22:48.835Z] Step 10/11 : COPY . . [2022-04-26T04:22:48.835Z] ---> 73af692c4bcb [2022-04-26T04:22:48.835Z] Step 11/11 : RUN ${MAKE} [2022-04-26T04:22:48.835Z] ---> Running in 0c3f27c0e875 [2022-04-26T04:22:48.835Z] noop [2022-04-26T04:22:48.835Z] Removing intermediate container 0c3f27c0e875 [2022-04-26T04:22:48.835Z] ---> 0d409514c99c [2022-04-26T04:22:48.835Z] Successfully built 0d409514c99c [2022-04-26T04:22:48.835Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T04:22:49.134Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T04:22:49.134Z] . [Pipeline] withDockerContainer [2022-04-26T04:22:49.209Z] prd-ubuntu20.04-docker-8c-8g-23572 does not seem to be running inside a container [2022-04-26T04:22:49.252Z] $ 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-26T04:22:49.852Z] $ docker top f4a82463129d6a6a985d97f7e6951b4c2779686785f315e091968e586c95f52c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T04:22:50.206Z] + go version [2022-04-26T04:22:50.206Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T04:22:50.224Z] $ docker stop --time=1 f4a82463129d6a6a985d97f7e6951b4c2779686785f315e091968e586c95f52c [2022-04-26T04:22:51.547Z] $ docker rm -f f4a82463129d6a6a985d97f7e6951b4c2779686785f315e091968e586c95f52c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T04:22:51.954Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T04:22:51.954Z] . [Pipeline] withDockerContainer [2022-04-26T04:22:52.022Z] prd-ubuntu20.04-docker-8c-8g-23572 does not seem to be running inside a container [2022-04-26T04:22:52.062Z] $ 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-26T04:22:52.461Z] $ docker top de1fae8687933255ba2737ef130f547522d00a3ccffad413ee63c7b2040110ad -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T04:22:52.887Z] + make test [2022-04-26T04:22:52.887Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-26T04:22:58.164Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-26T04:23:10.398Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-26T04:23:10.398Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-26T04:23:10.398Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-26T04:23:10.398Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.059s coverage: 23.3% of statements [2022-04-26T04:23:10.398Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-26T04:23:10.658Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.078s coverage: 27.6% of statements [2022-04-26T04:23:10.658Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.083s coverage: 78.9% of statements [2022-04-26T04:23:10.658Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.081s coverage: 10.8% of statements [2022-04-26T04:23:10.658Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.083s coverage: 60.0% of statements [2022-04-26T04:23:10.658Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-26T04:23:10.658Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-26T04:23:10.658Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.087s coverage: 34.8% of statements [2022-04-26T04:23:10.658Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-26T04:23:11.231Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.074s coverage: 86.1% of statements [2022-04-26T04:23:11.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-26T04:23:11.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-26T04:23:11.231Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.095s coverage: 65.1% of statements [2022-04-26T04:23:11.231Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.842s coverage: 89.2% of statements [2022-04-26T04:23:11.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-26T04:23:11.231Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-04-26T04:23:11.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-26T04:23:26.115Z] GO111MODULE=on go vet ./... [2022-04-26T04:23:28.654Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T04:23:28.914Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T04:23:28.914Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T04:23:29.499Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T04:23:29.520Z] $ docker stop --time=1 de1fae8687933255ba2737ef130f547522d00a3ccffad413ee63c7b2040110ad [2022-04-26T04:23:32.827Z] $ docker rm -f de1fae8687933255ba2737ef130f547522d00a3ccffad413ee63c7b2040110ad [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T04:23:33.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T04:23:33.373Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-26T04:23:34.345Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T04:23:34.632Z] + ls -al . [2022-04-26T04:23:34.632Z] total 316 [2022-04-26T04:23:34.632Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 04:23 . [2022-04-26T04:23:34.632Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:22 .. [2022-04-26T04:23:34.632Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 04:22 .dockerignore [2022-04-26T04:23:34.632Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 04:22 .git [2022-04-26T04:23:34.632Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 04:22 .github [2022-04-26T04:23:34.632Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 26 04:22 .gitignore [2022-04-26T04:23:34.632Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 26 04:22 .golangci.yml [2022-04-26T04:23:34.632Z] drwx------ 3 jenkins jenkins 4096 Apr 26 04:22 .semver [2022-04-26T04:23:34.632Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 26 04:22 CHANGELOG.md [2022-04-26T04:23:34.632Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 04:22 GOVERNANCE.md [2022-04-26T04:23:34.632Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 26 04:22 Jenkinsfile [2022-04-26T04:23:34.632Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 26 04:22 LICENSE [2022-04-26T04:23:34.632Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 26 04:22 Makefile [2022-04-26T04:23:34.632Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 26 04:22 OWNERS.md [2022-04-26T04:23:34.632Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 26 04:22 README.md [2022-04-26T04:23:34.632Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 04:22 VERSION [2022-04-26T04:23:34.632Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 04:22 bin [2022-04-26T04:23:34.632Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 26 04:23 coverage.out [2022-04-26T04:23:34.632Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 04:22 example [2022-04-26T04:23:34.632Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 26 04:22 go.mod [2022-04-26T04:23:34.632Z] -rw-rw-r-- 1 jenkins jenkins 53849 Apr 26 04:22 go.sum [2022-04-26T04:23:34.632Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 26 04:22 internal [2022-04-26T04:23:34.632Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 04:22 openapi [2022-04-26T04:23:34.632Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 04:22 pkg [2022-04-26T04:23:34.632Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:22 snap [2022-04-26T04:23:34.632Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 26 04:22 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T04:23:34.930Z] + 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=394fc05ea4364c0913f6dcfc9df39709a995a7f5 --label arch=amd64 --label version=0.0.0 . [2022-04-26T04:23:34.930Z] Sending build context to Docker daemon 9.749MB [2022-04-26T04:23:34.930Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T04:23:34.930Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-26T04:23:34.930Z] ---> 0d409514c99c [2022-04-26T04:23:34.930Z] Step 3/25 : ARG MAKE=make build [2022-04-26T04:23:35.189Z] ---> Running in d3f812ac9825 [2022-04-26T04:23:35.189Z] Removing intermediate container d3f812ac9825 [2022-04-26T04:23:35.189Z] ---> ac7710ff58bc [2022-04-26T04:23:35.189Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-26T04:23:35.189Z] ---> Running in 447db9adcb65 [2022-04-26T04:23:35.189Z] Removing intermediate container 447db9adcb65 [2022-04-26T04:23:35.189Z] ---> a35864c996e4 [2022-04-26T04:23:35.189Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-26T04:23:35.449Z] ---> Running in b77aec385406 [2022-04-26T04:23:35.449Z] Removing intermediate container b77aec385406 [2022-04-26T04:23:35.449Z] ---> a81357e522a1 [2022-04-26T04:23:35.449Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T04:23:35.449Z] ---> Running in 716d626a1b44 [2022-04-26T04:23:36.398Z] Removing intermediate container 716d626a1b44 [2022-04-26T04:23:36.398Z] ---> 912eb404b01a [2022-04-26T04:23:36.398Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-26T04:23:36.398Z] ---> Running in a4eb49835deb [2022-04-26T04:23:36.659Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T04:23:37.602Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T04:23:37.861Z] OK: 221 MiB in 52 packages [2022-04-26T04:23:38.120Z] Removing intermediate container a4eb49835deb [2022-04-26T04:23:38.120Z] ---> bc194530fdb1 [2022-04-26T04:23:38.120Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-26T04:23:38.381Z] ---> 75b17c2c1176 [2022-04-26T04:23:38.381Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T04:23:38.381Z] ---> Running in f7b8d42c677d [2022-04-26T04:23:38.952Z] Removing intermediate container f7b8d42c677d [2022-04-26T04:23:38.952Z] ---> 54e43761beb4 [2022-04-26T04:23:38.952Z] Step 10/25 : COPY . . [2022-04-26T04:23:39.523Z] ---> b0685869a953 [2022-04-26T04:23:39.523Z] Step 11/25 : RUN ${MAKE} [2022-04-26T04:23:39.523Z] ---> Running in 095e4d9b2009 [2022-04-26T04:23:39.783Z] 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-26T04:23:57.891Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-26T04:24:00.437Z] Removing intermediate container 095e4d9b2009 [2022-04-26T04:24:00.437Z] ---> 04c443714e2e [2022-04-26T04:24:00.437Z] Step 12/25 : FROM alpine:3.14 [2022-04-26T04:24:00.698Z] 3.14: Pulling from library/alpine [2022-04-26T04:24:00.958Z] 8663204ce13b: Pulling fs layer [2022-04-26T04:24:01.218Z] 8663204ce13b: Verifying Checksum [2022-04-26T04:24:01.218Z] 8663204ce13b: Download complete [2022-04-26T04:24:01.218Z] 8663204ce13b: Pull complete [2022-04-26T04:24:01.218Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T04:24:01.218Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T04:24:01.218Z] ---> e04c818066af [2022-04-26T04:24:01.218Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-26T04:24:01.479Z] ---> Running in 654301da246b [2022-04-26T04:24:01.479Z] Removing intermediate container 654301da246b [2022-04-26T04:24:01.479Z] ---> d822204df39e [2022-04-26T04:24:01.479Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T04:24:01.479Z] ---> Running in 644f70d93a01 [2022-04-26T04:24:02.051Z] Removing intermediate container 644f70d93a01 [2022-04-26T04:24:02.051Z] ---> 7d61b112ccba [2022-04-26T04:24:02.051Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-26T04:24:02.315Z] ---> Running in 56cece907dae [2022-04-26T04:24:02.577Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-26T04:24:03.149Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-26T04:24:03.720Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T04:24:03.720Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-26T04:24:03.720Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T04:24:03.720Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-26T04:24:03.980Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-26T04:24:03.980Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T04:24:03.980Z] OK: 8 MiB in 19 packages [2022-04-26T04:24:04.923Z] Removing intermediate container 56cece907dae [2022-04-26T04:24:04.923Z] ---> b9981b7d7258 [2022-04-26T04:24:04.923Z] Step 16/25 : WORKDIR / [2022-04-26T04:24:04.923Z] ---> Running in e70f605d7bf2 [2022-04-26T04:24:05.183Z] Removing intermediate container e70f605d7bf2 [2022-04-26T04:24:05.183Z] ---> 2053022b7b2f [2022-04-26T04:24:05.183Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-26T04:24:05.755Z] ---> 4438d23f18b6 [2022-04-26T04:24:05.755Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-26T04:24:06.325Z] ---> f9a6882d4342 [2022-04-26T04:24:06.325Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-26T04:24:06.325Z] ---> 41c68d14cf1d [2022-04-26T04:24:06.325Z] Step 20/25 : EXPOSE 59999 [2022-04-26T04:24:06.585Z] ---> Running in 953dc22323f8 [2022-04-26T04:24:06.585Z] Removing intermediate container 953dc22323f8 [2022-04-26T04:24:06.585Z] ---> 471d2e9f638e [2022-04-26T04:24:06.585Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-26T04:24:06.585Z] ---> Running in 5dc2539ad892 [2022-04-26T04:24:06.846Z] Removing intermediate container 5dc2539ad892 [2022-04-26T04:24:06.846Z] ---> 2a6ca9fcd2b7 [2022-04-26T04:24:06.846Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T04:24:06.846Z] ---> Running in 62fa5075c2f6 [2022-04-26T04:24:06.846Z] Removing intermediate container 62fa5075c2f6 [2022-04-26T04:24:06.846Z] ---> c3d456ad71a7 [2022-04-26T04:24:06.846Z] Step 23/25 : LABEL arch=amd64 [2022-04-26T04:24:06.846Z] ---> Running in f57e67bccb7f [2022-04-26T04:24:06.846Z] Removing intermediate container f57e67bccb7f [2022-04-26T04:24:06.846Z] ---> 0ebc7cc544ee [2022-04-26T04:24:06.846Z] Step 24/25 : LABEL git_sha=394fc05ea4364c0913f6dcfc9df39709a995a7f5 [2022-04-26T04:24:07.112Z] ---> Running in ffe3caf76e30 [2022-04-26T04:24:07.112Z] Removing intermediate container ffe3caf76e30 [2022-04-26T04:24:07.112Z] ---> cb8ac0e45c5a [2022-04-26T04:24:07.112Z] Step 25/25 : LABEL version=0.0.0 [2022-04-26T04:24:07.112Z] ---> Running in c3891c67db65 [2022-04-26T04:24:07.373Z] Removing intermediate container c3891c67db65 [2022-04-26T04:24:07.373Z] ---> 99f169b454c3 [2022-04-26T04:24:07.373Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T04:24:07.373Z] Successfully built 99f169b454c3 [2022-04-26T04:24:07.373Z] 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-26T04:24:07.789Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T04:24:07.789Z] [2022-04-26T04:24:07.789Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T04:24:08.092Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T04:24:08.092Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T04:24:08.092Z] 5eb5b503b376: Pulling fs layer [2022-04-26T04:24:08.092Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T04:24:08.092Z] ec43610c2a17: Pulling fs layer [2022-04-26T04:24:08.092Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T04:24:08.092Z] 33b1e0a273af: Pulling fs layer [2022-04-26T04:24:08.092Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T04:24:08.092Z] 2f39f015ded8: Pulling fs layer [2022-04-26T04:24:08.092Z] 3a2ae6a8a46f: Waiting [2022-04-26T04:24:08.092Z] 33b1e0a273af: Waiting [2022-04-26T04:24:08.092Z] 5d3b04190fa2: Waiting [2022-04-26T04:24:08.092Z] 2f39f015ded8: Waiting [2022-04-26T04:24:08.092Z] 5c69ac0246d0: Verifying Checksum [2022-04-26T04:24:08.092Z] 5c69ac0246d0: Download complete [2022-04-26T04:24:08.092Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-26T04:24:08.092Z] 3a2ae6a8a46f: Download complete [2022-04-26T04:24:08.092Z] 33b1e0a273af: Verifying Checksum [2022-04-26T04:24:08.092Z] 33b1e0a273af: Download complete [2022-04-26T04:24:08.092Z] 5d3b04190fa2: Verifying Checksum [2022-04-26T04:24:08.092Z] 5d3b04190fa2: Download complete [2022-04-26T04:24:08.092Z] ec43610c2a17: Download complete [2022-04-26T04:24:08.352Z] 5eb5b503b376: Download complete [2022-04-26T04:24:08.920Z] 2f39f015ded8: Download complete [2022-04-26T04:24:09.488Z] 5eb5b503b376: Pull complete [2022-04-26T04:24:09.747Z] 5c69ac0246d0: Pull complete [2022-04-26T04:24:10.008Z] ec43610c2a17: Pull complete [2022-04-26T04:24:10.269Z] 3a2ae6a8a46f: Pull complete [2022-04-26T04:24:10.269Z] 33b1e0a273af: Pull complete [2022-04-26T04:24:10.529Z] 5d3b04190fa2: Pull complete [2022-04-26T04:24:14.723Z] 2f39f015ded8: Pull complete [2022-04-26T04:24:14.723Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T04:24:14.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T04:24:14.723Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T04:24:14.785Z] prd-ubuntu20.04-docker-8c-8g-23572 does not seem to be running inside a container [2022-04-26T04:24:14.823Z] $ 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-26T04:24:17.149Z] $ docker top 13a647221b93037c3a9877a81aff9e04340b07e9e9eb871a4638361b6415cd3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T04:24:17.541Z] ---> job-cost.sh [2022-04-26T04:24:17.541Z] lf-activate-venv: SKIPPING [2022-04-26T04:24:17.541Z] INFO: No Stack... [2022-04-26T04:24:17.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T04:24:18.373Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T04:24:18.670Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/cost.csv [2022-04-26T04:24:18.670Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T04:24:18.688Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] [2022-04-26T04:24:18.694Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] did not exist. Created. [2022-04-26T04:24:18.694Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T04:24:19.004Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T04:24:19.035Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T04:24:19.045Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T04:24:19.070Z] $ docker stop --time=1 13a647221b93037c3a9877a81aff9e04340b07e9e9eb871a4638361b6415cd3f [2022-04-26T04:24:20.293Z] $ docker rm -f 13a647221b93037c3a9877a81aff9e04340b07e9e9eb871a4638361b6415cd3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T04:25:45.926Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23573 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] ws [2022-04-26T04:25:45.938Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2022-04-26T04:25:46.175Z] The recommended git tool is: git [2022-04-26T04:25:52.326Z] using credential edgex-jenkins-ssh [2022-04-26T04:25:52.344Z] Cloning the remote Git repository [2022-04-26T04:25:52.410Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-26T04:25:52.491Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2022-04-26T04:25:52.585Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-26T04:25:52.586Z] > git --version # timeout=10 [2022-04-26T04:25:52.607Z] > git --version # 'git version 2.25.1' [2022-04-26T04:25:52.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T04:25:52.695Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T04:25:54.997Z] Merging remotes/origin/main commit f8b8abfef3f0264dda75330ad33f104d8ec6ed98 into PR head commit 394fc05ea4364c0913f6dcfc9df39709a995a7f5 [2022-04-26T04:25:55.234Z] Merge succeeded, producing 394fc05ea4364c0913f6dcfc9df39709a995a7f5 [2022-04-26T04:25:55.235Z] Checking out Revision 394fc05ea4364c0913f6dcfc9df39709a995a7f5 (PR-1144) [2022-04-26T04:25:54.330Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-26T04:25:54.353Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T04:25:54.382Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-26T04:25:54.416Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-26T04:25:54.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T04:25:54.432Z] > 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-26T04:25:55.020Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T04:25:55.042Z] > git checkout -f 394fc05ea4364c0913f6dcfc9df39709a995a7f5 # timeout=10 [2022-04-26T04:25:55.150Z] > git remote # timeout=10 [2022-04-26T04:25:55.167Z] > git config --get remote.origin.url # timeout=10 [2022-04-26T04:25:55.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T04:25:55.196Z] > git merge f8b8abfef3f0264dda75330ad33f104d8ec6ed98 # timeout=10 [2022-04-26T04:25:55.220Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-26T04:25:55.247Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T04:25:55.273Z] > git checkout -f 394fc05ea4364c0913f6dcfc9df39709a995a7f5 # timeout=10 [2022-04-26T04:25:59.505Z] 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-26T04:26:00.520Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T04:26:00.520Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T04:26:00.520Z] Dload Upload Total Spent Left Speed [2022-04-26T04:26:00.520Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-04-26T04:26:01.051Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T04:26:01.404Z] + sudo tee /etc/docker/daemon.new [2022-04-26T04:26:01.404Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-26T04:26:01.404Z] { [2022-04-26T04:26:01.404Z] "registry-mirrors": [ [2022-04-26T04:26:01.404Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T04:26:01.404Z] ], [2022-04-26T04:26:01.404Z] "bip": "10.250.0.254/24", [2022-04-26T04:26:01.404Z] "hosts": [ [2022-04-26T04:26:01.404Z] "tcp://0.0.0.0:5555", [2022-04-26T04:26:01.404Z] "unix:///var/run/docker.sock" [2022-04-26T04:26:01.404Z] ], [2022-04-26T04:26:01.404Z] "mtu": 1458, [2022-04-26T04:26:01.404Z] "selinux-enabled": true, [2022-04-26T04:26:01.404Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T04:26:01.404Z] } [Pipeline] sh [2022-04-26T04:26:01.765Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T04:26:02.117Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T04:26:20.528Z] provisioning config files... [2022-04-26T04:26:20.553Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3838330031427251154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T04:26:20.915Z] ---> docker-login.sh [2022-04-26T04:26:20.915Z] nexus3.edgexfoundry.org:10001 [2022-04-26T04:26:21.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T04:26:21.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T04:26:21.781Z] Configure a credential helper to remove this warning. See [2022-04-26T04:26:21.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T04:26:21.781Z] [2022-04-26T04:26:21.781Z] Login Succeeded [2022-04-26T04:26:21.781Z] nexus3.edgexfoundry.org:10002 [2022-04-26T04:26:22.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T04:26:22.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T04:26:22.327Z] Configure a credential helper to remove this warning. See [2022-04-26T04:26:22.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T04:26:22.327Z] [2022-04-26T04:26:22.327Z] Login Succeeded [2022-04-26T04:26:22.327Z] nexus3.edgexfoundry.org:10003 [2022-04-26T04:26:22.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T04:26:22.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T04:26:22.599Z] Configure a credential helper to remove this warning. See [2022-04-26T04:26:22.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T04:26:22.599Z] [2022-04-26T04:26:22.599Z] Login Succeeded [2022-04-26T04:26:22.599Z] nexus3.edgexfoundry.org:10004 [2022-04-26T04:26:22.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T04:26:23.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T04:26:23.151Z] Configure a credential helper to remove this warning. See [2022-04-26T04:26:23.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T04:26:23.151Z] [2022-04-26T04:26:23.151Z] Login Succeeded [2022-04-26T04:26:23.151Z] docker.io [2022-04-26T04:26:23.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T04:26:23.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T04:26:23.698Z] Configure a credential helper to remove this warning. See [2022-04-26T04:26:23.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T04:26:23.698Z] [2022-04-26T04:26:23.698Z] Login Succeeded [2022-04-26T04:26:23.698Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T04:26:23.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T04:26:24.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T04:26:24.229Z] ========================================================= [2022-04-26T04:26:24.229Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T04:26:24.229Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T04:26:24.576Z] + 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-26T04:26:24.848Z] Sending build context to Docker daemon 5.199MB [2022-04-26T04:26:25.128Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T04:26:25.128Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-26T04:26:25.128Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T04:26:25.128Z] 9b3977197b4f: Pulling fs layer [2022-04-26T04:26:25.128Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T04:26:25.128Z] 94645a83ff95: Pulling fs layer [2022-04-26T04:26:25.128Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T04:26:25.128Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T04:26:25.128Z] 3096ccb668a1: Pulling fs layer [2022-04-26T04:26:25.128Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T04:26:25.128Z] a4caa8a26152: Pulling fs layer [2022-04-26T04:26:25.128Z] 3096ccb668a1: Waiting [2022-04-26T04:26:25.128Z] e8cf19c19ddd: Waiting [2022-04-26T04:26:25.128Z] 3f3a8bcf1eab: Waiting [2022-04-26T04:26:25.128Z] a4caa8a26152: Waiting [2022-04-26T04:26:25.128Z] 0c92f367c5e7: Waiting [2022-04-26T04:26:25.128Z] 94645a83ff95: Verifying Checksum [2022-04-26T04:26:25.128Z] 94645a83ff95: Download complete [2022-04-26T04:26:25.128Z] 1a89e8eeedd5: Verifying Checksum [2022-04-26T04:26:25.128Z] 1a89e8eeedd5: Download complete [2022-04-26T04:26:25.128Z] 0c92f367c5e7: Verifying Checksum [2022-04-26T04:26:25.128Z] 0c92f367c5e7: Download complete [2022-04-26T04:26:25.417Z] 3096ccb668a1: Verifying Checksum [2022-04-26T04:26:25.417Z] 3096ccb668a1: Download complete [2022-04-26T04:26:25.417Z] 9b3977197b4f: Verifying Checksum [2022-04-26T04:26:25.417Z] 9b3977197b4f: Download complete [2022-04-26T04:26:25.417Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T04:26:25.417Z] e8cf19c19ddd: Download complete [2022-04-26T04:26:26.023Z] 9b3977197b4f: Pull complete [2022-04-26T04:26:26.625Z] 1a89e8eeedd5: Pull complete [2022-04-26T04:26:26.902Z] 94645a83ff95: Pull complete [2022-04-26T04:26:27.176Z] a4caa8a26152: Verifying Checksum [2022-04-26T04:26:27.176Z] a4caa8a26152: Download complete [2022-04-26T04:26:27.771Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-26T04:26:27.771Z] 3f3a8bcf1eab: Download complete [2022-04-26T04:26:40.189Z] 3f3a8bcf1eab: Pull complete [2022-04-26T04:26:40.189Z] 0c92f367c5e7: Pull complete [2022-04-26T04:26:40.189Z] 3096ccb668a1: Pull complete [2022-04-26T04:26:40.189Z] e8cf19c19ddd: Pull complete [2022-04-26T04:26:46.922Z] a4caa8a26152: Pull complete [2022-04-26T04:26:46.922Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T04:26:46.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T04:26:46.922Z] ---> 725f1c02e7f9 [2022-04-26T04:26:46.922Z] Step 3/11 : ARG MAKE=make build [2022-04-26T04:26:47.901Z] ---> Running in 56090259c56e [2022-04-26T04:26:48.173Z] Removing intermediate container 56090259c56e [2022-04-26T04:26:48.173Z] ---> 8fb55927a92f [2022-04-26T04:26:48.173Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-26T04:26:48.173Z] ---> Running in 626b9014f47b [2022-04-26T04:26:48.445Z] Removing intermediate container 626b9014f47b [2022-04-26T04:26:48.445Z] ---> 752d2d16ef47 [2022-04-26T04:26:48.445Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-26T04:26:48.445Z] ---> Running in 91110b8693a4 [2022-04-26T04:26:48.718Z] Removing intermediate container 91110b8693a4 [2022-04-26T04:26:48.718Z] ---> db3efe0d5720 [2022-04-26T04:26:48.718Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T04:26:48.993Z] ---> Running in 42633be9d959 [2022-04-26T04:26:50.969Z] Removing intermediate container 42633be9d959 [2022-04-26T04:26:50.970Z] ---> f8a73753f464 [2022-04-26T04:26:50.970Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-26T04:26:50.970Z] ---> Running in eb0e0be1fb7d [2022-04-26T04:26:52.938Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T04:26:53.532Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T04:26:54.504Z] OK: 220 MiB in 52 packages [2022-04-26T04:26:55.483Z] Removing intermediate container eb0e0be1fb7d [2022-04-26T04:26:55.483Z] ---> cb264fb12365 [2022-04-26T04:26:55.483Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-26T04:26:55.756Z] ---> af0f92ba933f [2022-04-26T04:26:55.756Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T04:26:55.756Z] ---> Running in ed8cae5eae48 [2022-04-26T04:27:52.304Z] Removing intermediate container ed8cae5eae48 [2022-04-26T04:27:52.305Z] ---> 0f89000ebd55 [2022-04-26T04:27:52.305Z] Step 10/11 : COPY . . [2022-04-26T04:27:52.305Z] ---> 699912f61fe8 [2022-04-26T04:27:52.305Z] Step 11/11 : RUN ${MAKE} [2022-04-26T04:27:52.305Z] ---> Running in db2ff0a7e4b0 [2022-04-26T04:27:52.305Z] noop [2022-04-26T04:27:52.305Z] Removing intermediate container db2ff0a7e4b0 [2022-04-26T04:27:52.305Z] ---> e706ddb2639e [2022-04-26T04:27:52.305Z] Successfully built e706ddb2639e [2022-04-26T04:27:52.305Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T04:27:52.655Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T04:27:52.655Z] . [Pipeline] withDockerContainer [2022-04-26T04:27:52.902Z] prd-ubuntu20.04-docker-arm64-4c-16g-23573 does not seem to be running inside a container [2022-04-26T04:27:52.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-26T04:27:54.290Z] $ docker top b933f609e608f7c001e0d9176687c36fc8e17d8ac3a9f20ca446a0651dfcd22d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T04:27:55.202Z] + go version [2022-04-26T04:27:55.202Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T04:27:55.231Z] $ docker stop --time=1 b933f609e608f7c001e0d9176687c36fc8e17d8ac3a9f20ca446a0651dfcd22d [2022-04-26T04:27:56.859Z] $ docker rm -f b933f609e608f7c001e0d9176687c36fc8e17d8ac3a9f20ca446a0651dfcd22d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T04:27:57.473Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T04:27:57.473Z] . [Pipeline] withDockerContainer [2022-04-26T04:27:57.710Z] prd-ubuntu20.04-docker-arm64-4c-16g-23573 does not seem to be running inside a container [2022-04-26T04:27:57.797Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-26T04:27:59.091Z] $ docker top d552ed3ee383d918b6e848fcc5da108e26a2b3c8a36d1cc06a9a479902a0c9ed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T04:28:00.021Z] + make test [2022-04-26T04:28:00.021Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-26T04:28:32.383Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-26T04:30:09.245Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-26T04:30:09.245Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-26T04:30:09.245Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-26T04:30:21.707Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.500s coverage: 23.3% of statements [2022-04-26T04:30:21.707Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-26T04:30:21.707Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.492s coverage: 27.6% of statements [2022-04-26T04:30:21.707Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.402s coverage: 78.9% of statements [2022-04-26T04:30:21.707Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.289s coverage: 10.8% of statements [2022-04-26T04:30:25.135Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.636s coverage: 60.0% of statements [2022-04-26T04:30:25.135Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-26T04:30:25.135Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-26T04:30:28.570Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.496s coverage: 34.8% of statements [2022-04-26T04:30:28.570Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-26T04:30:31.215Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.350s coverage: 86.1% of statements [2022-04-26T04:30:31.215Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-26T04:30:31.215Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-26T04:30:31.215Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.521s coverage: 65.1% of statements [2022-04-26T04:30:32.663Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.186s coverage: 89.2% of statements [2022-04-26T04:30:32.663Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-26T04:30:36.055Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.231s coverage: 4.7% of statements [2022-04-26T04:30:36.055Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-26T04:30:36.327Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-26T04:30:36.327Z] GO111MODULE=on go vet ./... [2022-04-26T04:31:58.169Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T04:31:58.169Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T04:31:58.169Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T04:31:59.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T04:31:59.639Z] $ docker stop --time=1 d552ed3ee383d918b6e848fcc5da108e26a2b3c8a36d1cc06a9a479902a0c9ed [2022-04-26T04:32:01.395Z] $ docker rm -f d552ed3ee383d918b6e848fcc5da108e26a2b3c8a36d1cc06a9a479902a0c9ed [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T04:32:02.741Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T04:32:02.772Z] Warning: overwriting stash ‘coverage-report’ [2022-04-26T04:32:03.443Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T04:32:03.880Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T04:32:04.265Z] + ls -al . [2022-04-26T04:32:04.265Z] total 312 [2022-04-26T04:32:04.265Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 04:31 . [2022-04-26T04:32:04.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:25 .. [2022-04-26T04:32:04.265Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 04:25 .dockerignore [2022-04-26T04:32:04.265Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 04:25 .git [2022-04-26T04:32:04.265Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 04:25 .github [2022-04-26T04:32:04.265Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 26 04:25 .gitignore [2022-04-26T04:32:04.265Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 26 04:25 .golangci.yml [2022-04-26T04:32:04.265Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 26 04:25 CHANGELOG.md [2022-04-26T04:32:04.265Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 04:25 GOVERNANCE.md [2022-04-26T04:32:04.265Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 26 04:25 Jenkinsfile [2022-04-26T04:32:04.265Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 26 04:25 LICENSE [2022-04-26T04:32:04.265Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 26 04:25 Makefile [2022-04-26T04:32:04.265Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 26 04:25 OWNERS.md [2022-04-26T04:32:04.265Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 26 04:25 README.md [2022-04-26T04:32:04.265Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 04:22 VERSION [2022-04-26T04:32:04.265Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 04:25 bin [2022-04-26T04:32:04.265Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 26 04:30 coverage.out [2022-04-26T04:32:04.265Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 04:25 example [2022-04-26T04:32:04.265Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 26 04:25 go.mod [2022-04-26T04:32:04.265Z] -rw-rw-r-- 1 jenkins jenkins 53849 Apr 26 04:25 go.sum [2022-04-26T04:32:04.265Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 26 04:25 internal [2022-04-26T04:32:04.265Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 04:25 openapi [2022-04-26T04:32:04.265Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 04:25 pkg [2022-04-26T04:32:04.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:25 snap [2022-04-26T04:32:04.265Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 26 04:25 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T04:32:04.660Z] + 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=394fc05ea4364c0913f6dcfc9df39709a995a7f5 --label arch=arm64 --label version=0.0.0 . [2022-04-26T04:32:05.298Z] Sending build context to Docker daemon 5.331MB [2022-04-26T04:32:05.298Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T04:32:05.298Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-26T04:32:05.298Z] ---> e706ddb2639e [2022-04-26T04:32:05.298Z] Step 3/25 : ARG MAKE=make build [2022-04-26T04:32:05.298Z] ---> Running in 0b3015c52909 [2022-04-26T04:32:05.581Z] Removing intermediate container 0b3015c52909 [2022-04-26T04:32:05.581Z] ---> 635d88861cd7 [2022-04-26T04:32:05.581Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-26T04:32:05.880Z] ---> Running in 15aabb4b95a1 [2022-04-26T04:32:06.163Z] Removing intermediate container 15aabb4b95a1 [2022-04-26T04:32:06.163Z] ---> f6fde3ff093a [2022-04-26T04:32:06.163Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-26T04:32:06.163Z] ---> Running in 572ddb429cfb [2022-04-26T04:32:06.443Z] Removing intermediate container 572ddb429cfb [2022-04-26T04:32:06.443Z] ---> 777b6257c6ee [2022-04-26T04:32:06.443Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T04:32:06.443Z] ---> Running in ba3c91b46dbe [2022-04-26T04:32:08.438Z] Removing intermediate container ba3c91b46dbe [2022-04-26T04:32:08.438Z] ---> adb79a87505e [2022-04-26T04:32:08.438Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-26T04:32:08.438Z] ---> Running in e1cbb376240e [2022-04-26T04:32:09.033Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T04:32:10.010Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T04:32:10.984Z] OK: 220 MiB in 52 packages [2022-04-26T04:32:11.587Z] Removing intermediate container e1cbb376240e [2022-04-26T04:32:11.587Z] ---> 9b50e2fdab26 [2022-04-26T04:32:11.587Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-26T04:32:12.188Z] ---> a1261eebe37e [2022-04-26T04:32:12.188Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T04:32:12.188Z] ---> Running in 7b7eed85c12f [2022-04-26T04:32:14.163Z] Removing intermediate container 7b7eed85c12f [2022-04-26T04:32:14.163Z] ---> 0cbd2fa53ff1 [2022-04-26T04:32:14.163Z] Step 10/25 : COPY . . [2022-04-26T04:32:15.601Z] ---> f32eefa6d4cd [2022-04-26T04:32:15.601Z] Step 11/25 : RUN ${MAKE} [2022-04-26T04:32:15.601Z] ---> Running in 0cf32a9e3ba7 [2022-04-26T04:32:16.199Z] 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-26T04:34:08.042Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-26T04:34:10.676Z] Removing intermediate container 0cf32a9e3ba7 [2022-04-26T04:34:10.676Z] ---> 3c7719caacda [2022-04-26T04:34:10.676Z] Step 12/25 : FROM alpine:3.14 [2022-04-26T04:34:11.271Z] 3.14: Pulling from library/alpine [2022-04-26T04:34:11.546Z] 455c02918c45: Pulling fs layer [2022-04-26T04:34:11.820Z] 455c02918c45: Download complete [2022-04-26T04:34:12.423Z] 455c02918c45: Pull complete [2022-04-26T04:34:12.423Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T04:34:12.423Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T04:34:12.423Z] ---> ac73e934f311 [2022-04-26T04:34:12.423Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-26T04:34:12.423Z] ---> Running in 44843e77dd8f [2022-04-26T04:34:12.703Z] Removing intermediate container 44843e77dd8f [2022-04-26T04:34:12.703Z] ---> 139497703088 [2022-04-26T04:34:12.703Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T04:34:12.703Z] ---> Running in f1c3cd2a1309 [2022-04-26T04:34:14.685Z] Removing intermediate container f1c3cd2a1309 [2022-04-26T04:34:14.685Z] ---> be40c77b9161 [2022-04-26T04:34:14.685Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-26T04:34:14.685Z] ---> Running in e943da08466b [2022-04-26T04:34:15.283Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-26T04:34:16.262Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-26T04:34:17.238Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T04:34:17.238Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-26T04:34:17.238Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T04:34:17.238Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-26T04:34:17.513Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-26T04:34:17.513Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T04:34:17.513Z] OK: 8 MiB in 19 packages [2022-04-26T04:34:18.496Z] Removing intermediate container e943da08466b [2022-04-26T04:34:18.496Z] ---> 947f3b6c5808 [2022-04-26T04:34:18.496Z] Step 16/25 : WORKDIR / [2022-04-26T04:34:18.496Z] ---> Running in 87c36521f471 [2022-04-26T04:34:18.770Z] Removing intermediate container 87c36521f471 [2022-04-26T04:34:18.770Z] ---> 982bb7fb9017 [2022-04-26T04:34:18.770Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-26T04:34:19.370Z] ---> 1eaae3007aab [2022-04-26T04:34:19.370Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-26T04:34:20.801Z] ---> edfda9fdbf00 [2022-04-26T04:34:20.801Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-26T04:34:21.400Z] ---> 61bc033219cf [2022-04-26T04:34:21.400Z] Step 20/25 : EXPOSE 59999 [2022-04-26T04:34:21.400Z] ---> Running in 4934a42104c5 [2022-04-26T04:34:21.999Z] Removing intermediate container 4934a42104c5 [2022-04-26T04:34:21.999Z] ---> ff06859306dd [2022-04-26T04:34:21.999Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-26T04:34:21.999Z] ---> Running in 35fc809a10ca [2022-04-26T04:34:22.272Z] Removing intermediate container 35fc809a10ca [2022-04-26T04:34:22.272Z] ---> e57425e825c1 [2022-04-26T04:34:22.272Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T04:34:22.272Z] ---> Running in f34306d80352 [2022-04-26T04:34:22.544Z] Removing intermediate container f34306d80352 [2022-04-26T04:34:22.544Z] ---> f5f2c1f23509 [2022-04-26T04:34:22.544Z] Step 23/25 : LABEL arch=arm64 [2022-04-26T04:34:22.544Z] ---> Running in 0a3a25176451 [2022-04-26T04:34:22.820Z] Removing intermediate container 0a3a25176451 [2022-04-26T04:34:22.820Z] ---> a1879cf127b7 [2022-04-26T04:34:22.820Z] Step 24/25 : LABEL git_sha=394fc05ea4364c0913f6dcfc9df39709a995a7f5 [2022-04-26T04:34:23.094Z] ---> Running in 77405956799f [2022-04-26T04:34:23.367Z] Removing intermediate container 77405956799f [2022-04-26T04:34:23.367Z] ---> eeffcc0360d6 [2022-04-26T04:34:23.367Z] Step 25/25 : LABEL version=0.0.0 [2022-04-26T04:34:23.367Z] ---> Running in c96aafbd2aeb [2022-04-26T04:34:23.640Z] Removing intermediate container c96aafbd2aeb [2022-04-26T04:34:23.640Z] ---> f5c595ed037b [2022-04-26T04:34:23.640Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T04:34:23.640Z] Successfully built f5c595ed037b [2022-04-26T04:34:23.640Z] 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-26T04:34:24.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T04:34:24.072Z] [2022-04-26T04:34:24.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T04:34:24.417Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T04:34:24.692Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T04:34:24.692Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T04:34:24.692Z] 04944245beec: Pulling fs layer [2022-04-26T04:34:24.692Z] 699f458cf7ca: Pulling fs layer [2022-04-26T04:34:24.692Z] 765212b225bb: Pulling fs layer [2022-04-26T04:34:24.692Z] f23df028b6ca: Pulling fs layer [2022-04-26T04:34:24.692Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T04:34:24.692Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T04:34:24.692Z] 765212b225bb: Waiting [2022-04-26T04:34:24.692Z] f23df028b6ca: Waiting [2022-04-26T04:34:24.692Z] d65c8cfc05b1: Waiting [2022-04-26T04:34:24.692Z] 2437ff75d9bd: Waiting [2022-04-26T04:34:24.692Z] 04944245beec: Verifying Checksum [2022-04-26T04:34:24.692Z] 04944245beec: Download complete [2022-04-26T04:34:24.692Z] 765212b225bb: Verifying Checksum [2022-04-26T04:34:24.692Z] 765212b225bb: Download complete [2022-04-26T04:34:24.692Z] f23df028b6ca: Verifying Checksum [2022-04-26T04:34:24.692Z] f23df028b6ca: Download complete [2022-04-26T04:34:24.692Z] d65c8cfc05b1: Verifying Checksum [2022-04-26T04:34:24.692Z] d65c8cfc05b1: Download complete [2022-04-26T04:34:24.966Z] 699f458cf7ca: Verifying Checksum [2022-04-26T04:34:24.966Z] 699f458cf7ca: Download complete [2022-04-26T04:34:25.236Z] 8998bd30e6a1: Download complete [2022-04-26T04:34:27.216Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T04:34:27.216Z] 2437ff75d9bd: Download complete [2022-04-26T04:34:29.840Z] 8998bd30e6a1: Pull complete [2022-04-26T04:34:29.840Z] 04944245beec: Pull complete [2022-04-26T04:34:31.825Z] 699f458cf7ca: Pull complete [2022-04-26T04:34:31.825Z] 765212b225bb: Pull complete [2022-04-26T04:34:32.426Z] f23df028b6ca: Pull complete [2022-04-26T04:34:32.700Z] d65c8cfc05b1: Pull complete [2022-04-26T04:34:47.875Z] 2437ff75d9bd: Pull complete [2022-04-26T04:34:47.875Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T04:34:47.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T04:34:47.875Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T04:34:48.109Z] prd-ubuntu20.04-docker-arm64-4c-16g-23573 does not seem to be running inside a container [2022-04-26T04:34:48.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-26T04:34:50.716Z] $ docker top 5b03546f8c9c27514cb67b80c77e9a066b90c1ff75766bc0f42e64fca1b318ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T04:34:51.613Z] ---> job-cost.sh [2022-04-26T04:34:51.613Z] lf-activate-venv: SKIPPING [2022-04-26T04:34:51.613Z] INFO: No Stack... [2022-04-26T04:34:52.206Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T04:34:53.177Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T04:34:53.837Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2022-04-26T04:34:53.837Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T04:34:53.901Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] [2022-04-26T04:34:53.907Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] did not exist. Created. [2022-04-26T04:34:53.907Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T04:34:54.574Z] /w/workspace/device-sdk-go/3@tmp/durable-d9b54114/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T04:34:55.246Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T04:34:55.267Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T04:34:55.326Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T04:34:55.333Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T04:34:55.356Z] $ docker stop --time=1 5b03546f8c9c27514cb67b80c77e9a066b90c1ff75766bc0f42e64fca1b318ea [2022-04-26T04:34:56.830Z] $ docker rm -f 5b03546f8c9c27514cb67b80c77e9a066b90c1ff75766bc0f42e64fca1b318ea [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-26T04:34:57.394Z] provisioning config files... [2022-04-26T04:34:57.422Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config2267735863603563712tmp [Pipeline] { [Pipeline] sh [2022-04-26T04:34:57.717Z] + set +x [2022-04-26T04:34:57.717Z] + + curl -s https://codecov.io/bash [2022-04-26T04:34:57.717Z] bash -s -- [2022-04-26T04:34:57.717Z] [2022-04-26T04:34:57.717Z] _____ _ [2022-04-26T04:34:57.717Z] / ____| | | [2022-04-26T04:34:57.717Z] | | ___ __| | ___ ___ _____ __ [2022-04-26T04:34:57.717Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-26T04:34:57.717Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-26T04:34:57.717Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-26T04:34:57.717Z] Bash-1.0.6 [2022-04-26T04:34:57.717Z] [2022-04-26T04:34:57.717Z] [2022-04-26T04:34:57.717Z] ==> git version 2.25.1 found [2022-04-26T04:34:57.717Z] ==> 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-26T04:34:57.717Z] Release-Date: 2020-01-08 [2022-04-26T04:34:57.717Z] 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-26T04:34:57.717Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-26T04:34:57.717Z] ==> Jenkins CI detected. [2022-04-26T04:34:57.717Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-04-26T04:34:57.717Z] project root: . [2022-04-26T04:34:57.717Z] --> token set from env [2022-04-26T04:34:57.717Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-26T04:34:57.717Z] ==> Running gcov in . (disable via -X gcov) [2022-04-26T04:34:57.717Z] ==> Python coveragepy not found [2022-04-26T04:34:57.717Z] ==> Searching for coverage reports in: [2022-04-26T04:34:57.717Z] + . [2022-04-26T04:34:57.717Z] -> Found 1 reports [2022-04-26T04:34:57.717Z] ==> Detecting git/mercurial file structure [2022-04-26T04:34:57.717Z] ==> Reading reports [2022-04-26T04:34:57.717Z] + ./coverage.out bytes=130819 [2022-04-26T04:34:57.717Z] ==> Appending adjustments [2022-04-26T04:34:57.717Z] https://docs.codecov.io/docs/fixing-reports [2022-04-26T04:34:57.977Z] + Found adjustments [2022-04-26T04:34:57.977Z] ==> Gzipping contents [2022-04-26T04:34:58.236Z] 20K /tmp/codecov.2BScZD.gz [2022-04-26T04:34:58.236Z] ==> Uploading reports [2022-04-26T04:34:58.236Z] url: https://codecov.io [2022-04-26T04:34:58.236Z] query: branch=PR-1144&commit=394fc05ea4364c0913f6dcfc9df39709a995a7f5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-04-26T04:34:58.236Z] -> Pinging Codecov [2022-04-26T04:34:58.236Z] 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=394fc05ea4364c0913f6dcfc9df39709a995a7f5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-04-26T04:34:58.500Z] -> Uploading to [2022-04-26T04:34:58.500Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-26/7E55EF52A471D76F132DFD9A03CDDE97/394fc05ea4364c0913f6dcfc9df39709a995a7f5/832d585e-2478-4a5d-8f7f-f030a2dca8cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T043458Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d9966ae3f0b826759cc4e267a6856b8da2775bf9decbb16b684a89e7343c262 [2022-04-26T04:34:58.500Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T04:34:58.500Z] Dload Upload Total Spent Left Speed [2022-04-26T04:34:58.764Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16826 0 0 100 16826 0 67846 --:--:-- --:--:-- --:--:-- 68121 [2022-04-26T04:34:58.764Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/394fc05ea4364c0913f6dcfc9df39709a995a7f5 [Pipeline] } [2022-04-26T04:34:58.772Z] 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-26T04:34:59.605Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives ] [2022-04-26T04:34:59.605Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-26T04:34:59.605Z] total 16 [2022-04-26T04:34:59.605Z] drwxr-xr-x 3 root root 4096 Apr 26 04:24 . [2022-04-26T04:34:59.605Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 26 04:24 .. [2022-04-26T04:34:59.605Z] drwxr-xr-x 2 root root 4096 Apr 26 04:24 cost [2022-04-26T04:34:59.605Z] -rw-r--r-- 1 root root 85 Apr 26 04:24 cost.csv [2022-04-26T04:34:59.605Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-26T04:34:59.605Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-26T04:34:59.605Z] total 16 [2022-04-26T04:34:59.605Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 04:24 . [2022-04-26T04:34:59.605Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 26 04:24 .. [2022-04-26T04:34:59.605Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 04:24 cost [2022-04-26T04:34:59.605Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 26 04:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T04:34:59.900Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T04:35:00.764Z] ---> package-listing.sh [2022-04-26T04:35:00.764Z] ++ facter osfamily [2022-04-26T04:35:00.764Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T04:35:01.024Z] + OS_FAMILY=debian [2022-04-26T04:35:01.024Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-04-26T04:35:01.024Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T04:35:01.024Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T04:35:01.024Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T04:35:01.024Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T04:35:01.024Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-04-26T04:35:01.024Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T04:35:01.024Z] + case "${OS_FAMILY}" in [2022-04-26T04:35:01.024Z] + dpkg -l [2022-04-26T04:35:01.024Z] + grep '^ii' [2022-04-26T04:35:01.024Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T04:35:01.024Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T04:35:01.024Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T04:35:01.024Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-04-26T04:35:01.024Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [2022-04-26T04:35:01.024Z] + 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-26T04:35:01.036Z] 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-26T04:35:01.315Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T04:35:01.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T04:35:01.870Z] . [Pipeline] withDockerContainer [2022-04-26T04:35:01.934Z] prd-ubuntu20.04-docker-8c-8g-23572 does not seem to be running inside a container [2022-04-26T04:35:01.971Z] $ 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-26T04:35:02.211Z] $ docker top e732413bb04e7c90118db25a2ccbd13a446364103e73baef2c35ac1f6059740c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T04:35:02.556Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T04:35:02.852Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T04:35:03.145Z] + ls /var/log/sa-host [2022-04-26T04:35:03.145Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T04:35:03.240Z] provisioning config files... [2022-04-26T04:35:03.250Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config4887351306344469286tmp [Pipeline] { [Pipeline] echo [2022-04-26T04:35:03.266Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T04:35:03.551Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T04:35:03.559Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T04:35:03.898Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T04:35:03.907Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T04:35:04.192Z] ---> sudo-logs.sh [2022-04-26T04:35:04.192Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T04:35:04.215Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T04:35:04.503Z] ---> job-cost.sh [2022-04-26T04:35:04.503Z] lf-activate-venv: SKIPPING [2022-04-26T04:35:04.503Z] DEBUG: total: 0.2199999988079071 [2022-04-26T04:35:04.503Z] INFO: Retrieving Stack Cost... [2022-04-26T04:35:04.764Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T04:35:05.335Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T04:35:05.350Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T04:35:05.637Z] ---> logs-deploy.sh [2022-04-26T04:35:05.637Z] lf-activate-venv: SKIPPING [2022-04-26T04:35:05.637Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1144/3 [2022-04-26T04:35:05.637Z] INFO: archiving workspace using pattern(s): [2022-04-26T04:35:06.578Z] Archives upload complete. [2022-04-26T04:35:06.578Z] INFO: archiving logs to Nexus